aws_sdk_ec2/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
7    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
8    variable wildcard pattern and check `.code()`:
9     \
10       `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
11     \
12    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
13    Unhandled(crate::error::sealed_unhandled::Unhandled),
14}
15impl ::std::fmt::Display for Error {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
17        match self {
18            Error::Unhandled(_) => {
19                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
20                    write!(f, "unhandled error ({code})")
21                } else {
22                    f.write_str("unhandled error")
23                }
24            }
25        }
26    }
27}
28impl From<::aws_smithy_types::error::operation::BuildError> for Error {
29    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
30        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
31            source: value.into(),
32            meta: ::std::default::Default::default(),
33        })
34    }
35}
36impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
37    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
38        match self {
39            Self::Unhandled(inner) => &inner.meta,
40        }
41    }
42}
43impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>> for Error
44where
45    R: Send + Sync + std::fmt::Debug + 'static,
46{
47    fn from(
48        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>,
49    ) -> Self {
50        match err {
51            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
52            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
54                source: err.into(),
55            }),
56        }
57    }
58}
59impl From<crate::operation::accept_address_transfer::AcceptAddressTransferError> for Error {
60    fn from(err: crate::operation::accept_address_transfer::AcceptAddressTransferError) -> Self {
61        match err {
62            crate::operation::accept_address_transfer::AcceptAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
63        }
64    }
65}
66impl<R>
67    From<
68        ::aws_smithy_runtime_api::client::result::SdkError<
69            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
70            R,
71        >,
72    > for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(
77        err: ::aws_smithy_runtime_api::client::result::SdkError<
78            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
79            R,
80        >,
81    ) -> Self {
82        match err {
83            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
84            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
85                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
86                source: err.into(),
87            }),
88        }
89    }
90}
91impl From<crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError> for Error {
92    fn from(err: crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError) -> Self {
93        match err {
94            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError::Unhandled(inner) => {
95                Error::Unhandled(inner)
96            }
97        }
98    }
99}
100impl<R>
101    From<
102        ::aws_smithy_runtime_api::client::result::SdkError<
103            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
104            R,
105        >,
106    > for Error
107where
108    R: Send + Sync + std::fmt::Debug + 'static,
109{
110    fn from(
111        err: ::aws_smithy_runtime_api::client::result::SdkError<
112            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
113            R,
114        >,
115    ) -> Self {
116        match err {
117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
120                source: err.into(),
121            }),
122        }
123    }
124}
125impl From<crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError> for Error {
126    fn from(err: crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError) -> Self {
127        match err {
128            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError::Unhandled(inner) => {
129                Error::Unhandled(inner)
130            }
131        }
132    }
133}
134impl<R>
135    From<
136        ::aws_smithy_runtime_api::client::result::SdkError<
137            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
138            R,
139        >,
140    > for Error
141where
142    R: Send + Sync + std::fmt::Debug + 'static,
143{
144    fn from(
145        err: ::aws_smithy_runtime_api::client::result::SdkError<
146            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
147            R,
148        >,
149    ) -> Self {
150        match err {
151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
154                source: err.into(),
155            }),
156        }
157    }
158}
159impl From<crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError> for Error {
160    fn from(
161        err: crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
162    ) -> Self {
163        match err {
164            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R>
169    From<
170        ::aws_smithy_runtime_api::client::result::SdkError<
171            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
172            R,
173        >,
174    > for Error
175where
176    R: Send + Sync + std::fmt::Debug + 'static,
177{
178    fn from(
179        err: ::aws_smithy_runtime_api::client::result::SdkError<
180            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
181            R,
182        >,
183    ) -> Self {
184        match err {
185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
188                source: err.into(),
189            }),
190        }
191    }
192}
193impl From<crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError> for Error {
194    fn from(err: crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError) -> Self {
195        match err {
196            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
197                Error::Unhandled(inner)
198            }
199        }
200    }
201}
202impl<R>
203    From<
204        ::aws_smithy_runtime_api::client::result::SdkError<
205            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
206            R,
207        >,
208    > for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<
214            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError> for Error {
228    fn from(err: crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError) -> Self {
229        match err {
230            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError::Unhandled(inner) => {
231                Error::Unhandled(inner)
232            }
233        }
234    }
235}
236impl<R>
237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, R>>
238    for Error
239where
240    R: Send + Sync + std::fmt::Debug + 'static,
241{
242    fn from(
243        err: ::aws_smithy_runtime_api::client::result::SdkError<
244            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError,
245            R,
246        >,
247    ) -> Self {
248        match err {
249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
252                source: err.into(),
253            }),
254        }
255    }
256}
257impl From<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError> for Error {
258    fn from(err: crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError) -> Self {
259        match err {
260            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>>
265    for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(
270        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>,
271    ) -> Self {
272        match err {
273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
276                source: err.into(),
277            }),
278        }
279    }
280}
281impl From<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError> for Error {
282    fn from(err: crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError) -> Self {
283        match err {
284            crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>) -> Self {
293        match err {
294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
297                source: err.into(),
298            }),
299        }
300    }
301}
302impl From<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError> for Error {
303    fn from(err: crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError) -> Self {
304        match err {
305            crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
306        }
307    }
308}
309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>> for Error
310where
311    R: Send + Sync + std::fmt::Debug + 'static,
312{
313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>) -> Self {
314        match err {
315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
318                source: err.into(),
319            }),
320        }
321    }
322}
323impl From<crate::operation::allocate_address::AllocateAddressError> for Error {
324    fn from(err: crate::operation::allocate_address::AllocateAddressError) -> Self {
325        match err {
326            crate::operation::allocate_address::AllocateAddressError::Unhandled(inner) => Error::Unhandled(inner),
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::allocate_hosts::AllocateHostsError> for Error {
345    fn from(err: crate::operation::allocate_hosts::AllocateHostsError) -> Self {
346        match err {
347            crate::operation::allocate_hosts::AllocateHostsError::Unhandled(inner) => Error::Unhandled(inner),
348        }
349    }
350}
351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>> for Error
352where
353    R: Send + Sync + std::fmt::Debug + 'static,
354{
355    fn from(
356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>,
357    ) -> Self {
358        match err {
359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362                source: err.into(),
363            }),
364        }
365    }
366}
367impl From<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError> for Error {
368    fn from(err: crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError) -> Self {
369        match err {
370            crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
371        }
372    }
373}
374impl<R>
375    From<
376        ::aws_smithy_runtime_api::client::result::SdkError<
377            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
378            R,
379        >,
380    > for Error
381where
382    R: Send + Sync + std::fmt::Debug + 'static,
383{
384    fn from(
385        err: ::aws_smithy_runtime_api::client::result::SdkError<
386            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
387            R,
388        >,
389    ) -> Self {
390        match err {
391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
394                source: err.into(),
395            }),
396        }
397    }
398}
399impl From<crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError> for Error {
400    fn from(err: crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError) -> Self {
401        match err {
402            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError::Unhandled(
403                inner,
404            ) => Error::Unhandled(inner),
405        }
406    }
407}
408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>> for Error
409where
410    R: Send + Sync + std::fmt::Debug + 'static,
411{
412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>) -> Self {
413        match err {
414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
417                source: err.into(),
418            }),
419        }
420    }
421}
422impl From<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError> for Error {
423    fn from(err: crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError) -> Self {
424        match err {
425            crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>>
430    for Error
431where
432    R: Send + Sync + std::fmt::Debug + 'static,
433{
434    fn from(
435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>,
436    ) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError> for Error {
447    fn from(err: crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError) -> Self {
448        match err {
449            crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R>
454    From<
455        ::aws_smithy_runtime_api::client::result::SdkError<
456            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
457            R,
458        >,
459    > for Error
460where
461    R: Send + Sync + std::fmt::Debug + 'static,
462{
463    fn from(
464        err: ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
466            R,
467        >,
468    ) -> Self {
469        match err {
470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
473                source: err.into(),
474            }),
475        }
476    }
477}
478impl From<crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError> for Error {
479    fn from(err: crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError) -> Self {
480        match err {
481            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
482        }
483    }
484}
485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>> for Error
486where
487    R: Send + Sync + std::fmt::Debug + 'static,
488{
489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>) -> Self {
490        match err {
491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494                source: err.into(),
495            }),
496        }
497    }
498}
499impl From<crate::operation::associate_address::AssociateAddressError> for Error {
500    fn from(err: crate::operation::associate_address::AssociateAddressError) -> Self {
501        match err {
502            crate::operation::associate_address::AssociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
503        }
504    }
505}
506impl<R>
507    From<
508        ::aws_smithy_runtime_api::client::result::SdkError<
509            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
510            R,
511        >,
512    > for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(
517        err: ::aws_smithy_runtime_api::client::result::SdkError<
518            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
519            R,
520        >,
521    ) -> Self {
522        match err {
523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526                source: err.into(),
527            }),
528        }
529    }
530}
531impl From<crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError> for Error {
532    fn from(err: crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError) -> Self {
533        match err {
534            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
535                Error::Unhandled(inner)
536            }
537        }
538    }
539}
540impl<R>
541    From<
542        ::aws_smithy_runtime_api::client::result::SdkError<
543            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
544            R,
545        >,
546    > for Error
547where
548    R: Send + Sync + std::fmt::Debug + 'static,
549{
550    fn from(
551        err: ::aws_smithy_runtime_api::client::result::SdkError<
552            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
553            R,
554        >,
555    ) -> Self {
556        match err {
557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
560                source: err.into(),
561            }),
562        }
563    }
564}
565impl From<crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError> for Error {
566    fn from(err: crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError) -> Self {
567        match err {
568            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError> for Error {
587    fn from(err: crate::operation::associate_dhcp_options::AssociateDhcpOptionsError) -> Self {
588        match err {
589            crate::operation::associate_dhcp_options::AssociateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
590        }
591    }
592}
593impl<R>
594    From<
595        ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
597            R,
598        >,
599    > for Error
600where
601    R: Send + Sync + std::fmt::Debug + 'static,
602{
603    fn from(
604        err: ::aws_smithy_runtime_api::client::result::SdkError<
605            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
606            R,
607        >,
608    ) -> Self {
609        match err {
610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613                source: err.into(),
614            }),
615        }
616    }
617}
618impl From<crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError> for Error {
619    fn from(err: crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError) -> Self {
620        match err {
621            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
622                Error::Unhandled(inner)
623            }
624        }
625    }
626}
627impl<R>
628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, R>>
629    for Error
630where
631    R: Send + Sync + std::fmt::Debug + 'static,
632{
633    fn from(
634        err: ::aws_smithy_runtime_api::client::result::SdkError<
635            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError,
636            R,
637        >,
638    ) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError> for Error {
649    fn from(err: crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError) -> Self {
650        match err {
651            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R>
656    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<
663            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError,
664            R,
665        >,
666    ) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError> for Error {
677    fn from(err: crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError) -> Self {
678        match err {
679            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
680        }
681    }
682}
683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>> for Error
684where
685    R: Send + Sync + std::fmt::Debug + 'static,
686{
687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>) -> Self {
688        match err {
689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692                source: err.into(),
693            }),
694        }
695    }
696}
697impl From<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError> for Error {
698    fn from(err: crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError) -> Self {
699        match err {
700            crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
701        }
702    }
703}
704impl<R>
705    From<
706        ::aws_smithy_runtime_api::client::result::SdkError<
707            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
708            R,
709        >,
710    > for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError> for Error {
730    fn from(err: crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError) -> Self {
731        match err {
732            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>>
737    for Error
738where
739    R: Send + Sync + std::fmt::Debug + 'static,
740{
741    fn from(
742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>,
743    ) -> Self {
744        match err {
745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
748                source: err.into(),
749            }),
750        }
751    }
752}
753impl From<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError> for Error {
754    fn from(err: crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError) -> Self {
755        match err {
756            crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
757        }
758    }
759}
760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>> for Error
761where
762    R: Send + Sync + std::fmt::Debug + 'static,
763{
764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>) -> Self {
765        match err {
766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
769                source: err.into(),
770            }),
771        }
772    }
773}
774impl From<crate::operation::associate_route_server::AssociateRouteServerError> for Error {
775    fn from(err: crate::operation::associate_route_server::AssociateRouteServerError) -> Self {
776        match err {
777            crate::operation::associate_route_server::AssociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>> for Error
782where
783    R: Send + Sync + std::fmt::Debug + 'static,
784{
785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>) -> Self {
786        match err {
787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
790                source: err.into(),
791            }),
792        }
793    }
794}
795impl From<crate::operation::associate_route_table::AssociateRouteTableError> for Error {
796    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
797        match err {
798            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
799        }
800    }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
803    for Error
804where
805    R: Send + Sync + std::fmt::Debug + 'static,
806{
807    fn from(
808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
820    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
821        match err {
822            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
827    for Error
828where
829    R: Send + Sync + std::fmt::Debug + 'static,
830{
831    fn from(
832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
833    ) -> Self {
834        match err {
835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
838                source: err.into(),
839            }),
840        }
841    }
842}
843impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
844    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
845        match err {
846            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R>
851    From<
852        ::aws_smithy_runtime_api::client::result::SdkError<
853            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
854            R,
855        >,
856    > for Error
857where
858    R: Send + Sync + std::fmt::Debug + 'static,
859{
860    fn from(
861        err: ::aws_smithy_runtime_api::client::result::SdkError<
862            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
863            R,
864        >,
865    ) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
876    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
877        match err {
878            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
879                Error::Unhandled(inner)
880            }
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
910    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
911        match err {
912            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
913                Error::Unhandled(inner)
914            }
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
944    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
945        match err {
946            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
947                Error::Unhandled(inner)
948            }
949        }
950    }
951}
952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
953    for Error
954where
955    R: Send + Sync + std::fmt::Debug + 'static,
956{
957    fn from(
958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
959    ) -> Self {
960        match err {
961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
964                source: err.into(),
965            }),
966        }
967    }
968}
969impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
970    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
971        match err {
972            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(
981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
982    ) -> Self {
983        match err {
984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
987                source: err.into(),
988            }),
989        }
990    }
991}
992impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
993    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
994        match err {
995            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
1000where
1001    R: Send + Sync + std::fmt::Debug + 'static,
1002{
1003    fn from(
1004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
1016    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
1017        match err {
1018            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1023where
1024    R: Send + Sync + std::fmt::Debug + 'static,
1025{
1026    fn from(
1027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1028    ) -> Self {
1029        match err {
1030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1033                source: err.into(),
1034            }),
1035        }
1036    }
1037}
1038impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1039    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1040        match err {
1041            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(
1050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1062    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1063        match err {
1064            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1065        }
1066    }
1067}
1068impl<R>
1069    From<
1070        ::aws_smithy_runtime_api::client::result::SdkError<
1071            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1072            R,
1073        >,
1074    > for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<
1080            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1081            R,
1082        >,
1083    ) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1094    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1095        match err {
1096            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1097                Error::Unhandled(inner)
1098            }
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1103where
1104    R: Send + Sync + std::fmt::Debug + 'static,
1105{
1106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1107        match err {
1108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1111                source: err.into(),
1112            }),
1113        }
1114    }
1115}
1116impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1117    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1118        match err {
1119            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>> for Error
1124where
1125    R: Send + Sync + std::fmt::Debug + 'static,
1126{
1127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::attach_vpn_gateway::AttachVpnGatewayError> for Error {
1138    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1139        match err {
1140            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1141        }
1142    }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1145    for Error
1146where
1147    R: Send + Sync + std::fmt::Debug + 'static,
1148{
1149    fn from(
1150        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1162    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1163        match err {
1164            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R>
1169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1170    for Error
1171where
1172    R: Send + Sync + std::fmt::Debug + 'static,
1173{
1174    fn from(
1175        err: ::aws_smithy_runtime_api::client::result::SdkError<
1176            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1177            R,
1178        >,
1179    ) -> Self {
1180        match err {
1181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184                source: err.into(),
1185            }),
1186        }
1187    }
1188}
1189impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1190    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1191        match err {
1192            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R>
1197    From<
1198        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1199    > for Error
1200where
1201    R: Send + Sync + std::fmt::Debug + 'static,
1202{
1203    fn from(
1204        err: ::aws_smithy_runtime_api::client::result::SdkError<
1205            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1206            R,
1207        >,
1208    ) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1219    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1220        match err {
1221            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1226where
1227    R: Send + Sync + std::fmt::Debug + 'static,
1228{
1229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> Self {
1230        match err {
1231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1234                source: err.into(),
1235            }),
1236        }
1237    }
1238}
1239impl From<crate::operation::bundle_instance::BundleInstanceError> for Error {
1240    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1241        match err {
1242            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>> for Error
1247where
1248    R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>) -> Self {
1251        match err {
1252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255                source: err.into(),
1256            }),
1257        }
1258    }
1259}
1260impl From<crate::operation::cancel_bundle_task::CancelBundleTaskError> for Error {
1261    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1262        match err {
1263            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1268    for Error
1269where
1270    R: Send + Sync + std::fmt::Debug + 'static,
1271{
1272    fn from(
1273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1285    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1286        match err {
1287            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1288        }
1289    }
1290}
1291impl<R>
1292    From<
1293        ::aws_smithy_runtime_api::client::result::SdkError<
1294            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1295            R,
1296        >,
1297    > for Error
1298where
1299    R: Send + Sync + std::fmt::Debug + 'static,
1300{
1301    fn from(
1302        err: ::aws_smithy_runtime_api::client::result::SdkError<
1303            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1304            R,
1305        >,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1317    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1318        match err {
1319            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::cancel_conversion_task::CancelConversionTaskError> for Error {
1338    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1339        match err {
1340            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1341        }
1342    }
1343}
1344impl<R>
1345    From<
1346        ::aws_smithy_runtime_api::client::result::SdkError<
1347            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1348            R,
1349        >,
1350    > for Error
1351where
1352    R: Send + Sync + std::fmt::Debug + 'static,
1353{
1354    fn from(
1355        err: ::aws_smithy_runtime_api::client::result::SdkError<
1356            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1357            R,
1358        >,
1359    ) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1370    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1371        match err {
1372            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::cancel_export_task::CancelExportTaskError> for Error {
1391    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1392        match err {
1393            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R>
1398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1399    for Error
1400where
1401    R: Send + Sync + std::fmt::Debug + 'static,
1402{
1403    fn from(
1404        err: ::aws_smithy_runtime_api::client::result::SdkError<
1405            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1406            R,
1407        >,
1408    ) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1419    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1420        match err {
1421            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::cancel_import_task::CancelImportTaskError> for Error {
1440    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1441        match err {
1442            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1472    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1473        match err {
1474            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1479    for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(
1484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1496    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1497        match err {
1498            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1499        }
1500    }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1503    for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(
1508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1509    ) -> Self {
1510        match err {
1511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514                source: err.into(),
1515            }),
1516        }
1517    }
1518}
1519impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1520    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1521        match err {
1522            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(
1531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1532    ) -> Self {
1533        match err {
1534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537                source: err.into(),
1538            }),
1539        }
1540    }
1541}
1542impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1543    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1544        match err {
1545            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> Self {
1554        match err {
1555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558                source: err.into(),
1559            }),
1560        }
1561    }
1562}
1563impl From<crate::operation::copy_fpga_image::CopyFpgaImageError> for Error {
1564    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1565        match err {
1566            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::copy_image::CopyImageError> for Error {
1585    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1586        match err {
1587            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::copy_snapshot::CopySnapshotError> for Error {
1606    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1607        match err {
1608            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1613    for Error
1614where
1615    R: Send + Sync + std::fmt::Debug + 'static,
1616{
1617    fn from(
1618        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1619    ) -> Self {
1620        match err {
1621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1624                source: err.into(),
1625            }),
1626        }
1627    }
1628}
1629impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1630    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1631        match err {
1632            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1633        }
1634    }
1635}
1636impl<R>
1637    From<
1638        ::aws_smithy_runtime_api::client::result::SdkError<
1639            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1640            R,
1641        >,
1642    > for Error
1643where
1644    R: Send + Sync + std::fmt::Debug + 'static,
1645{
1646    fn from(
1647        err: ::aws_smithy_runtime_api::client::result::SdkError<
1648            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1649            R,
1650        >,
1651    ) -> Self {
1652        match err {
1653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1656                source: err.into(),
1657            }),
1658        }
1659    }
1660}
1661impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1662    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1663        match err {
1664            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1665                Error::Unhandled(inner)
1666            }
1667        }
1668    }
1669}
1670impl<R>
1671    From<
1672        ::aws_smithy_runtime_api::client::result::SdkError<
1673            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1674            R,
1675        >,
1676    > for Error
1677where
1678    R: Send + Sync + std::fmt::Debug + 'static,
1679{
1680    fn from(
1681        err: ::aws_smithy_runtime_api::client::result::SdkError<
1682            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1683            R,
1684        >,
1685    ) -> Self {
1686        match err {
1687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1690                source: err.into(),
1691            }),
1692        }
1693    }
1694}
1695impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1696    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1697        match err {
1698            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1699        }
1700    }
1701}
1702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1703where
1704    R: Send + Sync + std::fmt::Debug + 'static,
1705{
1706    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1707        match err {
1708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1711                source: err.into(),
1712            }),
1713        }
1714    }
1715}
1716impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1717    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1718        match err {
1719            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1720        }
1721    }
1722}
1723impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1724    for Error
1725where
1726    R: Send + Sync + std::fmt::Debug + 'static,
1727{
1728    fn from(
1729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1730    ) -> Self {
1731        match err {
1732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1735                source: err.into(),
1736            }),
1737        }
1738    }
1739}
1740impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1741    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1742        match err {
1743            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1744        }
1745    }
1746}
1747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1748where
1749    R: Send + Sync + std::fmt::Debug + 'static,
1750{
1751    fn from(
1752        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1753    ) -> Self {
1754        match err {
1755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1758                source: err.into(),
1759            }),
1760        }
1761    }
1762}
1763impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1764    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1765        match err {
1766            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1767        }
1768    }
1769}
1770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1771where
1772    R: Send + Sync + std::fmt::Debug + 'static,
1773{
1774    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1775        match err {
1776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1779                source: err.into(),
1780            }),
1781        }
1782    }
1783}
1784impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1785    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1786        match err {
1787            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1788        }
1789    }
1790}
1791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1792where
1793    R: Send + Sync + std::fmt::Debug + 'static,
1794{
1795    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1796        match err {
1797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1800                source: err.into(),
1801            }),
1802        }
1803    }
1804}
1805impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1806    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1807        match err {
1808            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1809        }
1810    }
1811}
1812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1813where
1814    R: Send + Sync + std::fmt::Debug + 'static,
1815{
1816    fn from(
1817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1818    ) -> Self {
1819        match err {
1820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1823                source: err.into(),
1824            }),
1825        }
1826    }
1827}
1828impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1829    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1830        match err {
1831            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1836where
1837    R: Send + Sync + std::fmt::Debug + 'static,
1838{
1839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1840        match err {
1841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1844                source: err.into(),
1845            }),
1846        }
1847    }
1848}
1849impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1850    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1851        match err {
1852            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1853        }
1854    }
1855}
1856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1857where
1858    R: Send + Sync + std::fmt::Debug + 'static,
1859{
1860    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1861        match err {
1862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1865                source: err.into(),
1866            }),
1867        }
1868    }
1869}
1870impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1871    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1872        match err {
1873            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1874        }
1875    }
1876}
1877impl<R>
1878    From<
1879        ::aws_smithy_runtime_api::client::result::SdkError<
1880            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1881            R,
1882        >,
1883    > for Error
1884where
1885    R: Send + Sync + std::fmt::Debug + 'static,
1886{
1887    fn from(
1888        err: ::aws_smithy_runtime_api::client::result::SdkError<
1889            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1890            R,
1891        >,
1892    ) -> Self {
1893        match err {
1894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1897                source: err.into(),
1898            }),
1899        }
1900    }
1901}
1902impl From<crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError> for Error {
1903    fn from(err: crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError) -> Self {
1904        match err {
1905            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError::Unhandled(inner) => {
1906                Error::Unhandled(inner)
1907            }
1908        }
1909    }
1910}
1911impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1912where
1913    R: Send + Sync + std::fmt::Debug + 'static,
1914{
1915    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1916        match err {
1917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1920                source: err.into(),
1921            }),
1922        }
1923    }
1924}
1925impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1926    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1927        match err {
1928            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1929        }
1930    }
1931}
1932impl<R>
1933    From<
1934        ::aws_smithy_runtime_api::client::result::SdkError<
1935            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1936            R,
1937        >,
1938    > for Error
1939where
1940    R: Send + Sync + std::fmt::Debug + 'static,
1941{
1942    fn from(
1943        err: ::aws_smithy_runtime_api::client::result::SdkError<
1944            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1945            R,
1946        >,
1947    ) -> Self {
1948        match err {
1949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1952                source: err.into(),
1953            }),
1954        }
1955    }
1956}
1957impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
1958    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
1959        match err {
1960            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1961        }
1962    }
1963}
1964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
1965where
1966    R: Send + Sync + std::fmt::Debug + 'static,
1967{
1968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::create_fleet::CreateFleetError> for Error {
1979    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
1980        match err {
1981            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
1982        }
1983    }
1984}
1985impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
1986where
1987    R: Send + Sync + std::fmt::Debug + 'static,
1988{
1989    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
1990        match err {
1991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1994                source: err.into(),
1995            }),
1996        }
1997    }
1998}
1999impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
2000    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
2001        match err {
2002            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
2003        }
2004    }
2005}
2006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
2007where
2008    R: Send + Sync + std::fmt::Debug + 'static,
2009{
2010    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
2011        match err {
2012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2015                source: err.into(),
2016            }),
2017        }
2018    }
2019}
2020impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
2021    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
2022        match err {
2023            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
2024        }
2025    }
2026}
2027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
2028where
2029    R: Send + Sync + std::fmt::Debug + 'static,
2030{
2031    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
2032        match err {
2033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2036                source: err.into(),
2037            }),
2038        }
2039    }
2040}
2041impl From<crate::operation::create_image::CreateImageError> for Error {
2042    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2043        match err {
2044            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2045        }
2046    }
2047}
2048impl<R>
2049    From<
2050        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2051    > for Error
2052where
2053    R: Send + Sync + std::fmt::Debug + 'static,
2054{
2055    fn from(
2056        err: ::aws_smithy_runtime_api::client::result::SdkError<
2057            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2058            R,
2059        >,
2060    ) -> Self {
2061        match err {
2062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2065                source: err.into(),
2066            }),
2067        }
2068    }
2069}
2070impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2071    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2072        match err {
2073            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2074        }
2075    }
2076}
2077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2078    for Error
2079where
2080    R: Send + Sync + std::fmt::Debug + 'static,
2081{
2082    fn from(
2083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2084    ) -> Self {
2085        match err {
2086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2089                source: err.into(),
2090            }),
2091        }
2092    }
2093}
2094impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2095    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2096        match err {
2097            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2102    for Error
2103where
2104    R: Send + Sync + std::fmt::Debug + 'static,
2105{
2106    fn from(
2107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2108    ) -> Self {
2109        match err {
2110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2113                source: err.into(),
2114            }),
2115        }
2116    }
2117}
2118impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2119    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2120        match err {
2121            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2126where
2127    R: Send + Sync + std::fmt::Debug + 'static,
2128{
2129    fn from(
2130        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2131    ) -> Self {
2132        match err {
2133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2136                source: err.into(),
2137            }),
2138        }
2139    }
2140}
2141impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2142    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2143        match err {
2144            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2145        }
2146    }
2147}
2148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2149where
2150    R: Send + Sync + std::fmt::Debug + 'static,
2151{
2152    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2153        match err {
2154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2157                source: err.into(),
2158            }),
2159        }
2160    }
2161}
2162impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2163    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2164        match err {
2165            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2166        }
2167    }
2168}
2169impl<R>
2170    From<
2171        ::aws_smithy_runtime_api::client::result::SdkError<
2172            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2173            R,
2174        >,
2175    > for Error
2176where
2177    R: Send + Sync + std::fmt::Debug + 'static,
2178{
2179    fn from(
2180        err: ::aws_smithy_runtime_api::client::result::SdkError<
2181            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2182            R,
2183        >,
2184    ) -> Self {
2185        match err {
2186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2189                source: err.into(),
2190            }),
2191        }
2192    }
2193}
2194impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2195    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2196        match err {
2197            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2198                inner,
2199            ) => Error::Unhandled(inner),
2200        }
2201    }
2202}
2203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2204where
2205    R: Send + Sync + std::fmt::Debug + 'static,
2206{
2207    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2208        match err {
2209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2212                source: err.into(),
2213            }),
2214        }
2215    }
2216}
2217impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2218    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2219        match err {
2220            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2221        }
2222    }
2223}
2224impl<R>
2225    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2226    for Error
2227where
2228    R: Send + Sync + std::fmt::Debug + 'static,
2229{
2230    fn from(
2231        err: ::aws_smithy_runtime_api::client::result::SdkError<
2232            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2233            R,
2234        >,
2235    ) -> Self {
2236        match err {
2237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2240                source: err.into(),
2241            }),
2242        }
2243    }
2244}
2245impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2246    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2247        match err {
2248            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2249        }
2250    }
2251}
2252impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2253where
2254    R: Send + Sync + std::fmt::Debug + 'static,
2255{
2256    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2257        match err {
2258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2261                source: err.into(),
2262            }),
2263        }
2264    }
2265}
2266impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2267    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2268        match err {
2269            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2270        }
2271    }
2272}
2273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2274where
2275    R: Send + Sync + std::fmt::Debug + 'static,
2276{
2277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2278        match err {
2279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2282                source: err.into(),
2283            }),
2284        }
2285    }
2286}
2287impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2288    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2289        match err {
2290            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2291        }
2292    }
2293}
2294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2295where
2296    R: Send + Sync + std::fmt::Debug + 'static,
2297{
2298    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2299        match err {
2300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2303                source: err.into(),
2304            }),
2305        }
2306    }
2307}
2308impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2309    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2310        match err {
2311            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2312        }
2313    }
2314}
2315impl<R>
2316    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2317    for Error
2318where
2319    R: Send + Sync + std::fmt::Debug + 'static,
2320{
2321    fn from(
2322        err: ::aws_smithy_runtime_api::client::result::SdkError<
2323            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2324            R,
2325        >,
2326    ) -> Self {
2327        match err {
2328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2331                source: err.into(),
2332            }),
2333        }
2334    }
2335}
2336impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2337    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2338        match err {
2339            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2340        }
2341    }
2342}
2343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2344    for Error
2345where
2346    R: Send + Sync + std::fmt::Debug + 'static,
2347{
2348    fn from(
2349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2350    ) -> Self {
2351        match err {
2352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2355                source: err.into(),
2356            }),
2357        }
2358    }
2359}
2360impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2361    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2362        match err {
2363            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2364        }
2365    }
2366}
2367impl<R>
2368    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2369    for Error
2370where
2371    R: Send + Sync + std::fmt::Debug + 'static,
2372{
2373    fn from(
2374        err: ::aws_smithy_runtime_api::client::result::SdkError<
2375            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2376            R,
2377        >,
2378    ) -> Self {
2379        match err {
2380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2383                source: err.into(),
2384            }),
2385        }
2386    }
2387}
2388impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2389    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2390        match err {
2391            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2392        }
2393    }
2394}
2395impl<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 {
2396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2397        match err {
2398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2399            _ => Error::Unhandled(
2400                                        crate::error::sealed_unhandled::Unhandled {
2401                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2402                                            source: err.into(),
2403                                        }
2404                                    ),
2405        }
2406    }
2407}
2408impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2409    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2410        match err {
2411            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2412        }
2413    }
2414}
2415impl<R>
2416    From<
2417        ::aws_smithy_runtime_api::client::result::SdkError<
2418            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2419            R,
2420        >,
2421    > for Error
2422where
2423    R: Send + Sync + std::fmt::Debug + 'static,
2424{
2425    fn from(
2426        err: ::aws_smithy_runtime_api::client::result::SdkError<
2427            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2428            R,
2429        >,
2430    ) -> Self {
2431        match err {
2432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2435                source: err.into(),
2436            }),
2437        }
2438    }
2439}
2440impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2441    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2442        match err {
2443            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2444                Error::Unhandled(inner)
2445            }
2446        }
2447    }
2448}
2449impl<R>
2450    From<
2451        ::aws_smithy_runtime_api::client::result::SdkError<
2452            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2453            R,
2454        >,
2455    > for Error
2456where
2457    R: Send + Sync + std::fmt::Debug + 'static,
2458{
2459    fn from(
2460        err: ::aws_smithy_runtime_api::client::result::SdkError<
2461            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2462            R,
2463        >,
2464    ) -> Self {
2465        match err {
2466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2469                source: err.into(),
2470            }),
2471        }
2472    }
2473}
2474impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2475    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2476        match err {
2477            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2478                Error::Unhandled(inner)
2479            }
2480        }
2481    }
2482}
2483impl<R>
2484    From<
2485        ::aws_smithy_runtime_api::client::result::SdkError<
2486            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2487            R,
2488        >,
2489    > for Error
2490where
2491    R: Send + Sync + std::fmt::Debug + 'static,
2492{
2493    fn from(
2494        err: ::aws_smithy_runtime_api::client::result::SdkError<
2495            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2496            R,
2497        >,
2498    ) -> Self {
2499        match err {
2500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2503                source: err.into(),
2504            }),
2505        }
2506    }
2507}
2508impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2509    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2510        match err {
2511            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2512                Error::Unhandled(inner)
2513            }
2514        }
2515    }
2516}
2517impl<R>
2518    From<
2519        ::aws_smithy_runtime_api::client::result::SdkError<
2520            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2521            R,
2522        >,
2523    > for Error
2524where
2525    R: Send + Sync + std::fmt::Debug + 'static,
2526{
2527    fn from(
2528        err: ::aws_smithy_runtime_api::client::result::SdkError<
2529            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2530            R,
2531        >,
2532    ) -> Self {
2533        match err {
2534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2537                source: err.into(),
2538            }),
2539        }
2540    }
2541}
2542impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2543    for Error
2544{
2545    fn from(
2546        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2547    ) -> Self {
2548        match err {
2549            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2550        }
2551    }
2552}
2553impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2554    for Error
2555where
2556    R: Send + Sync + std::fmt::Debug + 'static,
2557{
2558    fn from(
2559        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2560    ) -> Self {
2561        match err {
2562            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2563            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2564                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2565                source: err.into(),
2566            }),
2567        }
2568    }
2569}
2570impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2571    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2572        match err {
2573            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2574        }
2575    }
2576}
2577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2578where
2579    R: Send + Sync + std::fmt::Debug + 'static,
2580{
2581    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2582        match err {
2583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2586                source: err.into(),
2587            }),
2588        }
2589    }
2590}
2591impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2592    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2593        match err {
2594            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2595        }
2596    }
2597}
2598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2599where
2600    R: Send + Sync + std::fmt::Debug + 'static,
2601{
2602    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2603        match err {
2604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2607                source: err.into(),
2608            }),
2609        }
2610    }
2611}
2612impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2613    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2614        match err {
2615            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2616        }
2617    }
2618}
2619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2620where
2621    R: Send + Sync + std::fmt::Debug + 'static,
2622{
2623    fn from(
2624        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2625    ) -> Self {
2626        match err {
2627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2630                source: err.into(),
2631            }),
2632        }
2633    }
2634}
2635impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2636    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2637        match err {
2638            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2639        }
2640    }
2641}
2642impl<R>
2643    From<
2644        ::aws_smithy_runtime_api::client::result::SdkError<
2645            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2646            R,
2647        >,
2648    > for Error
2649where
2650    R: Send + Sync + std::fmt::Debug + 'static,
2651{
2652    fn from(
2653        err: ::aws_smithy_runtime_api::client::result::SdkError<
2654            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2655            R,
2656        >,
2657    ) -> Self {
2658        match err {
2659            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2660            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2661                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2662                source: err.into(),
2663            }),
2664        }
2665    }
2666}
2667impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2668    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2669        match err {
2670            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2671                Error::Unhandled(inner)
2672            }
2673        }
2674    }
2675}
2676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2677    for Error
2678where
2679    R: Send + Sync + std::fmt::Debug + 'static,
2680{
2681    fn from(
2682        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2683    ) -> Self {
2684        match err {
2685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2688                source: err.into(),
2689            }),
2690        }
2691    }
2692}
2693impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2694    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2695        match err {
2696            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2697        }
2698    }
2699}
2700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2701where
2702    R: Send + Sync + std::fmt::Debug + 'static,
2703{
2704    fn from(
2705        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2706    ) -> Self {
2707        match err {
2708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2711                source: err.into(),
2712            }),
2713        }
2714    }
2715}
2716impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2717    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2718        match err {
2719            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2720        }
2721    }
2722}
2723impl<R>
2724    From<
2725        ::aws_smithy_runtime_api::client::result::SdkError<
2726            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2727            R,
2728        >,
2729    > for Error
2730where
2731    R: Send + Sync + std::fmt::Debug + 'static,
2732{
2733    fn from(
2734        err: ::aws_smithy_runtime_api::client::result::SdkError<
2735            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2736            R,
2737        >,
2738    ) -> Self {
2739        match err {
2740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2743                source: err.into(),
2744            }),
2745        }
2746    }
2747}
2748impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2749    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2750        match err {
2751            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2752        }
2753    }
2754}
2755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2756where
2757    R: Send + Sync + std::fmt::Debug + 'static,
2758{
2759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2760        match err {
2761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2764                source: err.into(),
2765            }),
2766        }
2767    }
2768}
2769impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2770    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2771        match err {
2772            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2773        }
2774    }
2775}
2776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2777where
2778    R: Send + Sync + std::fmt::Debug + 'static,
2779{
2780    fn from(
2781        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2782    ) -> Self {
2783        match err {
2784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2787                source: err.into(),
2788            }),
2789        }
2790    }
2791}
2792impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2793    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2794        match err {
2795            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2796        }
2797    }
2798}
2799impl<R>
2800    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2801    for Error
2802where
2803    R: Send + Sync + std::fmt::Debug + 'static,
2804{
2805    fn from(
2806        err: ::aws_smithy_runtime_api::client::result::SdkError<
2807            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2808            R,
2809        >,
2810    ) -> Self {
2811        match err {
2812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2815                source: err.into(),
2816            }),
2817        }
2818    }
2819}
2820impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2821    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2822        match err {
2823            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2824        }
2825    }
2826}
2827impl<R>
2828    From<
2829        ::aws_smithy_runtime_api::client::result::SdkError<
2830            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2831            R,
2832        >,
2833    > for Error
2834where
2835    R: Send + Sync + std::fmt::Debug + 'static,
2836{
2837    fn from(
2838        err: ::aws_smithy_runtime_api::client::result::SdkError<
2839            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2840            R,
2841        >,
2842    ) -> Self {
2843        match err {
2844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2847                source: err.into(),
2848            }),
2849        }
2850    }
2851}
2852impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2853    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2854        match err {
2855            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2856        }
2857    }
2858}
2859impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2860    for Error
2861where
2862    R: Send + Sync + std::fmt::Debug + 'static,
2863{
2864    fn from(
2865        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
2866    ) -> Self {
2867        match err {
2868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2871                source: err.into(),
2872            }),
2873        }
2874    }
2875}
2876impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
2877    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
2878        match err {
2879            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2880        }
2881    }
2882}
2883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
2884where
2885    R: Send + Sync + std::fmt::Debug + 'static,
2886{
2887    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
2888        match err {
2889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2892                source: err.into(),
2893            }),
2894        }
2895    }
2896}
2897impl From<crate::operation::create_route::CreateRouteError> for Error {
2898    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
2899        match err {
2900            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
2901        }
2902    }
2903}
2904impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
2905where
2906    R: Send + Sync + std::fmt::Debug + 'static,
2907{
2908    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
2909        match err {
2910            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2911            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2912                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2913                source: err.into(),
2914            }),
2915        }
2916    }
2917}
2918impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
2919    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
2920        match err {
2921            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
2922        }
2923    }
2924}
2925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
2926    for Error
2927where
2928    R: Send + Sync + std::fmt::Debug + 'static,
2929{
2930    fn from(
2931        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
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_route_server_endpoint::CreateRouteServerEndpointError> for Error {
2943    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
2944        match err {
2945            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2946        }
2947    }
2948}
2949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
2950where
2951    R: Send + Sync + std::fmt::Debug + 'static,
2952{
2953    fn from(
2954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
2955    ) -> Self {
2956        match err {
2957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2960                source: err.into(),
2961            }),
2962        }
2963    }
2964}
2965impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
2966    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
2967        match err {
2968            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
2969        }
2970    }
2971}
2972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
2973where
2974    R: Send + Sync + std::fmt::Debug + 'static,
2975{
2976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> 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_route_table::CreateRouteTableError> for Error {
2987    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
2988        match err {
2989            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2990        }
2991    }
2992}
2993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
2994where
2995    R: Send + Sync + std::fmt::Debug + 'static,
2996{
2997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
2998        match err {
2999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3002                source: err.into(),
3003            }),
3004        }
3005    }
3006}
3007impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3008    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3009        match err {
3010            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3011        }
3012    }
3013}
3014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3015where
3016    R: Send + Sync + std::fmt::Debug + 'static,
3017{
3018    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3019        match err {
3020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3023                source: err.into(),
3024            }),
3025        }
3026    }
3027}
3028impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3029    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3030        match err {
3031            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3032        }
3033    }
3034}
3035impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3036where
3037    R: Send + Sync + std::fmt::Debug + 'static,
3038{
3039    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3040        match err {
3041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3044                source: err.into(),
3045            }),
3046        }
3047    }
3048}
3049impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3050    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3051        match err {
3052            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3053        }
3054    }
3055}
3056impl<R>
3057    From<
3058        ::aws_smithy_runtime_api::client::result::SdkError<
3059            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3060            R,
3061        >,
3062    > for Error
3063where
3064    R: Send + Sync + std::fmt::Debug + 'static,
3065{
3066    fn from(
3067        err: ::aws_smithy_runtime_api::client::result::SdkError<
3068            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3069            R,
3070        >,
3071    ) -> Self {
3072        match err {
3073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3076                source: err.into(),
3077            }),
3078        }
3079    }
3080}
3081impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3082    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3083        match err {
3084            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3085        }
3086    }
3087}
3088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3089where
3090    R: Send + Sync + std::fmt::Debug + 'static,
3091{
3092    fn from(
3093        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3094    ) -> Self {
3095        match err {
3096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099                source: err.into(),
3100            }),
3101        }
3102    }
3103}
3104impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3105    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3106        match err {
3107            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3108        }
3109    }
3110}
3111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3112where
3113    R: Send + Sync + std::fmt::Debug + 'static,
3114{
3115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3116        match err {
3117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3120                source: err.into(),
3121            }),
3122        }
3123    }
3124}
3125impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3126    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3127        match err {
3128            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3129        }
3130    }
3131}
3132impl<R>
3133    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3134    for Error
3135where
3136    R: Send + Sync + std::fmt::Debug + 'static,
3137{
3138    fn from(
3139        err: ::aws_smithy_runtime_api::client::result::SdkError<
3140            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3141            R,
3142        >,
3143    ) -> Self {
3144        match err {
3145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3148                source: err.into(),
3149            }),
3150        }
3151    }
3152}
3153impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3154    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3155        match err {
3156            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3157        }
3158    }
3159}
3160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3161where
3162    R: Send + Sync + std::fmt::Debug + 'static,
3163{
3164    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3165        match err {
3166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3169                source: err.into(),
3170            }),
3171        }
3172    }
3173}
3174impl From<crate::operation::create_tags::CreateTagsError> for Error {
3175    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3176        match err {
3177            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3178        }
3179    }
3180}
3181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3182    for Error
3183where
3184    R: Send + Sync + std::fmt::Debug + 'static,
3185{
3186    fn from(
3187        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3188    ) -> Self {
3189        match err {
3190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3193                source: err.into(),
3194            }),
3195        }
3196    }
3197}
3198impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3199    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3200        match err {
3201            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3202        }
3203    }
3204}
3205impl<R>
3206    From<
3207        ::aws_smithy_runtime_api::client::result::SdkError<
3208            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3209            R,
3210        >,
3211    > for Error
3212where
3213    R: Send + Sync + std::fmt::Debug + 'static,
3214{
3215    fn from(
3216        err: ::aws_smithy_runtime_api::client::result::SdkError<
3217            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3218            R,
3219        >,
3220    ) -> Self {
3221        match err {
3222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3225                source: err.into(),
3226            }),
3227        }
3228    }
3229}
3230impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3231    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3232        match err {
3233            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3234        }
3235    }
3236}
3237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3238    for Error
3239where
3240    R: Send + Sync + std::fmt::Debug + 'static,
3241{
3242    fn from(
3243        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3244    ) -> Self {
3245        match err {
3246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3249                source: err.into(),
3250            }),
3251        }
3252    }
3253}
3254impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3255    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3256        match err {
3257            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3258        }
3259    }
3260}
3261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3262    for Error
3263where
3264    R: Send + Sync + std::fmt::Debug + 'static,
3265{
3266    fn from(
3267        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3268    ) -> Self {
3269        match err {
3270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3273                source: err.into(),
3274            }),
3275        }
3276    }
3277}
3278impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3279    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3280        match err {
3281            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3282        }
3283    }
3284}
3285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3286where
3287    R: Send + Sync + std::fmt::Debug + 'static,
3288{
3289    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3290        match err {
3291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3294                source: err.into(),
3295            }),
3296        }
3297    }
3298}
3299impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3300    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3301        match err {
3302            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3303        }
3304    }
3305}
3306impl<R>
3307    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3308    for Error
3309where
3310    R: Send + Sync + std::fmt::Debug + 'static,
3311{
3312    fn from(
3313        err: ::aws_smithy_runtime_api::client::result::SdkError<
3314            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3315            R,
3316        >,
3317    ) -> Self {
3318        match err {
3319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3322                source: err.into(),
3323            }),
3324        }
3325    }
3326}
3327impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3328    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3329        match err {
3330            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3331        }
3332    }
3333}
3334impl<R>
3335    From<
3336        ::aws_smithy_runtime_api::client::result::SdkError<
3337            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3338            R,
3339        >,
3340    > for Error
3341where
3342    R: Send + Sync + std::fmt::Debug + 'static,
3343{
3344    fn from(
3345        err: ::aws_smithy_runtime_api::client::result::SdkError<
3346            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3347            R,
3348        >,
3349    ) -> Self {
3350        match err {
3351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3354                source: err.into(),
3355            }),
3356        }
3357    }
3358}
3359impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3360    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3361        match err {
3362            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3363        }
3364    }
3365}
3366impl<R>
3367    From<
3368        ::aws_smithy_runtime_api::client::result::SdkError<
3369            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3370            R,
3371        >,
3372    > for Error
3373where
3374    R: Send + Sync + std::fmt::Debug + 'static,
3375{
3376    fn from(
3377        err: ::aws_smithy_runtime_api::client::result::SdkError<
3378            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3379            R,
3380        >,
3381    ) -> Self {
3382        match err {
3383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3386                source: err.into(),
3387            }),
3388        }
3389    }
3390}
3391impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3392    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3393        match err {
3394            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3395                Error::Unhandled(inner)
3396            }
3397        }
3398    }
3399}
3400impl<R>
3401    From<
3402        ::aws_smithy_runtime_api::client::result::SdkError<
3403            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3404            R,
3405        >,
3406    > for Error
3407where
3408    R: Send + Sync + std::fmt::Debug + 'static,
3409{
3410    fn from(
3411        err: ::aws_smithy_runtime_api::client::result::SdkError<
3412            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3413            R,
3414        >,
3415    ) -> Self {
3416        match err {
3417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3420                source: err.into(),
3421            }),
3422        }
3423    }
3424}
3425impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3426    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3427        match err {
3428            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3429                Error::Unhandled(inner)
3430            }
3431        }
3432    }
3433}
3434impl<R>
3435    From<
3436        ::aws_smithy_runtime_api::client::result::SdkError<
3437            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3438            R,
3439        >,
3440    > for Error
3441where
3442    R: Send + Sync + std::fmt::Debug + 'static,
3443{
3444    fn from(
3445        err: ::aws_smithy_runtime_api::client::result::SdkError<
3446            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3447            R,
3448        >,
3449    ) -> Self {
3450        match err {
3451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3454                source: err.into(),
3455            }),
3456        }
3457    }
3458}
3459impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3460    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3461        match err {
3462            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3463        }
3464    }
3465}
3466impl<R>
3467    From<
3468        ::aws_smithy_runtime_api::client::result::SdkError<
3469            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3470            R,
3471        >,
3472    > for Error
3473where
3474    R: Send + Sync + std::fmt::Debug + 'static,
3475{
3476    fn from(
3477        err: ::aws_smithy_runtime_api::client::result::SdkError<
3478            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3479            R,
3480        >,
3481    ) -> Self {
3482        match err {
3483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3486                source: err.into(),
3487            }),
3488        }
3489    }
3490}
3491impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3492    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3493        match err {
3494            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3495                Error::Unhandled(inner)
3496            }
3497        }
3498    }
3499}
3500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3501    for Error
3502where
3503    R: Send + Sync + std::fmt::Debug + 'static,
3504{
3505    fn from(
3506        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3507    ) -> Self {
3508        match err {
3509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3512                source: err.into(),
3513            }),
3514        }
3515    }
3516}
3517impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3518    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3519        match err {
3520            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3521        }
3522    }
3523}
3524impl<R>
3525    From<
3526        ::aws_smithy_runtime_api::client::result::SdkError<
3527            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3528            R,
3529        >,
3530    > for Error
3531where
3532    R: Send + Sync + std::fmt::Debug + 'static,
3533{
3534    fn from(
3535        err: ::aws_smithy_runtime_api::client::result::SdkError<
3536            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3537            R,
3538        >,
3539    ) -> Self {
3540        match err {
3541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3544                source: err.into(),
3545            }),
3546        }
3547    }
3548}
3549impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3550    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3551        match err {
3552            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3553        }
3554    }
3555}
3556impl<R>
3557    From<
3558        ::aws_smithy_runtime_api::client::result::SdkError<
3559            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3560            R,
3561        >,
3562    > for Error
3563where
3564    R: Send + Sync + std::fmt::Debug + 'static,
3565{
3566    fn from(
3567        err: ::aws_smithy_runtime_api::client::result::SdkError<
3568            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3569            R,
3570        >,
3571    ) -> Self {
3572        match err {
3573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3576                source: err.into(),
3577            }),
3578        }
3579    }
3580}
3581impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3582    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3583        match err {
3584            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3585                Error::Unhandled(inner)
3586            }
3587        }
3588    }
3589}
3590impl<R>
3591    From<
3592        ::aws_smithy_runtime_api::client::result::SdkError<
3593            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3594            R,
3595        >,
3596    > for Error
3597where
3598    R: Send + Sync + std::fmt::Debug + 'static,
3599{
3600    fn from(
3601        err: ::aws_smithy_runtime_api::client::result::SdkError<
3602            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3603            R,
3604        >,
3605    ) -> Self {
3606        match err {
3607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3610                source: err.into(),
3611            }),
3612        }
3613    }
3614}
3615impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3616    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3617        match err {
3618            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3619                Error::Unhandled(inner)
3620            }
3621        }
3622    }
3623}
3624impl<R>
3625    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3626    for Error
3627where
3628    R: Send + Sync + std::fmt::Debug + 'static,
3629{
3630    fn from(
3631        err: ::aws_smithy_runtime_api::client::result::SdkError<
3632            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3633            R,
3634        >,
3635    ) -> Self {
3636        match err {
3637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3640                source: err.into(),
3641            }),
3642        }
3643    }
3644}
3645impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3646    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3647        match err {
3648            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3649        }
3650    }
3651}
3652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3653    for Error
3654where
3655    R: Send + Sync + std::fmt::Debug + 'static,
3656{
3657    fn from(
3658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3659    ) -> Self {
3660        match err {
3661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3664                source: err.into(),
3665            }),
3666        }
3667    }
3668}
3669impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3670    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3671        match err {
3672            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3673        }
3674    }
3675}
3676impl<R>
3677    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3678    for Error
3679where
3680    R: Send + Sync + std::fmt::Debug + 'static,
3681{
3682    fn from(
3683        err: ::aws_smithy_runtime_api::client::result::SdkError<
3684            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3685            R,
3686        >,
3687    ) -> Self {
3688        match err {
3689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3692                source: err.into(),
3693            }),
3694        }
3695    }
3696}
3697impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3698    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3699        match err {
3700            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3701        }
3702    }
3703}
3704impl<R>
3705    From<
3706        ::aws_smithy_runtime_api::client::result::SdkError<
3707            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3708            R,
3709        >,
3710    > for Error
3711where
3712    R: Send + Sync + std::fmt::Debug + 'static,
3713{
3714    fn from(
3715        err: ::aws_smithy_runtime_api::client::result::SdkError<
3716            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3717            R,
3718        >,
3719    ) -> Self {
3720        match err {
3721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3724                source: err.into(),
3725            }),
3726        }
3727    }
3728}
3729impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3730    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3731        match err {
3732            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3733                Error::Unhandled(inner)
3734            }
3735        }
3736    }
3737}
3738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3739where
3740    R: Send + Sync + std::fmt::Debug + 'static,
3741{
3742    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3743        match err {
3744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3747                source: err.into(),
3748            }),
3749        }
3750    }
3751}
3752impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3753    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3754        match err {
3755            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3756        }
3757    }
3758}
3759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3760where
3761    R: Send + Sync + std::fmt::Debug + 'static,
3762{
3763    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3764        match err {
3765            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3766            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3767                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3768                source: err.into(),
3769            }),
3770        }
3771    }
3772}
3773impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3774    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3775        match err {
3776            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3777        }
3778    }
3779}
3780impl<R>
3781    From<
3782        ::aws_smithy_runtime_api::client::result::SdkError<
3783            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3784            R,
3785        >,
3786    > for Error
3787where
3788    R: Send + Sync + std::fmt::Debug + 'static,
3789{
3790    fn from(
3791        err: ::aws_smithy_runtime_api::client::result::SdkError<
3792            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3793            R,
3794        >,
3795    ) -> Self {
3796        match err {
3797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3800                source: err.into(),
3801            }),
3802        }
3803    }
3804}
3805impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3806    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3807        match err {
3808            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3809                Error::Unhandled(inner)
3810            }
3811        }
3812    }
3813}
3814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3815where
3816    R: Send + Sync + std::fmt::Debug + 'static,
3817{
3818    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3819        match err {
3820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3823                source: err.into(),
3824            }),
3825        }
3826    }
3827}
3828impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3829    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3830        match err {
3831            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3832        }
3833    }
3834}
3835impl<R>
3836    From<
3837        ::aws_smithy_runtime_api::client::result::SdkError<
3838            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3839            R,
3840        >,
3841    > for Error
3842where
3843    R: Send + Sync + std::fmt::Debug + 'static,
3844{
3845    fn from(
3846        err: ::aws_smithy_runtime_api::client::result::SdkError<
3847            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3848            R,
3849        >,
3850    ) -> Self {
3851        match err {
3852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3855                source: err.into(),
3856            }),
3857        }
3858    }
3859}
3860impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
3861    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
3862        match err {
3863            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
3864                Error::Unhandled(inner)
3865            }
3866        }
3867    }
3868}
3869impl<R>
3870    From<
3871        ::aws_smithy_runtime_api::client::result::SdkError<
3872            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3873            R,
3874        >,
3875    > for Error
3876where
3877    R: Send + Sync + std::fmt::Debug + 'static,
3878{
3879    fn from(
3880        err: ::aws_smithy_runtime_api::client::result::SdkError<
3881            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3882            R,
3883        >,
3884    ) -> Self {
3885        match err {
3886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3889                source: err.into(),
3890            }),
3891        }
3892    }
3893}
3894impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
3895    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
3896        match err {
3897            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
3898                Error::Unhandled(inner)
3899            }
3900        }
3901    }
3902}
3903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
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<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
3910    ) -> Self {
3911        match err {
3912            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3913            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3914                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3915                source: err.into(),
3916            }),
3917        }
3918    }
3919}
3920impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
3921    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
3922        match err {
3923            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3924        }
3925    }
3926}
3927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
3928where
3929    R: Send + Sync + std::fmt::Debug + 'static,
3930{
3931    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
3932        match err {
3933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3936                source: err.into(),
3937            }),
3938        }
3939    }
3940}
3941impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
3942    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
3943        match err {
3944            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3945        }
3946    }
3947}
3948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
3949    for Error
3950where
3951    R: Send + Sync + std::fmt::Debug + 'static,
3952{
3953    fn from(
3954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
3955    ) -> Self {
3956        match err {
3957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3960                source: err.into(),
3961            }),
3962        }
3963    }
3964}
3965impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
3966    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
3967        match err {
3968            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
3969        }
3970    }
3971}
3972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
3973where
3974    R: Send + Sync + std::fmt::Debug + 'static,
3975{
3976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
3977        match err {
3978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3981                source: err.into(),
3982            }),
3983        }
3984    }
3985}
3986impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
3987    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
3988        match err {
3989            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3990        }
3991    }
3992}
3993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
3994where
3995    R: Send + Sync + std::fmt::Debug + 'static,
3996{
3997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
3998        match err {
3999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4002                source: err.into(),
4003            }),
4004        }
4005    }
4006}
4007impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4008    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4009        match err {
4010            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4011        }
4012    }
4013}
4014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4015    for Error
4016where
4017    R: Send + Sync + std::fmt::Debug + 'static,
4018{
4019    fn from(
4020        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4021    ) -> Self {
4022        match err {
4023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4026                source: err.into(),
4027            }),
4028        }
4029    }
4030}
4031impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4032    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4033        match err {
4034            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4035        }
4036    }
4037}
4038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4039where
4040    R: Send + Sync + std::fmt::Debug + 'static,
4041{
4042    fn from(
4043        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4044    ) -> Self {
4045        match err {
4046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4049                source: err.into(),
4050            }),
4051        }
4052    }
4053}
4054impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4055    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4056        match err {
4057            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4058        }
4059    }
4060}
4061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4062where
4063    R: Send + Sync + std::fmt::Debug + 'static,
4064{
4065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4066        match err {
4067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4070                source: err.into(),
4071            }),
4072        }
4073    }
4074}
4075impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4076    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4077        match err {
4078            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4079        }
4080    }
4081}
4082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4083where
4084    R: Send + Sync + std::fmt::Debug + 'static,
4085{
4086    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4087        match err {
4088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4091                source: err.into(),
4092            }),
4093        }
4094    }
4095}
4096impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4097    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4098        match err {
4099            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4100        }
4101    }
4102}
4103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4104where
4105    R: Send + Sync + std::fmt::Debug + 'static,
4106{
4107    fn from(
4108        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4109    ) -> Self {
4110        match err {
4111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4114                source: err.into(),
4115            }),
4116        }
4117    }
4118}
4119impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4120    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4121        match err {
4122            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4123        }
4124    }
4125}
4126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4127where
4128    R: Send + Sync + std::fmt::Debug + 'static,
4129{
4130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4131        match err {
4132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4135                source: err.into(),
4136            }),
4137        }
4138    }
4139}
4140impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4141    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4142        match err {
4143            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4144        }
4145    }
4146}
4147impl<R>
4148    From<
4149        ::aws_smithy_runtime_api::client::result::SdkError<
4150            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4151            R,
4152        >,
4153    > for Error
4154where
4155    R: Send + Sync + std::fmt::Debug + 'static,
4156{
4157    fn from(
4158        err: ::aws_smithy_runtime_api::client::result::SdkError<
4159            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4160            R,
4161        >,
4162    ) -> Self {
4163        match err {
4164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4167                source: err.into(),
4168            }),
4169        }
4170    }
4171}
4172impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4173    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4174        match err {
4175            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4176        }
4177    }
4178}
4179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4180where
4181    R: Send + Sync + std::fmt::Debug + 'static,
4182{
4183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4184        match err {
4185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4188                source: err.into(),
4189            }),
4190        }
4191    }
4192}
4193impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4194    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4195        match err {
4196            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4197        }
4198    }
4199}
4200impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4201where
4202    R: Send + Sync + std::fmt::Debug + 'static,
4203{
4204    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4205        match err {
4206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4209                source: err.into(),
4210            }),
4211        }
4212    }
4213}
4214impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4215    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4216        match err {
4217            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4218        }
4219    }
4220}
4221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4222where
4223    R: Send + Sync + std::fmt::Debug + 'static,
4224{
4225    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4226        match err {
4227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4230                source: err.into(),
4231            }),
4232        }
4233    }
4234}
4235impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4236    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4237        match err {
4238            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4239        }
4240    }
4241}
4242impl<R>
4243    From<
4244        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4245    > for Error
4246where
4247    R: Send + Sync + std::fmt::Debug + 'static,
4248{
4249    fn from(
4250        err: ::aws_smithy_runtime_api::client::result::SdkError<
4251            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4252            R,
4253        >,
4254    ) -> Self {
4255        match err {
4256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4259                source: err.into(),
4260            }),
4261        }
4262    }
4263}
4264impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4265    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4266        match err {
4267            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4268        }
4269    }
4270}
4271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4272    for Error
4273where
4274    R: Send + Sync + std::fmt::Debug + 'static,
4275{
4276    fn from(
4277        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4278    ) -> Self {
4279        match err {
4280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4283                source: err.into(),
4284            }),
4285        }
4286    }
4287}
4288impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4289    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4290        match err {
4291            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4292        }
4293    }
4294}
4295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4296where
4297    R: Send + Sync + std::fmt::Debug + 'static,
4298{
4299    fn from(
4300        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4301    ) -> Self {
4302        match err {
4303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4306                source: err.into(),
4307            }),
4308        }
4309    }
4310}
4311impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4312    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4313        match err {
4314            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4315        }
4316    }
4317}
4318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4319where
4320    R: Send + Sync + std::fmt::Debug + 'static,
4321{
4322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4323        match err {
4324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4327                source: err.into(),
4328            }),
4329        }
4330    }
4331}
4332impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4333    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4334        match err {
4335            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4336        }
4337    }
4338}
4339impl<R>
4340    From<
4341        ::aws_smithy_runtime_api::client::result::SdkError<
4342            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4343            R,
4344        >,
4345    > for Error
4346where
4347    R: Send + Sync + std::fmt::Debug + 'static,
4348{
4349    fn from(
4350        err: ::aws_smithy_runtime_api::client::result::SdkError<
4351            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4352            R,
4353        >,
4354    ) -> Self {
4355        match err {
4356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4359                source: err.into(),
4360            }),
4361        }
4362    }
4363}
4364impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4365    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4366        match err {
4367            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4368                inner,
4369            ) => Error::Unhandled(inner),
4370        }
4371    }
4372}
4373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4374where
4375    R: Send + Sync + std::fmt::Debug + 'static,
4376{
4377    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4378        match err {
4379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4382                source: err.into(),
4383            }),
4384        }
4385    }
4386}
4387impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4388    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4389        match err {
4390            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4391        }
4392    }
4393}
4394impl<R>
4395    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4396    for Error
4397where
4398    R: Send + Sync + std::fmt::Debug + 'static,
4399{
4400    fn from(
4401        err: ::aws_smithy_runtime_api::client::result::SdkError<
4402            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4403            R,
4404        >,
4405    ) -> Self {
4406        match err {
4407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4410                source: err.into(),
4411            }),
4412        }
4413    }
4414}
4415impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4416    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4417        match err {
4418            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4419        }
4420    }
4421}
4422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4423where
4424    R: Send + Sync + std::fmt::Debug + 'static,
4425{
4426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4427        match err {
4428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4431                source: err.into(),
4432            }),
4433        }
4434    }
4435}
4436impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4437    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4438        match err {
4439            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4440        }
4441    }
4442}
4443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4444where
4445    R: Send + Sync + std::fmt::Debug + 'static,
4446{
4447    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4448        match err {
4449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4452                source: err.into(),
4453            }),
4454        }
4455    }
4456}
4457impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4458    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4459        match err {
4460            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4461        }
4462    }
4463}
4464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4465where
4466    R: Send + Sync + std::fmt::Debug + 'static,
4467{
4468    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4469        match err {
4470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4473                source: err.into(),
4474            }),
4475        }
4476    }
4477}
4478impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4479    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4480        match err {
4481            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4482        }
4483    }
4484}
4485impl<R>
4486    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4487    for Error
4488where
4489    R: Send + Sync + std::fmt::Debug + 'static,
4490{
4491    fn from(
4492        err: ::aws_smithy_runtime_api::client::result::SdkError<
4493            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4494            R,
4495        >,
4496    ) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4501                source: err.into(),
4502            }),
4503        }
4504    }
4505}
4506impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4507    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4508        match err {
4509            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4510        }
4511    }
4512}
4513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4514    for Error
4515where
4516    R: Send + Sync + std::fmt::Debug + 'static,
4517{
4518    fn from(
4519        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4520    ) -> Self {
4521        match err {
4522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4525                source: err.into(),
4526            }),
4527        }
4528    }
4529}
4530impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4531    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4532        match err {
4533            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4534        }
4535    }
4536}
4537impl<R>
4538    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4539    for Error
4540where
4541    R: Send + Sync + std::fmt::Debug + 'static,
4542{
4543    fn from(
4544        err: ::aws_smithy_runtime_api::client::result::SdkError<
4545            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4546            R,
4547        >,
4548    ) -> Self {
4549        match err {
4550            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4551            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4552                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4553                source: err.into(),
4554            }),
4555        }
4556    }
4557}
4558impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4559    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4560        match err {
4561            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4562        }
4563    }
4564}
4565impl<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 {
4566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4567        match err {
4568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4569            _ => Error::Unhandled(
4570                                        crate::error::sealed_unhandled::Unhandled {
4571                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4572                                            source: err.into(),
4573                                        }
4574                                    ),
4575        }
4576    }
4577}
4578impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4579    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4580        match err {
4581            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4582        }
4583    }
4584}
4585impl<R>
4586    From<
4587        ::aws_smithy_runtime_api::client::result::SdkError<
4588            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4589            R,
4590        >,
4591    > for Error
4592where
4593    R: Send + Sync + std::fmt::Debug + 'static,
4594{
4595    fn from(
4596        err: ::aws_smithy_runtime_api::client::result::SdkError<
4597            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4598            R,
4599        >,
4600    ) -> Self {
4601        match err {
4602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4605                source: err.into(),
4606            }),
4607        }
4608    }
4609}
4610impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4611    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4612        match err {
4613            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4614                Error::Unhandled(inner)
4615            }
4616        }
4617    }
4618}
4619impl<R>
4620    From<
4621        ::aws_smithy_runtime_api::client::result::SdkError<
4622            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4623            R,
4624        >,
4625    > for Error
4626where
4627    R: Send + Sync + std::fmt::Debug + 'static,
4628{
4629    fn from(
4630        err: ::aws_smithy_runtime_api::client::result::SdkError<
4631            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4632            R,
4633        >,
4634    ) -> Self {
4635        match err {
4636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4639                source: err.into(),
4640            }),
4641        }
4642    }
4643}
4644impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4645    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4646        match err {
4647            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4648                Error::Unhandled(inner)
4649            }
4650        }
4651    }
4652}
4653impl<R>
4654    From<
4655        ::aws_smithy_runtime_api::client::result::SdkError<
4656            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4657            R,
4658        >,
4659    > for Error
4660where
4661    R: Send + Sync + std::fmt::Debug + 'static,
4662{
4663    fn from(
4664        err: ::aws_smithy_runtime_api::client::result::SdkError<
4665            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4666            R,
4667        >,
4668    ) -> Self {
4669        match err {
4670            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4671            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4672                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4673                source: err.into(),
4674            }),
4675        }
4676    }
4677}
4678impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
4679    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
4680        match err {
4681            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
4682                Error::Unhandled(inner)
4683            }
4684        }
4685    }
4686}
4687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4688    for Error
4689where
4690    R: Send + Sync + std::fmt::Debug + 'static,
4691{
4692    fn from(
4693        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4694    ) -> Self {
4695        match err {
4696            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4697            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4698                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4699                source: err.into(),
4700            }),
4701        }
4702    }
4703}
4704impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4705    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4706        match err {
4707            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4708        }
4709    }
4710}
4711impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4712where
4713    R: Send + Sync + std::fmt::Debug + 'static,
4714{
4715    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4716        match err {
4717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4720                source: err.into(),
4721            }),
4722        }
4723    }
4724}
4725impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4726    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4727        match err {
4728            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4729        }
4730    }
4731}
4732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4733where
4734    R: Send + Sync + std::fmt::Debug + 'static,
4735{
4736    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4737        match err {
4738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4741                source: err.into(),
4742            }),
4743        }
4744    }
4745}
4746impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
4747    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
4748        match err {
4749            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
4750        }
4751    }
4752}
4753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
4754where
4755    R: Send + Sync + std::fmt::Debug + 'static,
4756{
4757    fn from(
4758        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
4759    ) -> Self {
4760        match err {
4761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4764                source: err.into(),
4765            }),
4766        }
4767    }
4768}
4769impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
4770    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
4771        match err {
4772            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
4773        }
4774    }
4775}
4776impl<R>
4777    From<
4778        ::aws_smithy_runtime_api::client::result::SdkError<
4779            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4780            R,
4781        >,
4782    > for Error
4783where
4784    R: Send + Sync + std::fmt::Debug + 'static,
4785{
4786    fn from(
4787        err: ::aws_smithy_runtime_api::client::result::SdkError<
4788            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4789            R,
4790        >,
4791    ) -> Self {
4792        match err {
4793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4796                source: err.into(),
4797            }),
4798        }
4799    }
4800}
4801impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
4802    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
4803        match err {
4804            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
4805                Error::Unhandled(inner)
4806            }
4807        }
4808    }
4809}
4810impl<R>
4811    From<
4812        ::aws_smithy_runtime_api::client::result::SdkError<
4813            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4814            R,
4815        >,
4816    > for Error
4817where
4818    R: Send + Sync + std::fmt::Debug + 'static,
4819{
4820    fn from(
4821        err: ::aws_smithy_runtime_api::client::result::SdkError<
4822            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4823            R,
4824        >,
4825    ) -> Self {
4826        match err {
4827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4830                source: err.into(),
4831            }),
4832        }
4833    }
4834}
4835impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
4836    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
4837        match err {
4838            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
4839                Error::Unhandled(inner)
4840            }
4841        }
4842    }
4843}
4844impl<R>
4845    From<
4846        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
4847    > for Error
4848where
4849    R: Send + Sync + std::fmt::Debug + 'static,
4850{
4851    fn from(
4852        err: ::aws_smithy_runtime_api::client::result::SdkError<
4853            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
4854            R,
4855        >,
4856    ) -> Self {
4857        match err {
4858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4861                source: err.into(),
4862            }),
4863        }
4864    }
4865}
4866impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
4867    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
4868        match err {
4869            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
4870        }
4871    }
4872}
4873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
4874    for Error
4875where
4876    R: Send + Sync + std::fmt::Debug + 'static,
4877{
4878    fn from(
4879        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
4880    ) -> Self {
4881        match err {
4882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4885                source: err.into(),
4886            }),
4887        }
4888    }
4889}
4890impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
4891    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
4892        match err {
4893            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
4894        }
4895    }
4896}
4897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
4898where
4899    R: Send + Sync + std::fmt::Debug + 'static,
4900{
4901    fn from(
4902        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
4903    ) -> Self {
4904        match err {
4905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4908                source: err.into(),
4909            }),
4910        }
4911    }
4912}
4913impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
4914    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
4915        match err {
4916            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
4917        }
4918    }
4919}
4920impl<R>
4921    From<
4922        ::aws_smithy_runtime_api::client::result::SdkError<
4923            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4924            R,
4925        >,
4926    > for Error
4927where
4928    R: Send + Sync + std::fmt::Debug + 'static,
4929{
4930    fn from(
4931        err: ::aws_smithy_runtime_api::client::result::SdkError<
4932            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4933            R,
4934        >,
4935    ) -> Self {
4936        match err {
4937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4940                source: err.into(),
4941            }),
4942        }
4943    }
4944}
4945impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
4946    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
4947        match err {
4948            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
4949        }
4950    }
4951}
4952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
4953where
4954    R: Send + Sync + std::fmt::Debug + 'static,
4955{
4956    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
4957        match err {
4958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4961                source: err.into(),
4962            }),
4963        }
4964    }
4965}
4966impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
4967    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
4968        match err {
4969            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
4970        }
4971    }
4972}
4973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
4974where
4975    R: Send + Sync + std::fmt::Debug + 'static,
4976{
4977    fn from(
4978        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
4979    ) -> Self {
4980        match err {
4981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4984                source: err.into(),
4985            }),
4986        }
4987    }
4988}
4989impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
4990    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
4991        match err {
4992            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
4993        }
4994    }
4995}
4996impl<R>
4997    From<
4998        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
4999    > for Error
5000where
5001    R: Send + Sync + std::fmt::Debug + 'static,
5002{
5003    fn from(
5004        err: ::aws_smithy_runtime_api::client::result::SdkError<
5005            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5006            R,
5007        >,
5008    ) -> Self {
5009        match err {
5010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5013                source: err.into(),
5014            }),
5015        }
5016    }
5017}
5018impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5019    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5020        match err {
5021            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5022        }
5023    }
5024}
5025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5026where
5027    R: Send + Sync + std::fmt::Debug + 'static,
5028{
5029    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5030        match err {
5031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5034                source: err.into(),
5035            }),
5036        }
5037    }
5038}
5039impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5040    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5041        match err {
5042            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5043        }
5044    }
5045}
5046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5047where
5048    R: Send + Sync + std::fmt::Debug + 'static,
5049{
5050    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5051        match err {
5052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5055                source: err.into(),
5056            }),
5057        }
5058    }
5059}
5060impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5061    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5062        match err {
5063            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5064        }
5065    }
5066}
5067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5068    for Error
5069where
5070    R: Send + Sync + std::fmt::Debug + 'static,
5071{
5072    fn from(
5073        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5074    ) -> Self {
5075        match err {
5076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5079                source: err.into(),
5080            }),
5081        }
5082    }
5083}
5084impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5085    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5086        match err {
5087            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5088        }
5089    }
5090}
5091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5092where
5093    R: Send + Sync + std::fmt::Debug + 'static,
5094{
5095    fn from(
5096        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5097    ) -> Self {
5098        match err {
5099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5102                source: err.into(),
5103            }),
5104        }
5105    }
5106}
5107impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5108    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5109        match err {
5110            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5111        }
5112    }
5113}
5114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5115where
5116    R: Send + Sync + std::fmt::Debug + 'static,
5117{
5118    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5119        match err {
5120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5123                source: err.into(),
5124            }),
5125        }
5126    }
5127}
5128impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5129    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5130        match err {
5131            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5132        }
5133    }
5134}
5135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5136where
5137    R: Send + Sync + std::fmt::Debug + 'static,
5138{
5139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5140        match err {
5141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5144                source: err.into(),
5145            }),
5146        }
5147    }
5148}
5149impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5150    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5151        match err {
5152            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5153        }
5154    }
5155}
5156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5157where
5158    R: Send + Sync + std::fmt::Debug + 'static,
5159{
5160    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5161        match err {
5162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5165                source: err.into(),
5166            }),
5167        }
5168    }
5169}
5170impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5171    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5172        match err {
5173            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5174        }
5175    }
5176}
5177impl<R>
5178    From<
5179        ::aws_smithy_runtime_api::client::result::SdkError<
5180            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5181            R,
5182        >,
5183    > for Error
5184where
5185    R: Send + Sync + std::fmt::Debug + 'static,
5186{
5187    fn from(
5188        err: ::aws_smithy_runtime_api::client::result::SdkError<
5189            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5190            R,
5191        >,
5192    ) -> Self {
5193        match err {
5194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5197                source: err.into(),
5198            }),
5199        }
5200    }
5201}
5202impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5203    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5204        match err {
5205            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5206        }
5207    }
5208}
5209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5210where
5211    R: Send + Sync + std::fmt::Debug + 'static,
5212{
5213    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5214        match err {
5215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5218                source: err.into(),
5219            }),
5220        }
5221    }
5222}
5223impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5224    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5225        match err {
5226            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5227        }
5228    }
5229}
5230impl<R>
5231    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5232    for Error
5233where
5234    R: Send + Sync + std::fmt::Debug + 'static,
5235{
5236    fn from(
5237        err: ::aws_smithy_runtime_api::client::result::SdkError<
5238            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5239            R,
5240        >,
5241    ) -> Self {
5242        match err {
5243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5246                source: err.into(),
5247            }),
5248        }
5249    }
5250}
5251impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5252    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5253        match err {
5254            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5255        }
5256    }
5257}
5258impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5259where
5260    R: Send + Sync + std::fmt::Debug + 'static,
5261{
5262    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5263        match err {
5264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5267                source: err.into(),
5268            }),
5269        }
5270    }
5271}
5272impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5273    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5274        match err {
5275            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5276        }
5277    }
5278}
5279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5280    for Error
5281where
5282    R: Send + Sync + std::fmt::Debug + 'static,
5283{
5284    fn from(
5285        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5286    ) -> Self {
5287        match err {
5288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5291                source: err.into(),
5292            }),
5293        }
5294    }
5295}
5296impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5297    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5298        match err {
5299            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5300        }
5301    }
5302}
5303impl<R>
5304    From<
5305        ::aws_smithy_runtime_api::client::result::SdkError<
5306            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5307            R,
5308        >,
5309    > for Error
5310where
5311    R: Send + Sync + std::fmt::Debug + 'static,
5312{
5313    fn from(
5314        err: ::aws_smithy_runtime_api::client::result::SdkError<
5315            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5316            R,
5317        >,
5318    ) -> Self {
5319        match err {
5320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5323                source: err.into(),
5324            }),
5325        }
5326    }
5327}
5328impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5329    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5330        match err {
5331            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5332        }
5333    }
5334}
5335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5336    for Error
5337where
5338    R: Send + Sync + std::fmt::Debug + 'static,
5339{
5340    fn from(
5341        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5342    ) -> Self {
5343        match err {
5344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5347                source: err.into(),
5348            }),
5349        }
5350    }
5351}
5352impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5353    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5354        match err {
5355            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5356        }
5357    }
5358}
5359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5360    for Error
5361where
5362    R: Send + Sync + std::fmt::Debug + 'static,
5363{
5364    fn from(
5365        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5366    ) -> Self {
5367        match err {
5368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5371                source: err.into(),
5372            }),
5373        }
5374    }
5375}
5376impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5377    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5378        match err {
5379            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5380        }
5381    }
5382}
5383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5384where
5385    R: Send + Sync + std::fmt::Debug + 'static,
5386{
5387    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5388        match err {
5389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5392                source: err.into(),
5393            }),
5394        }
5395    }
5396}
5397impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5398    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5399        match err {
5400            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5401        }
5402    }
5403}
5404impl<R>
5405    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5406    for Error
5407where
5408    R: Send + Sync + std::fmt::Debug + 'static,
5409{
5410    fn from(
5411        err: ::aws_smithy_runtime_api::client::result::SdkError<
5412            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5413            R,
5414        >,
5415    ) -> Self {
5416        match err {
5417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5420                source: err.into(),
5421            }),
5422        }
5423    }
5424}
5425impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5426    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5427        match err {
5428            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5429        }
5430    }
5431}
5432impl<R>
5433    From<
5434        ::aws_smithy_runtime_api::client::result::SdkError<
5435            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5436            R,
5437        >,
5438    > for Error
5439where
5440    R: Send + Sync + std::fmt::Debug + 'static,
5441{
5442    fn from(
5443        err: ::aws_smithy_runtime_api::client::result::SdkError<
5444            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5445            R,
5446        >,
5447    ) -> Self {
5448        match err {
5449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5452                source: err.into(),
5453            }),
5454        }
5455    }
5456}
5457impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5458    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5459        match err {
5460            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5461        }
5462    }
5463}
5464impl<R>
5465    From<
5466        ::aws_smithy_runtime_api::client::result::SdkError<
5467            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5468            R,
5469        >,
5470    > for Error
5471where
5472    R: Send + Sync + std::fmt::Debug + 'static,
5473{
5474    fn from(
5475        err: ::aws_smithy_runtime_api::client::result::SdkError<
5476            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5477            R,
5478        >,
5479    ) -> Self {
5480        match err {
5481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5484                source: err.into(),
5485            }),
5486        }
5487    }
5488}
5489impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5490    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5491        match err {
5492            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5493                Error::Unhandled(inner)
5494            }
5495        }
5496    }
5497}
5498impl<R>
5499    From<
5500        ::aws_smithy_runtime_api::client::result::SdkError<
5501            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5502            R,
5503        >,
5504    > for Error
5505where
5506    R: Send + Sync + std::fmt::Debug + 'static,
5507{
5508    fn from(
5509        err: ::aws_smithy_runtime_api::client::result::SdkError<
5510            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5511            R,
5512        >,
5513    ) -> Self {
5514        match err {
5515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5518                source: err.into(),
5519            }),
5520        }
5521    }
5522}
5523impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5524    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5525        match err {
5526            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5527                Error::Unhandled(inner)
5528            }
5529        }
5530    }
5531}
5532impl<R>
5533    From<
5534        ::aws_smithy_runtime_api::client::result::SdkError<
5535            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5536            R,
5537        >,
5538    > for Error
5539where
5540    R: Send + Sync + std::fmt::Debug + 'static,
5541{
5542    fn from(
5543        err: ::aws_smithy_runtime_api::client::result::SdkError<
5544            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5545            R,
5546        >,
5547    ) -> Self {
5548        match err {
5549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5552                source: err.into(),
5553            }),
5554        }
5555    }
5556}
5557impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5558    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5559        match err {
5560            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5561        }
5562    }
5563}
5564impl<R>
5565    From<
5566        ::aws_smithy_runtime_api::client::result::SdkError<
5567            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5568            R,
5569        >,
5570    > for Error
5571where
5572    R: Send + Sync + std::fmt::Debug + 'static,
5573{
5574    fn from(
5575        err: ::aws_smithy_runtime_api::client::result::SdkError<
5576            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5577            R,
5578        >,
5579    ) -> Self {
5580        match err {
5581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5584                source: err.into(),
5585            }),
5586        }
5587    }
5588}
5589impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5590    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5591        match err {
5592            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5593                Error::Unhandled(inner)
5594            }
5595        }
5596    }
5597}
5598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5599    for Error
5600where
5601    R: Send + Sync + std::fmt::Debug + 'static,
5602{
5603    fn from(
5604        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5605    ) -> Self {
5606        match err {
5607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5610                source: err.into(),
5611            }),
5612        }
5613    }
5614}
5615impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5616    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5617        match err {
5618            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5619        }
5620    }
5621}
5622impl<R>
5623    From<
5624        ::aws_smithy_runtime_api::client::result::SdkError<
5625            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5626            R,
5627        >,
5628    > for Error
5629where
5630    R: Send + Sync + std::fmt::Debug + 'static,
5631{
5632    fn from(
5633        err: ::aws_smithy_runtime_api::client::result::SdkError<
5634            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5635            R,
5636        >,
5637    ) -> Self {
5638        match err {
5639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5642                source: err.into(),
5643            }),
5644        }
5645    }
5646}
5647impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5648    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5649        match err {
5650            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5651        }
5652    }
5653}
5654impl<R>
5655    From<
5656        ::aws_smithy_runtime_api::client::result::SdkError<
5657            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5658            R,
5659        >,
5660    > for Error
5661where
5662    R: Send + Sync + std::fmt::Debug + 'static,
5663{
5664    fn from(
5665        err: ::aws_smithy_runtime_api::client::result::SdkError<
5666            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5667            R,
5668        >,
5669    ) -> Self {
5670        match err {
5671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5674                source: err.into(),
5675            }),
5676        }
5677    }
5678}
5679impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5680    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5681        match err {
5682            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5683                Error::Unhandled(inner)
5684            }
5685        }
5686    }
5687}
5688impl<R>
5689    From<
5690        ::aws_smithy_runtime_api::client::result::SdkError<
5691            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5692            R,
5693        >,
5694    > for Error
5695where
5696    R: Send + Sync + std::fmt::Debug + 'static,
5697{
5698    fn from(
5699        err: ::aws_smithy_runtime_api::client::result::SdkError<
5700            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5701            R,
5702        >,
5703    ) -> Self {
5704        match err {
5705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5708                source: err.into(),
5709            }),
5710        }
5711    }
5712}
5713impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5714    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5715        match err {
5716            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5717                Error::Unhandled(inner)
5718            }
5719        }
5720    }
5721}
5722impl<R>
5723    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5724    for Error
5725where
5726    R: Send + Sync + std::fmt::Debug + 'static,
5727{
5728    fn from(
5729        err: ::aws_smithy_runtime_api::client::result::SdkError<
5730            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5731            R,
5732        >,
5733    ) -> Self {
5734        match err {
5735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5738                source: err.into(),
5739            }),
5740        }
5741    }
5742}
5743impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
5744    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
5745        match err {
5746            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5747        }
5748    }
5749}
5750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
5751    for Error
5752where
5753    R: Send + Sync + std::fmt::Debug + 'static,
5754{
5755    fn from(
5756        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
5757    ) -> Self {
5758        match err {
5759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5762                source: err.into(),
5763            }),
5764        }
5765    }
5766}
5767impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
5768    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
5769        match err {
5770            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
5771        }
5772    }
5773}
5774impl<R>
5775    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
5776    for Error
5777where
5778    R: Send + Sync + std::fmt::Debug + 'static,
5779{
5780    fn from(
5781        err: ::aws_smithy_runtime_api::client::result::SdkError<
5782            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
5783            R,
5784        >,
5785    ) -> Self {
5786        match err {
5787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5790                source: err.into(),
5791            }),
5792        }
5793    }
5794}
5795impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
5796    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
5797        match err {
5798            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
5799        }
5800    }
5801}
5802impl<R>
5803    From<
5804        ::aws_smithy_runtime_api::client::result::SdkError<
5805            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5806            R,
5807        >,
5808    > for Error
5809where
5810    R: Send + Sync + std::fmt::Debug + 'static,
5811{
5812    fn from(
5813        err: ::aws_smithy_runtime_api::client::result::SdkError<
5814            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5815            R,
5816        >,
5817    ) -> Self {
5818        match err {
5819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5822                source: err.into(),
5823            }),
5824        }
5825    }
5826}
5827impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
5828    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
5829        match err {
5830            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
5831                Error::Unhandled(inner)
5832            }
5833        }
5834    }
5835}
5836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
5837where
5838    R: Send + Sync + std::fmt::Debug + 'static,
5839{
5840    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
5841        match err {
5842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5845                source: err.into(),
5846            }),
5847        }
5848    }
5849}
5850impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
5851    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
5852        match err {
5853            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5854        }
5855    }
5856}
5857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
5858where
5859    R: Send + Sync + std::fmt::Debug + 'static,
5860{
5861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
5862        match err {
5863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5866                source: err.into(),
5867            }),
5868        }
5869    }
5870}
5871impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
5872    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
5873        match err {
5874            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
5875        }
5876    }
5877}
5878impl<R>
5879    From<
5880        ::aws_smithy_runtime_api::client::result::SdkError<
5881            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5882            R,
5883        >,
5884    > for Error
5885where
5886    R: Send + Sync + std::fmt::Debug + 'static,
5887{
5888    fn from(
5889        err: ::aws_smithy_runtime_api::client::result::SdkError<
5890            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5891            R,
5892        >,
5893    ) -> Self {
5894        match err {
5895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5898                source: err.into(),
5899            }),
5900        }
5901    }
5902}
5903impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
5904    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
5905        match err {
5906            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
5907                Error::Unhandled(inner)
5908            }
5909        }
5910    }
5911}
5912impl<R>
5913    From<
5914        ::aws_smithy_runtime_api::client::result::SdkError<
5915            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5916            R,
5917        >,
5918    > for Error
5919where
5920    R: Send + Sync + std::fmt::Debug + 'static,
5921{
5922    fn from(
5923        err: ::aws_smithy_runtime_api::client::result::SdkError<
5924            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5925            R,
5926        >,
5927    ) -> 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_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
5938    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
5939        match err {
5940            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
5941                Error::Unhandled(inner)
5942            }
5943        }
5944    }
5945}
5946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
5947where
5948    R: Send + Sync + std::fmt::Debug + 'static,
5949{
5950    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
5951        match err {
5952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5955                source: err.into(),
5956            }),
5957        }
5958    }
5959}
5960impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
5961    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
5962        match err {
5963            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5964        }
5965    }
5966}
5967impl<R>
5968    From<
5969        ::aws_smithy_runtime_api::client::result::SdkError<
5970            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5971            R,
5972        >,
5973    > for Error
5974where
5975    R: Send + Sync + std::fmt::Debug + 'static,
5976{
5977    fn from(
5978        err: ::aws_smithy_runtime_api::client::result::SdkError<
5979            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5980            R,
5981        >,
5982    ) -> Self {
5983        match err {
5984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5987                source: err.into(),
5988            }),
5989        }
5990    }
5991}
5992impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
5993    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
5994        match err {
5995            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
5996                Error::Unhandled(inner)
5997            }
5998        }
5999    }
6000}
6001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6002    for Error
6003where
6004    R: Send + Sync + std::fmt::Debug + 'static,
6005{
6006    fn from(
6007        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6008    ) -> Self {
6009        match err {
6010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6013                source: err.into(),
6014            }),
6015        }
6016    }
6017}
6018impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6019    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6020        match err {
6021            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6022        }
6023    }
6024}
6025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6026where
6027    R: Send + Sync + std::fmt::Debug + 'static,
6028{
6029    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6030        match err {
6031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6034                source: err.into(),
6035            }),
6036        }
6037    }
6038}
6039impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6040    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6041        match err {
6042            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6043        }
6044    }
6045}
6046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6047    for Error
6048where
6049    R: Send + Sync + std::fmt::Debug + 'static,
6050{
6051    fn from(
6052        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
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_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6064    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6065        match err {
6066            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6067        }
6068    }
6069}
6070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6071where
6072    R: Send + Sync + std::fmt::Debug + 'static,
6073{
6074    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6075        match err {
6076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6079                source: err.into(),
6080            }),
6081        }
6082    }
6083}
6084impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6085    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6086        match err {
6087            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6088        }
6089    }
6090}
6091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6092where
6093    R: Send + Sync + std::fmt::Debug + 'static,
6094{
6095    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6096        match err {
6097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6100                source: err.into(),
6101            }),
6102        }
6103    }
6104}
6105impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6106    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6107        match err {
6108            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6109        }
6110    }
6111}
6112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6113where
6114    R: Send + Sync + std::fmt::Debug + 'static,
6115{
6116    fn from(
6117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6118    ) -> Self {
6119        match err {
6120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6123                source: err.into(),
6124            }),
6125        }
6126    }
6127}
6128impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6129    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6130        match err {
6131            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6132        }
6133    }
6134}
6135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6136    for Error
6137where
6138    R: Send + Sync + std::fmt::Debug + 'static,
6139{
6140    fn from(
6141        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6142    ) -> Self {
6143        match err {
6144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6147                source: err.into(),
6148            }),
6149        }
6150    }
6151}
6152impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6153    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6154        match err {
6155            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6156        }
6157    }
6158}
6159impl<R>
6160    From<
6161        ::aws_smithy_runtime_api::client::result::SdkError<
6162            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6163            R,
6164        >,
6165    > for Error
6166where
6167    R: Send + Sync + std::fmt::Debug + 'static,
6168{
6169    fn from(
6170        err: ::aws_smithy_runtime_api::client::result::SdkError<
6171            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6172            R,
6173        >,
6174    ) -> Self {
6175        match err {
6176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6179                source: err.into(),
6180            }),
6181        }
6182    }
6183}
6184impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6185    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6186        match err {
6187            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6188        }
6189    }
6190}
6191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6192where
6193    R: Send + Sync + std::fmt::Debug + 'static,
6194{
6195    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6196        match err {
6197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6200                source: err.into(),
6201            }),
6202        }
6203    }
6204}
6205impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6206    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6207        match err {
6208            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6209        }
6210    }
6211}
6212impl<R>
6213    From<
6214        ::aws_smithy_runtime_api::client::result::SdkError<
6215            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6216            R,
6217        >,
6218    > for Error
6219where
6220    R: Send + Sync + std::fmt::Debug + 'static,
6221{
6222    fn from(
6223        err: ::aws_smithy_runtime_api::client::result::SdkError<
6224            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6225            R,
6226        >,
6227    ) -> Self {
6228        match err {
6229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6232                source: err.into(),
6233            }),
6234        }
6235    }
6236}
6237impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6238    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6239        match err {
6240            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6241                inner,
6242            ) => Error::Unhandled(inner),
6243        }
6244    }
6245}
6246impl<R>
6247    From<
6248        ::aws_smithy_runtime_api::client::result::SdkError<
6249            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6250            R,
6251        >,
6252    > for Error
6253where
6254    R: Send + Sync + std::fmt::Debug + 'static,
6255{
6256    fn from(
6257        err: ::aws_smithy_runtime_api::client::result::SdkError<
6258            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6259            R,
6260        >,
6261    ) -> Self {
6262        match err {
6263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6266                source: err.into(),
6267            }),
6268        }
6269    }
6270}
6271impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6272    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6273        match err {
6274            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6275                inner,
6276            ) => Error::Unhandled(inner),
6277        }
6278    }
6279}
6280impl<R>
6281    From<
6282        ::aws_smithy_runtime_api::client::result::SdkError<
6283            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6284            R,
6285        >,
6286    > for Error
6287where
6288    R: Send + Sync + std::fmt::Debug + 'static,
6289{
6290    fn from(
6291        err: ::aws_smithy_runtime_api::client::result::SdkError<
6292            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6293            R,
6294        >,
6295    ) -> Self {
6296        match err {
6297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6300                source: err.into(),
6301            }),
6302        }
6303    }
6304}
6305impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6306    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6307        match err {
6308            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6309                inner,
6310            ) => Error::Unhandled(inner),
6311        }
6312    }
6313}
6314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6315    for Error
6316where
6317    R: Send + Sync + std::fmt::Debug + 'static,
6318{
6319    fn from(
6320        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6321    ) -> Self {
6322        match err {
6323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6326                source: err.into(),
6327            }),
6328        }
6329    }
6330}
6331impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6332    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6333        match err {
6334            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6335        }
6336    }
6337}
6338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6339where
6340    R: Send + Sync + std::fmt::Debug + 'static,
6341{
6342    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6343        match err {
6344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6347                source: err.into(),
6348            }),
6349        }
6350    }
6351}
6352impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6353    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6354        match err {
6355            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6356        }
6357    }
6358}
6359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6360    for Error
6361where
6362    R: Send + Sync + std::fmt::Debug + 'static,
6363{
6364    fn from(
6365        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6366    ) -> Self {
6367        match err {
6368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6371                source: err.into(),
6372            }),
6373        }
6374    }
6375}
6376impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6377    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6378        match err {
6379            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6380        }
6381    }
6382}
6383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, 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<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6390    ) -> Self {
6391        match err {
6392            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6393            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6394                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6395                source: err.into(),
6396            }),
6397        }
6398    }
6399}
6400impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6401    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6402        match err {
6403            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6404        }
6405    }
6406}
6407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6408    for Error
6409where
6410    R: Send + Sync + std::fmt::Debug + 'static,
6411{
6412    fn from(
6413        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6414    ) -> Self {
6415        match err {
6416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6419                source: err.into(),
6420            }),
6421        }
6422    }
6423}
6424impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6425    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6426        match err {
6427            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6428        }
6429    }
6430}
6431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6432    for Error
6433where
6434    R: Send + Sync + std::fmt::Debug + 'static,
6435{
6436    fn from(
6437        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6438    ) -> Self {
6439        match err {
6440            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6441            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6442                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6443                source: err.into(),
6444            }),
6445        }
6446    }
6447}
6448impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6449    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6450        match err {
6451            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6452        }
6453    }
6454}
6455impl<R>
6456    From<
6457        ::aws_smithy_runtime_api::client::result::SdkError<
6458            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6459            R,
6460        >,
6461    > for Error
6462where
6463    R: Send + Sync + std::fmt::Debug + 'static,
6464{
6465    fn from(
6466        err: ::aws_smithy_runtime_api::client::result::SdkError<
6467            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6468            R,
6469        >,
6470    ) -> Self {
6471        match err {
6472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6475                source: err.into(),
6476            }),
6477        }
6478    }
6479}
6480impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6481    fn from(
6482        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6483    ) -> Self {
6484        match err {
6485            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6486        }
6487    }
6488}
6489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6490where
6491    R: Send + Sync + std::fmt::Debug + 'static,
6492{
6493    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6494        match err {
6495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6498                source: err.into(),
6499            }),
6500        }
6501    }
6502}
6503impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6504    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6505        match err {
6506            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6507        }
6508    }
6509}
6510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6511where
6512    R: Send + Sync + std::fmt::Debug + 'static,
6513{
6514    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6515        match err {
6516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6519                source: err.into(),
6520            }),
6521        }
6522    }
6523}
6524impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6525    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6526        match err {
6527            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6528        }
6529    }
6530}
6531impl<R>
6532    From<
6533        ::aws_smithy_runtime_api::client::result::SdkError<
6534            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6535            R,
6536        >,
6537    > for Error
6538where
6539    R: Send + Sync + std::fmt::Debug + 'static,
6540{
6541    fn from(
6542        err: ::aws_smithy_runtime_api::client::result::SdkError<
6543            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6544            R,
6545        >,
6546    ) -> Self {
6547        match err {
6548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6551                source: err.into(),
6552            }),
6553        }
6554    }
6555}
6556impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6557    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6558        match err {
6559            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6560                Error::Unhandled(inner)
6561            }
6562        }
6563    }
6564}
6565impl<R>
6566    From<
6567        ::aws_smithy_runtime_api::client::result::SdkError<
6568            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6569            R,
6570        >,
6571    > for Error
6572where
6573    R: Send + Sync + std::fmt::Debug + 'static,
6574{
6575    fn from(
6576        err: ::aws_smithy_runtime_api::client::result::SdkError<
6577            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6578            R,
6579        >,
6580    ) -> Self {
6581        match err {
6582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6585                source: err.into(),
6586            }),
6587        }
6588    }
6589}
6590impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6591    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6592        match err {
6593            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6594                Error::Unhandled(inner)
6595            }
6596        }
6597    }
6598}
6599impl<R>
6600    From<
6601        ::aws_smithy_runtime_api::client::result::SdkError<
6602            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
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::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
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::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6625    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6626        match err {
6627            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6628        }
6629    }
6630}
6631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
6632where
6633    R: Send + Sync + std::fmt::Debug + 'static,
6634{
6635    fn from(
6636        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
6637    ) -> Self {
6638        match err {
6639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6642                source: err.into(),
6643            }),
6644        }
6645    }
6646}
6647impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
6648    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
6649        match err {
6650            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
6651        }
6652    }
6653}
6654impl<R>
6655    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
6656    for Error
6657where
6658    R: Send + Sync + std::fmt::Debug + 'static,
6659{
6660    fn from(
6661        err: ::aws_smithy_runtime_api::client::result::SdkError<
6662            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
6663            R,
6664        >,
6665    ) -> Self {
6666        match err {
6667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6670                source: err.into(),
6671            }),
6672        }
6673    }
6674}
6675impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
6676    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
6677        match err {
6678            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
6679        }
6680    }
6681}
6682impl<R>
6683    From<
6684        ::aws_smithy_runtime_api::client::result::SdkError<
6685            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6686            R,
6687        >,
6688    > for Error
6689where
6690    R: Send + Sync + std::fmt::Debug + 'static,
6691{
6692    fn from(
6693        err: ::aws_smithy_runtime_api::client::result::SdkError<
6694            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6695            R,
6696        >,
6697    ) -> Self {
6698        match err {
6699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6702                source: err.into(),
6703            }),
6704        }
6705    }
6706}
6707impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6708    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
6709        match err {
6710            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
6711                Error::Unhandled(inner)
6712            }
6713        }
6714    }
6715}
6716impl<R>
6717    From<
6718        ::aws_smithy_runtime_api::client::result::SdkError<
6719            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6720            R,
6721        >,
6722    > for Error
6723where
6724    R: Send + Sync + std::fmt::Debug + 'static,
6725{
6726    fn from(
6727        err: ::aws_smithy_runtime_api::client::result::SdkError<
6728            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6729            R,
6730        >,
6731    ) -> Self {
6732        match err {
6733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6736                source: err.into(),
6737            }),
6738        }
6739    }
6740}
6741impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
6742    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
6743        match err {
6744            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
6745                Error::Unhandled(inner)
6746            }
6747        }
6748    }
6749}
6750impl<R>
6751    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
6752    for Error
6753where
6754    R: Send + Sync + std::fmt::Debug + 'static,
6755{
6756    fn from(
6757        err: ::aws_smithy_runtime_api::client::result::SdkError<
6758            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
6759            R,
6760        >,
6761    ) -> Self {
6762        match err {
6763            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6764            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6765                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6766                source: err.into(),
6767            }),
6768        }
6769    }
6770}
6771impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
6772    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
6773        match err {
6774            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
6775        }
6776    }
6777}
6778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
6779    for Error
6780where
6781    R: Send + Sync + std::fmt::Debug + 'static,
6782{
6783    fn from(
6784        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
6785    ) -> Self {
6786        match err {
6787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6790                source: err.into(),
6791            }),
6792        }
6793    }
6794}
6795impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
6796    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
6797        match err {
6798            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6799        }
6800    }
6801}
6802impl<R>
6803    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
6804    for Error
6805where
6806    R: Send + Sync + std::fmt::Debug + 'static,
6807{
6808    fn from(
6809        err: ::aws_smithy_runtime_api::client::result::SdkError<
6810            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
6811            R,
6812        >,
6813    ) -> Self {
6814        match err {
6815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6818                source: err.into(),
6819            }),
6820        }
6821    }
6822}
6823impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
6824    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
6825        match err {
6826            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6827        }
6828    }
6829}
6830impl<R>
6831    From<
6832        ::aws_smithy_runtime_api::client::result::SdkError<
6833            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6834            R,
6835        >,
6836    > for Error
6837where
6838    R: Send + Sync + std::fmt::Debug + 'static,
6839{
6840    fn from(
6841        err: ::aws_smithy_runtime_api::client::result::SdkError<
6842            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6843            R,
6844        >,
6845    ) -> Self {
6846        match err {
6847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6850                source: err.into(),
6851            }),
6852        }
6853    }
6854}
6855impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
6856    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
6857        match err {
6858            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
6859                Error::Unhandled(inner)
6860            }
6861        }
6862    }
6863}
6864impl<R>
6865    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
6866    for Error
6867where
6868    R: Send + Sync + std::fmt::Debug + 'static,
6869{
6870    fn from(
6871        err: ::aws_smithy_runtime_api::client::result::SdkError<
6872            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
6873            R,
6874        >,
6875    ) -> Self {
6876        match err {
6877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6880                source: err.into(),
6881            }),
6882        }
6883    }
6884}
6885impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
6886    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
6887        match err {
6888            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
6889        }
6890    }
6891}
6892impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
6893    for Error
6894where
6895    R: Send + Sync + std::fmt::Debug + 'static,
6896{
6897    fn from(
6898        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
6899    ) -> Self {
6900        match err {
6901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6904                source: err.into(),
6905            }),
6906        }
6907    }
6908}
6909impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
6910    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
6911        match err {
6912            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6913        }
6914    }
6915}
6916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
6917    for Error
6918where
6919    R: Send + Sync + std::fmt::Debug + 'static,
6920{
6921    fn from(
6922        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
6923    ) -> Self {
6924        match err {
6925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6928                source: err.into(),
6929            }),
6930        }
6931    }
6932}
6933impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
6934    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
6935        match err {
6936            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
6937        }
6938    }
6939}
6940impl<R>
6941    From<
6942        ::aws_smithy_runtime_api::client::result::SdkError<
6943            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6944            R,
6945        >,
6946    > for Error
6947where
6948    R: Send + Sync + std::fmt::Debug + 'static,
6949{
6950    fn from(
6951        err: ::aws_smithy_runtime_api::client::result::SdkError<
6952            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6953            R,
6954        >,
6955    ) -> Self {
6956        match err {
6957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6960                source: err.into(),
6961            }),
6962        }
6963    }
6964}
6965impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
6966    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
6967        match err {
6968            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
6969        }
6970    }
6971}
6972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
6973where
6974    R: Send + Sync + std::fmt::Debug + 'static,
6975{
6976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> 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_coip_pools::DescribeCoipPoolsError> for Error {
6987    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
6988        match err {
6989            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
6990        }
6991    }
6992}
6993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
6994    for Error
6995where
6996    R: Send + Sync + std::fmt::Debug + 'static,
6997{
6998    fn from(
6999        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7000    ) -> Self {
7001        match err {
7002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7005                source: err.into(),
7006            }),
7007        }
7008    }
7009}
7010impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7011    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7012        match err {
7013            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7014        }
7015    }
7016}
7017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7018    for Error
7019where
7020    R: Send + Sync + std::fmt::Debug + 'static,
7021{
7022    fn from(
7023        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7024    ) -> Self {
7025        match err {
7026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7029                source: err.into(),
7030            }),
7031        }
7032    }
7033}
7034impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7035    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7036        match err {
7037            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7038        }
7039    }
7040}
7041impl<R>
7042    From<
7043        ::aws_smithy_runtime_api::client::result::SdkError<
7044            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7045            R,
7046        >,
7047    > for Error
7048where
7049    R: Send + Sync + std::fmt::Debug + 'static,
7050{
7051    fn from(
7052        err: ::aws_smithy_runtime_api::client::result::SdkError<
7053            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7054            R,
7055        >,
7056    ) -> Self {
7057        match err {
7058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7061                source: err.into(),
7062            }),
7063        }
7064    }
7065}
7066impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7067    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7068        match err {
7069            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7070                Error::Unhandled(inner)
7071            }
7072        }
7073    }
7074}
7075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7076where
7077    R: Send + Sync + std::fmt::Debug + 'static,
7078{
7079    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7080        match err {
7081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7084                source: err.into(),
7085            }),
7086        }
7087    }
7088}
7089impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7090    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7091        match err {
7092            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7093        }
7094    }
7095}
7096impl<R>
7097    From<
7098        ::aws_smithy_runtime_api::client::result::SdkError<
7099            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7100            R,
7101        >,
7102    > for Error
7103where
7104    R: Send + Sync + std::fmt::Debug + 'static,
7105{
7106    fn from(
7107        err: ::aws_smithy_runtime_api::client::result::SdkError<
7108            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7109            R,
7110        >,
7111    ) -> Self {
7112        match err {
7113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7116                source: err.into(),
7117            }),
7118        }
7119    }
7120}
7121impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7122    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7123        match err {
7124            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7125                Error::Unhandled(inner)
7126            }
7127        }
7128    }
7129}
7130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7131where
7132    R: Send + Sync + std::fmt::Debug + 'static,
7133{
7134    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7135        match err {
7136            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7137            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7138                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7139                source: err.into(),
7140            }),
7141        }
7142    }
7143}
7144impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7145    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7146        match err {
7147            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7148        }
7149    }
7150}
7151impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7152    for Error
7153where
7154    R: Send + Sync + std::fmt::Debug + 'static,
7155{
7156    fn from(
7157        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7158    ) -> Self {
7159        match err {
7160            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7161            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7162                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7163                source: err.into(),
7164            }),
7165        }
7166    }
7167}
7168impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7169    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7170        match err {
7171            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7172        }
7173    }
7174}
7175impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7176where
7177    R: Send + Sync + std::fmt::Debug + 'static,
7178{
7179    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7180        match err {
7181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7184                source: err.into(),
7185            }),
7186        }
7187    }
7188}
7189impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7190    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7191        match err {
7192            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7193        }
7194    }
7195}
7196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7197    for Error
7198where
7199    R: Send + Sync + std::fmt::Debug + 'static,
7200{
7201    fn from(
7202        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7203    ) -> Self {
7204        match err {
7205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7208                source: err.into(),
7209            }),
7210        }
7211    }
7212}
7213impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7214    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7215        match err {
7216            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7217        }
7218    }
7219}
7220impl<R>
7221    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7222    for Error
7223where
7224    R: Send + Sync + std::fmt::Debug + 'static,
7225{
7226    fn from(
7227        err: ::aws_smithy_runtime_api::client::result::SdkError<
7228            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7229            R,
7230        >,
7231    ) -> Self {
7232        match err {
7233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7236                source: err.into(),
7237            }),
7238        }
7239    }
7240}
7241impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7242    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7243        match err {
7244            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7245        }
7246    }
7247}
7248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7249where
7250    R: Send + Sync + std::fmt::Debug + 'static,
7251{
7252    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7253        match err {
7254            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7255            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7256                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7257                source: err.into(),
7258            }),
7259        }
7260    }
7261}
7262impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7263    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7264        match err {
7265            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7266        }
7267    }
7268}
7269impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7270where
7271    R: Send + Sync + std::fmt::Debug + 'static,
7272{
7273    fn from(
7274        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7275    ) -> Self {
7276        match err {
7277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7280                source: err.into(),
7281            }),
7282        }
7283    }
7284}
7285impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7286    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7287        match err {
7288            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7289        }
7290    }
7291}
7292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7293where
7294    R: Send + Sync + std::fmt::Debug + 'static,
7295{
7296    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7297        match err {
7298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7301                source: err.into(),
7302            }),
7303        }
7304    }
7305}
7306impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7307    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7308        match err {
7309            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7310        }
7311    }
7312}
7313impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7314where
7315    R: Send + Sync + std::fmt::Debug + 'static,
7316{
7317    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7318        match err {
7319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7322                source: err.into(),
7323            }),
7324        }
7325    }
7326}
7327impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7328    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7329        match err {
7330            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7331        }
7332    }
7333}
7334impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7335    for Error
7336where
7337    R: Send + Sync + std::fmt::Debug + 'static,
7338{
7339    fn from(
7340        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7341    ) -> Self {
7342        match err {
7343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7346                source: err.into(),
7347            }),
7348        }
7349    }
7350}
7351impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7352    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7353        match err {
7354            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7355        }
7356    }
7357}
7358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7359where
7360    R: Send + Sync + std::fmt::Debug + 'static,
7361{
7362    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7363        match err {
7364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7367                source: err.into(),
7368            }),
7369        }
7370    }
7371}
7372impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7373    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7374        match err {
7375            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7376        }
7377    }
7378}
7379impl<R>
7380    From<
7381        ::aws_smithy_runtime_api::client::result::SdkError<
7382            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7383            R,
7384        >,
7385    > for Error
7386where
7387    R: Send + Sync + std::fmt::Debug + 'static,
7388{
7389    fn from(
7390        err: ::aws_smithy_runtime_api::client::result::SdkError<
7391            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7392            R,
7393        >,
7394    ) -> Self {
7395        match err {
7396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7399                source: err.into(),
7400            }),
7401        }
7402    }
7403}
7404impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7405    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7406        match err {
7407            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7408        }
7409    }
7410}
7411impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7412    for Error
7413where
7414    R: Send + Sync + std::fmt::Debug + 'static,
7415{
7416    fn from(
7417        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7418    ) -> Self {
7419        match err {
7420            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7421            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7422                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7423                source: err.into(),
7424            }),
7425        }
7426    }
7427}
7428impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7429    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7430        match err {
7431            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7432        }
7433    }
7434}
7435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7436where
7437    R: Send + Sync + std::fmt::Debug + 'static,
7438{
7439    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7440        match err {
7441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7444                source: err.into(),
7445            }),
7446        }
7447    }
7448}
7449impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7450    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7451        match err {
7452            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7453        }
7454    }
7455}
7456impl<R>
7457    From<
7458        ::aws_smithy_runtime_api::client::result::SdkError<
7459            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7460            R,
7461        >,
7462    > for Error
7463where
7464    R: Send + Sync + std::fmt::Debug + 'static,
7465{
7466    fn from(
7467        err: ::aws_smithy_runtime_api::client::result::SdkError<
7468            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7469            R,
7470        >,
7471    ) -> Self {
7472        match err {
7473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7476                source: err.into(),
7477            }),
7478        }
7479    }
7480}
7481impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7482    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7483        match err {
7484            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7485                Error::Unhandled(inner)
7486            }
7487        }
7488    }
7489}
7490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7491    for Error
7492where
7493    R: Send + Sync + std::fmt::Debug + 'static,
7494{
7495    fn from(
7496        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7497    ) -> Self {
7498        match err {
7499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7502                source: err.into(),
7503            }),
7504        }
7505    }
7506}
7507impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7508    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7509        match err {
7510            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7511        }
7512    }
7513}
7514impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7515where
7516    R: Send + Sync + std::fmt::Debug + 'static,
7517{
7518    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7519        match err {
7520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7523                source: err.into(),
7524            }),
7525        }
7526    }
7527}
7528impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7529    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7530        match err {
7531            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7532        }
7533    }
7534}
7535impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7536where
7537    R: Send + Sync + std::fmt::Debug + 'static,
7538{
7539    fn from(
7540        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7541    ) -> Self {
7542        match err {
7543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7546                source: err.into(),
7547            }),
7548        }
7549    }
7550}
7551impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7552    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7553        match err {
7554            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7555        }
7556    }
7557}
7558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7559where
7560    R: Send + Sync + std::fmt::Debug + 'static,
7561{
7562    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7563        match err {
7564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7567                source: err.into(),
7568            }),
7569        }
7570    }
7571}
7572impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7573    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7574        match err {
7575            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7576        }
7577    }
7578}
7579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7580    for Error
7581where
7582    R: Send + Sync + std::fmt::Debug + 'static,
7583{
7584    fn from(
7585        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7586    ) -> Self {
7587        match err {
7588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7591                source: err.into(),
7592            }),
7593        }
7594    }
7595}
7596impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
7597    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
7598        match err {
7599            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7600        }
7601    }
7602}
7603impl<R>
7604    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
7605    for Error
7606where
7607    R: Send + Sync + std::fmt::Debug + 'static,
7608{
7609    fn from(
7610        err: ::aws_smithy_runtime_api::client::result::SdkError<
7611            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
7612            R,
7613        >,
7614    ) -> Self {
7615        match err {
7616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7619                source: err.into(),
7620            }),
7621        }
7622    }
7623}
7624impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
7625    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
7626        match err {
7627            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
7628        }
7629    }
7630}
7631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
7632    for Error
7633where
7634    R: Send + Sync + std::fmt::Debug + 'static,
7635{
7636    fn from(
7637        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
7638    ) -> Self {
7639        match err {
7640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7643                source: err.into(),
7644            }),
7645        }
7646    }
7647}
7648impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
7649    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
7650        match err {
7651            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7652        }
7653    }
7654}
7655impl<R>
7656    From<
7657        ::aws_smithy_runtime_api::client::result::SdkError<
7658            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7659            R,
7660        >,
7661    > for Error
7662where
7663    R: Send + Sync + std::fmt::Debug + 'static,
7664{
7665    fn from(
7666        err: ::aws_smithy_runtime_api::client::result::SdkError<
7667            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7668            R,
7669        >,
7670    ) -> Self {
7671        match err {
7672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7675                source: err.into(),
7676            }),
7677        }
7678    }
7679}
7680impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
7681    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
7682        match err {
7683            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7684        }
7685    }
7686}
7687impl<R>
7688    From<
7689        ::aws_smithy_runtime_api::client::result::SdkError<
7690            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7691            R,
7692        >,
7693    > for Error
7694where
7695    R: Send + Sync + std::fmt::Debug + 'static,
7696{
7697    fn from(
7698        err: ::aws_smithy_runtime_api::client::result::SdkError<
7699            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7700            R,
7701        >,
7702    ) -> Self {
7703        match err {
7704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7707                source: err.into(),
7708            }),
7709        }
7710    }
7711}
7712impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
7713    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
7714        match err {
7715            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
7716                Error::Unhandled(inner)
7717            }
7718        }
7719    }
7720}
7721impl<R>
7722    From<
7723        ::aws_smithy_runtime_api::client::result::SdkError<
7724            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7725            R,
7726        >,
7727    > for Error
7728where
7729    R: Send + Sync + std::fmt::Debug + 'static,
7730{
7731    fn from(
7732        err: ::aws_smithy_runtime_api::client::result::SdkError<
7733            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7734            R,
7735        >,
7736    ) -> Self {
7737        match err {
7738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7741                source: err.into(),
7742            }),
7743        }
7744    }
7745}
7746impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
7747    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
7748        match err {
7749            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
7750                Error::Unhandled(inner)
7751            }
7752        }
7753    }
7754}
7755impl<R>
7756    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
7757    for Error
7758where
7759    R: Send + Sync + std::fmt::Debug + 'static,
7760{
7761    fn from(
7762        err: ::aws_smithy_runtime_api::client::result::SdkError<
7763            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
7764            R,
7765        >,
7766    ) -> Self {
7767        match err {
7768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7771                source: err.into(),
7772            }),
7773        }
7774    }
7775}
7776impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
7777    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
7778        match err {
7779            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
7780        }
7781    }
7782}
7783impl<R>
7784    From<
7785        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
7786    > for Error
7787where
7788    R: Send + Sync + std::fmt::Debug + 'static,
7789{
7790    fn from(
7791        err: ::aws_smithy_runtime_api::client::result::SdkError<
7792            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
7793            R,
7794        >,
7795    ) -> Self {
7796        match err {
7797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7800                source: err.into(),
7801            }),
7802        }
7803    }
7804}
7805impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
7806    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
7807        match err {
7808            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7809        }
7810    }
7811}
7812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
7813where
7814    R: Send + Sync + std::fmt::Debug + 'static,
7815{
7816    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
7817        match err {
7818            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7819            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7820                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7821                source: err.into(),
7822            }),
7823        }
7824    }
7825}
7826impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
7827    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
7828        match err {
7829            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7830        }
7831    }
7832}
7833impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
7834where
7835    R: Send + Sync + std::fmt::Debug + 'static,
7836{
7837    fn from(
7838        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
7839    ) -> Self {
7840        match err {
7841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7844                source: err.into(),
7845            }),
7846        }
7847    }
7848}
7849impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
7850    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
7851        match err {
7852            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
7853        }
7854    }
7855}
7856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
7857    for Error
7858where
7859    R: Send + Sync + std::fmt::Debug + 'static,
7860{
7861    fn from(
7862        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
7863    ) -> Self {
7864        match err {
7865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7868                source: err.into(),
7869            }),
7870        }
7871    }
7872}
7873impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
7874    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
7875        match err {
7876            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
7877        }
7878    }
7879}
7880impl<R>
7881    From<
7882        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
7883    > for Error
7884where
7885    R: Send + Sync + std::fmt::Debug + 'static,
7886{
7887    fn from(
7888        err: ::aws_smithy_runtime_api::client::result::SdkError<
7889            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
7890            R,
7891        >,
7892    ) -> Self {
7893        match err {
7894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7897                source: err.into(),
7898            }),
7899        }
7900    }
7901}
7902impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
7903    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
7904        match err {
7905            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7906        }
7907    }
7908}
7909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
7910where
7911    R: Send + Sync + std::fmt::Debug + 'static,
7912{
7913    fn from(
7914        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
7915    ) -> Self {
7916        match err {
7917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7920                source: err.into(),
7921            }),
7922        }
7923    }
7924}
7925impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
7926    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
7927        match err {
7928            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
7929        }
7930    }
7931}
7932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
7933    for Error
7934where
7935    R: Send + Sync + std::fmt::Debug + 'static,
7936{
7937    fn from(
7938        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
7939    ) -> Self {
7940        match err {
7941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7944                source: err.into(),
7945            }),
7946        }
7947    }
7948}
7949impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
7950    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
7951        match err {
7952            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7953        }
7954    }
7955}
7956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
7957where
7958    R: Send + Sync + std::fmt::Debug + 'static,
7959{
7960    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
7961        match err {
7962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7965                source: err.into(),
7966            }),
7967        }
7968    }
7969}
7970impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
7971    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
7972        match err {
7973            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
7974        }
7975    }
7976}
7977impl<R>
7978    From<
7979        ::aws_smithy_runtime_api::client::result::SdkError<
7980            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7981            R,
7982        >,
7983    > for Error
7984where
7985    R: Send + Sync + std::fmt::Debug + 'static,
7986{
7987    fn from(
7988        err: ::aws_smithy_runtime_api::client::result::SdkError<
7989            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7990            R,
7991        >,
7992    ) -> Self {
7993        match err {
7994            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7995            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7996                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7997                source: err.into(),
7998            }),
7999        }
8000    }
8001}
8002impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8003    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8004        match err {
8005            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8006                inner,
8007            ) => Error::Unhandled(inner),
8008        }
8009    }
8010}
8011impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8012where
8013    R: Send + Sync + std::fmt::Debug + 'static,
8014{
8015    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8016        match err {
8017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8020                source: err.into(),
8021            }),
8022        }
8023    }
8024}
8025impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8026    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8027        match err {
8028            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8029        }
8030    }
8031}
8032impl<R>
8033    From<
8034        ::aws_smithy_runtime_api::client::result::SdkError<
8035            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8036            R,
8037        >,
8038    > for Error
8039where
8040    R: Send + Sync + std::fmt::Debug + 'static,
8041{
8042    fn from(
8043        err: ::aws_smithy_runtime_api::client::result::SdkError<
8044            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8045            R,
8046        >,
8047    ) -> Self {
8048        match err {
8049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8052                source: err.into(),
8053            }),
8054        }
8055    }
8056}
8057impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8058    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8059        match err {
8060            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8061        }
8062    }
8063}
8064impl<R>
8065    From<
8066        ::aws_smithy_runtime_api::client::result::SdkError<
8067            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8068            R,
8069        >,
8070    > for Error
8071where
8072    R: Send + Sync + std::fmt::Debug + 'static,
8073{
8074    fn from(
8075        err: ::aws_smithy_runtime_api::client::result::SdkError<
8076            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8077            R,
8078        >,
8079    ) -> Self {
8080        match err {
8081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8084                source: err.into(),
8085            }),
8086        }
8087    }
8088}
8089impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8090    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8091        match err {
8092            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8093                Error::Unhandled(inner)
8094            }
8095        }
8096    }
8097}
8098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8099where
8100    R: Send + Sync + std::fmt::Debug + 'static,
8101{
8102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8103        match err {
8104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8107                source: err.into(),
8108            }),
8109        }
8110    }
8111}
8112impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8113    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8114        match err {
8115            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8116        }
8117    }
8118}
8119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8120where
8121    R: Send + Sync + std::fmt::Debug + 'static,
8122{
8123    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8124        match err {
8125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8128                source: err.into(),
8129            }),
8130        }
8131    }
8132}
8133impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8134    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8135        match err {
8136            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8137        }
8138    }
8139}
8140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8141where
8142    R: Send + Sync + std::fmt::Debug + 'static,
8143{
8144    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8145        match err {
8146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8149                source: err.into(),
8150            }),
8151        }
8152    }
8153}
8154impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8155    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8156        match err {
8157            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8158        }
8159    }
8160}
8161impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8162where
8163    R: Send + Sync + std::fmt::Debug + 'static,
8164{
8165    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8166        match err {
8167            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8168            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8169                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8170                source: err.into(),
8171            }),
8172        }
8173    }
8174}
8175impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
8176    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8177        match err {
8178            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8179        }
8180    }
8181}
8182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
8183    for Error
8184where
8185    R: Send + Sync + std::fmt::Debug + 'static,
8186{
8187    fn from(
8188        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
8189    ) -> Self {
8190        match err {
8191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8194                source: err.into(),
8195            }),
8196        }
8197    }
8198}
8199impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
8200    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8201        match err {
8202            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8203        }
8204    }
8205}
8206impl<R>
8207    From<
8208        ::aws_smithy_runtime_api::client::result::SdkError<
8209            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8210            R,
8211        >,
8212    > for Error
8213where
8214    R: Send + Sync + std::fmt::Debug + 'static,
8215{
8216    fn from(
8217        err: ::aws_smithy_runtime_api::client::result::SdkError<
8218            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8219            R,
8220        >,
8221    ) -> Self {
8222        match err {
8223            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8224            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8225                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8226                source: err.into(),
8227            }),
8228        }
8229    }
8230}
8231impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8232    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8233        match err {
8234            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8235        }
8236    }
8237}
8238impl<R>
8239    From<
8240        ::aws_smithy_runtime_api::client::result::SdkError<
8241            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8242            R,
8243        >,
8244    > for Error
8245where
8246    R: Send + Sync + std::fmt::Debug + 'static,
8247{
8248    fn from(
8249        err: ::aws_smithy_runtime_api::client::result::SdkError<
8250            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8251            R,
8252        >,
8253    ) -> Self {
8254        match err {
8255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8258                source: err.into(),
8259            }),
8260        }
8261    }
8262}
8263impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8264    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8265        match err {
8266            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8267        }
8268    }
8269}
8270impl<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 {
8271    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8272        match err {
8273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8274            _ => Error::Unhandled(
8275                                        crate::error::sealed_unhandled::Unhandled {
8276                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8277                                            source: err.into(),
8278                                        }
8279                                    ),
8280        }
8281    }
8282}
8283impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8284    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8285        match err {
8286            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8287        }
8288    }
8289}
8290impl<R>
8291    From<
8292        ::aws_smithy_runtime_api::client::result::SdkError<
8293            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8294            R,
8295        >,
8296    > for Error
8297where
8298    R: Send + Sync + std::fmt::Debug + 'static,
8299{
8300    fn from(
8301        err: ::aws_smithy_runtime_api::client::result::SdkError<
8302            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8303            R,
8304        >,
8305    ) -> Self {
8306        match err {
8307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8310                source: err.into(),
8311            }),
8312        }
8313    }
8314}
8315impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8316    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8317        match err {
8318            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8319                inner,
8320            ) => Error::Unhandled(inner),
8321        }
8322    }
8323}
8324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8325where
8326    R: Send + Sync + std::fmt::Debug + 'static,
8327{
8328    fn from(
8329        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8330    ) -> Self {
8331        match err {
8332            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8333            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8334                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8335                source: err.into(),
8336            }),
8337        }
8338    }
8339}
8340impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8341    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8342        match err {
8343            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8344        }
8345    }
8346}
8347impl<R>
8348    From<
8349        ::aws_smithy_runtime_api::client::result::SdkError<
8350            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8351            R,
8352        >,
8353    > for Error
8354where
8355    R: Send + Sync + std::fmt::Debug + 'static,
8356{
8357    fn from(
8358        err: ::aws_smithy_runtime_api::client::result::SdkError<
8359            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8360            R,
8361        >,
8362    ) -> Self {
8363        match err {
8364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8367                source: err.into(),
8368            }),
8369        }
8370    }
8371}
8372impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
8373    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
8374        match err {
8375            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
8376                Error::Unhandled(inner)
8377            }
8378        }
8379    }
8380}
8381impl<R>
8382    From<
8383        ::aws_smithy_runtime_api::client::result::SdkError<
8384            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8385            R,
8386        >,
8387    > for Error
8388where
8389    R: Send + Sync + std::fmt::Debug + 'static,
8390{
8391    fn from(
8392        err: ::aws_smithy_runtime_api::client::result::SdkError<
8393            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8394            R,
8395        >,
8396    ) -> Self {
8397        match err {
8398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8401                source: err.into(),
8402            }),
8403        }
8404    }
8405}
8406impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
8407    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
8408        match err {
8409            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
8410                Error::Unhandled(inner)
8411            }
8412        }
8413    }
8414}
8415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8416    for Error
8417where
8418    R: Send + Sync + std::fmt::Debug + 'static,
8419{
8420    fn from(
8421        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8422    ) -> Self {
8423        match err {
8424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8427                source: err.into(),
8428            }),
8429        }
8430    }
8431}
8432impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8433    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8434        match err {
8435            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8436        }
8437    }
8438}
8439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8440where
8441    R: Send + Sync + std::fmt::Debug + 'static,
8442{
8443    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8444        match err {
8445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8448                source: err.into(),
8449            }),
8450        }
8451    }
8452}
8453impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8454    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8455        match err {
8456            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8457        }
8458    }
8459}
8460impl<R>
8461    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
8462    for Error
8463where
8464    R: Send + Sync + std::fmt::Debug + 'static,
8465{
8466    fn from(
8467        err: ::aws_smithy_runtime_api::client::result::SdkError<
8468            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
8469            R,
8470        >,
8471    ) -> Self {
8472        match err {
8473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8476                source: err.into(),
8477            }),
8478        }
8479    }
8480}
8481impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
8482    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
8483        match err {
8484            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
8485        }
8486    }
8487}
8488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
8489    for Error
8490where
8491    R: Send + Sync + std::fmt::Debug + 'static,
8492{
8493    fn from(
8494        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
8495    ) -> Self {
8496        match err {
8497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8500                source: err.into(),
8501            }),
8502        }
8503    }
8504}
8505impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
8506    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
8507        match err {
8508            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8509        }
8510    }
8511}
8512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
8513    for Error
8514where
8515    R: Send + Sync + std::fmt::Debug + 'static,
8516{
8517    fn from(
8518        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
8519    ) -> Self {
8520        match err {
8521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8524                source: err.into(),
8525            }),
8526        }
8527    }
8528}
8529impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
8530    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
8531        match err {
8532            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
8533        }
8534    }
8535}
8536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
8537where
8538    R: Send + Sync + std::fmt::Debug + 'static,
8539{
8540    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
8541        match err {
8542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8545                source: err.into(),
8546            }),
8547        }
8548    }
8549}
8550impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
8551    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
8552        match err {
8553            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8554        }
8555    }
8556}
8557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
8558where
8559    R: Send + Sync + std::fmt::Debug + 'static,
8560{
8561    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
8562        match err {
8563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8566                source: err.into(),
8567            }),
8568        }
8569    }
8570}
8571impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
8572    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
8573        match err {
8574            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
8575        }
8576    }
8577}
8578impl<R>
8579    From<
8580        ::aws_smithy_runtime_api::client::result::SdkError<
8581            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8582            R,
8583        >,
8584    > for Error
8585where
8586    R: Send + Sync + std::fmt::Debug + 'static,
8587{
8588    fn from(
8589        err: ::aws_smithy_runtime_api::client::result::SdkError<
8590            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8591            R,
8592        >,
8593    ) -> Self {
8594        match err {
8595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8598                source: err.into(),
8599            }),
8600        }
8601    }
8602}
8603impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
8604    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
8605        match err {
8606            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
8607                Error::Unhandled(inner)
8608            }
8609        }
8610    }
8611}
8612impl<R>
8613    From<
8614        ::aws_smithy_runtime_api::client::result::SdkError<
8615            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8616            R,
8617        >,
8618    > for Error
8619where
8620    R: Send + Sync + std::fmt::Debug + 'static,
8621{
8622    fn from(
8623        err: ::aws_smithy_runtime_api::client::result::SdkError<
8624            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8625            R,
8626        >,
8627    ) -> Self {
8628        match err {
8629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8632                source: err.into(),
8633            }),
8634        }
8635    }
8636}
8637impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
8638    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
8639        match err {
8640            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
8641                Error::Unhandled(inner)
8642            }
8643        }
8644    }
8645}
8646impl<R>
8647    From<
8648        ::aws_smithy_runtime_api::client::result::SdkError<
8649            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8650            R,
8651        >,
8652    > for Error
8653where
8654    R: Send + Sync + std::fmt::Debug + 'static,
8655{
8656    fn from(
8657        err: ::aws_smithy_runtime_api::client::result::SdkError<
8658            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8659            R,
8660        >,
8661    ) -> Self {
8662        match err {
8663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8666                source: err.into(),
8667            }),
8668        }
8669    }
8670}
8671impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
8672    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
8673        match err {
8674            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
8675        }
8676    }
8677}
8678impl<R>
8679    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
8680    for Error
8681where
8682    R: Send + Sync + std::fmt::Debug + 'static,
8683{
8684    fn from(
8685        err: ::aws_smithy_runtime_api::client::result::SdkError<
8686            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
8687            R,
8688        >,
8689    ) -> Self {
8690        match err {
8691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8694                source: err.into(),
8695            }),
8696        }
8697    }
8698}
8699impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
8700    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
8701        match err {
8702            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
8703        }
8704    }
8705}
8706impl<R>
8707    From<
8708        ::aws_smithy_runtime_api::client::result::SdkError<
8709            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8710            R,
8711        >,
8712    > for Error
8713where
8714    R: Send + Sync + std::fmt::Debug + 'static,
8715{
8716    fn from(
8717        err: ::aws_smithy_runtime_api::client::result::SdkError<
8718            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8719            R,
8720        >,
8721    ) -> Self {
8722        match err {
8723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8726                source: err.into(),
8727            }),
8728        }
8729    }
8730}
8731impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
8732    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
8733        match err {
8734            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
8735                Error::Unhandled(inner)
8736            }
8737        }
8738    }
8739}
8740impl<R>
8741    From<
8742        ::aws_smithy_runtime_api::client::result::SdkError<
8743            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8744            R,
8745        >,
8746    > for Error
8747where
8748    R: Send + Sync + std::fmt::Debug + 'static,
8749{
8750    fn from(
8751        err: ::aws_smithy_runtime_api::client::result::SdkError<
8752            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8753            R,
8754        >,
8755    ) -> Self {
8756        match err {
8757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8760                source: err.into(),
8761            }),
8762        }
8763    }
8764}
8765impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
8766    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
8767        match err {
8768            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
8769                Error::Unhandled(inner)
8770            }
8771        }
8772    }
8773}
8774impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
8775    for Error
8776where
8777    R: Send + Sync + std::fmt::Debug + 'static,
8778{
8779    fn from(
8780        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
8781    ) -> Self {
8782        match err {
8783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8786                source: err.into(),
8787            }),
8788        }
8789    }
8790}
8791impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
8792    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
8793        match err {
8794            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
8795        }
8796    }
8797}
8798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
8799where
8800    R: Send + Sync + std::fmt::Debug + 'static,
8801{
8802    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
8803        match err {
8804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8807                source: err.into(),
8808            }),
8809        }
8810    }
8811}
8812impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
8813    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
8814        match err {
8815            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
8816        }
8817    }
8818}
8819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
8820    for Error
8821where
8822    R: Send + Sync + std::fmt::Debug + 'static,
8823{
8824    fn from(
8825        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
8826    ) -> Self {
8827        match err {
8828            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8829            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8830                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8831                source: err.into(),
8832            }),
8833        }
8834    }
8835}
8836impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
8837    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
8838        match err {
8839            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
8840        }
8841    }
8842}
8843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
8844where
8845    R: Send + Sync + std::fmt::Debug + 'static,
8846{
8847    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
8848        match err {
8849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8852                source: err.into(),
8853            }),
8854        }
8855    }
8856}
8857impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
8858    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
8859        match err {
8860            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8861        }
8862    }
8863}
8864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
8865    for Error
8866where
8867    R: Send + Sync + std::fmt::Debug + 'static,
8868{
8869    fn from(
8870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
8871    ) -> Self {
8872        match err {
8873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8876                source: err.into(),
8877            }),
8878        }
8879    }
8880}
8881impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
8882    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
8883        match err {
8884            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8885        }
8886    }
8887}
8888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
8889    for Error
8890where
8891    R: Send + Sync + std::fmt::Debug + 'static,
8892{
8893    fn from(
8894        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
8895    ) -> Self {
8896        match err {
8897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8900                source: err.into(),
8901            }),
8902        }
8903    }
8904}
8905impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
8906    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
8907        match err {
8908            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8909        }
8910    }
8911}
8912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
8913where
8914    R: Send + Sync + std::fmt::Debug + 'static,
8915{
8916    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
8917        match err {
8918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8921                source: err.into(),
8922            }),
8923        }
8924    }
8925}
8926impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
8927    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
8928        match err {
8929            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
8930        }
8931    }
8932}
8933impl<R>
8934    From<
8935        ::aws_smithy_runtime_api::client::result::SdkError<
8936            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8937            R,
8938        >,
8939    > for Error
8940where
8941    R: Send + Sync + std::fmt::Debug + 'static,
8942{
8943    fn from(
8944        err: ::aws_smithy_runtime_api::client::result::SdkError<
8945            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8946            R,
8947        >,
8948    ) -> Self {
8949        match err {
8950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8953                source: err.into(),
8954            }),
8955        }
8956    }
8957}
8958impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
8959    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
8960        match err {
8961            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
8962        }
8963    }
8964}
8965impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
8966    for Error
8967where
8968    R: Send + Sync + std::fmt::Debug + 'static,
8969{
8970    fn from(
8971        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
8972    ) -> Self {
8973        match err {
8974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8977                source: err.into(),
8978            }),
8979        }
8980    }
8981}
8982impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
8983    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
8984        match err {
8985            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8986        }
8987    }
8988}
8989impl<R>
8990    From<
8991        ::aws_smithy_runtime_api::client::result::SdkError<
8992            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8993            R,
8994        >,
8995    > for Error
8996where
8997    R: Send + Sync + std::fmt::Debug + 'static,
8998{
8999    fn from(
9000        err: ::aws_smithy_runtime_api::client::result::SdkError<
9001            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9002            R,
9003        >,
9004    ) -> Self {
9005        match err {
9006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9009                source: err.into(),
9010            }),
9011        }
9012    }
9013}
9014impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9015    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9016        match err {
9017            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9018                Error::Unhandled(inner)
9019            }
9020        }
9021    }
9022}
9023impl<R>
9024    From<
9025        ::aws_smithy_runtime_api::client::result::SdkError<
9026            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9027            R,
9028        >,
9029    > for Error
9030where
9031    R: Send + Sync + std::fmt::Debug + 'static,
9032{
9033    fn from(
9034        err: ::aws_smithy_runtime_api::client::result::SdkError<
9035            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9036            R,
9037        >,
9038    ) -> Self {
9039        match err {
9040            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9041            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9042                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9043                source: err.into(),
9044            }),
9045        }
9046    }
9047}
9048impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
9049    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
9050        match err {
9051            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9052                Error::Unhandled(inner)
9053            }
9054        }
9055    }
9056}
9057impl<R>
9058    From<
9059        ::aws_smithy_runtime_api::client::result::SdkError<
9060            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9061            R,
9062        >,
9063    > for Error
9064where
9065    R: Send + Sync + std::fmt::Debug + 'static,
9066{
9067    fn from(
9068        err: ::aws_smithy_runtime_api::client::result::SdkError<
9069            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9070            R,
9071        >,
9072    ) -> Self {
9073        match err {
9074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9077                source: err.into(),
9078            }),
9079        }
9080    }
9081}
9082impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9083    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9084        match err {
9085            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9086                Error::Unhandled(inner)
9087            }
9088        }
9089    }
9090}
9091impl<R>
9092    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9093    for Error
9094where
9095    R: Send + Sync + std::fmt::Debug + 'static,
9096{
9097    fn from(
9098        err: ::aws_smithy_runtime_api::client::result::SdkError<
9099            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9100            R,
9101        >,
9102    ) -> Self {
9103        match err {
9104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9107                source: err.into(),
9108            }),
9109        }
9110    }
9111}
9112impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9113    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9114        match err {
9115            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9116        }
9117    }
9118}
9119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9120    for Error
9121where
9122    R: Send + Sync + std::fmt::Debug + 'static,
9123{
9124    fn from(
9125        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9126    ) -> Self {
9127        match err {
9128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9131                source: err.into(),
9132            }),
9133        }
9134    }
9135}
9136impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9137    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9138        match err {
9139            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9140        }
9141    }
9142}
9143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9144where
9145    R: Send + Sync + std::fmt::Debug + 'static,
9146{
9147    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9148        match err {
9149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9152                source: err.into(),
9153            }),
9154        }
9155    }
9156}
9157impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9158    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9159        match err {
9160            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9161        }
9162    }
9163}
9164impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9165where
9166    R: Send + Sync + std::fmt::Debug + 'static,
9167{
9168    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9169        match err {
9170            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9171            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9172                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9173                source: err.into(),
9174            }),
9175        }
9176    }
9177}
9178impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9179    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9180        match err {
9181            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9182        }
9183    }
9184}
9185impl<R>
9186    From<
9187        ::aws_smithy_runtime_api::client::result::SdkError<
9188            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9189            R,
9190        >,
9191    > for Error
9192where
9193    R: Send + Sync + std::fmt::Debug + 'static,
9194{
9195    fn from(
9196        err: ::aws_smithy_runtime_api::client::result::SdkError<
9197            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9198            R,
9199        >,
9200    ) -> Self {
9201        match err {
9202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9205                source: err.into(),
9206            }),
9207        }
9208    }
9209}
9210impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9211    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9212        match err {
9213            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9214                Error::Unhandled(inner)
9215            }
9216        }
9217    }
9218}
9219impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
9220    for Error
9221where
9222    R: Send + Sync + std::fmt::Debug + 'static,
9223{
9224    fn from(
9225        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9226    ) -> Self {
9227        match err {
9228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9231                source: err.into(),
9232            }),
9233        }
9234    }
9235}
9236impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9237    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9238        match err {
9239            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9240        }
9241    }
9242}
9243impl<R>
9244    From<
9245        ::aws_smithy_runtime_api::client::result::SdkError<
9246            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9247            R,
9248        >,
9249    > for Error
9250where
9251    R: Send + Sync + std::fmt::Debug + 'static,
9252{
9253    fn from(
9254        err: ::aws_smithy_runtime_api::client::result::SdkError<
9255            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9256            R,
9257        >,
9258    ) -> Self {
9259        match err {
9260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9263                source: err.into(),
9264            }),
9265        }
9266    }
9267}
9268impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9269    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9270        match err {
9271            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9272        }
9273    }
9274}
9275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9276    for Error
9277where
9278    R: Send + Sync + std::fmt::Debug + 'static,
9279{
9280    fn from(
9281        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, 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_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9293    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9294        match err {
9295            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9296        }
9297    }
9298}
9299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9300where
9301    R: Send + Sync + std::fmt::Debug + 'static,
9302{
9303    fn from(
9304        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9305    ) -> Self {
9306        match err {
9307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9310                source: err.into(),
9311            }),
9312        }
9313    }
9314}
9315impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9316    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9317        match err {
9318            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9319        }
9320    }
9321}
9322impl<R>
9323    From<
9324        ::aws_smithy_runtime_api::client::result::SdkError<
9325            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9326            R,
9327        >,
9328    > for Error
9329where
9330    R: Send + Sync + std::fmt::Debug + 'static,
9331{
9332    fn from(
9333        err: ::aws_smithy_runtime_api::client::result::SdkError<
9334            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9335            R,
9336        >,
9337    ) -> Self {
9338        match err {
9339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9342                source: err.into(),
9343            }),
9344        }
9345    }
9346}
9347impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9348    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9349        match err {
9350            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9351                Error::Unhandled(inner)
9352            }
9353        }
9354    }
9355}
9356impl<R>
9357    From<
9358        ::aws_smithy_runtime_api::client::result::SdkError<
9359            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9360            R,
9361        >,
9362    > for Error
9363where
9364    R: Send + Sync + std::fmt::Debug + 'static,
9365{
9366    fn from(
9367        err: ::aws_smithy_runtime_api::client::result::SdkError<
9368            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9369            R,
9370        >,
9371    ) -> Self {
9372        match err {
9373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9376                source: err.into(),
9377            }),
9378        }
9379    }
9380}
9381impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
9382    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
9383        match err {
9384            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
9385                Error::Unhandled(inner)
9386            }
9387        }
9388    }
9389}
9390impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
9391    for Error
9392where
9393    R: Send + Sync + std::fmt::Debug + 'static,
9394{
9395    fn from(
9396        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
9397    ) -> Self {
9398        match err {
9399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9402                source: err.into(),
9403            }),
9404        }
9405    }
9406}
9407impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
9408    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
9409        match err {
9410            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9411        }
9412    }
9413}
9414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
9415where
9416    R: Send + Sync + std::fmt::Debug + 'static,
9417{
9418    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
9419        match err {
9420            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9421            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9422                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9423                source: err.into(),
9424            }),
9425        }
9426    }
9427}
9428impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
9429    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
9430        match err {
9431            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9432        }
9433    }
9434}
9435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
9436    for Error
9437where
9438    R: Send + Sync + std::fmt::Debug + 'static,
9439{
9440    fn from(
9441        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
9442    ) -> Self {
9443        match err {
9444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9447                source: err.into(),
9448            }),
9449        }
9450    }
9451}
9452impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
9453    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
9454        match err {
9455            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
9456        }
9457    }
9458}
9459impl<R>
9460    From<
9461        ::aws_smithy_runtime_api::client::result::SdkError<
9462            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9463            R,
9464        >,
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<
9471            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9472            R,
9473        >,
9474    ) -> Self {
9475        match err {
9476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9479                source: err.into(),
9480            }),
9481        }
9482    }
9483}
9484impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
9485    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
9486        match err {
9487            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
9488        }
9489    }
9490}
9491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
9492    for Error
9493where
9494    R: Send + Sync + std::fmt::Debug + 'static,
9495{
9496    fn from(
9497        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
9498    ) -> Self {
9499        match err {
9500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9503                source: err.into(),
9504            }),
9505        }
9506    }
9507}
9508impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
9509    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
9510        match err {
9511            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9512        }
9513    }
9514}
9515impl<R>
9516    From<
9517        ::aws_smithy_runtime_api::client::result::SdkError<
9518            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9519            R,
9520        >,
9521    > for Error
9522where
9523    R: Send + Sync + std::fmt::Debug + 'static,
9524{
9525    fn from(
9526        err: ::aws_smithy_runtime_api::client::result::SdkError<
9527            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9528            R,
9529        >,
9530    ) -> Self {
9531        match err {
9532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9535                source: err.into(),
9536            }),
9537        }
9538    }
9539}
9540impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
9541    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
9542        match err {
9543            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9544        }
9545    }
9546}
9547impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
9548    for Error
9549where
9550    R: Send + Sync + std::fmt::Debug + 'static,
9551{
9552    fn from(
9553        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
9554    ) -> Self {
9555        match err {
9556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9559                source: err.into(),
9560            }),
9561        }
9562    }
9563}
9564impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
9565    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
9566        match err {
9567            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9568        }
9569    }
9570}
9571impl<R>
9572    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
9573    for Error
9574where
9575    R: Send + Sync + std::fmt::Debug + 'static,
9576{
9577    fn from(
9578        err: ::aws_smithy_runtime_api::client::result::SdkError<
9579            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
9580            R,
9581        >,
9582    ) -> Self {
9583        match err {
9584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9587                source: err.into(),
9588            }),
9589        }
9590    }
9591}
9592impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
9593    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
9594        match err {
9595            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9596        }
9597    }
9598}
9599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
9600    for Error
9601where
9602    R: Send + Sync + std::fmt::Debug + 'static,
9603{
9604    fn from(
9605        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
9606    ) -> Self {
9607        match err {
9608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9611                source: err.into(),
9612            }),
9613        }
9614    }
9615}
9616impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
9617    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
9618        match err {
9619            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9620        }
9621    }
9622}
9623impl<R>
9624    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
9625    for Error
9626where
9627    R: Send + Sync + std::fmt::Debug + 'static,
9628{
9629    fn from(
9630        err: ::aws_smithy_runtime_api::client::result::SdkError<
9631            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
9632            R,
9633        >,
9634    ) -> Self {
9635        match err {
9636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9639                source: err.into(),
9640            }),
9641        }
9642    }
9643}
9644impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
9645    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
9646        match err {
9647            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9648        }
9649    }
9650}
9651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
9652    for Error
9653where
9654    R: Send + Sync + std::fmt::Debug + 'static,
9655{
9656    fn from(
9657        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
9658    ) -> Self {
9659        match err {
9660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9663                source: err.into(),
9664            }),
9665        }
9666    }
9667}
9668impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
9669    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
9670        match err {
9671            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
9672        }
9673    }
9674}
9675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
9676where
9677    R: Send + Sync + std::fmt::Debug + 'static,
9678{
9679    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
9680        match err {
9681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9684                source: err.into(),
9685            }),
9686        }
9687    }
9688}
9689impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
9690    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
9691        match err {
9692            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
9693        }
9694    }
9695}
9696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
9697where
9698    R: Send + Sync + std::fmt::Debug + 'static,
9699{
9700    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
9701        match err {
9702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9705                source: err.into(),
9706            }),
9707        }
9708    }
9709}
9710impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
9711    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
9712        match err {
9713            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
9714        }
9715    }
9716}
9717impl<R>
9718    From<
9719        ::aws_smithy_runtime_api::client::result::SdkError<
9720            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9721            R,
9722        >,
9723    > for Error
9724where
9725    R: Send + Sync + std::fmt::Debug + 'static,
9726{
9727    fn from(
9728        err: ::aws_smithy_runtime_api::client::result::SdkError<
9729            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9730            R,
9731        >,
9732    ) -> Self {
9733        match err {
9734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9737                source: err.into(),
9738            }),
9739        }
9740    }
9741}
9742impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
9743    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
9744        match err {
9745            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
9746                Error::Unhandled(inner)
9747            }
9748        }
9749    }
9750}
9751impl<R>
9752    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
9753    for Error
9754where
9755    R: Send + Sync + std::fmt::Debug + 'static,
9756{
9757    fn from(
9758        err: ::aws_smithy_runtime_api::client::result::SdkError<
9759            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
9760            R,
9761        >,
9762    ) -> Self {
9763        match err {
9764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9767                source: err.into(),
9768            }),
9769        }
9770    }
9771}
9772impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
9773    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
9774        match err {
9775            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
9776        }
9777    }
9778}
9779impl<R>
9780    From<
9781        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
9782    > for Error
9783where
9784    R: Send + Sync + std::fmt::Debug + 'static,
9785{
9786    fn from(
9787        err: ::aws_smithy_runtime_api::client::result::SdkError<
9788            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
9789            R,
9790        >,
9791    ) -> Self {
9792        match err {
9793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9796                source: err.into(),
9797            }),
9798        }
9799    }
9800}
9801impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
9802    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
9803        match err {
9804            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
9805        }
9806    }
9807}
9808impl<R>
9809    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
9810    for Error
9811where
9812    R: Send + Sync + std::fmt::Debug + 'static,
9813{
9814    fn from(
9815        err: ::aws_smithy_runtime_api::client::result::SdkError<
9816            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
9817            R,
9818        >,
9819    ) -> Self {
9820        match err {
9821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9824                source: err.into(),
9825            }),
9826        }
9827    }
9828}
9829impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
9830    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
9831        match err {
9832            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
9833        }
9834    }
9835}
9836impl<R>
9837    From<
9838        ::aws_smithy_runtime_api::client::result::SdkError<
9839            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9840            R,
9841        >,
9842    > for Error
9843where
9844    R: Send + Sync + std::fmt::Debug + 'static,
9845{
9846    fn from(
9847        err: ::aws_smithy_runtime_api::client::result::SdkError<
9848            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9849            R,
9850        >,
9851    ) -> Self {
9852        match err {
9853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9856                source: err.into(),
9857            }),
9858        }
9859    }
9860}
9861impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
9862    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
9863        match err {
9864            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
9865                Error::Unhandled(inner)
9866            }
9867        }
9868    }
9869}
9870impl<R>
9871    From<
9872        ::aws_smithy_runtime_api::client::result::SdkError<
9873            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9874            R,
9875        >,
9876    > for Error
9877where
9878    R: Send + Sync + std::fmt::Debug + 'static,
9879{
9880    fn from(
9881        err: ::aws_smithy_runtime_api::client::result::SdkError<
9882            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9883            R,
9884        >,
9885    ) -> Self {
9886        match err {
9887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9890                source: err.into(),
9891            }),
9892        }
9893    }
9894}
9895impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
9896    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
9897        match err {
9898            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
9899                Error::Unhandled(inner)
9900            }
9901        }
9902    }
9903}
9904impl<R>
9905    From<
9906        ::aws_smithy_runtime_api::client::result::SdkError<
9907            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9908            R,
9909        >,
9910    > for Error
9911where
9912    R: Send + Sync + std::fmt::Debug + 'static,
9913{
9914    fn from(
9915        err: ::aws_smithy_runtime_api::client::result::SdkError<
9916            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9917            R,
9918        >,
9919    ) -> Self {
9920        match err {
9921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9924                source: err.into(),
9925            }),
9926        }
9927    }
9928}
9929impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
9930    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
9931        match err {
9932            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
9933        }
9934    }
9935}
9936impl<R>
9937    From<
9938        ::aws_smithy_runtime_api::client::result::SdkError<
9939            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
9940            R,
9941        >,
9942    > for Error
9943where
9944    R: Send + Sync + std::fmt::Debug + 'static,
9945{
9946    fn from(
9947        err: ::aws_smithy_runtime_api::client::result::SdkError<
9948            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
9949            R,
9950        >,
9951    ) -> Self {
9952        match err {
9953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9956                source: err.into(),
9957            }),
9958        }
9959    }
9960}
9961impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
9962    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
9963        match err {
9964            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
9965                Error::Unhandled(inner)
9966            }
9967        }
9968    }
9969}
9970impl<R>
9971    From<
9972        ::aws_smithy_runtime_api::client::result::SdkError<
9973            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9974            R,
9975        >,
9976    > for Error
9977where
9978    R: Send + Sync + std::fmt::Debug + 'static,
9979{
9980    fn from(
9981        err: ::aws_smithy_runtime_api::client::result::SdkError<
9982            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9983            R,
9984        >,
9985    ) -> Self {
9986        match err {
9987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9990                source: err.into(),
9991            }),
9992        }
9993    }
9994}
9995impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
9996    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
9997        match err {
9998            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
9999                Error::Unhandled(inner)
10000            }
10001        }
10002    }
10003}
10004impl<R>
10005    From<
10006        ::aws_smithy_runtime_api::client::result::SdkError<
10007            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10008            R,
10009        >,
10010    > for Error
10011where
10012    R: Send + Sync + std::fmt::Debug + 'static,
10013{
10014    fn from(
10015        err: ::aws_smithy_runtime_api::client::result::SdkError<
10016            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10017            R,
10018        >,
10019    ) -> Self {
10020        match err {
10021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10024                source: err.into(),
10025            }),
10026        }
10027    }
10028}
10029impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
10030    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
10031        match err {
10032            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
10033                Error::Unhandled(inner)
10034            }
10035        }
10036    }
10037}
10038impl<R>
10039    From<
10040        ::aws_smithy_runtime_api::client::result::SdkError<
10041            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10042            R,
10043        >,
10044    > for Error
10045where
10046    R: Send + Sync + std::fmt::Debug + 'static,
10047{
10048    fn from(
10049        err: ::aws_smithy_runtime_api::client::result::SdkError<
10050            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10051            R,
10052        >,
10053    ) -> Self {
10054        match err {
10055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10058                source: err.into(),
10059            }),
10060        }
10061    }
10062}
10063impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10064    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10065        match err {
10066            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10067                inner,
10068            ) => Error::Unhandled(inner),
10069        }
10070    }
10071}
10072impl<R>
10073    From<
10074        ::aws_smithy_runtime_api::client::result::SdkError<
10075            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10076            R,
10077        >,
10078    > for Error
10079where
10080    R: Send + Sync + std::fmt::Debug + 'static,
10081{
10082    fn from(
10083        err: ::aws_smithy_runtime_api::client::result::SdkError<
10084            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10085            R,
10086        >,
10087    ) -> Self {
10088        match err {
10089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10092                source: err.into(),
10093            }),
10094        }
10095    }
10096}
10097impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10098    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10099        match err {
10100            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10101                Error::Unhandled(inner)
10102            }
10103        }
10104    }
10105}
10106impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10107    for Error
10108where
10109    R: Send + Sync + std::fmt::Debug + 'static,
10110{
10111    fn from(
10112        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10113    ) -> Self {
10114        match err {
10115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10118                source: err.into(),
10119            }),
10120        }
10121    }
10122}
10123impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10124    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10125        match err {
10126            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10127        }
10128    }
10129}
10130impl<R>
10131    From<
10132        ::aws_smithy_runtime_api::client::result::SdkError<
10133            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10134            R,
10135        >,
10136    > for Error
10137where
10138    R: Send + Sync + std::fmt::Debug + 'static,
10139{
10140    fn from(
10141        err: ::aws_smithy_runtime_api::client::result::SdkError<
10142            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10143            R,
10144        >,
10145    ) -> Self {
10146        match err {
10147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10150                source: err.into(),
10151            }),
10152        }
10153    }
10154}
10155impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10156    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10157        match err {
10158            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10159                Error::Unhandled(inner)
10160            }
10161        }
10162    }
10163}
10164impl<R>
10165    From<
10166        ::aws_smithy_runtime_api::client::result::SdkError<
10167            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10168            R,
10169        >,
10170    > for Error
10171where
10172    R: Send + Sync + std::fmt::Debug + 'static,
10173{
10174    fn from(
10175        err: ::aws_smithy_runtime_api::client::result::SdkError<
10176            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10177            R,
10178        >,
10179    ) -> Self {
10180        match err {
10181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10184                source: err.into(),
10185            }),
10186        }
10187    }
10188}
10189impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10190    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10191        match err {
10192            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10193                Error::Unhandled(inner)
10194            }
10195        }
10196    }
10197}
10198impl<R>
10199    From<
10200        ::aws_smithy_runtime_api::client::result::SdkError<
10201            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10202            R,
10203        >,
10204    > for Error
10205where
10206    R: Send + Sync + std::fmt::Debug + 'static,
10207{
10208    fn from(
10209        err: ::aws_smithy_runtime_api::client::result::SdkError<
10210            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10211            R,
10212        >,
10213    ) -> Self {
10214        match err {
10215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10218                source: err.into(),
10219            }),
10220        }
10221    }
10222}
10223impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10224    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10225        match err {
10226            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10227        }
10228    }
10229}
10230impl<R>
10231    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10232    for Error
10233where
10234    R: Send + Sync + std::fmt::Debug + 'static,
10235{
10236    fn from(
10237        err: ::aws_smithy_runtime_api::client::result::SdkError<
10238            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10239            R,
10240        >,
10241    ) -> Self {
10242        match err {
10243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10246                source: err.into(),
10247            }),
10248        }
10249    }
10250}
10251impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10252    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10253        match err {
10254            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10255        }
10256    }
10257}
10258impl<R>
10259    From<
10260        ::aws_smithy_runtime_api::client::result::SdkError<
10261            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10262            R,
10263        >,
10264    > for Error
10265where
10266    R: Send + Sync + std::fmt::Debug + 'static,
10267{
10268    fn from(
10269        err: ::aws_smithy_runtime_api::client::result::SdkError<
10270            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10271            R,
10272        >,
10273    ) -> Self {
10274        match err {
10275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10278                source: err.into(),
10279            }),
10280        }
10281    }
10282}
10283impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10284    for Error
10285{
10286    fn from(
10287        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10288    ) -> Self {
10289        match err {
10290            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10291        }
10292    }
10293}
10294impl<R>
10295    From<
10296        ::aws_smithy_runtime_api::client::result::SdkError<
10297            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10298            R,
10299        >,
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<
10306            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10307            R,
10308        >,
10309    ) -> Self {
10310        match err {
10311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10314                source: err.into(),
10315            }),
10316        }
10317    }
10318}
10319impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10320    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10321        match err {
10322            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10323        }
10324    }
10325}
10326impl<R>
10327    From<
10328        ::aws_smithy_runtime_api::client::result::SdkError<
10329            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10330            R,
10331        >,
10332    > for Error
10333where
10334    R: Send + Sync + std::fmt::Debug + 'static,
10335{
10336    fn from(
10337        err: ::aws_smithy_runtime_api::client::result::SdkError<
10338            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10339            R,
10340        >,
10341    ) -> Self {
10342        match err {
10343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10346                source: err.into(),
10347            }),
10348        }
10349    }
10350}
10351impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10352    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10353        match err {
10354            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10355                Error::Unhandled(inner)
10356            }
10357        }
10358    }
10359}
10360impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
10361    for Error
10362where
10363    R: Send + Sync + std::fmt::Debug + 'static,
10364{
10365    fn from(
10366        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
10367    ) -> Self {
10368        match err {
10369            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10370            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10371                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10372                source: err.into(),
10373            }),
10374        }
10375    }
10376}
10377impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
10378    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
10379        match err {
10380            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10381        }
10382    }
10383}
10384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
10385where
10386    R: Send + Sync + std::fmt::Debug + 'static,
10387{
10388    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
10389        match err {
10390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10393                source: err.into(),
10394            }),
10395        }
10396    }
10397}
10398impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
10399    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
10400        match err {
10401            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
10402        }
10403    }
10404}
10405impl<R>
10406    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
10407    for Error
10408where
10409    R: Send + Sync + std::fmt::Debug + 'static,
10410{
10411    fn from(
10412        err: ::aws_smithy_runtime_api::client::result::SdkError<
10413            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
10414            R,
10415        >,
10416    ) -> Self {
10417        match err {
10418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10421                source: err.into(),
10422            }),
10423        }
10424    }
10425}
10426impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
10427    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
10428        match err {
10429            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
10430        }
10431    }
10432}
10433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
10434where
10435    R: Send + Sync + std::fmt::Debug + 'static,
10436{
10437    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
10438        match err {
10439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10442                source: err.into(),
10443            }),
10444        }
10445    }
10446}
10447impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
10448    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
10449        match err {
10450            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
10451        }
10452    }
10453}
10454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
10455where
10456    R: Send + Sync + std::fmt::Debug + 'static,
10457{
10458    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
10459        match err {
10460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10463                source: err.into(),
10464            }),
10465        }
10466    }
10467}
10468impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
10469    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
10470        match err {
10471            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10472        }
10473    }
10474}
10475impl<R>
10476    From<
10477        ::aws_smithy_runtime_api::client::result::SdkError<
10478            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10479            R,
10480        >,
10481    > for Error
10482where
10483    R: Send + Sync + std::fmt::Debug + 'static,
10484{
10485    fn from(
10486        err: ::aws_smithy_runtime_api::client::result::SdkError<
10487            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10488            R,
10489        >,
10490    ) -> Self {
10491        match err {
10492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10495                source: err.into(),
10496            }),
10497        }
10498    }
10499}
10500impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
10501    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
10502        match err {
10503            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
10504                Error::Unhandled(inner)
10505            }
10506        }
10507    }
10508}
10509impl<R>
10510    From<
10511        ::aws_smithy_runtime_api::client::result::SdkError<
10512            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10513            R,
10514        >,
10515    > for Error
10516where
10517    R: Send + Sync + std::fmt::Debug + 'static,
10518{
10519    fn from(
10520        err: ::aws_smithy_runtime_api::client::result::SdkError<
10521            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10522            R,
10523        >,
10524    ) -> Self {
10525        match err {
10526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10529                source: err.into(),
10530            }),
10531        }
10532    }
10533}
10534impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
10535    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
10536        match err {
10537            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
10538                Error::Unhandled(inner)
10539            }
10540        }
10541    }
10542}
10543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
10544    for Error
10545where
10546    R: Send + Sync + std::fmt::Debug + 'static,
10547{
10548    fn from(
10549        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
10550    ) -> Self {
10551        match err {
10552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10555                source: err.into(),
10556            }),
10557        }
10558    }
10559}
10560impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
10561    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
10562        match err {
10563            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
10564        }
10565    }
10566}
10567impl<R>
10568    From<
10569        ::aws_smithy_runtime_api::client::result::SdkError<
10570            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10571            R,
10572        >,
10573    > for Error
10574where
10575    R: Send + Sync + std::fmt::Debug + 'static,
10576{
10577    fn from(
10578        err: ::aws_smithy_runtime_api::client::result::SdkError<
10579            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10580            R,
10581        >,
10582    ) -> Self {
10583        match err {
10584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10587                source: err.into(),
10588            }),
10589        }
10590    }
10591}
10592impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
10593    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
10594        match err {
10595            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
10596                Error::Unhandled(inner)
10597            }
10598        }
10599    }
10600}
10601impl<R>
10602    From<
10603        ::aws_smithy_runtime_api::client::result::SdkError<
10604            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10605            R,
10606        >,
10607    > for Error
10608where
10609    R: Send + Sync + std::fmt::Debug + 'static,
10610{
10611    fn from(
10612        err: ::aws_smithy_runtime_api::client::result::SdkError<
10613            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10614            R,
10615        >,
10616    ) -> Self {
10617        match err {
10618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10621                source: err.into(),
10622            }),
10623        }
10624    }
10625}
10626impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
10627    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
10628        match err {
10629            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
10630        }
10631    }
10632}
10633impl<R>
10634    From<
10635        ::aws_smithy_runtime_api::client::result::SdkError<
10636            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10637            R,
10638        >,
10639    > for Error
10640where
10641    R: Send + Sync + std::fmt::Debug + 'static,
10642{
10643    fn from(
10644        err: ::aws_smithy_runtime_api::client::result::SdkError<
10645            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10646            R,
10647        >,
10648    ) -> Self {
10649        match err {
10650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10653                source: err.into(),
10654            }),
10655        }
10656    }
10657}
10658impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
10659    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
10660        match err {
10661            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
10662                Error::Unhandled(inner)
10663            }
10664        }
10665    }
10666}
10667impl<R>
10668    From<
10669        ::aws_smithy_runtime_api::client::result::SdkError<
10670            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10671            R,
10672        >,
10673    > for Error
10674where
10675    R: Send + Sync + std::fmt::Debug + 'static,
10676{
10677    fn from(
10678        err: ::aws_smithy_runtime_api::client::result::SdkError<
10679            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10680            R,
10681        >,
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_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
10693    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
10694        match err {
10695            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10696        }
10697    }
10698}
10699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, 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_vpc_endpoints::DescribeVpcEndpointsError, 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_vpc_endpoints::DescribeVpcEndpointsError> for Error {
10714    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
10715        match err {
10716            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10717        }
10718    }
10719}
10720impl<R>
10721    From<
10722        ::aws_smithy_runtime_api::client::result::SdkError<
10723            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10724            R,
10725        >,
10726    > for Error
10727where
10728    R: Send + Sync + std::fmt::Debug + 'static,
10729{
10730    fn from(
10731        err: ::aws_smithy_runtime_api::client::result::SdkError<
10732            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10733            R,
10734        >,
10735    ) -> Self {
10736        match err {
10737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10740                source: err.into(),
10741            }),
10742        }
10743    }
10744}
10745impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
10746    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
10747        match err {
10748            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
10749                Error::Unhandled(inner)
10750            }
10751        }
10752    }
10753}
10754impl<R>
10755    From<
10756        ::aws_smithy_runtime_api::client::result::SdkError<
10757            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10758            R,
10759        >,
10760    > for Error
10761where
10762    R: Send + Sync + std::fmt::Debug + 'static,
10763{
10764    fn from(
10765        err: ::aws_smithy_runtime_api::client::result::SdkError<
10766            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10767            R,
10768        >,
10769    ) -> Self {
10770        match err {
10771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10774                source: err.into(),
10775            }),
10776        }
10777    }
10778}
10779impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
10780    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
10781        match err {
10782            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
10783                Error::Unhandled(inner)
10784            }
10785        }
10786    }
10787}
10788impl<R>
10789    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
10790    for Error
10791where
10792    R: Send + Sync + std::fmt::Debug + 'static,
10793{
10794    fn from(
10795        err: ::aws_smithy_runtime_api::client::result::SdkError<
10796            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
10797            R,
10798        >,
10799    ) -> Self {
10800        match err {
10801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10804                source: err.into(),
10805            }),
10806        }
10807    }
10808}
10809impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
10810    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
10811        match err {
10812            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
10813        }
10814    }
10815}
10816impl<R>
10817    From<
10818        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
10819    > for Error
10820where
10821    R: Send + Sync + std::fmt::Debug + 'static,
10822{
10823    fn from(
10824        err: ::aws_smithy_runtime_api::client::result::SdkError<
10825            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
10826            R,
10827        >,
10828    ) -> Self {
10829        match err {
10830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10833                source: err.into(),
10834            }),
10835        }
10836    }
10837}
10838impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
10839    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
10840        match err {
10841            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10842        }
10843    }
10844}
10845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
10846where
10847    R: Send + Sync + std::fmt::Debug + 'static,
10848{
10849    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
10850        match err {
10851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10854                source: err.into(),
10855            }),
10856        }
10857    }
10858}
10859impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
10860    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
10861        match err {
10862            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
10863        }
10864    }
10865}
10866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
10867where
10868    R: Send + Sync + std::fmt::Debug + 'static,
10869{
10870    fn from(
10871        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
10872    ) -> Self {
10873        match err {
10874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10877                source: err.into(),
10878            }),
10879        }
10880    }
10881}
10882impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
10883    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
10884        match err {
10885            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10886        }
10887    }
10888}
10889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
10890where
10891    R: Send + Sync + std::fmt::Debug + 'static,
10892{
10893    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
10894        match err {
10895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10898                source: err.into(),
10899            }),
10900        }
10901    }
10902}
10903impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
10904    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
10905        match err {
10906            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10907        }
10908    }
10909}
10910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
10911where
10912    R: Send + Sync + std::fmt::Debug + 'static,
10913{
10914    fn from(
10915        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
10916    ) -> Self {
10917        match err {
10918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10921                source: err.into(),
10922            }),
10923        }
10924    }
10925}
10926impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
10927    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
10928        match err {
10929            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
10930        }
10931    }
10932}
10933impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
10934where
10935    R: Send + Sync + std::fmt::Debug + 'static,
10936{
10937    fn from(
10938        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
10939    ) -> Self {
10940        match err {
10941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10944                source: err.into(),
10945            }),
10946        }
10947    }
10948}
10949impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
10950    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
10951        match err {
10952            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
10953        }
10954    }
10955}
10956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
10957where
10958    R: Send + Sync + std::fmt::Debug + 'static,
10959{
10960    fn from(
10961        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
10962    ) -> Self {
10963        match err {
10964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10967                source: err.into(),
10968            }),
10969        }
10970    }
10971}
10972impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
10973    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
10974        match err {
10975            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
10976        }
10977    }
10978}
10979impl<R>
10980    From<
10981        ::aws_smithy_runtime_api::client::result::SdkError<
10982            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10983            R,
10984        >,
10985    > for Error
10986where
10987    R: Send + Sync + std::fmt::Debug + 'static,
10988{
10989    fn from(
10990        err: ::aws_smithy_runtime_api::client::result::SdkError<
10991            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10992            R,
10993        >,
10994    ) -> Self {
10995        match err {
10996            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10997            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10998                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10999                source: err.into(),
11000            }),
11001        }
11002    }
11003}
11004impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
11005    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
11006        match err {
11007            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
11008                Error::Unhandled(inner)
11009            }
11010        }
11011    }
11012}
11013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
11014where
11015    R: Send + Sync + std::fmt::Debug + 'static,
11016{
11017    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
11018        match err {
11019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11022                source: err.into(),
11023            }),
11024        }
11025    }
11026}
11027impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
11028    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
11029        match err {
11030            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
11031        }
11032    }
11033}
11034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
11035where
11036    R: Send + Sync + std::fmt::Debug + 'static,
11037{
11038    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
11039        match err {
11040            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11041            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11042                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11043                source: err.into(),
11044            }),
11045        }
11046    }
11047}
11048impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
11049    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
11050        match err {
11051            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11052        }
11053    }
11054}
11055impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11056where
11057    R: Send + Sync + std::fmt::Debug + 'static,
11058{
11059    fn from(
11060        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11061    ) -> Self {
11062        match err {
11063            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11064            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11065                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11066                source: err.into(),
11067            }),
11068        }
11069    }
11070}
11071impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11072    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11073        match err {
11074            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11075        }
11076    }
11077}
11078impl<R>
11079    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11080    for Error
11081where
11082    R: Send + Sync + std::fmt::Debug + 'static,
11083{
11084    fn from(
11085        err: ::aws_smithy_runtime_api::client::result::SdkError<
11086            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
11087            R,
11088        >,
11089    ) -> Self {
11090        match err {
11091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11094                source: err.into(),
11095            }),
11096        }
11097    }
11098}
11099impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
11100    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
11101        match err {
11102            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11103        }
11104    }
11105}
11106impl<R>
11107    From<
11108        ::aws_smithy_runtime_api::client::result::SdkError<
11109            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11110            R,
11111        >,
11112    > for Error
11113where
11114    R: Send + Sync + std::fmt::Debug + 'static,
11115{
11116    fn from(
11117        err: ::aws_smithy_runtime_api::client::result::SdkError<
11118            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11119            R,
11120        >,
11121    ) -> Self {
11122        match err {
11123            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11124            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11125                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11126                source: err.into(),
11127            }),
11128        }
11129    }
11130}
11131impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11132    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11133        match err {
11134            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11135                inner,
11136            ) => Error::Unhandled(inner),
11137        }
11138    }
11139}
11140impl<R>
11141    From<
11142        ::aws_smithy_runtime_api::client::result::SdkError<
11143            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11144            R,
11145        >,
11146    > for Error
11147where
11148    R: Send + Sync + std::fmt::Debug + 'static,
11149{
11150    fn from(
11151        err: ::aws_smithy_runtime_api::client::result::SdkError<
11152            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11153            R,
11154        >,
11155    ) -> Self {
11156        match err {
11157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11160                source: err.into(),
11161            }),
11162        }
11163    }
11164}
11165impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11166    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11167        match err {
11168            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11169        }
11170    }
11171}
11172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11173where
11174    R: Send + Sync + std::fmt::Debug + 'static,
11175{
11176    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11177        match err {
11178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11181                source: err.into(),
11182            }),
11183        }
11184    }
11185}
11186impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11187    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11188        match err {
11189            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11190        }
11191    }
11192}
11193impl<R>
11194    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11195    for Error
11196where
11197    R: Send + Sync + std::fmt::Debug + 'static,
11198{
11199    fn from(
11200        err: ::aws_smithy_runtime_api::client::result::SdkError<
11201            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11202            R,
11203        >,
11204    ) -> Self {
11205        match err {
11206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11209                source: err.into(),
11210            }),
11211        }
11212    }
11213}
11214impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11215    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11216        match err {
11217            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11218        }
11219    }
11220}
11221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11222where
11223    R: Send + Sync + std::fmt::Debug + 'static,
11224{
11225    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11226        match err {
11227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11230                source: err.into(),
11231            }),
11232        }
11233    }
11234}
11235impl From<crate::operation::disable_image::DisableImageError> for Error {
11236    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11237        match err {
11238            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11239        }
11240    }
11241}
11242impl<R>
11243    From<
11244        ::aws_smithy_runtime_api::client::result::SdkError<
11245            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11246            R,
11247        >,
11248    > for Error
11249where
11250    R: Send + Sync + std::fmt::Debug + 'static,
11251{
11252    fn from(
11253        err: ::aws_smithy_runtime_api::client::result::SdkError<
11254            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11255            R,
11256        >,
11257    ) -> Self {
11258        match err {
11259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11262                source: err.into(),
11263            }),
11264        }
11265    }
11266}
11267impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11268    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11269        match err {
11270            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11271        }
11272    }
11273}
11274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11275    for Error
11276where
11277    R: Send + Sync + std::fmt::Debug + 'static,
11278{
11279    fn from(
11280        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11281    ) -> Self {
11282        match err {
11283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11286                source: err.into(),
11287            }),
11288        }
11289    }
11290}
11291impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11292    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11293        match err {
11294            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11295        }
11296    }
11297}
11298impl<R>
11299    From<
11300        ::aws_smithy_runtime_api::client::result::SdkError<
11301            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11302            R,
11303        >,
11304    > for Error
11305where
11306    R: Send + Sync + std::fmt::Debug + 'static,
11307{
11308    fn from(
11309        err: ::aws_smithy_runtime_api::client::result::SdkError<
11310            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11311            R,
11312        >,
11313    ) -> Self {
11314        match err {
11315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11318                source: err.into(),
11319            }),
11320        }
11321    }
11322}
11323impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
11324    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
11325        match err {
11326            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
11327                Error::Unhandled(inner)
11328            }
11329        }
11330    }
11331}
11332impl<R>
11333    From<
11334        ::aws_smithy_runtime_api::client::result::SdkError<
11335            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11336            R,
11337        >,
11338    > for Error
11339where
11340    R: Send + Sync + std::fmt::Debug + 'static,
11341{
11342    fn from(
11343        err: ::aws_smithy_runtime_api::client::result::SdkError<
11344            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11345            R,
11346        >,
11347    ) -> Self {
11348        match err {
11349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11352                source: err.into(),
11353            }),
11354        }
11355    }
11356}
11357impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
11358    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
11359        match err {
11360            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11361                Error::Unhandled(inner)
11362            }
11363        }
11364    }
11365}
11366impl<R>
11367    From<
11368        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
11369    > for Error
11370where
11371    R: Send + Sync + std::fmt::Debug + 'static,
11372{
11373    fn from(
11374        err: ::aws_smithy_runtime_api::client::result::SdkError<
11375            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
11376            R,
11377        >,
11378    ) -> Self {
11379        match err {
11380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11383                source: err.into(),
11384            }),
11385        }
11386    }
11387}
11388impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
11389    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
11390        match err {
11391            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
11392        }
11393    }
11394}
11395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
11396    for Error
11397where
11398    R: Send + Sync + std::fmt::Debug + 'static,
11399{
11400    fn from(
11401        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
11402    ) -> Self {
11403        match err {
11404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11407                source: err.into(),
11408            }),
11409        }
11410    }
11411}
11412impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
11413    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
11414        match err {
11415            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
11416        }
11417    }
11418}
11419impl<R>
11420    From<
11421        ::aws_smithy_runtime_api::client::result::SdkError<
11422            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11423            R,
11424        >,
11425    > for Error
11426where
11427    R: Send + Sync + std::fmt::Debug + 'static,
11428{
11429    fn from(
11430        err: ::aws_smithy_runtime_api::client::result::SdkError<
11431            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11432            R,
11433        >,
11434    ) -> Self {
11435        match err {
11436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11439                source: err.into(),
11440            }),
11441        }
11442    }
11443}
11444impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
11445    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
11446        match err {
11447            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
11448                Error::Unhandled(inner)
11449            }
11450        }
11451    }
11452}
11453impl<R>
11454    From<
11455        ::aws_smithy_runtime_api::client::result::SdkError<
11456            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11457            R,
11458        >,
11459    > for Error
11460where
11461    R: Send + Sync + std::fmt::Debug + 'static,
11462{
11463    fn from(
11464        err: ::aws_smithy_runtime_api::client::result::SdkError<
11465            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11466            R,
11467        >,
11468    ) -> Self {
11469        match err {
11470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11473                source: err.into(),
11474            }),
11475        }
11476    }
11477}
11478impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
11479    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
11480        match err {
11481            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
11482                Error::Unhandled(inner)
11483            }
11484        }
11485    }
11486}
11487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
11488    for Error
11489where
11490    R: Send + Sync + std::fmt::Debug + 'static,
11491{
11492    fn from(
11493        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
11494    ) -> Self {
11495        match err {
11496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11499                source: err.into(),
11500            }),
11501        }
11502    }
11503}
11504impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
11505    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
11506        match err {
11507            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
11508        }
11509    }
11510}
11511impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
11512where
11513    R: Send + Sync + std::fmt::Debug + 'static,
11514{
11515    fn from(
11516        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
11517    ) -> Self {
11518        match err {
11519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11522                source: err.into(),
11523            }),
11524        }
11525    }
11526}
11527impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
11528    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
11529        match err {
11530            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11531        }
11532    }
11533}
11534impl<R>
11535    From<
11536        ::aws_smithy_runtime_api::client::result::SdkError<
11537            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11538            R,
11539        >,
11540    > for Error
11541where
11542    R: Send + Sync + std::fmt::Debug + 'static,
11543{
11544    fn from(
11545        err: ::aws_smithy_runtime_api::client::result::SdkError<
11546            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11547            R,
11548        >,
11549    ) -> Self {
11550        match err {
11551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11554                source: err.into(),
11555            }),
11556        }
11557    }
11558}
11559impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
11560    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
11561        match err {
11562            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
11563        }
11564    }
11565}
11566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
11567where
11568    R: Send + Sync + std::fmt::Debug + 'static,
11569{
11570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
11571        match err {
11572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11575                source: err.into(),
11576            }),
11577        }
11578    }
11579}
11580impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
11581    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
11582        match err {
11583            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
11584        }
11585    }
11586}
11587impl<R>
11588    From<
11589        ::aws_smithy_runtime_api::client::result::SdkError<
11590            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11591            R,
11592        >,
11593    > for Error
11594where
11595    R: Send + Sync + std::fmt::Debug + 'static,
11596{
11597    fn from(
11598        err: ::aws_smithy_runtime_api::client::result::SdkError<
11599            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11600            R,
11601        >,
11602    ) -> Self {
11603        match err {
11604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11607                source: err.into(),
11608            }),
11609        }
11610    }
11611}
11612impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
11613    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
11614        match err {
11615            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
11616                Error::Unhandled(inner)
11617            }
11618        }
11619    }
11620}
11621impl<R>
11622    From<
11623        ::aws_smithy_runtime_api::client::result::SdkError<
11624            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11625            R,
11626        >,
11627    > for Error
11628where
11629    R: Send + Sync + std::fmt::Debug + 'static,
11630{
11631    fn from(
11632        err: ::aws_smithy_runtime_api::client::result::SdkError<
11633            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11634            R,
11635        >,
11636    ) -> Self {
11637        match err {
11638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11641                source: err.into(),
11642            }),
11643        }
11644    }
11645}
11646impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
11647    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
11648        match err {
11649            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
11650                Error::Unhandled(inner)
11651            }
11652        }
11653    }
11654}
11655impl<R>
11656    From<
11657        ::aws_smithy_runtime_api::client::result::SdkError<
11658            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11659            R,
11660        >,
11661    > for Error
11662where
11663    R: Send + Sync + std::fmt::Debug + 'static,
11664{
11665    fn from(
11666        err: ::aws_smithy_runtime_api::client::result::SdkError<
11667            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11668            R,
11669        >,
11670    ) -> Self {
11671        match err {
11672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11675                source: err.into(),
11676            }),
11677        }
11678    }
11679}
11680impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
11681    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
11682        match err {
11683            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
11684                Error::Unhandled(inner)
11685            }
11686        }
11687    }
11688}
11689impl<R>
11690    From<
11691        ::aws_smithy_runtime_api::client::result::SdkError<
11692            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11693            R,
11694        >,
11695    > for Error
11696where
11697    R: Send + Sync + std::fmt::Debug + 'static,
11698{
11699    fn from(
11700        err: ::aws_smithy_runtime_api::client::result::SdkError<
11701            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11702            R,
11703        >,
11704    ) -> Self {
11705        match err {
11706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11709                source: err.into(),
11710            }),
11711        }
11712    }
11713}
11714impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
11715    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
11716        match err {
11717            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
11718        }
11719    }
11720}
11721impl<R>
11722    From<
11723        ::aws_smithy_runtime_api::client::result::SdkError<
11724            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11725            R,
11726        >,
11727    > for Error
11728where
11729    R: Send + Sync + std::fmt::Debug + 'static,
11730{
11731    fn from(
11732        err: ::aws_smithy_runtime_api::client::result::SdkError<
11733            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11734            R,
11735        >,
11736    ) -> Self {
11737        match err {
11738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11741                source: err.into(),
11742            }),
11743        }
11744    }
11745}
11746impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
11747    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
11748        match err {
11749            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
11750        }
11751    }
11752}
11753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
11754where
11755    R: Send + Sync + std::fmt::Debug + 'static,
11756{
11757    fn from(
11758        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
11759    ) -> Self {
11760        match err {
11761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11764                source: err.into(),
11765            }),
11766        }
11767    }
11768}
11769impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
11770    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
11771        match err {
11772            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
11773        }
11774    }
11775}
11776impl<R>
11777    From<
11778        ::aws_smithy_runtime_api::client::result::SdkError<
11779            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11780            R,
11781        >,
11782    > for Error
11783where
11784    R: Send + Sync + std::fmt::Debug + 'static,
11785{
11786    fn from(
11787        err: ::aws_smithy_runtime_api::client::result::SdkError<
11788            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11789            R,
11790        >,
11791    ) -> Self {
11792        match err {
11793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11796                source: err.into(),
11797            }),
11798        }
11799    }
11800}
11801impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
11802    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
11803        match err {
11804            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
11805                Error::Unhandled(inner)
11806            }
11807        }
11808    }
11809}
11810impl<R>
11811    From<
11812        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
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::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
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::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
11833    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
11834        match err {
11835            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
11836        }
11837    }
11838}
11839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
11840    for Error
11841where
11842    R: Send + Sync + std::fmt::Debug + 'static,
11843{
11844    fn from(
11845        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
11846    ) -> Self {
11847        match err {
11848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11851                source: err.into(),
11852            }),
11853        }
11854    }
11855}
11856impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
11857    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
11858        match err {
11859            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
11860        }
11861    }
11862}
11863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
11864where
11865    R: Send + Sync + std::fmt::Debug + 'static,
11866{
11867    fn from(
11868        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
11869    ) -> Self {
11870        match err {
11871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11874                source: err.into(),
11875            }),
11876        }
11877    }
11878}
11879impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
11880    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
11881        match err {
11882            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
11883        }
11884    }
11885}
11886impl<R>
11887    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
11888    for Error
11889where
11890    R: Send + Sync + std::fmt::Debug + 'static,
11891{
11892    fn from(
11893        err: ::aws_smithy_runtime_api::client::result::SdkError<
11894            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
11895            R,
11896        >,
11897    ) -> Self {
11898        match err {
11899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11902                source: err.into(),
11903            }),
11904        }
11905    }
11906}
11907impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
11908    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
11909        match err {
11910            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
11911        }
11912    }
11913}
11914impl<R>
11915    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
11916    for Error
11917where
11918    R: Send + Sync + std::fmt::Debug + 'static,
11919{
11920    fn from(
11921        err: ::aws_smithy_runtime_api::client::result::SdkError<
11922            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
11923            R,
11924        >,
11925    ) -> Self {
11926        match err {
11927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11930                source: err.into(),
11931            }),
11932        }
11933    }
11934}
11935impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
11936    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
11937        match err {
11938            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
11939        }
11940    }
11941}
11942impl<R>
11943    From<
11944        ::aws_smithy_runtime_api::client::result::SdkError<
11945            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11946            R,
11947        >,
11948    > for Error
11949where
11950    R: Send + Sync + std::fmt::Debug + 'static,
11951{
11952    fn from(
11953        err: ::aws_smithy_runtime_api::client::result::SdkError<
11954            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11955            R,
11956        >,
11957    ) -> Self {
11958        match err {
11959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11962                source: err.into(),
11963            }),
11964        }
11965    }
11966}
11967impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
11968    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
11969        match err {
11970            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
11971                Error::Unhandled(inner)
11972            }
11973        }
11974    }
11975}
11976impl<R>
11977    From<
11978        ::aws_smithy_runtime_api::client::result::SdkError<
11979            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11980            R,
11981        >,
11982    > for Error
11983where
11984    R: Send + Sync + std::fmt::Debug + 'static,
11985{
11986    fn from(
11987        err: ::aws_smithy_runtime_api::client::result::SdkError<
11988            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11989            R,
11990        >,
11991    ) -> Self {
11992        match err {
11993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11996                source: err.into(),
11997            }),
11998        }
11999    }
12000}
12001impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
12002    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
12003        match err {
12004            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
12005                Error::Unhandled(inner)
12006            }
12007        }
12008    }
12009}
12010impl<R>
12011    From<
12012        ::aws_smithy_runtime_api::client::result::SdkError<
12013            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12014            R,
12015        >,
12016    > for Error
12017where
12018    R: Send + Sync + std::fmt::Debug + 'static,
12019{
12020    fn from(
12021        err: ::aws_smithy_runtime_api::client::result::SdkError<
12022            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12023            R,
12024        >,
12025    ) -> Self {
12026        match err {
12027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12030                source: err.into(),
12031            }),
12032        }
12033    }
12034}
12035impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
12036    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
12037        match err {
12038            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
12039                Error::Unhandled(inner)
12040            }
12041        }
12042    }
12043}
12044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
12045    for Error
12046where
12047    R: Send + Sync + std::fmt::Debug + 'static,
12048{
12049    fn from(
12050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
12051    ) -> Self {
12052        match err {
12053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12056                source: err.into(),
12057            }),
12058        }
12059    }
12060}
12061impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
12062    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
12063        match err {
12064            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12065        }
12066    }
12067}
12068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
12069    for Error
12070where
12071    R: Send + Sync + std::fmt::Debug + 'static,
12072{
12073    fn from(
12074        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
12075    ) -> Self {
12076        match err {
12077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12080                source: err.into(),
12081            }),
12082        }
12083    }
12084}
12085impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
12086    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
12087        match err {
12088            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12089        }
12090    }
12091}
12092impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
12093where
12094    R: Send + Sync + std::fmt::Debug + 'static,
12095{
12096    fn from(
12097        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
12098    ) -> Self {
12099        match err {
12100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12103                source: err.into(),
12104            }),
12105        }
12106    }
12107}
12108impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
12109    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
12110        match err {
12111            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12112        }
12113    }
12114}
12115impl<R>
12116    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
12117    for Error
12118where
12119    R: Send + Sync + std::fmt::Debug + 'static,
12120{
12121    fn from(
12122        err: ::aws_smithy_runtime_api::client::result::SdkError<
12123            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
12124            R,
12125        >,
12126    ) -> Self {
12127        match err {
12128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12131                source: err.into(),
12132            }),
12133        }
12134    }
12135}
12136impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
12137    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
12138        match err {
12139            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12140        }
12141    }
12142}
12143impl<R>
12144    From<
12145        ::aws_smithy_runtime_api::client::result::SdkError<
12146            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12147            R,
12148        >,
12149    > for Error
12150where
12151    R: Send + Sync + std::fmt::Debug + 'static,
12152{
12153    fn from(
12154        err: ::aws_smithy_runtime_api::client::result::SdkError<
12155            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12156            R,
12157        >,
12158    ) -> Self {
12159        match err {
12160            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12161            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12162                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12163                source: err.into(),
12164            }),
12165        }
12166    }
12167}
12168impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12169    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12170        match err {
12171            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12172                inner,
12173            ) => Error::Unhandled(inner),
12174        }
12175    }
12176}
12177impl<R>
12178    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12179    for Error
12180where
12181    R: Send + Sync + std::fmt::Debug + 'static,
12182{
12183    fn from(
12184        err: ::aws_smithy_runtime_api::client::result::SdkError<
12185            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12186            R,
12187        >,
12188    ) -> Self {
12189        match err {
12190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12193                source: err.into(),
12194            }),
12195        }
12196    }
12197}
12198impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12199    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12200        match err {
12201            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12202        }
12203    }
12204}
12205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12206where
12207    R: Send + Sync + std::fmt::Debug + 'static,
12208{
12209    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12210        match err {
12211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12214                source: err.into(),
12215            }),
12216        }
12217    }
12218}
12219impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12220    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12221        match err {
12222            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12223        }
12224    }
12225}
12226impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12227    for Error
12228where
12229    R: Send + Sync + std::fmt::Debug + 'static,
12230{
12231    fn from(
12232        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
12233    ) -> Self {
12234        match err {
12235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12238                source: err.into(),
12239            }),
12240        }
12241    }
12242}
12243impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
12244    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
12245        match err {
12246            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12247        }
12248    }
12249}
12250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
12251where
12252    R: Send + Sync + std::fmt::Debug + 'static,
12253{
12254    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
12255        match err {
12256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12259                source: err.into(),
12260            }),
12261        }
12262    }
12263}
12264impl From<crate::operation::enable_image::EnableImageError> for Error {
12265    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
12266        match err {
12267            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
12268        }
12269    }
12270}
12271impl<R>
12272    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
12273    for Error
12274where
12275    R: Send + Sync + std::fmt::Debug + 'static,
12276{
12277    fn from(
12278        err: ::aws_smithy_runtime_api::client::result::SdkError<
12279            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
12280            R,
12281        >,
12282    ) -> Self {
12283        match err {
12284            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12285            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12286                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12287                source: err.into(),
12288            }),
12289        }
12290    }
12291}
12292impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
12293    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
12294        match err {
12295            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12296        }
12297    }
12298}
12299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
12300where
12301    R: Send + Sync + std::fmt::Debug + 'static,
12302{
12303    fn from(
12304        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
12305    ) -> Self {
12306        match err {
12307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12310                source: err.into(),
12311            }),
12312        }
12313    }
12314}
12315impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
12316    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
12317        match err {
12318            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12319        }
12320    }
12321}
12322impl<R>
12323    From<
12324        ::aws_smithy_runtime_api::client::result::SdkError<
12325            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12326            R,
12327        >,
12328    > for Error
12329where
12330    R: Send + Sync + std::fmt::Debug + 'static,
12331{
12332    fn from(
12333        err: ::aws_smithy_runtime_api::client::result::SdkError<
12334            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12335            R,
12336        >,
12337    ) -> Self {
12338        match err {
12339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12342                source: err.into(),
12343            }),
12344        }
12345    }
12346}
12347impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
12348    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
12349        match err {
12350            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
12351                Error::Unhandled(inner)
12352            }
12353        }
12354    }
12355}
12356impl<R>
12357    From<
12358        ::aws_smithy_runtime_api::client::result::SdkError<
12359            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12360            R,
12361        >,
12362    > for Error
12363where
12364    R: Send + Sync + std::fmt::Debug + 'static,
12365{
12366    fn from(
12367        err: ::aws_smithy_runtime_api::client::result::SdkError<
12368            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12369            R,
12370        >,
12371    ) -> Self {
12372        match err {
12373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12376                source: err.into(),
12377            }),
12378        }
12379    }
12380}
12381impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
12382    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
12383        match err {
12384            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12385                Error::Unhandled(inner)
12386            }
12387        }
12388    }
12389}
12390impl<R>
12391    From<
12392        ::aws_smithy_runtime_api::client::result::SdkError<
12393            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12394            R,
12395        >,
12396    > for Error
12397where
12398    R: Send + Sync + std::fmt::Debug + 'static,
12399{
12400    fn from(
12401        err: ::aws_smithy_runtime_api::client::result::SdkError<
12402            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12403            R,
12404        >,
12405    ) -> Self {
12406        match err {
12407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12410                source: err.into(),
12411            }),
12412        }
12413    }
12414}
12415impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
12416    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
12417        match err {
12418            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
12419                inner,
12420            ) => Error::Unhandled(inner),
12421        }
12422    }
12423}
12424impl<R>
12425    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
12426    for Error
12427where
12428    R: Send + Sync + std::fmt::Debug + 'static,
12429{
12430    fn from(
12431        err: ::aws_smithy_runtime_api::client::result::SdkError<
12432            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
12433            R,
12434        >,
12435    ) -> Self {
12436        match err {
12437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12440                source: err.into(),
12441            }),
12442        }
12443    }
12444}
12445impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
12446    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
12447        match err {
12448            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12449        }
12450    }
12451}
12452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
12453    for Error
12454where
12455    R: Send + Sync + std::fmt::Debug + 'static,
12456{
12457    fn from(
12458        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
12459    ) -> Self {
12460        match err {
12461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12464                source: err.into(),
12465            }),
12466        }
12467    }
12468}
12469impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
12470    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
12471        match err {
12472            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12473        }
12474    }
12475}
12476impl<R>
12477    From<
12478        ::aws_smithy_runtime_api::client::result::SdkError<
12479            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12480            R,
12481        >,
12482    > for Error
12483where
12484    R: Send + Sync + std::fmt::Debug + 'static,
12485{
12486    fn from(
12487        err: ::aws_smithy_runtime_api::client::result::SdkError<
12488            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12489            R,
12490        >,
12491    ) -> Self {
12492        match err {
12493            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12494            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12495                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12496                source: err.into(),
12497            }),
12498        }
12499    }
12500}
12501impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
12502    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
12503        match err {
12504            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12505        }
12506    }
12507}
12508impl<R>
12509    From<
12510        ::aws_smithy_runtime_api::client::result::SdkError<
12511            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12512            R,
12513        >,
12514    > for Error
12515where
12516    R: Send + Sync + std::fmt::Debug + 'static,
12517{
12518    fn from(
12519        err: ::aws_smithy_runtime_api::client::result::SdkError<
12520            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12521            R,
12522        >,
12523    ) -> Self {
12524        match err {
12525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12528                source: err.into(),
12529            }),
12530        }
12531    }
12532}
12533impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
12534    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
12535        match err {
12536            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12537                Error::Unhandled(inner)
12538            }
12539        }
12540    }
12541}
12542impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
12543    for Error
12544where
12545    R: Send + Sync + std::fmt::Debug + 'static,
12546{
12547    fn from(
12548        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
12549    ) -> Self {
12550        match err {
12551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12554                source: err.into(),
12555            }),
12556        }
12557    }
12558}
12559impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
12560    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
12561        match err {
12562            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12563        }
12564    }
12565}
12566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
12567where
12568    R: Send + Sync + std::fmt::Debug + 'static,
12569{
12570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
12571        match err {
12572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12575                source: err.into(),
12576            }),
12577        }
12578    }
12579}
12580impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
12581    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
12582        match err {
12583            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
12584        }
12585    }
12586}
12587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
12588where
12589    R: Send + Sync + std::fmt::Debug + 'static,
12590{
12591    fn from(
12592        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
12593    ) -> Self {
12594        match err {
12595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12598                source: err.into(),
12599            }),
12600        }
12601    }
12602}
12603impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
12604    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
12605        match err {
12606            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12607        }
12608    }
12609}
12610impl<R>
12611    From<
12612        ::aws_smithy_runtime_api::client::result::SdkError<
12613            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12614            R,
12615        >,
12616    > for Error
12617where
12618    R: Send + Sync + std::fmt::Debug + 'static,
12619{
12620    fn from(
12621        err: ::aws_smithy_runtime_api::client::result::SdkError<
12622            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12623            R,
12624        >,
12625    ) -> Self {
12626        match err {
12627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12630                source: err.into(),
12631            }),
12632        }
12633    }
12634}
12635impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
12636    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
12637        match err {
12638            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12639        }
12640    }
12641}
12642impl<R>
12643    From<
12644        ::aws_smithy_runtime_api::client::result::SdkError<
12645            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
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::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
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::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
12668    fn from(
12669        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12670    ) -> Self {
12671        match err {
12672            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
12673        }
12674    }
12675}
12676impl<R>
12677    From<
12678        ::aws_smithy_runtime_api::client::result::SdkError<
12679            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12680            R,
12681        >,
12682    > for Error
12683where
12684    R: Send + Sync + std::fmt::Debug + 'static,
12685{
12686    fn from(
12687        err: ::aws_smithy_runtime_api::client::result::SdkError<
12688            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12689            R,
12690        >,
12691    ) -> Self {
12692        match err {
12693            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12694            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12695                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12696                source: err.into(),
12697            }),
12698        }
12699    }
12700}
12701impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
12702    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
12703        match err {
12704            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
12705                Error::Unhandled(inner)
12706            }
12707        }
12708    }
12709}
12710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
12711where
12712    R: Send + Sync + std::fmt::Debug + 'static,
12713{
12714    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
12715        match err {
12716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12719                source: err.into(),
12720            }),
12721        }
12722    }
12723}
12724impl From<crate::operation::export_image::ExportImageError> for Error {
12725    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
12726        match err {
12727            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
12728        }
12729    }
12730}
12731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
12732    for Error
12733where
12734    R: Send + Sync + std::fmt::Debug + 'static,
12735{
12736    fn from(
12737        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
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::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
12749    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
12750        match err {
12751            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
12752        }
12753    }
12754}
12755impl<R>
12756    From<
12757        ::aws_smithy_runtime_api::client::result::SdkError<
12758            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12759            R,
12760        >,
12761    > for Error
12762where
12763    R: Send + Sync + std::fmt::Debug + 'static,
12764{
12765    fn from(
12766        err: ::aws_smithy_runtime_api::client::result::SdkError<
12767            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12768            R,
12769        >,
12770    ) -> Self {
12771        match err {
12772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12775                source: err.into(),
12776            }),
12777        }
12778    }
12779}
12780impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
12781    fn from(
12782        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12783    ) -> Self {
12784        match err {
12785            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
12786        }
12787    }
12788}
12789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
12790    for Error
12791where
12792    R: Send + Sync + std::fmt::Debug + 'static,
12793{
12794    fn from(
12795        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
12796    ) -> Self {
12797        match err {
12798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12801                source: err.into(),
12802            }),
12803        }
12804    }
12805}
12806impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
12807    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
12808        match err {
12809            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
12810        }
12811    }
12812}
12813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
12814    for Error
12815where
12816    R: Send + Sync + std::fmt::Debug + 'static,
12817{
12818    fn from(
12819        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
12820    ) -> Self {
12821        match err {
12822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12825                source: err.into(),
12826            }),
12827        }
12828    }
12829}
12830impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
12831    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
12832        match err {
12833            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12834        }
12835    }
12836}
12837impl<R>
12838    From<
12839        ::aws_smithy_runtime_api::client::result::SdkError<
12840            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12841            R,
12842        >,
12843    > for Error
12844where
12845    R: Send + Sync + std::fmt::Debug + 'static,
12846{
12847    fn from(
12848        err: ::aws_smithy_runtime_api::client::result::SdkError<
12849            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12850            R,
12851        >,
12852    ) -> Self {
12853        match err {
12854            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12855            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12856                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12857                source: err.into(),
12858            }),
12859        }
12860    }
12861}
12862impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
12863    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
12864        match err {
12865            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
12866                Error::Unhandled(inner)
12867            }
12868        }
12869    }
12870}
12871impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
12872    for Error
12873where
12874    R: Send + Sync + std::fmt::Debug + 'static,
12875{
12876    fn from(
12877        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
12878    ) -> Self {
12879        match err {
12880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12883                source: err.into(),
12884            }),
12885        }
12886    }
12887}
12888impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
12889    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
12890        match err {
12891            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12892        }
12893    }
12894}
12895impl<R>
12896    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
12897    for Error
12898where
12899    R: Send + Sync + std::fmt::Debug + 'static,
12900{
12901    fn from(
12902        err: ::aws_smithy_runtime_api::client::result::SdkError<
12903            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
12904            R,
12905        >,
12906    ) -> Self {
12907        match err {
12908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12911                source: err.into(),
12912            }),
12913        }
12914    }
12915}
12916impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
12917    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
12918        match err {
12919            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
12920        }
12921    }
12922}
12923impl<R>
12924    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
12925    for Error
12926where
12927    R: Send + Sync + std::fmt::Debug + 'static,
12928{
12929    fn from(
12930        err: ::aws_smithy_runtime_api::client::result::SdkError<
12931            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
12932            R,
12933        >,
12934    ) -> Self {
12935        match err {
12936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12939                source: err.into(),
12940            }),
12941        }
12942    }
12943}
12944impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
12945    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
12946        match err {
12947            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
12948        }
12949    }
12950}
12951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
12952where
12953    R: Send + Sync + std::fmt::Debug + 'static,
12954{
12955    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
12956        match err {
12957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12960                source: err.into(),
12961            }),
12962        }
12963    }
12964}
12965impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
12966    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
12967        match err {
12968            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
12969        }
12970    }
12971}
12972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
12973where
12974    R: Send + Sync + std::fmt::Debug + 'static,
12975{
12976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
12977        match err {
12978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12981                source: err.into(),
12982            }),
12983        }
12984    }
12985}
12986impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
12987    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
12988        match err {
12989            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
12990        }
12991    }
12992}
12993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
12994where
12995    R: Send + Sync + std::fmt::Debug + 'static,
12996{
12997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
12998        match err {
12999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13002                source: err.into(),
13003            }),
13004        }
13005    }
13006}
13007impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
13008    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
13009        match err {
13010            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
13011        }
13012    }
13013}
13014impl<R>
13015    From<
13016        ::aws_smithy_runtime_api::client::result::SdkError<
13017            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13018            R,
13019        >,
13020    > for Error
13021where
13022    R: Send + Sync + std::fmt::Debug + 'static,
13023{
13024    fn from(
13025        err: ::aws_smithy_runtime_api::client::result::SdkError<
13026            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13027            R,
13028        >,
13029    ) -> Self {
13030        match err {
13031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13034                source: err.into(),
13035            }),
13036        }
13037    }
13038}
13039impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
13040    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
13041        match err {
13042            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
13043                Error::Unhandled(inner)
13044            }
13045        }
13046    }
13047}
13048impl<R>
13049    From<
13050        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
13051    > for Error
13052where
13053    R: Send + Sync + std::fmt::Debug + 'static,
13054{
13055    fn from(
13056        err: ::aws_smithy_runtime_api::client::result::SdkError<
13057            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
13058            R,
13059        >,
13060    ) -> Self {
13061        match err {
13062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13065                source: err.into(),
13066            }),
13067        }
13068    }
13069}
13070impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
13071    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
13072        match err {
13073            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
13074        }
13075    }
13076}
13077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
13078    for Error
13079where
13080    R: Send + Sync + std::fmt::Debug + 'static,
13081{
13082    fn from(
13083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
13084    ) -> Self {
13085        match err {
13086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13089                source: err.into(),
13090            }),
13091        }
13092    }
13093}
13094impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
13095    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
13096        match err {
13097            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
13098        }
13099    }
13100}
13101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
13102    for Error
13103where
13104    R: Send + Sync + std::fmt::Debug + 'static,
13105{
13106    fn from(
13107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
13108    ) -> Self {
13109        match err {
13110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13113                source: err.into(),
13114            }),
13115        }
13116    }
13117}
13118impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
13119    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
13120        match err {
13121            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13122        }
13123    }
13124}
13125impl<R>
13126    From<
13127        ::aws_smithy_runtime_api::client::result::SdkError<
13128            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13129            R,
13130        >,
13131    > for Error
13132where
13133    R: Send + Sync + std::fmt::Debug + 'static,
13134{
13135    fn from(
13136        err: ::aws_smithy_runtime_api::client::result::SdkError<
13137            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13138            R,
13139        >,
13140    ) -> Self {
13141        match err {
13142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13145                source: err.into(),
13146            }),
13147        }
13148    }
13149}
13150impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
13151    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
13152        match err {
13153            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
13154        }
13155    }
13156}
13157impl<R>
13158    From<
13159        ::aws_smithy_runtime_api::client::result::SdkError<
13160            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13161            R,
13162        >,
13163    > for Error
13164where
13165    R: Send + Sync + std::fmt::Debug + 'static,
13166{
13167    fn from(
13168        err: ::aws_smithy_runtime_api::client::result::SdkError<
13169            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13170            R,
13171        >,
13172    ) -> Self {
13173        match err {
13174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13177                source: err.into(),
13178            }),
13179        }
13180    }
13181}
13182impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
13183    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
13184        match err {
13185            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13186        }
13187    }
13188}
13189impl<R>
13190    From<
13191        ::aws_smithy_runtime_api::client::result::SdkError<
13192            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13193            R,
13194        >,
13195    > for Error
13196where
13197    R: Send + Sync + std::fmt::Debug + 'static,
13198{
13199    fn from(
13200        err: ::aws_smithy_runtime_api::client::result::SdkError<
13201            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13202            R,
13203        >,
13204    ) -> Self {
13205        match err {
13206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13209                source: err.into(),
13210            }),
13211        }
13212    }
13213}
13214impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
13215    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
13216        match err {
13217            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
13218                Error::Unhandled(inner)
13219            }
13220        }
13221    }
13222}
13223impl<R>
13224    From<
13225        ::aws_smithy_runtime_api::client::result::SdkError<
13226            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13227            R,
13228        >,
13229    > for Error
13230where
13231    R: Send + Sync + std::fmt::Debug + 'static,
13232{
13233    fn from(
13234        err: ::aws_smithy_runtime_api::client::result::SdkError<
13235            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13236            R,
13237        >,
13238    ) -> Self {
13239        match err {
13240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13243                source: err.into(),
13244            }),
13245        }
13246    }
13247}
13248impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
13249    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
13250        match err {
13251            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
13252        }
13253    }
13254}
13255impl<R>
13256    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
13257    for Error
13258where
13259    R: Send + Sync + std::fmt::Debug + 'static,
13260{
13261    fn from(
13262        err: ::aws_smithy_runtime_api::client::result::SdkError<
13263            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
13264            R,
13265        >,
13266    ) -> Self {
13267        match err {
13268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13271                source: err.into(),
13272            }),
13273        }
13274    }
13275}
13276impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
13277    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
13278        match err {
13279            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
13280        }
13281    }
13282}
13283impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
13284where
13285    R: Send + Sync + std::fmt::Debug + 'static,
13286{
13287    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> 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::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
13298    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
13299        match err {
13300            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
13301        }
13302    }
13303}
13304impl<R>
13305    From<
13306        ::aws_smithy_runtime_api::client::result::SdkError<
13307            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13308            R,
13309        >,
13310    > for Error
13311where
13312    R: Send + Sync + std::fmt::Debug + 'static,
13313{
13314    fn from(
13315        err: ::aws_smithy_runtime_api::client::result::SdkError<
13316            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13317            R,
13318        >,
13319    ) -> Self {
13320        match err {
13321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13324                source: err.into(),
13325            }),
13326        }
13327    }
13328}
13329impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
13330    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
13331        match err {
13332            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
13333                Error::Unhandled(inner)
13334            }
13335        }
13336    }
13337}
13338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
13339where
13340    R: Send + Sync + std::fmt::Debug + 'static,
13341{
13342    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
13343        match err {
13344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13347                source: err.into(),
13348            }),
13349        }
13350    }
13351}
13352impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
13353    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
13354        match err {
13355            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
13356        }
13357    }
13358}
13359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
13360where
13361    R: Send + Sync + std::fmt::Debug + 'static,
13362{
13363    fn from(
13364        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
13365    ) -> Self {
13366        match err {
13367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13370                source: err.into(),
13371            }),
13372        }
13373    }
13374}
13375impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
13376    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
13377        match err {
13378            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
13379        }
13380    }
13381}
13382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
13383    for Error
13384where
13385    R: Send + Sync + std::fmt::Debug + 'static,
13386{
13387    fn from(
13388        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
13389    ) -> Self {
13390        match err {
13391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13394                source: err.into(),
13395            }),
13396        }
13397    }
13398}
13399impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
13400    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
13401        match err {
13402            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
13403        }
13404    }
13405}
13406impl<R>
13407    From<
13408        ::aws_smithy_runtime_api::client::result::SdkError<
13409            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13410            R,
13411        >,
13412    > for Error
13413where
13414    R: Send + Sync + std::fmt::Debug + 'static,
13415{
13416    fn from(
13417        err: ::aws_smithy_runtime_api::client::result::SdkError<
13418            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13419            R,
13420        >,
13421    ) -> 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::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
13432    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
13433        match err {
13434            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
13435                Error::Unhandled(inner)
13436            }
13437        }
13438    }
13439}
13440impl<R>
13441    From<
13442        ::aws_smithy_runtime_api::client::result::SdkError<
13443            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13444            R,
13445        >,
13446    > for Error
13447where
13448    R: Send + Sync + std::fmt::Debug + 'static,
13449{
13450    fn from(
13451        err: ::aws_smithy_runtime_api::client::result::SdkError<
13452            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13453            R,
13454        >,
13455    ) -> Self {
13456        match err {
13457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13460                source: err.into(),
13461            }),
13462        }
13463    }
13464}
13465impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
13466    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
13467        match err {
13468            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13469        }
13470    }
13471}
13472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
13473    for Error
13474where
13475    R: Send + Sync + std::fmt::Debug + 'static,
13476{
13477    fn from(
13478        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
13479    ) -> Self {
13480        match err {
13481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13484                source: err.into(),
13485            }),
13486        }
13487    }
13488}
13489impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
13490    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
13491        match err {
13492            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
13493        }
13494    }
13495}
13496impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
13497where
13498    R: Send + Sync + std::fmt::Debug + 'static,
13499{
13500    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
13501        match err {
13502            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13503            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13504                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13505                source: err.into(),
13506            }),
13507        }
13508    }
13509}
13510impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
13511    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
13512        match err {
13513            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13514        }
13515    }
13516}
13517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
13518where
13519    R: Send + Sync + std::fmt::Debug + 'static,
13520{
13521    fn from(
13522        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
13523    ) -> Self {
13524        match err {
13525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13528                source: err.into(),
13529            }),
13530        }
13531    }
13532}
13533impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
13534    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
13535        match err {
13536            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13537        }
13538    }
13539}
13540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
13541where
13542    R: Send + Sync + std::fmt::Debug + 'static,
13543{
13544    fn from(
13545        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
13546    ) -> Self {
13547        match err {
13548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13551                source: err.into(),
13552            }),
13553        }
13554    }
13555}
13556impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
13557    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
13558        match err {
13559            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
13560        }
13561    }
13562}
13563impl<R>
13564    From<
13565        ::aws_smithy_runtime_api::client::result::SdkError<
13566            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13567            R,
13568        >,
13569    > for Error
13570where
13571    R: Send + Sync + std::fmt::Debug + 'static,
13572{
13573    fn from(
13574        err: ::aws_smithy_runtime_api::client::result::SdkError<
13575            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13576            R,
13577        >,
13578    ) -> Self {
13579        match err {
13580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13583                source: err.into(),
13584            }),
13585        }
13586    }
13587}
13588impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
13589    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
13590        match err {
13591            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
13592                Error::Unhandled(inner)
13593            }
13594        }
13595    }
13596}
13597impl<R>
13598    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
13599    for Error
13600where
13601    R: Send + Sync + std::fmt::Debug + 'static,
13602{
13603    fn from(
13604        err: ::aws_smithy_runtime_api::client::result::SdkError<
13605            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
13606            R,
13607        >,
13608    ) -> Self {
13609        match err {
13610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13613                source: err.into(),
13614            }),
13615        }
13616    }
13617}
13618impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
13619    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
13620        match err {
13621            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
13622        }
13623    }
13624}
13625impl<R>
13626    From<
13627        ::aws_smithy_runtime_api::client::result::SdkError<
13628            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13629            R,
13630        >,
13631    > for Error
13632where
13633    R: Send + Sync + std::fmt::Debug + 'static,
13634{
13635    fn from(
13636        err: ::aws_smithy_runtime_api::client::result::SdkError<
13637            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13638            R,
13639        >,
13640    ) -> 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::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
13651    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
13652        match err {
13653            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
13654                inner,
13655            ) => Error::Unhandled(inner),
13656        }
13657    }
13658}
13659impl<R>
13660    From<
13661        ::aws_smithy_runtime_api::client::result::SdkError<
13662            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13663            R,
13664        >,
13665    > for Error
13666where
13667    R: Send + Sync + std::fmt::Debug + 'static,
13668{
13669    fn from(
13670        err: ::aws_smithy_runtime_api::client::result::SdkError<
13671            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13672            R,
13673        >,
13674    ) -> Self {
13675        match err {
13676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13679                source: err.into(),
13680            }),
13681        }
13682    }
13683}
13684impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
13685    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
13686        match err {
13687            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
13688                Error::Unhandled(inner)
13689            }
13690        }
13691    }
13692}
13693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
13694where
13695    R: Send + Sync + std::fmt::Debug + 'static,
13696{
13697    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
13698        match err {
13699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13702                source: err.into(),
13703            }),
13704        }
13705    }
13706}
13707impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
13708    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
13709        match err {
13710            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
13711        }
13712    }
13713}
13714impl<R>
13715    From<
13716        ::aws_smithy_runtime_api::client::result::SdkError<
13717            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13718            R,
13719        >,
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<
13726            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13727            R,
13728        >,
13729    ) -> Self {
13730        match err {
13731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13734                source: err.into(),
13735            }),
13736        }
13737    }
13738}
13739impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
13740    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
13741        match err {
13742            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
13743                Error::Unhandled(inner)
13744            }
13745        }
13746    }
13747}
13748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
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<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
13755    ) -> Self {
13756        match err {
13757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13760                source: err.into(),
13761            }),
13762        }
13763    }
13764}
13765impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
13766    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
13767        match err {
13768            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
13769        }
13770    }
13771}
13772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
13773    for Error
13774where
13775    R: Send + Sync + std::fmt::Debug + 'static,
13776{
13777    fn from(
13778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
13779    ) -> Self {
13780        match err {
13781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13784                source: err.into(),
13785            }),
13786        }
13787    }
13788}
13789impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
13790    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
13791        match err {
13792            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
13793        }
13794    }
13795}
13796impl<R>
13797    From<
13798        ::aws_smithy_runtime_api::client::result::SdkError<
13799            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13800            R,
13801        >,
13802    > for Error
13803where
13804    R: Send + Sync + std::fmt::Debug + 'static,
13805{
13806    fn from(
13807        err: ::aws_smithy_runtime_api::client::result::SdkError<
13808            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13809            R,
13810        >,
13811    ) -> Self {
13812        match err {
13813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13816                source: err.into(),
13817            }),
13818        }
13819    }
13820}
13821impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
13822    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
13823        match err {
13824            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
13825        }
13826    }
13827}
13828impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
13829    for Error
13830where
13831    R: Send + Sync + std::fmt::Debug + 'static,
13832{
13833    fn from(
13834        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
13835    ) -> Self {
13836        match err {
13837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13840                source: err.into(),
13841            }),
13842        }
13843    }
13844}
13845impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
13846    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
13847        match err {
13848            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
13849        }
13850    }
13851}
13852impl<R>
13853    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
13854    for Error
13855where
13856    R: Send + Sync + std::fmt::Debug + 'static,
13857{
13858    fn from(
13859        err: ::aws_smithy_runtime_api::client::result::SdkError<
13860            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
13861            R,
13862        >,
13863    ) -> Self {
13864        match err {
13865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13868                source: err.into(),
13869            }),
13870        }
13871    }
13872}
13873impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
13874    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
13875        match err {
13876            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
13877        }
13878    }
13879}
13880impl<R>
13881    From<
13882        ::aws_smithy_runtime_api::client::result::SdkError<
13883            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13884            R,
13885        >,
13886    > for Error
13887where
13888    R: Send + Sync + std::fmt::Debug + 'static,
13889{
13890    fn from(
13891        err: ::aws_smithy_runtime_api::client::result::SdkError<
13892            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13893            R,
13894        >,
13895    ) -> Self {
13896        match err {
13897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13900                source: err.into(),
13901            }),
13902        }
13903    }
13904}
13905impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
13906    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
13907        match err {
13908            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
13909                Error::Unhandled(inner)
13910            }
13911        }
13912    }
13913}
13914impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
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<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
13921    ) -> Self {
13922        match err {
13923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13926                source: err.into(),
13927            }),
13928        }
13929    }
13930}
13931impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
13932    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
13933        match err {
13934            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
13935        }
13936    }
13937}
13938impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
13939    for Error
13940where
13941    R: Send + Sync + std::fmt::Debug + 'static,
13942{
13943    fn from(
13944        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
13945    ) -> Self {
13946        match err {
13947            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13948            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13949                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13950                source: err.into(),
13951            }),
13952        }
13953    }
13954}
13955impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
13956    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
13957        match err {
13958            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
13959        }
13960    }
13961}
13962impl<R>
13963    From<
13964        ::aws_smithy_runtime_api::client::result::SdkError<
13965            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13966            R,
13967        >,
13968    > for Error
13969where
13970    R: Send + Sync + std::fmt::Debug + 'static,
13971{
13972    fn from(
13973        err: ::aws_smithy_runtime_api::client::result::SdkError<
13974            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13975            R,
13976        >,
13977    ) -> Self {
13978        match err {
13979            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13980            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13981                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13982                source: err.into(),
13983            }),
13984        }
13985    }
13986}
13987impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
13988    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
13989        match err {
13990            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
13991                Error::Unhandled(inner)
13992            }
13993        }
13994    }
13995}
13996impl<R>
13997    From<
13998        ::aws_smithy_runtime_api::client::result::SdkError<
13999            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14000            R,
14001        >,
14002    > for Error
14003where
14004    R: Send + Sync + std::fmt::Debug + 'static,
14005{
14006    fn from(
14007        err: ::aws_smithy_runtime_api::client::result::SdkError<
14008            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14009            R,
14010        >,
14011    ) -> Self {
14012        match err {
14013            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14014            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14015                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14016                source: err.into(),
14017            }),
14018        }
14019    }
14020}
14021impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
14022    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
14023        match err {
14024            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
14025                inner,
14026            ) => Error::Unhandled(inner),
14027        }
14028    }
14029}
14030impl<R>
14031    From<
14032        ::aws_smithy_runtime_api::client::result::SdkError<
14033            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14034            R,
14035        >,
14036    > for Error
14037where
14038    R: Send + Sync + std::fmt::Debug + 'static,
14039{
14040    fn from(
14041        err: ::aws_smithy_runtime_api::client::result::SdkError<
14042            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14043            R,
14044        >,
14045    ) -> Self {
14046        match err {
14047            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14048            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14049                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14050                source: err.into(),
14051            }),
14052        }
14053    }
14054}
14055impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
14056    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
14057        match err {
14058            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
14059                Error::Unhandled(inner)
14060            }
14061        }
14062    }
14063}
14064impl<R>
14065    From<
14066        ::aws_smithy_runtime_api::client::result::SdkError<
14067            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14068            R,
14069        >,
14070    > for Error
14071where
14072    R: Send + Sync + std::fmt::Debug + 'static,
14073{
14074    fn from(
14075        err: ::aws_smithy_runtime_api::client::result::SdkError<
14076            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14077            R,
14078        >,
14079    ) -> Self {
14080        match err {
14081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14084                source: err.into(),
14085            }),
14086        }
14087    }
14088}
14089impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
14090    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
14091        match err {
14092            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
14093                Error::Unhandled(inner)
14094            }
14095        }
14096    }
14097}
14098impl<R>
14099    From<
14100        ::aws_smithy_runtime_api::client::result::SdkError<
14101            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14102            R,
14103        >,
14104    > for Error
14105where
14106    R: Send + Sync + std::fmt::Debug + 'static,
14107{
14108    fn from(
14109        err: ::aws_smithy_runtime_api::client::result::SdkError<
14110            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14111            R,
14112        >,
14113    ) -> Self {
14114        match err {
14115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14118                source: err.into(),
14119            }),
14120        }
14121    }
14122}
14123impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
14124    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
14125        match err {
14126            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
14127                Error::Unhandled(inner)
14128            }
14129        }
14130    }
14131}
14132impl<R>
14133    From<
14134        ::aws_smithy_runtime_api::client::result::SdkError<
14135            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14136            R,
14137        >,
14138    > for Error
14139where
14140    R: Send + Sync + std::fmt::Debug + 'static,
14141{
14142    fn from(
14143        err: ::aws_smithy_runtime_api::client::result::SdkError<
14144            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14145            R,
14146        >,
14147    ) -> Self {
14148        match err {
14149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14152                source: err.into(),
14153            }),
14154        }
14155    }
14156}
14157impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
14158    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
14159        match err {
14160            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
14161                Error::Unhandled(inner)
14162            }
14163        }
14164    }
14165}
14166impl<R>
14167    From<
14168        ::aws_smithy_runtime_api::client::result::SdkError<
14169            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14170            R,
14171        >,
14172    > for Error
14173where
14174    R: Send + Sync + std::fmt::Debug + 'static,
14175{
14176    fn from(
14177        err: ::aws_smithy_runtime_api::client::result::SdkError<
14178            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14179            R,
14180        >,
14181    ) -> Self {
14182        match err {
14183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14186                source: err.into(),
14187            }),
14188        }
14189    }
14190}
14191impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
14192    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
14193        match err {
14194            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
14195                Error::Unhandled(inner)
14196            }
14197        }
14198    }
14199}
14200impl<R>
14201    From<
14202        ::aws_smithy_runtime_api::client::result::SdkError<
14203            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14204            R,
14205        >,
14206    > for Error
14207where
14208    R: Send + Sync + std::fmt::Debug + 'static,
14209{
14210    fn from(
14211        err: ::aws_smithy_runtime_api::client::result::SdkError<
14212            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14213            R,
14214        >,
14215    ) -> Self {
14216        match err {
14217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14220                source: err.into(),
14221            }),
14222        }
14223    }
14224}
14225impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
14226    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
14227        match err {
14228            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14229        }
14230    }
14231}
14232impl<R>
14233    From<
14234        ::aws_smithy_runtime_api::client::result::SdkError<
14235            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14236            R,
14237        >,
14238    > for Error
14239where
14240    R: Send + Sync + std::fmt::Debug + 'static,
14241{
14242    fn from(
14243        err: ::aws_smithy_runtime_api::client::result::SdkError<
14244            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14245            R,
14246        >,
14247    ) -> Self {
14248        match err {
14249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14252                source: err.into(),
14253            }),
14254        }
14255    }
14256}
14257impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
14258    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
14259        match err {
14260            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
14261                Error::Unhandled(inner)
14262            }
14263        }
14264    }
14265}
14266impl<R>
14267    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
14268    for Error
14269where
14270    R: Send + Sync + std::fmt::Debug + 'static,
14271{
14272    fn from(
14273        err: ::aws_smithy_runtime_api::client::result::SdkError<
14274            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
14275            R,
14276        >,
14277    ) -> Self {
14278        match err {
14279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14282                source: err.into(),
14283            }),
14284        }
14285    }
14286}
14287impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
14288    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
14289        match err {
14290            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14291        }
14292    }
14293}
14294impl<R>
14295    From<
14296        ::aws_smithy_runtime_api::client::result::SdkError<
14297            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14298            R,
14299        >,
14300    > for Error
14301where
14302    R: Send + Sync + std::fmt::Debug + 'static,
14303{
14304    fn from(
14305        err: ::aws_smithy_runtime_api::client::result::SdkError<
14306            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14307            R,
14308        >,
14309    ) -> Self {
14310        match err {
14311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14314                source: err.into(),
14315            }),
14316        }
14317    }
14318}
14319impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
14320    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
14321        match err {
14322            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
14323                Error::Unhandled(inner)
14324            }
14325        }
14326    }
14327}
14328impl<R>
14329    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
14330    for Error
14331where
14332    R: Send + Sync + std::fmt::Debug + 'static,
14333{
14334    fn from(
14335        err: ::aws_smithy_runtime_api::client::result::SdkError<
14336            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
14337            R,
14338        >,
14339    ) -> Self {
14340        match err {
14341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14344                source: err.into(),
14345            }),
14346        }
14347    }
14348}
14349impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
14350    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
14351        match err {
14352            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
14353        }
14354    }
14355}
14356impl<R>
14357    From<
14358        ::aws_smithy_runtime_api::client::result::SdkError<
14359            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14360            R,
14361        >,
14362    > for Error
14363where
14364    R: Send + Sync + std::fmt::Debug + 'static,
14365{
14366    fn from(
14367        err: ::aws_smithy_runtime_api::client::result::SdkError<
14368            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14369            R,
14370        >,
14371    ) -> Self {
14372        match err {
14373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14376                source: err.into(),
14377            }),
14378        }
14379    }
14380}
14381impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
14382    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
14383        match err {
14384            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
14385        }
14386    }
14387}
14388impl<R>
14389    From<
14390        ::aws_smithy_runtime_api::client::result::SdkError<
14391            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14392            R,
14393        >,
14394    > for Error
14395where
14396    R: Send + Sync + std::fmt::Debug + 'static,
14397{
14398    fn from(
14399        err: ::aws_smithy_runtime_api::client::result::SdkError<
14400            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14401            R,
14402        >,
14403    ) -> Self {
14404        match err {
14405            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14406            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14407                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14408                source: err.into(),
14409            }),
14410        }
14411    }
14412}
14413impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
14414    fn from(
14415        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14416    ) -> Self {
14417        match err {
14418            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
14419        }
14420    }
14421}
14422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
14423where
14424    R: Send + Sync + std::fmt::Debug + 'static,
14425{
14426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
14427        match err {
14428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14431                source: err.into(),
14432            }),
14433        }
14434    }
14435}
14436impl From<crate::operation::import_image::ImportImageError> for Error {
14437    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
14438        match err {
14439            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
14440        }
14441    }
14442}
14443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
14444where
14445    R: Send + Sync + std::fmt::Debug + 'static,
14446{
14447    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
14448        match err {
14449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14452                source: err.into(),
14453            }),
14454        }
14455    }
14456}
14457impl From<crate::operation::import_instance::ImportInstanceError> for Error {
14458    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
14459        match err {
14460            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
14461        }
14462    }
14463}
14464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
14465where
14466    R: Send + Sync + std::fmt::Debug + 'static,
14467{
14468    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
14469        match err {
14470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14473                source: err.into(),
14474            }),
14475        }
14476    }
14477}
14478impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
14479    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
14480        match err {
14481            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
14482        }
14483    }
14484}
14485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
14486where
14487    R: Send + Sync + std::fmt::Debug + 'static,
14488{
14489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
14490        match err {
14491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14494                source: err.into(),
14495            }),
14496        }
14497    }
14498}
14499impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
14500    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
14501        match err {
14502            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14503        }
14504    }
14505}
14506impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
14507where
14508    R: Send + Sync + std::fmt::Debug + 'static,
14509{
14510    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
14511        match err {
14512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14515                source: err.into(),
14516            }),
14517        }
14518    }
14519}
14520impl From<crate::operation::import_volume::ImportVolumeError> for Error {
14521    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
14522        match err {
14523            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
14524        }
14525    }
14526}
14527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
14528    for Error
14529where
14530    R: Send + Sync + std::fmt::Debug + 'static,
14531{
14532    fn from(
14533        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
14534    ) -> Self {
14535        match err {
14536            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14537            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14538                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14539                source: err.into(),
14540            }),
14541        }
14542    }
14543}
14544impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
14545    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
14546        match err {
14547            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14548        }
14549    }
14550}
14551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
14552    for Error
14553where
14554    R: Send + Sync + std::fmt::Debug + 'static,
14555{
14556    fn from(
14557        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
14558    ) -> Self {
14559        match err {
14560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14563                source: err.into(),
14564            }),
14565        }
14566    }
14567}
14568impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
14569    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
14570        match err {
14571            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14572        }
14573    }
14574}
14575impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
14576where
14577    R: Send + Sync + std::fmt::Debug + 'static,
14578{
14579    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
14580        match err {
14581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14584                source: err.into(),
14585            }),
14586        }
14587    }
14588}
14589impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
14590    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
14591        match err {
14592            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14593        }
14594    }
14595}
14596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
14597where
14598    R: Send + Sync + std::fmt::Debug + 'static,
14599{
14600    fn from(
14601        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
14602    ) -> Self {
14603        match err {
14604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14607                source: err.into(),
14608            }),
14609        }
14610    }
14611}
14612impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
14613    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
14614        match err {
14615            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14616        }
14617    }
14618}
14619impl<R>
14620    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
14621    for Error
14622where
14623    R: Send + Sync + std::fmt::Debug + 'static,
14624{
14625    fn from(
14626        err: ::aws_smithy_runtime_api::client::result::SdkError<
14627            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
14628            R,
14629        >,
14630    ) -> Self {
14631        match err {
14632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14635                source: err.into(),
14636            }),
14637        }
14638    }
14639}
14640impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
14641    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
14642        match err {
14643            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
14644        }
14645    }
14646}
14647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
14648    for Error
14649where
14650    R: Send + Sync + std::fmt::Debug + 'static,
14651{
14652    fn from(
14653        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
14654    ) -> Self {
14655        match err {
14656            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14657            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14658                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14659                source: err.into(),
14660            }),
14661        }
14662    }
14663}
14664impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
14665    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
14666        match err {
14667            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14668        }
14669    }
14670}
14671impl<R>
14672    From<
14673        ::aws_smithy_runtime_api::client::result::SdkError<
14674            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14675            R,
14676        >,
14677    > for Error
14678where
14679    R: Send + Sync + std::fmt::Debug + 'static,
14680{
14681    fn from(
14682        err: ::aws_smithy_runtime_api::client::result::SdkError<
14683            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14684            R,
14685        >,
14686    ) -> Self {
14687        match err {
14688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14691                source: err.into(),
14692            }),
14693        }
14694    }
14695}
14696impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
14697    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
14698        match err {
14699            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
14700        }
14701    }
14702}
14703impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
14704    for Error
14705where
14706    R: Send + Sync + std::fmt::Debug + 'static,
14707{
14708    fn from(
14709        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
14710    ) -> Self {
14711        match err {
14712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14715                source: err.into(),
14716            }),
14717        }
14718    }
14719}
14720impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
14721    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
14722        match err {
14723            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
14724        }
14725    }
14726}
14727impl<R>
14728    From<
14729        ::aws_smithy_runtime_api::client::result::SdkError<
14730            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14731            R,
14732        >,
14733    > for Error
14734where
14735    R: Send + Sync + std::fmt::Debug + 'static,
14736{
14737    fn from(
14738        err: ::aws_smithy_runtime_api::client::result::SdkError<
14739            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14740            R,
14741        >,
14742    ) -> Self {
14743        match err {
14744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14747                source: err.into(),
14748            }),
14749        }
14750    }
14751}
14752impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
14753    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
14754        match err {
14755            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14756        }
14757    }
14758}
14759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
14760    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::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, 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::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
14777    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
14778        match err {
14779            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14780        }
14781    }
14782}
14783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
14784where
14785    R: Send + Sync + std::fmt::Debug + 'static,
14786{
14787    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
14788        match err {
14789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14792                source: err.into(),
14793            }),
14794        }
14795    }
14796}
14797impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
14798    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
14799        match err {
14800            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
14801        }
14802    }
14803}
14804impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
14805    for Error
14806where
14807    R: Send + Sync + std::fmt::Debug + 'static,
14808{
14809    fn from(
14810        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
14811    ) -> Self {
14812        match err {
14813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14816                source: err.into(),
14817            }),
14818        }
14819    }
14820}
14821impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
14822    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
14823        match err {
14824            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14825        }
14826    }
14827}
14828impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
14829where
14830    R: Send + Sync + std::fmt::Debug + 'static,
14831{
14832    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
14833        match err {
14834            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14835            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14836                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14837                source: err.into(),
14838            }),
14839        }
14840    }
14841}
14842impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
14843    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
14844        match err {
14845            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
14846        }
14847    }
14848}
14849impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
14850    for Error
14851where
14852    R: Send + Sync + std::fmt::Debug + 'static,
14853{
14854    fn from(
14855        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
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::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
14867    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
14868        match err {
14869            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14870        }
14871    }
14872}
14873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
14874where
14875    R: Send + Sync + std::fmt::Debug + 'static,
14876{
14877    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
14878        match err {
14879            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14880            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14881                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14882                source: err.into(),
14883            }),
14884        }
14885    }
14886}
14887impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
14888    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
14889        match err {
14890            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14891        }
14892    }
14893}
14894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
14895where
14896    R: Send + Sync + std::fmt::Debug + 'static,
14897{
14898    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
14899        match err {
14900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14903                source: err.into(),
14904            }),
14905        }
14906    }
14907}
14908impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
14909    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
14910        match err {
14911            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14912        }
14913    }
14914}
14915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
14916    for Error
14917where
14918    R: Send + Sync + std::fmt::Debug + 'static,
14919{
14920    fn from(
14921        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
14922    ) -> Self {
14923        match err {
14924            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14925            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14926                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14927                source: err.into(),
14928            }),
14929        }
14930    }
14931}
14932impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
14933    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
14934        match err {
14935            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14936        }
14937    }
14938}
14939impl<R>
14940    From<
14941        ::aws_smithy_runtime_api::client::result::SdkError<
14942            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
14943            R,
14944        >,
14945    > for Error
14946where
14947    R: Send + Sync + std::fmt::Debug + 'static,
14948{
14949    fn from(
14950        err: ::aws_smithy_runtime_api::client::result::SdkError<
14951            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
14952            R,
14953        >,
14954    ) -> Self {
14955        match err {
14956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14959                source: err.into(),
14960            }),
14961        }
14962    }
14963}
14964impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
14965    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
14966        match err {
14967            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
14968                Error::Unhandled(inner)
14969            }
14970        }
14971    }
14972}
14973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
14974    for Error
14975where
14976    R: Send + Sync + std::fmt::Debug + 'static,
14977{
14978    fn from(
14979        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
14980    ) -> Self {
14981        match err {
14982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14985                source: err.into(),
14986            }),
14987        }
14988    }
14989}
14990impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
14991    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
14992        match err {
14993            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14994        }
14995    }
14996}
14997impl<R>
14998    From<
14999        ::aws_smithy_runtime_api::client::result::SdkError<
15000            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15001            R,
15002        >,
15003    > for Error
15004where
15005    R: Send + Sync + std::fmt::Debug + 'static,
15006{
15007    fn from(
15008        err: ::aws_smithy_runtime_api::client::result::SdkError<
15009            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15010            R,
15011        >,
15012    ) -> Self {
15013        match err {
15014            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15015            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15016                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15017                source: err.into(),
15018            }),
15019        }
15020    }
15021}
15022impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
15023    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
15024        match err {
15025            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
15026                Error::Unhandled(inner)
15027            }
15028        }
15029    }
15030}
15031impl<R>
15032    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
15033    for Error
15034where
15035    R: Send + Sync + std::fmt::Debug + 'static,
15036{
15037    fn from(
15038        err: ::aws_smithy_runtime_api::client::result::SdkError<
15039            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
15040            R,
15041        >,
15042    ) -> Self {
15043        match err {
15044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15047                source: err.into(),
15048            }),
15049        }
15050    }
15051}
15052impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
15053    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
15054        match err {
15055            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
15056        }
15057    }
15058}
15059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
15060    for Error
15061where
15062    R: Send + Sync + std::fmt::Debug + 'static,
15063{
15064    fn from(
15065        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
15066    ) -> Self {
15067        match err {
15068            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15069            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15070                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15071                source: err.into(),
15072            }),
15073        }
15074    }
15075}
15076impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
15077    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
15078        match err {
15079            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
15080        }
15081    }
15082}
15083impl<R>
15084    From<
15085        ::aws_smithy_runtime_api::client::result::SdkError<
15086            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15087            R,
15088        >,
15089    > for Error
15090where
15091    R: Send + Sync + std::fmt::Debug + 'static,
15092{
15093    fn from(
15094        err: ::aws_smithy_runtime_api::client::result::SdkError<
15095            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15096            R,
15097        >,
15098    ) -> Self {
15099        match err {
15100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15103                source: err.into(),
15104            }),
15105        }
15106    }
15107}
15108impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
15109    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
15110        match err {
15111            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15112        }
15113    }
15114}
15115impl<R>
15116    From<
15117        ::aws_smithy_runtime_api::client::result::SdkError<
15118            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15119            R,
15120        >,
15121    > for Error
15122where
15123    R: Send + Sync + std::fmt::Debug + 'static,
15124{
15125    fn from(
15126        err: ::aws_smithy_runtime_api::client::result::SdkError<
15127            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15128            R,
15129        >,
15130    ) -> Self {
15131        match err {
15132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15135                source: err.into(),
15136            }),
15137        }
15138    }
15139}
15140impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
15141    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
15142        match err {
15143            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
15144        }
15145    }
15146}
15147impl<R>
15148    From<
15149        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
15150    > for Error
15151where
15152    R: Send + Sync + std::fmt::Debug + 'static,
15153{
15154    fn from(
15155        err: ::aws_smithy_runtime_api::client::result::SdkError<
15156            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
15157            R,
15158        >,
15159    ) -> Self {
15160        match err {
15161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15164                source: err.into(),
15165            }),
15166        }
15167    }
15168}
15169impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
15170    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
15171        match err {
15172            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15173        }
15174    }
15175}
15176impl<R>
15177    From<
15178        ::aws_smithy_runtime_api::client::result::SdkError<
15179            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15180            R,
15181        >,
15182    > for Error
15183where
15184    R: Send + Sync + std::fmt::Debug + 'static,
15185{
15186    fn from(
15187        err: ::aws_smithy_runtime_api::client::result::SdkError<
15188            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15189            R,
15190        >,
15191    ) -> Self {
15192        match err {
15193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15196                source: err.into(),
15197            }),
15198        }
15199    }
15200}
15201impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
15202    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
15203        match err {
15204            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
15205                Error::Unhandled(inner)
15206            }
15207        }
15208    }
15209}
15210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
15211    for Error
15212where
15213    R: Send + Sync + std::fmt::Debug + 'static,
15214{
15215    fn from(
15216        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
15217    ) -> Self {
15218        match err {
15219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15222                source: err.into(),
15223            }),
15224        }
15225    }
15226}
15227impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
15228    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
15229        match err {
15230            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
15231        }
15232    }
15233}
15234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
15235where
15236    R: Send + Sync + std::fmt::Debug + 'static,
15237{
15238    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
15239        match err {
15240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15243                source: err.into(),
15244            }),
15245        }
15246    }
15247}
15248impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
15249    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
15250        match err {
15251            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
15252        }
15253    }
15254}
15255impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
15256where
15257    R: Send + Sync + std::fmt::Debug + 'static,
15258{
15259    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
15260        match err {
15261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15264                source: err.into(),
15265            }),
15266        }
15267    }
15268}
15269impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
15270    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
15271        match err {
15272            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
15273        }
15274    }
15275}
15276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
15277    for Error
15278where
15279    R: Send + Sync + std::fmt::Debug + 'static,
15280{
15281    fn from(
15282        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
15283    ) -> Self {
15284        match err {
15285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15288                source: err.into(),
15289            }),
15290        }
15291    }
15292}
15293impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
15294    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
15295        match err {
15296            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
15297        }
15298    }
15299}
15300impl<R>
15301    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
15302    for Error
15303where
15304    R: Send + Sync + std::fmt::Debug + 'static,
15305{
15306    fn from(
15307        err: ::aws_smithy_runtime_api::client::result::SdkError<
15308            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
15309            R,
15310        >,
15311    ) -> Self {
15312        match err {
15313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15316                source: err.into(),
15317            }),
15318        }
15319    }
15320}
15321impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
15322    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
15323        match err {
15324            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
15325        }
15326    }
15327}
15328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
15329where
15330    R: Send + Sync + std::fmt::Debug + 'static,
15331{
15332    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
15333        match err {
15334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15337                source: err.into(),
15338            }),
15339        }
15340    }
15341}
15342impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
15343    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
15344        match err {
15345            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
15346        }
15347    }
15348}
15349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
15350where
15351    R: Send + Sync + std::fmt::Debug + 'static,
15352{
15353    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
15354        match err {
15355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15358                source: err.into(),
15359            }),
15360        }
15361    }
15362}
15363impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
15364    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
15365        match err {
15366            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
15367        }
15368    }
15369}
15370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
15371    for Error
15372where
15373    R: Send + Sync + std::fmt::Debug + 'static,
15374{
15375    fn from(
15376        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
15377    ) -> Self {
15378        match err {
15379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15382                source: err.into(),
15383            }),
15384        }
15385    }
15386}
15387impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
15388    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
15389        match err {
15390            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
15391        }
15392    }
15393}
15394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
15395    for Error
15396where
15397    R: Send + Sync + std::fmt::Debug + 'static,
15398{
15399    fn from(
15400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
15401    ) -> Self {
15402        match err {
15403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15406                source: err.into(),
15407            }),
15408        }
15409    }
15410}
15411impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
15412    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
15413        match err {
15414            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
15415        }
15416    }
15417}
15418impl<R>
15419    From<
15420        ::aws_smithy_runtime_api::client::result::SdkError<
15421            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15422            R,
15423        >,
15424    > for Error
15425where
15426    R: Send + Sync + std::fmt::Debug + 'static,
15427{
15428    fn from(
15429        err: ::aws_smithy_runtime_api::client::result::SdkError<
15430            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15431            R,
15432        >,
15433    ) -> Self {
15434        match err {
15435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15438                source: err.into(),
15439            }),
15440        }
15441    }
15442}
15443impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
15444    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
15445        match err {
15446            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15447        }
15448    }
15449}
15450impl<R>
15451    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
15452    for Error
15453where
15454    R: Send + Sync + std::fmt::Debug + 'static,
15455{
15456    fn from(
15457        err: ::aws_smithy_runtime_api::client::result::SdkError<
15458            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
15459            R,
15460        >,
15461    ) -> Self {
15462        match err {
15463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15466                source: err.into(),
15467            }),
15468        }
15469    }
15470}
15471impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
15472    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
15473        match err {
15474            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15475        }
15476    }
15477}
15478impl<R>
15479    From<
15480        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
15481    > for Error
15482where
15483    R: Send + Sync + std::fmt::Debug + 'static,
15484{
15485    fn from(
15486        err: ::aws_smithy_runtime_api::client::result::SdkError<
15487            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
15488            R,
15489        >,
15490    ) -> Self {
15491        match err {
15492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15495                source: err.into(),
15496            }),
15497        }
15498    }
15499}
15500impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
15501    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
15502        match err {
15503            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15504        }
15505    }
15506}
15507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
15508    for Error
15509where
15510    R: Send + Sync + std::fmt::Debug + 'static,
15511{
15512    fn from(
15513        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
15514    ) -> Self {
15515        match err {
15516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15519                source: err.into(),
15520            }),
15521        }
15522    }
15523}
15524impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
15525    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
15526        match err {
15527            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15528        }
15529    }
15530}
15531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
15532where
15533    R: Send + Sync + std::fmt::Debug + 'static,
15534{
15535    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
15536        match err {
15537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15540                source: err.into(),
15541            }),
15542        }
15543    }
15544}
15545impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
15546    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
15547        match err {
15548            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
15549        }
15550    }
15551}
15552impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
15553    for Error
15554where
15555    R: Send + Sync + std::fmt::Debug + 'static,
15556{
15557    fn from(
15558        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
15559    ) -> Self {
15560        match err {
15561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15564                source: err.into(),
15565            }),
15566        }
15567    }
15568}
15569impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
15570    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
15571        match err {
15572            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
15573        }
15574    }
15575}
15576impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
15577    for Error
15578where
15579    R: Send + Sync + std::fmt::Debug + 'static,
15580{
15581    fn from(
15582        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
15583    ) -> Self {
15584        match err {
15585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15588                source: err.into(),
15589            }),
15590        }
15591    }
15592}
15593impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
15594    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
15595        match err {
15596            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15597        }
15598    }
15599}
15600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
15601where
15602    R: Send + Sync + std::fmt::Debug + 'static,
15603{
15604    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
15605        match err {
15606            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15607            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15608                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15609                source: err.into(),
15610            }),
15611        }
15612    }
15613}
15614impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
15615    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
15616        match err {
15617            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
15618        }
15619    }
15620}
15621impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
15622    for Error
15623where
15624    R: Send + Sync + std::fmt::Debug + 'static,
15625{
15626    fn from(
15627        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
15628    ) -> Self {
15629        match err {
15630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15633                source: err.into(),
15634            }),
15635        }
15636    }
15637}
15638impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
15639    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
15640        match err {
15641            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
15642        }
15643    }
15644}
15645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
15646where
15647    R: Send + Sync + std::fmt::Debug + 'static,
15648{
15649    fn from(
15650        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
15651    ) -> Self {
15652        match err {
15653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15656                source: err.into(),
15657            }),
15658        }
15659    }
15660}
15661impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
15662    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
15663        match err {
15664            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15665        }
15666    }
15667}
15668impl<R>
15669    From<
15670        ::aws_smithy_runtime_api::client::result::SdkError<
15671            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15672            R,
15673        >,
15674    > for Error
15675where
15676    R: Send + Sync + std::fmt::Debug + 'static,
15677{
15678    fn from(
15679        err: ::aws_smithy_runtime_api::client::result::SdkError<
15680            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15681            R,
15682        >,
15683    ) -> Self {
15684        match err {
15685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15688                source: err.into(),
15689            }),
15690        }
15691    }
15692}
15693impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
15694    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
15695        match err {
15696            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
15697                Error::Unhandled(inner)
15698            }
15699        }
15700    }
15701}
15702impl<R>
15703    From<
15704        ::aws_smithy_runtime_api::client::result::SdkError<
15705            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15706            R,
15707        >,
15708    > for Error
15709where
15710    R: Send + Sync + std::fmt::Debug + 'static,
15711{
15712    fn from(
15713        err: ::aws_smithy_runtime_api::client::result::SdkError<
15714            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15715            R,
15716        >,
15717    ) -> Self {
15718        match err {
15719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15722                source: err.into(),
15723            }),
15724        }
15725    }
15726}
15727impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
15728    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
15729        match err {
15730            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
15731        }
15732    }
15733}
15734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
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<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
15741    ) -> Self {
15742        match err {
15743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15746                source: err.into(),
15747            }),
15748        }
15749    }
15750}
15751impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
15752    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
15753        match err {
15754            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
15755        }
15756    }
15757}
15758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
15759where
15760    R: Send + Sync + std::fmt::Debug + 'static,
15761{
15762    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
15763        match err {
15764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15767                source: err.into(),
15768            }),
15769        }
15770    }
15771}
15772impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
15773    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
15774        match err {
15775            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
15776        }
15777    }
15778}
15779impl<R>
15780    From<
15781        ::aws_smithy_runtime_api::client::result::SdkError<
15782            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15783            R,
15784        >,
15785    > for Error
15786where
15787    R: Send + Sync + std::fmt::Debug + 'static,
15788{
15789    fn from(
15790        err: ::aws_smithy_runtime_api::client::result::SdkError<
15791            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15792            R,
15793        >,
15794    ) -> Self {
15795        match err {
15796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15799                source: err.into(),
15800            }),
15801        }
15802    }
15803}
15804impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
15805    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
15806        match err {
15807            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
15808                Error::Unhandled(inner)
15809            }
15810        }
15811    }
15812}
15813impl<R>
15814    From<
15815        ::aws_smithy_runtime_api::client::result::SdkError<
15816            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15817            R,
15818        >,
15819    > for Error
15820where
15821    R: Send + Sync + std::fmt::Debug + 'static,
15822{
15823    fn from(
15824        err: ::aws_smithy_runtime_api::client::result::SdkError<
15825            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15826            R,
15827        >,
15828    ) -> Self {
15829        match err {
15830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15833                source: err.into(),
15834            }),
15835        }
15836    }
15837}
15838impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
15839    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
15840        match err {
15841            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
15842                Error::Unhandled(inner)
15843            }
15844        }
15845    }
15846}
15847impl<R>
15848    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
15849    for Error
15850where
15851    R: Send + Sync + std::fmt::Debug + 'static,
15852{
15853    fn from(
15854        err: ::aws_smithy_runtime_api::client::result::SdkError<
15855            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
15856            R,
15857        >,
15858    ) -> Self {
15859        match err {
15860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15863                source: err.into(),
15864            }),
15865        }
15866    }
15867}
15868impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
15869    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
15870        match err {
15871            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15872        }
15873    }
15874}
15875impl<R>
15876    From<
15877        ::aws_smithy_runtime_api::client::result::SdkError<
15878            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15879            R,
15880        >,
15881    > for Error
15882where
15883    R: Send + Sync + std::fmt::Debug + 'static,
15884{
15885    fn from(
15886        err: ::aws_smithy_runtime_api::client::result::SdkError<
15887            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15888            R,
15889        >,
15890    ) -> Self {
15891        match err {
15892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15895                source: err.into(),
15896            }),
15897        }
15898    }
15899}
15900impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
15901    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
15902        match err {
15903            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
15904                Error::Unhandled(inner)
15905            }
15906        }
15907    }
15908}
15909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
15910    for Error
15911where
15912    R: Send + Sync + std::fmt::Debug + 'static,
15913{
15914    fn from(
15915        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
15916    ) -> Self {
15917        match err {
15918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15921                source: err.into(),
15922            }),
15923        }
15924    }
15925}
15926impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
15927    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
15928        match err {
15929            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
15930        }
15931    }
15932}
15933impl<R>
15934    From<
15935        ::aws_smithy_runtime_api::client::result::SdkError<
15936            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15937            R,
15938        >,
15939    > for Error
15940where
15941    R: Send + Sync + std::fmt::Debug + 'static,
15942{
15943    fn from(
15944        err: ::aws_smithy_runtime_api::client::result::SdkError<
15945            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15946            R,
15947        >,
15948    ) -> Self {
15949        match err {
15950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15953                source: err.into(),
15954            }),
15955        }
15956    }
15957}
15958impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
15959    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
15960        match err {
15961            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15962        }
15963    }
15964}
15965impl<R>
15966    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
15967    for Error
15968where
15969    R: Send + Sync + std::fmt::Debug + 'static,
15970{
15971    fn from(
15972        err: ::aws_smithy_runtime_api::client::result::SdkError<
15973            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
15974            R,
15975        >,
15976    ) -> Self {
15977        match err {
15978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15981                source: err.into(),
15982            }),
15983        }
15984    }
15985}
15986impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
15987    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
15988        match err {
15989            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15990        }
15991    }
15992}
15993impl<R>
15994    From<
15995        ::aws_smithy_runtime_api::client::result::SdkError<
15996            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15997            R,
15998        >,
15999    > for Error
16000where
16001    R: Send + Sync + std::fmt::Debug + 'static,
16002{
16003    fn from(
16004        err: ::aws_smithy_runtime_api::client::result::SdkError<
16005            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16006            R,
16007        >,
16008    ) -> Self {
16009        match err {
16010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16013                source: err.into(),
16014            }),
16015        }
16016    }
16017}
16018impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
16019    fn from(
16020        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16021    ) -> Self {
16022        match err {
16023            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
16024        }
16025    }
16026}
16027impl<R>
16028    From<
16029        ::aws_smithy_runtime_api::client::result::SdkError<
16030            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16031            R,
16032        >,
16033    > for Error
16034where
16035    R: Send + Sync + std::fmt::Debug + 'static,
16036{
16037    fn from(
16038        err: ::aws_smithy_runtime_api::client::result::SdkError<
16039            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16040            R,
16041        >,
16042    ) -> Self {
16043        match err {
16044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16047                source: err.into(),
16048            }),
16049        }
16050    }
16051}
16052impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
16053    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
16054        match err {
16055            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
16056                Error::Unhandled(inner)
16057            }
16058        }
16059    }
16060}
16061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
16062where
16063    R: Send + Sync + std::fmt::Debug + 'static,
16064{
16065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
16066        match err {
16067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16070                source: err.into(),
16071            }),
16072        }
16073    }
16074}
16075impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
16076    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
16077        match err {
16078            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
16079        }
16080    }
16081}
16082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
16083where
16084    R: Send + Sync + std::fmt::Debug + 'static,
16085{
16086    fn from(
16087        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
16088    ) -> Self {
16089        match err {
16090            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16091            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16092                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16093                source: err.into(),
16094            }),
16095        }
16096    }
16097}
16098impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
16099    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
16100        match err {
16101            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16102        }
16103    }
16104}
16105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
16106where
16107    R: Send + Sync + std::fmt::Debug + 'static,
16108{
16109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
16110        match err {
16111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16114                source: err.into(),
16115            }),
16116        }
16117    }
16118}
16119impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
16120    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
16121        match err {
16122            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16123        }
16124    }
16125}
16126impl<R>
16127    From<
16128        ::aws_smithy_runtime_api::client::result::SdkError<
16129            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16130            R,
16131        >,
16132    > for Error
16133where
16134    R: Send + Sync + std::fmt::Debug + 'static,
16135{
16136    fn from(
16137        err: ::aws_smithy_runtime_api::client::result::SdkError<
16138            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16139            R,
16140        >,
16141    ) -> 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::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
16152    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
16153        match err {
16154            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
16155                Error::Unhandled(inner)
16156            }
16157        }
16158    }
16159}
16160impl<R>
16161    From<
16162        ::aws_smithy_runtime_api::client::result::SdkError<
16163            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16164            R,
16165        >,
16166    > for Error
16167where
16168    R: Send + Sync + std::fmt::Debug + 'static,
16169{
16170    fn from(
16171        err: ::aws_smithy_runtime_api::client::result::SdkError<
16172            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16173            R,
16174        >,
16175    ) -> Self {
16176        match err {
16177            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16178            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16179                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16180                source: err.into(),
16181            }),
16182        }
16183    }
16184}
16185impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
16186    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
16187        match err {
16188            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
16189                Error::Unhandled(inner)
16190            }
16191        }
16192    }
16193}
16194impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
16195where
16196    R: Send + Sync + std::fmt::Debug + 'static,
16197{
16198    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
16199        match err {
16200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16203                source: err.into(),
16204            }),
16205        }
16206    }
16207}
16208impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
16209    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
16210        match err {
16211            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16212        }
16213    }
16214}
16215impl<R>
16216    From<
16217        ::aws_smithy_runtime_api::client::result::SdkError<
16218            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16219            R,
16220        >,
16221    > for Error
16222where
16223    R: Send + Sync + std::fmt::Debug + 'static,
16224{
16225    fn from(
16226        err: ::aws_smithy_runtime_api::client::result::SdkError<
16227            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16228            R,
16229        >,
16230    ) -> Self {
16231        match err {
16232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16235                source: err.into(),
16236            }),
16237        }
16238    }
16239}
16240impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
16241    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
16242        match err {
16243            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
16244                Error::Unhandled(inner)
16245            }
16246        }
16247    }
16248}
16249impl<R>
16250    From<
16251        ::aws_smithy_runtime_api::client::result::SdkError<
16252            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16253            R,
16254        >,
16255    > for Error
16256where
16257    R: Send + Sync + std::fmt::Debug + 'static,
16258{
16259    fn from(
16260        err: ::aws_smithy_runtime_api::client::result::SdkError<
16261            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16262            R,
16263        >,
16264    ) -> Self {
16265        match err {
16266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16269                source: err.into(),
16270            }),
16271        }
16272    }
16273}
16274impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
16275    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
16276        match err {
16277            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
16278                Error::Unhandled(inner)
16279            }
16280        }
16281    }
16282}
16283impl<R>
16284    From<
16285        ::aws_smithy_runtime_api::client::result::SdkError<
16286            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16287            R,
16288        >,
16289    > for Error
16290where
16291    R: Send + Sync + std::fmt::Debug + 'static,
16292{
16293    fn from(
16294        err: ::aws_smithy_runtime_api::client::result::SdkError<
16295            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16296            R,
16297        >,
16298    ) -> Self {
16299        match err {
16300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16303                source: err.into(),
16304            }),
16305        }
16306    }
16307}
16308impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
16309    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
16310        match err {
16311            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
16312                inner,
16313            ) => Error::Unhandled(inner),
16314        }
16315    }
16316}
16317impl<R>
16318    From<
16319        ::aws_smithy_runtime_api::client::result::SdkError<
16320            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16321            R,
16322        >,
16323    > for Error
16324where
16325    R: Send + Sync + std::fmt::Debug + 'static,
16326{
16327    fn from(
16328        err: ::aws_smithy_runtime_api::client::result::SdkError<
16329            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16330            R,
16331        >,
16332    ) -> Self {
16333        match err {
16334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16337                source: err.into(),
16338            }),
16339        }
16340    }
16341}
16342impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
16343    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
16344        match err {
16345            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
16346                Error::Unhandled(inner)
16347            }
16348        }
16349    }
16350}
16351impl<R>
16352    From<
16353        ::aws_smithy_runtime_api::client::result::SdkError<
16354            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16355            R,
16356        >,
16357    > for Error
16358where
16359    R: Send + Sync + std::fmt::Debug + 'static,
16360{
16361    fn from(
16362        err: ::aws_smithy_runtime_api::client::result::SdkError<
16363            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16364            R,
16365        >,
16366    ) -> Self {
16367        match err {
16368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16371                source: err.into(),
16372            }),
16373        }
16374    }
16375}
16376impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
16377    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
16378        match err {
16379            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
16380                Error::Unhandled(inner)
16381            }
16382        }
16383    }
16384}
16385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
16386where
16387    R: Send + Sync + std::fmt::Debug + 'static,
16388{
16389    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
16390        match err {
16391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16394                source: err.into(),
16395            }),
16396        }
16397    }
16398}
16399impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
16400    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
16401        match err {
16402            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
16403        }
16404    }
16405}
16406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
16407where
16408    R: Send + Sync + std::fmt::Debug + 'static,
16409{
16410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
16411        match err {
16412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16415                source: err.into(),
16416            }),
16417        }
16418    }
16419}
16420impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
16421    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
16422        match err {
16423            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16424        }
16425    }
16426}
16427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
16428    for Error
16429where
16430    R: Send + Sync + std::fmt::Debug + 'static,
16431{
16432    fn from(
16433        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
16434    ) -> Self {
16435        match err {
16436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16439                source: err.into(),
16440            }),
16441        }
16442    }
16443}
16444impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
16445    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
16446        match err {
16447            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16448        }
16449    }
16450}
16451impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
16452    for Error
16453where
16454    R: Send + Sync + std::fmt::Debug + 'static,
16455{
16456    fn from(
16457        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
16458    ) -> Self {
16459        match err {
16460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16463                source: err.into(),
16464            }),
16465        }
16466    }
16467}
16468impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
16469    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
16470        match err {
16471            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
16472        }
16473    }
16474}
16475impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
16476    for Error
16477where
16478    R: Send + Sync + std::fmt::Debug + 'static,
16479{
16480    fn from(
16481        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
16482    ) -> Self {
16483        match err {
16484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16487                source: err.into(),
16488            }),
16489        }
16490    }
16491}
16492impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
16493    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
16494        match err {
16495            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16496        }
16497    }
16498}
16499impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
16500where
16501    R: Send + Sync + std::fmt::Debug + 'static,
16502{
16503    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
16504        match err {
16505            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16506            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16507                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16508                source: err.into(),
16509            }),
16510        }
16511    }
16512}
16513impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
16514    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
16515        match err {
16516            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16517        }
16518    }
16519}
16520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
16521where
16522    R: Send + Sync + std::fmt::Debug + 'static,
16523{
16524    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
16525        match err {
16526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16529                source: err.into(),
16530            }),
16531        }
16532    }
16533}
16534impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
16535    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
16536        match err {
16537            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
16538        }
16539    }
16540}
16541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
16542where
16543    R: Send + Sync + std::fmt::Debug + 'static,
16544{
16545    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
16546        match err {
16547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16550                source: err.into(),
16551            }),
16552        }
16553    }
16554}
16555impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
16556    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
16557        match err {
16558            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
16559        }
16560    }
16561}
16562impl<R>
16563    From<
16564        ::aws_smithy_runtime_api::client::result::SdkError<
16565            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16566            R,
16567        >,
16568    > for Error
16569where
16570    R: Send + Sync + std::fmt::Debug + 'static,
16571{
16572    fn from(
16573        err: ::aws_smithy_runtime_api::client::result::SdkError<
16574            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16575            R,
16576        >,
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::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
16588    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
16589        match err {
16590            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16591        }
16592    }
16593}
16594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
16595where
16596    R: Send + Sync + std::fmt::Debug + 'static,
16597{
16598    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
16599        match err {
16600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16603                source: err.into(),
16604            }),
16605        }
16606    }
16607}
16608impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
16609    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
16610        match err {
16611            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
16612        }
16613    }
16614}
16615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
16616where
16617    R: Send + Sync + std::fmt::Debug + 'static,
16618{
16619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
16620        match err {
16621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16624                source: err.into(),
16625            }),
16626        }
16627    }
16628}
16629impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
16630    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
16631        match err {
16632            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
16633        }
16634    }
16635}
16636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
16637where
16638    R: Send + Sync + std::fmt::Debug + 'static,
16639{
16640    fn from(
16641        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
16642    ) -> Self {
16643        match err {
16644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16647                source: err.into(),
16648            }),
16649        }
16650    }
16651}
16652impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
16653    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
16654        match err {
16655            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16656        }
16657    }
16658}
16659impl<R>
16660    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
16661    for Error
16662where
16663    R: Send + Sync + std::fmt::Debug + 'static,
16664{
16665    fn from(
16666        err: ::aws_smithy_runtime_api::client::result::SdkError<
16667            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
16668            R,
16669        >,
16670    ) -> Self {
16671        match err {
16672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16675                source: err.into(),
16676            }),
16677        }
16678    }
16679}
16680impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
16681    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
16682        match err {
16683            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16684        }
16685    }
16686}
16687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
16688where
16689    R: Send + Sync + std::fmt::Debug + 'static,
16690{
16691    fn from(
16692        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
16693    ) -> Self {
16694        match err {
16695            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16696            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16697                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16698                source: err.into(),
16699            }),
16700        }
16701    }
16702}
16703impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
16704    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
16705        match err {
16706            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
16707        }
16708    }
16709}
16710impl<R>
16711    From<
16712        ::aws_smithy_runtime_api::client::result::SdkError<
16713            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16714            R,
16715        >,
16716    > for Error
16717where
16718    R: Send + Sync + std::fmt::Debug + 'static,
16719{
16720    fn from(
16721        err: ::aws_smithy_runtime_api::client::result::SdkError<
16722            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16723            R,
16724        >,
16725    ) -> Self {
16726        match err {
16727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16730                source: err.into(),
16731            }),
16732        }
16733    }
16734}
16735impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
16736    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
16737        match err {
16738            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
16739        }
16740    }
16741}
16742impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
16743    for Error
16744where
16745    R: Send + Sync + std::fmt::Debug + 'static,
16746{
16747    fn from(
16748        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
16749    ) -> Self {
16750        match err {
16751            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16752            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16753                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16754                source: err.into(),
16755            }),
16756        }
16757    }
16758}
16759impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
16760    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
16761        match err {
16762            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
16763        }
16764    }
16765}
16766impl<R>
16767    From<
16768        ::aws_smithy_runtime_api::client::result::SdkError<
16769            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16770            R,
16771        >,
16772    > for Error
16773where
16774    R: Send + Sync + std::fmt::Debug + 'static,
16775{
16776    fn from(
16777        err: ::aws_smithy_runtime_api::client::result::SdkError<
16778            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16779            R,
16780        >,
16781    ) -> Self {
16782        match err {
16783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16786                source: err.into(),
16787            }),
16788        }
16789    }
16790}
16791impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
16792    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
16793        match err {
16794            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
16795                Error::Unhandled(inner)
16796            }
16797        }
16798    }
16799}
16800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
16801    for Error
16802where
16803    R: Send + Sync + std::fmt::Debug + 'static,
16804{
16805    fn from(
16806        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
16807    ) -> Self {
16808        match err {
16809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16812                source: err.into(),
16813            }),
16814        }
16815    }
16816}
16817impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
16818    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
16819        match err {
16820            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16821        }
16822    }
16823}
16824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
16825where
16826    R: Send + Sync + std::fmt::Debug + 'static,
16827{
16828    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
16829        match err {
16830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16833                source: err.into(),
16834            }),
16835        }
16836    }
16837}
16838impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
16839    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
16840        match err {
16841            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16842        }
16843    }
16844}
16845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
16846where
16847    R: Send + Sync + std::fmt::Debug + 'static,
16848{
16849    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
16850        match err {
16851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16854                source: err.into(),
16855            }),
16856        }
16857    }
16858}
16859impl From<crate::operation::register_image::RegisterImageError> for Error {
16860    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
16861        match err {
16862            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
16863        }
16864    }
16865}
16866impl<R>
16867    From<
16868        ::aws_smithy_runtime_api::client::result::SdkError<
16869            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16870            R,
16871        >,
16872    > for Error
16873where
16874    R: Send + Sync + std::fmt::Debug + 'static,
16875{
16876    fn from(
16877        err: ::aws_smithy_runtime_api::client::result::SdkError<
16878            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16879            R,
16880        >,
16881    ) -> Self {
16882        match err {
16883            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16884            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16885                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16886                source: err.into(),
16887            }),
16888        }
16889    }
16890}
16891impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
16892    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
16893        match err {
16894            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
16895                Error::Unhandled(inner)
16896            }
16897        }
16898    }
16899}
16900impl<R>
16901    From<
16902        ::aws_smithy_runtime_api::client::result::SdkError<
16903            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16904            R,
16905        >,
16906    > for Error
16907where
16908    R: Send + Sync + std::fmt::Debug + 'static,
16909{
16910    fn from(
16911        err: ::aws_smithy_runtime_api::client::result::SdkError<
16912            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16913            R,
16914        >,
16915    ) -> Self {
16916        match err {
16917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16920                source: err.into(),
16921            }),
16922        }
16923    }
16924}
16925impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
16926    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
16927        match err {
16928            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
16929                inner,
16930            ) => Error::Unhandled(inner),
16931        }
16932    }
16933}
16934impl<R>
16935    From<
16936        ::aws_smithy_runtime_api::client::result::SdkError<
16937            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16938            R,
16939        >,
16940    > for Error
16941where
16942    R: Send + Sync + std::fmt::Debug + 'static,
16943{
16944    fn from(
16945        err: ::aws_smithy_runtime_api::client::result::SdkError<
16946            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16947            R,
16948        >,
16949    ) -> Self {
16950        match err {
16951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16954                source: err.into(),
16955            }),
16956        }
16957    }
16958}
16959impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
16960    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
16961        match err {
16962            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
16963                inner,
16964            ) => Error::Unhandled(inner),
16965        }
16966    }
16967}
16968impl<R>
16969    From<
16970        ::aws_smithy_runtime_api::client::result::SdkError<
16971            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16972            R,
16973        >,
16974    > for Error
16975where
16976    R: Send + Sync + std::fmt::Debug + 'static,
16977{
16978    fn from(
16979        err: ::aws_smithy_runtime_api::client::result::SdkError<
16980            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16981            R,
16982        >,
16983    ) -> Self {
16984        match err {
16985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16988                source: err.into(),
16989            }),
16990        }
16991    }
16992}
16993impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
16994    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
16995        match err {
16996            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
16997                Error::Unhandled(inner)
16998            }
16999        }
17000    }
17001}
17002impl<R>
17003    From<
17004        ::aws_smithy_runtime_api::client::result::SdkError<
17005            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17006            R,
17007        >,
17008    > for Error
17009where
17010    R: Send + Sync + std::fmt::Debug + 'static,
17011{
17012    fn from(
17013        err: ::aws_smithy_runtime_api::client::result::SdkError<
17014            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17015            R,
17016        >,
17017    ) -> Self {
17018        match err {
17019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17022                source: err.into(),
17023            }),
17024        }
17025    }
17026}
17027impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
17028    fn from(
17029        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17030    ) -> Self {
17031        match err {
17032            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
17033        }
17034    }
17035}
17036impl<R>
17037    From<
17038        ::aws_smithy_runtime_api::client::result::SdkError<
17039            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17040            R,
17041        >,
17042    > for Error
17043where
17044    R: Send + Sync + std::fmt::Debug + 'static,
17045{
17046    fn from(
17047        err: ::aws_smithy_runtime_api::client::result::SdkError<
17048            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17049            R,
17050        >,
17051    ) -> Self {
17052        match err {
17053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17056                source: err.into(),
17057            }),
17058        }
17059    }
17060}
17061impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
17062    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
17063        match err {
17064            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
17065                Error::Unhandled(inner)
17066            }
17067        }
17068    }
17069}
17070impl<R>
17071    From<
17072        ::aws_smithy_runtime_api::client::result::SdkError<
17073            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17074            R,
17075        >,
17076    > for Error
17077where
17078    R: Send + Sync + std::fmt::Debug + 'static,
17079{
17080    fn from(
17081        err: ::aws_smithy_runtime_api::client::result::SdkError<
17082            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17083            R,
17084        >,
17085    ) -> Self {
17086        match err {
17087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17090                source: err.into(),
17091            }),
17092        }
17093    }
17094}
17095impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
17096    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
17097        match err {
17098            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17099                Error::Unhandled(inner)
17100            }
17101        }
17102    }
17103}
17104impl<R>
17105    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
17106    for Error
17107where
17108    R: Send + Sync + std::fmt::Debug + 'static,
17109{
17110    fn from(
17111        err: ::aws_smithy_runtime_api::client::result::SdkError<
17112            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
17113            R,
17114        >,
17115    ) -> Self {
17116        match err {
17117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17120                source: err.into(),
17121            }),
17122        }
17123    }
17124}
17125impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
17126    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
17127        match err {
17128            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
17129        }
17130    }
17131}
17132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
17133    for Error
17134where
17135    R: Send + Sync + std::fmt::Debug + 'static,
17136{
17137    fn from(
17138        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
17139    ) -> Self {
17140        match err {
17141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17144                source: err.into(),
17145            }),
17146        }
17147    }
17148}
17149impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
17150    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
17151        match err {
17152            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
17153        }
17154    }
17155}
17156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
17157where
17158    R: Send + Sync + std::fmt::Debug + 'static,
17159{
17160    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
17161        match err {
17162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17165                source: err.into(),
17166            }),
17167        }
17168    }
17169}
17170impl From<crate::operation::release_address::ReleaseAddressError> for Error {
17171    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
17172        match err {
17173            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
17174        }
17175    }
17176}
17177impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
17178where
17179    R: Send + Sync + std::fmt::Debug + 'static,
17180{
17181    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
17182        match err {
17183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17186                source: err.into(),
17187            }),
17188        }
17189    }
17190}
17191impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
17192    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
17193        match err {
17194            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
17195        }
17196    }
17197}
17198impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
17199    for Error
17200where
17201    R: Send + Sync + std::fmt::Debug + 'static,
17202{
17203    fn from(
17204        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
17205    ) -> Self {
17206        match err {
17207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17210                source: err.into(),
17211            }),
17212        }
17213    }
17214}
17215impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
17216    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
17217        match err {
17218            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
17219        }
17220    }
17221}
17222impl<R>
17223    From<
17224        ::aws_smithy_runtime_api::client::result::SdkError<
17225            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17226            R,
17227        >,
17228    > for Error
17229where
17230    R: Send + Sync + std::fmt::Debug + 'static,
17231{
17232    fn from(
17233        err: ::aws_smithy_runtime_api::client::result::SdkError<
17234            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17235            R,
17236        >,
17237    ) -> Self {
17238        match err {
17239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17242                source: err.into(),
17243            }),
17244        }
17245    }
17246}
17247impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
17248    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
17249        match err {
17250            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
17251                Error::Unhandled(inner)
17252            }
17253        }
17254    }
17255}
17256impl<R>
17257    From<
17258        ::aws_smithy_runtime_api::client::result::SdkError<
17259            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17260            R,
17261        >,
17262    > for Error
17263where
17264    R: Send + Sync + std::fmt::Debug + 'static,
17265{
17266    fn from(
17267        err: ::aws_smithy_runtime_api::client::result::SdkError<
17268            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17269            R,
17270        >,
17271    ) -> Self {
17272        match err {
17273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17276                source: err.into(),
17277            }),
17278        }
17279    }
17280}
17281impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
17282    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
17283        match err {
17284            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
17285                inner,
17286            ) => Error::Unhandled(inner),
17287        }
17288    }
17289}
17290impl<R>
17291    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
17292    for Error
17293where
17294    R: Send + Sync + std::fmt::Debug + 'static,
17295{
17296    fn from(
17297        err: ::aws_smithy_runtime_api::client::result::SdkError<
17298            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
17299            R,
17300        >,
17301    ) -> Self {
17302        match err {
17303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17306                source: err.into(),
17307            }),
17308        }
17309    }
17310}
17311impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
17312    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
17313        match err {
17314            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17315        }
17316    }
17317}
17318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
17319    for Error
17320where
17321    R: Send + Sync + std::fmt::Debug + 'static,
17322{
17323    fn from(
17324        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
17325    ) -> Self {
17326        match err {
17327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17330                source: err.into(),
17331            }),
17332        }
17333    }
17334}
17335impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
17336    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
17337        match err {
17338            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
17339        }
17340    }
17341}
17342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
17343where
17344    R: Send + Sync + std::fmt::Debug + 'static,
17345{
17346    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
17347        match err {
17348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17351                source: err.into(),
17352            }),
17353        }
17354    }
17355}
17356impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
17357    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
17358        match err {
17359            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
17360        }
17361    }
17362}
17363impl<R>
17364    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
17365    for Error
17366where
17367    R: Send + Sync + std::fmt::Debug + 'static,
17368{
17369    fn from(
17370        err: ::aws_smithy_runtime_api::client::result::SdkError<
17371            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
17372            R,
17373        >,
17374    ) -> Self {
17375        match err {
17376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17379                source: err.into(),
17380            }),
17381        }
17382    }
17383}
17384impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
17385    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
17386        match err {
17387            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17388        }
17389    }
17390}
17391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
17392    for Error
17393where
17394    R: Send + Sync + std::fmt::Debug + 'static,
17395{
17396    fn from(
17397        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
17398    ) -> Self {
17399        match err {
17400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17403                source: err.into(),
17404            }),
17405        }
17406    }
17407}
17408impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
17409    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
17410        match err {
17411            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
17412        }
17413    }
17414}
17415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
17416where
17417    R: Send + Sync + std::fmt::Debug + 'static,
17418{
17419    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
17420        match err {
17421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17424                source: err.into(),
17425            }),
17426        }
17427    }
17428}
17429impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
17430    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
17431        match err {
17432            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
17433        }
17434    }
17435}
17436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
17437where
17438    R: Send + Sync + std::fmt::Debug + 'static,
17439{
17440    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
17441        match err {
17442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17445                source: err.into(),
17446            }),
17447        }
17448    }
17449}
17450impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
17451    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
17452        match err {
17453            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
17454        }
17455    }
17456}
17457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
17458where
17459    R: Send + Sync + std::fmt::Debug + 'static,
17460{
17461    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> 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::request_spot_fleet::RequestSpotFleetError> for Error {
17472    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
17473        match err {
17474            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
17475        }
17476    }
17477}
17478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
17479where
17480    R: Send + Sync + std::fmt::Debug + 'static,
17481{
17482    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
17483        match err {
17484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17487                source: err.into(),
17488            }),
17489        }
17490    }
17491}
17492impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
17493    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
17494        match err {
17495            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17496        }
17497    }
17498}
17499impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
17500where
17501    R: Send + Sync + std::fmt::Debug + 'static,
17502{
17503    fn from(
17504        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
17505    ) -> Self {
17506        match err {
17507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17510                source: err.into(),
17511            }),
17512        }
17513    }
17514}
17515impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
17516    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
17517        match err {
17518            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17519        }
17520    }
17521}
17522impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
17523    for Error
17524where
17525    R: Send + Sync + std::fmt::Debug + 'static,
17526{
17527    fn from(
17528        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
17529    ) -> Self {
17530        match err {
17531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17534                source: err.into(),
17535            }),
17536        }
17537    }
17538}
17539impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
17540    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
17541        match err {
17542            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
17543        }
17544    }
17545}
17546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
17547    for Error
17548where
17549    R: Send + Sync + std::fmt::Debug + 'static,
17550{
17551    fn from(
17552        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
17553    ) -> Self {
17554        match err {
17555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17558                source: err.into(),
17559            }),
17560        }
17561    }
17562}
17563impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
17564    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
17565        match err {
17566            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17567        }
17568    }
17569}
17570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
17571where
17572    R: Send + Sync + std::fmt::Debug + 'static,
17573{
17574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
17575        match err {
17576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17579                source: err.into(),
17580            }),
17581        }
17582    }
17583}
17584impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
17585    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
17586        match err {
17587            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17588        }
17589    }
17590}
17591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
17592where
17593    R: Send + Sync + std::fmt::Debug + 'static,
17594{
17595    fn from(
17596        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
17597    ) -> Self {
17598        match err {
17599            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17600            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17601                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17602                source: err.into(),
17603            }),
17604        }
17605    }
17606}
17607impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
17608    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
17609        match err {
17610            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17611        }
17612    }
17613}
17614impl<R>
17615    From<
17616        ::aws_smithy_runtime_api::client::result::SdkError<
17617            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17618            R,
17619        >,
17620    > for Error
17621where
17622    R: Send + Sync + std::fmt::Debug + 'static,
17623{
17624    fn from(
17625        err: ::aws_smithy_runtime_api::client::result::SdkError<
17626            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17627            R,
17628        >,
17629    ) -> Self {
17630        match err {
17631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17634                source: err.into(),
17635            }),
17636        }
17637    }
17638}
17639impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
17640    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
17641        match err {
17642            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17643        }
17644    }
17645}
17646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
17647where
17648    R: Send + Sync + std::fmt::Debug + 'static,
17649{
17650    fn from(
17651        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
17652    ) -> Self {
17653        match err {
17654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17657                source: err.into(),
17658            }),
17659        }
17660    }
17661}
17662impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
17663    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
17664        match err {
17665            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17666        }
17667    }
17668}
17669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
17670    for Error
17671where
17672    R: Send + Sync + std::fmt::Debug + 'static,
17673{
17674    fn from(
17675        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
17676    ) -> Self {
17677        match err {
17678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17681                source: err.into(),
17682            }),
17683        }
17684    }
17685}
17686impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
17687    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
17688        match err {
17689            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
17690        }
17691    }
17692}
17693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
17694    for Error
17695where
17696    R: Send + Sync + std::fmt::Debug + 'static,
17697{
17698    fn from(
17699        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
17700    ) -> Self {
17701        match err {
17702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17705                source: err.into(),
17706            }),
17707        }
17708    }
17709}
17710impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
17711    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
17712        match err {
17713            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17714        }
17715    }
17716}
17717impl<R>
17718    From<
17719        ::aws_smithy_runtime_api::client::result::SdkError<
17720            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17721            R,
17722        >,
17723    > for Error
17724where
17725    R: Send + Sync + std::fmt::Debug + 'static,
17726{
17727    fn from(
17728        err: ::aws_smithy_runtime_api::client::result::SdkError<
17729            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17730            R,
17731        >,
17732    ) -> Self {
17733        match err {
17734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17737                source: err.into(),
17738            }),
17739        }
17740    }
17741}
17742impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
17743    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
17744        match err {
17745            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
17746        }
17747    }
17748}
17749impl<R>
17750    From<
17751        ::aws_smithy_runtime_api::client::result::SdkError<
17752            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17753            R,
17754        >,
17755    > for Error
17756where
17757    R: Send + Sync + std::fmt::Debug + 'static,
17758{
17759    fn from(
17760        err: ::aws_smithy_runtime_api::client::result::SdkError<
17761            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17762            R,
17763        >,
17764    ) -> Self {
17765        match err {
17766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17769                source: err.into(),
17770            }),
17771        }
17772    }
17773}
17774impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
17775    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
17776        match err {
17777            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17778        }
17779    }
17780}
17781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
17782where
17783    R: Send + Sync + std::fmt::Debug + 'static,
17784{
17785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
17786        match err {
17787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17790                source: err.into(),
17791            }),
17792        }
17793    }
17794}
17795impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
17796    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
17797        match err {
17798            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
17799        }
17800    }
17801}
17802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
17803    for Error
17804where
17805    R: Send + Sync + std::fmt::Debug + 'static,
17806{
17807    fn from(
17808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
17809    ) -> Self {
17810        match err {
17811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17814                source: err.into(),
17815            }),
17816        }
17817    }
17818}
17819impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
17820    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
17821        match err {
17822            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
17823        }
17824    }
17825}
17826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
17827    for Error
17828where
17829    R: Send + Sync + std::fmt::Debug + 'static,
17830{
17831    fn from(
17832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
17833    ) -> Self {
17834        match err {
17835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17838                source: err.into(),
17839            }),
17840        }
17841    }
17842}
17843impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
17844    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
17845        match err {
17846            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
17847        }
17848    }
17849}
17850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
17851    for Error
17852where
17853    R: Send + Sync + std::fmt::Debug + 'static,
17854{
17855    fn from(
17856        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
17857    ) -> Self {
17858        match err {
17859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17862                source: err.into(),
17863            }),
17864        }
17865    }
17866}
17867impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
17868    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
17869        match err {
17870            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
17871        }
17872    }
17873}
17874impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
17875where
17876    R: Send + Sync + std::fmt::Debug + 'static,
17877{
17878    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
17879        match err {
17880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17883                source: err.into(),
17884            }),
17885        }
17886    }
17887}
17888impl From<crate::operation::run_instances::RunInstancesError> for Error {
17889    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
17890        match err {
17891            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17892        }
17893    }
17894}
17895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
17896where
17897    R: Send + Sync + std::fmt::Debug + 'static,
17898{
17899    fn from(
17900        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
17901    ) -> Self {
17902        match err {
17903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17906                source: err.into(),
17907            }),
17908        }
17909    }
17910}
17911impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
17912    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
17913        match err {
17914            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17915        }
17916    }
17917}
17918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
17919    for Error
17920where
17921    R: Send + Sync + std::fmt::Debug + 'static,
17922{
17923    fn from(
17924        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
17925    ) -> Self {
17926        match err {
17927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17930                source: err.into(),
17931            }),
17932        }
17933    }
17934}
17935impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
17936    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
17937        match err {
17938            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17939        }
17940    }
17941}
17942impl<R>
17943    From<
17944        ::aws_smithy_runtime_api::client::result::SdkError<
17945            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17946            R,
17947        >,
17948    > for Error
17949where
17950    R: Send + Sync + std::fmt::Debug + 'static,
17951{
17952    fn from(
17953        err: ::aws_smithy_runtime_api::client::result::SdkError<
17954            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17955            R,
17956        >,
17957    ) -> Self {
17958        match err {
17959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17962                source: err.into(),
17963            }),
17964        }
17965    }
17966}
17967impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
17968    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
17969        match err {
17970            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
17971                Error::Unhandled(inner)
17972            }
17973        }
17974    }
17975}
17976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
17977    for Error
17978where
17979    R: Send + Sync + std::fmt::Debug + 'static,
17980{
17981    fn from(
17982        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
17983    ) -> Self {
17984        match err {
17985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17988                source: err.into(),
17989            }),
17990        }
17991    }
17992}
17993impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
17994    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
17995        match err {
17996            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17997        }
17998    }
17999}
18000impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
18001    for Error
18002where
18003    R: Send + Sync + std::fmt::Debug + 'static,
18004{
18005    fn from(
18006        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
18007    ) -> Self {
18008        match err {
18009            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18010            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18011                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18012                source: err.into(),
18013            }),
18014        }
18015    }
18016}
18017impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
18018    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
18019        match err {
18020            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
18021        }
18022    }
18023}
18024impl<R>
18025    From<
18026        ::aws_smithy_runtime_api::client::result::SdkError<
18027            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18028            R,
18029        >,
18030    > for Error
18031where
18032    R: Send + Sync + std::fmt::Debug + 'static,
18033{
18034    fn from(
18035        err: ::aws_smithy_runtime_api::client::result::SdkError<
18036            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18037            R,
18038        >,
18039    ) -> Self {
18040        match err {
18041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18044                source: err.into(),
18045            }),
18046        }
18047    }
18048}
18049impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
18050    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
18051        match err {
18052            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
18053        }
18054    }
18055}
18056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
18057where
18058    R: Send + Sync + std::fmt::Debug + 'static,
18059{
18060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
18061        match err {
18062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18065                source: err.into(),
18066            }),
18067        }
18068    }
18069}
18070impl From<crate::operation::start_instances::StartInstancesError> for Error {
18071    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
18072        match err {
18073            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18074        }
18075    }
18076}
18077impl<R>
18078    From<
18079        ::aws_smithy_runtime_api::client::result::SdkError<
18080            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18081            R,
18082        >,
18083    > for Error
18084where
18085    R: Send + Sync + std::fmt::Debug + 'static,
18086{
18087    fn from(
18088        err: ::aws_smithy_runtime_api::client::result::SdkError<
18089            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18090            R,
18091        >,
18092    ) -> Self {
18093        match err {
18094            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18095            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18096                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18097                source: err.into(),
18098            }),
18099        }
18100    }
18101}
18102impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
18103    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
18104        match err {
18105            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
18106                Error::Unhandled(inner)
18107            }
18108        }
18109    }
18110}
18111impl<R>
18112    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
18113    for Error
18114where
18115    R: Send + Sync + std::fmt::Debug + 'static,
18116{
18117    fn from(
18118        err: ::aws_smithy_runtime_api::client::result::SdkError<
18119            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
18120            R,
18121        >,
18122    ) -> Self {
18123        match err {
18124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18127                source: err.into(),
18128            }),
18129        }
18130    }
18131}
18132impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
18133    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
18134        match err {
18135            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
18136        }
18137    }
18138}
18139impl<R>
18140    From<
18141        ::aws_smithy_runtime_api::client::result::SdkError<
18142            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18143            R,
18144        >,
18145    > for Error
18146where
18147    R: Send + Sync + std::fmt::Debug + 'static,
18148{
18149    fn from(
18150        err: ::aws_smithy_runtime_api::client::result::SdkError<
18151            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18152            R,
18153        >,
18154    ) -> Self {
18155        match err {
18156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18159                source: err.into(),
18160            }),
18161        }
18162    }
18163}
18164impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
18165    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
18166        match err {
18167            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
18168                inner,
18169            ) => Error::Unhandled(inner),
18170        }
18171    }
18172}
18173impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
18174where
18175    R: Send + Sync + std::fmt::Debug + 'static,
18176{
18177    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
18178        match err {
18179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18182                source: err.into(),
18183            }),
18184        }
18185    }
18186}
18187impl From<crate::operation::stop_instances::StopInstancesError> for Error {
18188    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
18189        match err {
18190            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18191        }
18192    }
18193}
18194impl<R>
18195    From<
18196        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
18197    > for Error
18198where
18199    R: Send + Sync + std::fmt::Debug + 'static,
18200{
18201    fn from(
18202        err: ::aws_smithy_runtime_api::client::result::SdkError<
18203            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
18204            R,
18205        >,
18206    ) -> Self {
18207        match err {
18208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18211                source: err.into(),
18212            }),
18213        }
18214    }
18215}
18216impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
18217    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
18218        match err {
18219            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18220        }
18221    }
18222}
18223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
18224where
18225    R: Send + Sync + std::fmt::Debug + 'static,
18226{
18227    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
18228        match err {
18229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18232                source: err.into(),
18233            }),
18234        }
18235    }
18236}
18237impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
18238    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
18239        match err {
18240            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18241        }
18242    }
18243}
18244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
18245where
18246    R: Send + Sync + std::fmt::Debug + 'static,
18247{
18248    fn from(
18249        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
18250    ) -> Self {
18251        match err {
18252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18255                source: err.into(),
18256            }),
18257        }
18258    }
18259}
18260impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
18261    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
18262        match err {
18263            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
18264        }
18265    }
18266}
18267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
18268    for Error
18269where
18270    R: Send + Sync + std::fmt::Debug + 'static,
18271{
18272    fn from(
18273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
18274    ) -> Self {
18275        match err {
18276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18279                source: err.into(),
18280            }),
18281        }
18282    }
18283}
18284impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
18285    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
18286        match err {
18287            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
18288        }
18289    }
18290}
18291impl<R>
18292    From<
18293        ::aws_smithy_runtime_api::client::result::SdkError<
18294            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18295            R,
18296        >,
18297    > for Error
18298where
18299    R: Send + Sync + std::fmt::Debug + 'static,
18300{
18301    fn from(
18302        err: ::aws_smithy_runtime_api::client::result::SdkError<
18303            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18304            R,
18305        >,
18306    ) -> Self {
18307        match err {
18308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18311                source: err.into(),
18312            }),
18313        }
18314    }
18315}
18316impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
18317    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
18318        match err {
18319            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
18320                Error::Unhandled(inner)
18321            }
18322        }
18323    }
18324}
18325impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
18326where
18327    R: Send + Sync + std::fmt::Debug + 'static,
18328{
18329    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
18330        match err {
18331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18334                source: err.into(),
18335            }),
18336        }
18337    }
18338}
18339impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
18340    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
18341        match err {
18342            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
18343        }
18344    }
18345}
18346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
18347where
18348    R: Send + Sync + std::fmt::Debug + 'static,
18349{
18350    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
18351        match err {
18352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18355                source: err.into(),
18356            }),
18357        }
18358    }
18359}
18360impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
18361    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
18362        match err {
18363            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18364        }
18365    }
18366}
18367impl<R>
18368    From<
18369        ::aws_smithy_runtime_api::client::result::SdkError<
18370            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18371            R,
18372        >,
18373    > for Error
18374where
18375    R: Send + Sync + std::fmt::Debug + 'static,
18376{
18377    fn from(
18378        err: ::aws_smithy_runtime_api::client::result::SdkError<
18379            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18380            R,
18381        >,
18382    ) -> Self {
18383        match err {
18384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18387                source: err.into(),
18388            }),
18389        }
18390    }
18391}
18392impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
18393    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
18394        match err {
18395            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
18396                Error::Unhandled(inner)
18397            }
18398        }
18399    }
18400}
18401impl<R>
18402    From<
18403        ::aws_smithy_runtime_api::client::result::SdkError<
18404            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18405            R,
18406        >,
18407    > for Error
18408where
18409    R: Send + Sync + std::fmt::Debug + 'static,
18410{
18411    fn from(
18412        err: ::aws_smithy_runtime_api::client::result::SdkError<
18413            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18414            R,
18415        >,
18416    ) -> Self {
18417        match err {
18418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18421                source: err.into(),
18422            }),
18423        }
18424    }
18425}
18426impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
18427    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
18428        match err {
18429            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
18430                Error::Unhandled(inner)
18431            }
18432        }
18433    }
18434}
18435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
18436where
18437    R: Send + Sync + std::fmt::Debug + 'static,
18438{
18439    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
18440        match err {
18441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18444                source: err.into(),
18445            }),
18446        }
18447    }
18448}
18449impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
18450    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
18451        match err {
18452            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18453        }
18454    }
18455}
18456impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
18457where
18458    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
18459    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
18460{
18461    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
18462        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18463            meta: ::std::default::Default::default(),
18464            source: err.into(),
18465        })
18466    }
18467}
18468impl ::std::error::Error for Error {
18469    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
18470        match self {
18471            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
18472        }
18473    }
18474}
18475impl ::aws_types::request_id::RequestId for Error {
18476    fn request_id(&self) -> Option<&str> {
18477        match self {
18478            Self::Unhandled(e) => e.meta.request_id(),
18479        }
18480    }
18481}