aws_sdk_ec2/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
7    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
8    variable wildcard pattern and check `.code()`:
9     \
10       `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
11     \
12    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
13    Unhandled(crate::error::sealed_unhandled::Unhandled),
14}
15impl ::std::fmt::Display for Error {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
17        match self {
18            Error::Unhandled(_) => {
19                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
20                    write!(f, "unhandled error ({code})")
21                } else {
22                    f.write_str("unhandled error")
23                }
24            }
25        }
26    }
27}
28impl From<::aws_smithy_types::error::operation::BuildError> for Error {
29    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
30        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
31            source: value.into(),
32            meta: ::std::default::Default::default(),
33        })
34    }
35}
36impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
37    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
38        match self {
39            Self::Unhandled(inner) => &inner.meta,
40        }
41    }
42}
43impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>> for Error
44where
45    R: Send + Sync + std::fmt::Debug + 'static,
46{
47    fn from(
48        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>,
49    ) -> Self {
50        match err {
51            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
52            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
54                source: err.into(),
55            }),
56        }
57    }
58}
59impl From<crate::operation::accept_address_transfer::AcceptAddressTransferError> for Error {
60    fn from(err: crate::operation::accept_address_transfer::AcceptAddressTransferError) -> Self {
61        match err {
62            crate::operation::accept_address_transfer::AcceptAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
63        }
64    }
65}
66impl<R>
67    From<
68        ::aws_smithy_runtime_api::client::result::SdkError<
69            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
70            R,
71        >,
72    > for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(
77        err: ::aws_smithy_runtime_api::client::result::SdkError<
78            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
79            R,
80        >,
81    ) -> Self {
82        match err {
83            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
84            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
85                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
86                source: err.into(),
87            }),
88        }
89    }
90}
91impl From<crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError> for Error {
92    fn from(err: crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError) -> Self {
93        match err {
94            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError::Unhandled(inner) => {
95                Error::Unhandled(inner)
96            }
97        }
98    }
99}
100impl<R>
101    From<
102        ::aws_smithy_runtime_api::client::result::SdkError<
103            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
104            R,
105        >,
106    > for Error
107where
108    R: Send + Sync + std::fmt::Debug + 'static,
109{
110    fn from(
111        err: ::aws_smithy_runtime_api::client::result::SdkError<
112            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
113            R,
114        >,
115    ) -> Self {
116        match err {
117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
120                source: err.into(),
121            }),
122        }
123    }
124}
125impl From<crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError> for Error {
126    fn from(err: crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError) -> Self {
127        match err {
128            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError::Unhandled(inner) => {
129                Error::Unhandled(inner)
130            }
131        }
132    }
133}
134impl<R>
135    From<
136        ::aws_smithy_runtime_api::client::result::SdkError<
137            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
138            R,
139        >,
140    > for Error
141where
142    R: Send + Sync + std::fmt::Debug + 'static,
143{
144    fn from(
145        err: ::aws_smithy_runtime_api::client::result::SdkError<
146            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
147            R,
148        >,
149    ) -> Self {
150        match err {
151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
154                source: err.into(),
155            }),
156        }
157    }
158}
159impl From<crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError> for Error {
160    fn from(
161        err: crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
162    ) -> Self {
163        match err {
164            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R>
169    From<
170        ::aws_smithy_runtime_api::client::result::SdkError<
171            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
172            R,
173        >,
174    > for Error
175where
176    R: Send + Sync + std::fmt::Debug + 'static,
177{
178    fn from(
179        err: ::aws_smithy_runtime_api::client::result::SdkError<
180            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
181            R,
182        >,
183    ) -> Self {
184        match err {
185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
188                source: err.into(),
189            }),
190        }
191    }
192}
193impl From<crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError> for Error {
194    fn from(err: crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError) -> Self {
195        match err {
196            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
197                Error::Unhandled(inner)
198            }
199        }
200    }
201}
202impl<R>
203    From<
204        ::aws_smithy_runtime_api::client::result::SdkError<
205            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
206            R,
207        >,
208    > for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<
214            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError> for Error {
228    fn from(err: crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError) -> Self {
229        match err {
230            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError::Unhandled(inner) => {
231                Error::Unhandled(inner)
232            }
233        }
234    }
235}
236impl<R>
237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, R>>
238    for Error
239where
240    R: Send + Sync + std::fmt::Debug + 'static,
241{
242    fn from(
243        err: ::aws_smithy_runtime_api::client::result::SdkError<
244            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError,
245            R,
246        >,
247    ) -> Self {
248        match err {
249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
252                source: err.into(),
253            }),
254        }
255    }
256}
257impl From<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError> for Error {
258    fn from(err: crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError) -> Self {
259        match err {
260            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>>
265    for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(
270        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>,
271    ) -> Self {
272        match err {
273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
276                source: err.into(),
277            }),
278        }
279    }
280}
281impl From<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError> for Error {
282    fn from(err: crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError) -> Self {
283        match err {
284            crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>) -> Self {
293        match err {
294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
297                source: err.into(),
298            }),
299        }
300    }
301}
302impl From<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError> for Error {
303    fn from(err: crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError) -> Self {
304        match err {
305            crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
306        }
307    }
308}
309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>> for Error
310where
311    R: Send + Sync + std::fmt::Debug + 'static,
312{
313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>) -> Self {
314        match err {
315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
318                source: err.into(),
319            }),
320        }
321    }
322}
323impl From<crate::operation::allocate_address::AllocateAddressError> for Error {
324    fn from(err: crate::operation::allocate_address::AllocateAddressError) -> Self {
325        match err {
326            crate::operation::allocate_address::AllocateAddressError::Unhandled(inner) => Error::Unhandled(inner),
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::allocate_hosts::AllocateHostsError> for Error {
345    fn from(err: crate::operation::allocate_hosts::AllocateHostsError) -> Self {
346        match err {
347            crate::operation::allocate_hosts::AllocateHostsError::Unhandled(inner) => Error::Unhandled(inner),
348        }
349    }
350}
351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>> for Error
352where
353    R: Send + Sync + std::fmt::Debug + 'static,
354{
355    fn from(
356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>,
357    ) -> Self {
358        match err {
359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362                source: err.into(),
363            }),
364        }
365    }
366}
367impl From<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError> for Error {
368    fn from(err: crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError) -> Self {
369        match err {
370            crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
371        }
372    }
373}
374impl<R>
375    From<
376        ::aws_smithy_runtime_api::client::result::SdkError<
377            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
378            R,
379        >,
380    > for Error
381where
382    R: Send + Sync + std::fmt::Debug + 'static,
383{
384    fn from(
385        err: ::aws_smithy_runtime_api::client::result::SdkError<
386            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
387            R,
388        >,
389    ) -> Self {
390        match err {
391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
394                source: err.into(),
395            }),
396        }
397    }
398}
399impl From<crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError> for Error {
400    fn from(err: crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError) -> Self {
401        match err {
402            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError::Unhandled(
403                inner,
404            ) => Error::Unhandled(inner),
405        }
406    }
407}
408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>> for Error
409where
410    R: Send + Sync + std::fmt::Debug + 'static,
411{
412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>) -> Self {
413        match err {
414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
417                source: err.into(),
418            }),
419        }
420    }
421}
422impl From<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError> for Error {
423    fn from(err: crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError) -> Self {
424        match err {
425            crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>>
430    for Error
431where
432    R: Send + Sync + std::fmt::Debug + 'static,
433{
434    fn from(
435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>,
436    ) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError> for Error {
447    fn from(err: crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError) -> Self {
448        match err {
449            crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R>
454    From<
455        ::aws_smithy_runtime_api::client::result::SdkError<
456            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
457            R,
458        >,
459    > for Error
460where
461    R: Send + Sync + std::fmt::Debug + 'static,
462{
463    fn from(
464        err: ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
466            R,
467        >,
468    ) -> Self {
469        match err {
470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
473                source: err.into(),
474            }),
475        }
476    }
477}
478impl From<crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError> for Error {
479    fn from(err: crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError) -> Self {
480        match err {
481            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
482        }
483    }
484}
485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>> for Error
486where
487    R: Send + Sync + std::fmt::Debug + 'static,
488{
489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>) -> Self {
490        match err {
491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494                source: err.into(),
495            }),
496        }
497    }
498}
499impl From<crate::operation::associate_address::AssociateAddressError> for Error {
500    fn from(err: crate::operation::associate_address::AssociateAddressError) -> Self {
501        match err {
502            crate::operation::associate_address::AssociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
503        }
504    }
505}
506impl<R>
507    From<
508        ::aws_smithy_runtime_api::client::result::SdkError<
509            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
510            R,
511        >,
512    > for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(
517        err: ::aws_smithy_runtime_api::client::result::SdkError<
518            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
519            R,
520        >,
521    ) -> Self {
522        match err {
523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526                source: err.into(),
527            }),
528        }
529    }
530}
531impl From<crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError> for Error {
532    fn from(err: crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError) -> Self {
533        match err {
534            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
535                Error::Unhandled(inner)
536            }
537        }
538    }
539}
540impl<R>
541    From<
542        ::aws_smithy_runtime_api::client::result::SdkError<
543            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
544            R,
545        >,
546    > for Error
547where
548    R: Send + Sync + std::fmt::Debug + 'static,
549{
550    fn from(
551        err: ::aws_smithy_runtime_api::client::result::SdkError<
552            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
553            R,
554        >,
555    ) -> Self {
556        match err {
557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
560                source: err.into(),
561            }),
562        }
563    }
564}
565impl From<crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError> for Error {
566    fn from(err: crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError) -> Self {
567        match err {
568            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError> for Error {
587    fn from(err: crate::operation::associate_dhcp_options::AssociateDhcpOptionsError) -> Self {
588        match err {
589            crate::operation::associate_dhcp_options::AssociateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
590        }
591    }
592}
593impl<R>
594    From<
595        ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
597            R,
598        >,
599    > for Error
600where
601    R: Send + Sync + std::fmt::Debug + 'static,
602{
603    fn from(
604        err: ::aws_smithy_runtime_api::client::result::SdkError<
605            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
606            R,
607        >,
608    ) -> Self {
609        match err {
610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613                source: err.into(),
614            }),
615        }
616    }
617}
618impl From<crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError> for Error {
619    fn from(err: crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError) -> Self {
620        match err {
621            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
622                Error::Unhandled(inner)
623            }
624        }
625    }
626}
627impl<R>
628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, R>>
629    for Error
630where
631    R: Send + Sync + std::fmt::Debug + 'static,
632{
633    fn from(
634        err: ::aws_smithy_runtime_api::client::result::SdkError<
635            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError,
636            R,
637        >,
638    ) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError> for Error {
649    fn from(err: crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError) -> Self {
650        match err {
651            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R>
656    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<
663            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError,
664            R,
665        >,
666    ) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError> for Error {
677    fn from(err: crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError) -> Self {
678        match err {
679            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
680        }
681    }
682}
683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>> for Error
684where
685    R: Send + Sync + std::fmt::Debug + 'static,
686{
687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>) -> Self {
688        match err {
689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692                source: err.into(),
693            }),
694        }
695    }
696}
697impl From<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError> for Error {
698    fn from(err: crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError) -> Self {
699        match err {
700            crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
701        }
702    }
703}
704impl<R>
705    From<
706        ::aws_smithy_runtime_api::client::result::SdkError<
707            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
708            R,
709        >,
710    > for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError> for Error {
730    fn from(err: crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError) -> Self {
731        match err {
732            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>>
737    for Error
738where
739    R: Send + Sync + std::fmt::Debug + 'static,
740{
741    fn from(
742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>,
743    ) -> Self {
744        match err {
745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
748                source: err.into(),
749            }),
750        }
751    }
752}
753impl From<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError> for Error {
754    fn from(err: crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError) -> Self {
755        match err {
756            crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
757        }
758    }
759}
760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>> for Error
761where
762    R: Send + Sync + std::fmt::Debug + 'static,
763{
764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>) -> Self {
765        match err {
766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
769                source: err.into(),
770            }),
771        }
772    }
773}
774impl From<crate::operation::associate_route_server::AssociateRouteServerError> for Error {
775    fn from(err: crate::operation::associate_route_server::AssociateRouteServerError) -> Self {
776        match err {
777            crate::operation::associate_route_server::AssociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>> for Error
782where
783    R: Send + Sync + std::fmt::Debug + 'static,
784{
785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>) -> Self {
786        match err {
787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
790                source: err.into(),
791            }),
792        }
793    }
794}
795impl From<crate::operation::associate_route_table::AssociateRouteTableError> for Error {
796    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
797        match err {
798            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
799        }
800    }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
803    for Error
804where
805    R: Send + Sync + std::fmt::Debug + 'static,
806{
807    fn from(
808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
820    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
821        match err {
822            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
827    for Error
828where
829    R: Send + Sync + std::fmt::Debug + 'static,
830{
831    fn from(
832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
833    ) -> Self {
834        match err {
835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
838                source: err.into(),
839            }),
840        }
841    }
842}
843impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
844    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
845        match err {
846            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R>
851    From<
852        ::aws_smithy_runtime_api::client::result::SdkError<
853            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
854            R,
855        >,
856    > for Error
857where
858    R: Send + Sync + std::fmt::Debug + 'static,
859{
860    fn from(
861        err: ::aws_smithy_runtime_api::client::result::SdkError<
862            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
863            R,
864        >,
865    ) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
876    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
877        match err {
878            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
879                Error::Unhandled(inner)
880            }
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
910    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
911        match err {
912            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
913                Error::Unhandled(inner)
914            }
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
944    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
945        match err {
946            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
947                Error::Unhandled(inner)
948            }
949        }
950    }
951}
952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
953    for Error
954where
955    R: Send + Sync + std::fmt::Debug + 'static,
956{
957    fn from(
958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
959    ) -> Self {
960        match err {
961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
964                source: err.into(),
965            }),
966        }
967    }
968}
969impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
970    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
971        match err {
972            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(
981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
982    ) -> Self {
983        match err {
984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
987                source: err.into(),
988            }),
989        }
990    }
991}
992impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
993    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
994        match err {
995            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
1000where
1001    R: Send + Sync + std::fmt::Debug + 'static,
1002{
1003    fn from(
1004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
1016    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
1017        match err {
1018            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1023where
1024    R: Send + Sync + std::fmt::Debug + 'static,
1025{
1026    fn from(
1027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1028    ) -> Self {
1029        match err {
1030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1033                source: err.into(),
1034            }),
1035        }
1036    }
1037}
1038impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1039    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1040        match err {
1041            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(
1050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1062    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1063        match err {
1064            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1065        }
1066    }
1067}
1068impl<R>
1069    From<
1070        ::aws_smithy_runtime_api::client::result::SdkError<
1071            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1072            R,
1073        >,
1074    > for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<
1080            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1081            R,
1082        >,
1083    ) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1094    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1095        match err {
1096            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1097                Error::Unhandled(inner)
1098            }
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1103where
1104    R: Send + Sync + std::fmt::Debug + 'static,
1105{
1106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1107        match err {
1108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1111                source: err.into(),
1112            }),
1113        }
1114    }
1115}
1116impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1117    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1118        match err {
1119            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>> for Error
1124where
1125    R: Send + Sync + std::fmt::Debug + 'static,
1126{
1127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::attach_vpn_gateway::AttachVpnGatewayError> for Error {
1138    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1139        match err {
1140            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1141        }
1142    }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1145    for Error
1146where
1147    R: Send + Sync + std::fmt::Debug + 'static,
1148{
1149    fn from(
1150        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1162    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1163        match err {
1164            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R>
1169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1170    for Error
1171where
1172    R: Send + Sync + std::fmt::Debug + 'static,
1173{
1174    fn from(
1175        err: ::aws_smithy_runtime_api::client::result::SdkError<
1176            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1177            R,
1178        >,
1179    ) -> Self {
1180        match err {
1181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184                source: err.into(),
1185            }),
1186        }
1187    }
1188}
1189impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1190    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1191        match err {
1192            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R>
1197    From<
1198        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1199    > for Error
1200where
1201    R: Send + Sync + std::fmt::Debug + 'static,
1202{
1203    fn from(
1204        err: ::aws_smithy_runtime_api::client::result::SdkError<
1205            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1206            R,
1207        >,
1208    ) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1219    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1220        match err {
1221            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1226where
1227    R: Send + Sync + std::fmt::Debug + 'static,
1228{
1229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> Self {
1230        match err {
1231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1234                source: err.into(),
1235            }),
1236        }
1237    }
1238}
1239impl From<crate::operation::bundle_instance::BundleInstanceError> for Error {
1240    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1241        match err {
1242            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>> for Error
1247where
1248    R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>) -> Self {
1251        match err {
1252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255                source: err.into(),
1256            }),
1257        }
1258    }
1259}
1260impl From<crate::operation::cancel_bundle_task::CancelBundleTaskError> for Error {
1261    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1262        match err {
1263            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1268    for Error
1269where
1270    R: Send + Sync + std::fmt::Debug + 'static,
1271{
1272    fn from(
1273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1285    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1286        match err {
1287            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1288        }
1289    }
1290}
1291impl<R>
1292    From<
1293        ::aws_smithy_runtime_api::client::result::SdkError<
1294            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1295            R,
1296        >,
1297    > for Error
1298where
1299    R: Send + Sync + std::fmt::Debug + 'static,
1300{
1301    fn from(
1302        err: ::aws_smithy_runtime_api::client::result::SdkError<
1303            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1304            R,
1305        >,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1317    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1318        match err {
1319            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::cancel_conversion_task::CancelConversionTaskError> for Error {
1338    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1339        match err {
1340            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1341        }
1342    }
1343}
1344impl<R>
1345    From<
1346        ::aws_smithy_runtime_api::client::result::SdkError<
1347            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1348            R,
1349        >,
1350    > for Error
1351where
1352    R: Send + Sync + std::fmt::Debug + 'static,
1353{
1354    fn from(
1355        err: ::aws_smithy_runtime_api::client::result::SdkError<
1356            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1357            R,
1358        >,
1359    ) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1370    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1371        match err {
1372            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::cancel_export_task::CancelExportTaskError> for Error {
1391    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1392        match err {
1393            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R>
1398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1399    for Error
1400where
1401    R: Send + Sync + std::fmt::Debug + 'static,
1402{
1403    fn from(
1404        err: ::aws_smithy_runtime_api::client::result::SdkError<
1405            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1406            R,
1407        >,
1408    ) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1419    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1420        match err {
1421            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::cancel_import_task::CancelImportTaskError> for Error {
1440    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1441        match err {
1442            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1472    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1473        match err {
1474            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1479    for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(
1484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1496    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1497        match err {
1498            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1499        }
1500    }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1503    for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(
1508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1509    ) -> Self {
1510        match err {
1511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514                source: err.into(),
1515            }),
1516        }
1517    }
1518}
1519impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1520    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1521        match err {
1522            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(
1531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1532    ) -> Self {
1533        match err {
1534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537                source: err.into(),
1538            }),
1539        }
1540    }
1541}
1542impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1543    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1544        match err {
1545            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> Self {
1554        match err {
1555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558                source: err.into(),
1559            }),
1560        }
1561    }
1562}
1563impl From<crate::operation::copy_fpga_image::CopyFpgaImageError> for Error {
1564    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1565        match err {
1566            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::copy_image::CopyImageError> for Error {
1585    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1586        match err {
1587            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::copy_snapshot::CopySnapshotError> for Error {
1606    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1607        match err {
1608            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_volumes::CopyVolumesError, R>> for Error
1613where
1614    R: Send + Sync + std::fmt::Debug + 'static,
1615{
1616    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_volumes::CopyVolumesError, R>) -> Self {
1617        match err {
1618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1621                source: err.into(),
1622            }),
1623        }
1624    }
1625}
1626impl From<crate::operation::copy_volumes::CopyVolumesError> for Error {
1627    fn from(err: crate::operation::copy_volumes::CopyVolumesError) -> Self {
1628        match err {
1629            crate::operation::copy_volumes::CopyVolumesError::Unhandled(inner) => Error::Unhandled(inner),
1630        }
1631    }
1632}
1633impl<R>
1634    From<
1635        ::aws_smithy_runtime_api::client::result::SdkError<
1636            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError,
1637            R,
1638        >,
1639    > for Error
1640where
1641    R: Send + Sync + std::fmt::Debug + 'static,
1642{
1643    fn from(
1644        err: ::aws_smithy_runtime_api::client::result::SdkError<
1645            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError,
1646            R,
1647        >,
1648    ) -> Self {
1649        match err {
1650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1653                source: err.into(),
1654            }),
1655        }
1656    }
1657}
1658impl From<crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError> for Error {
1659    fn from(err: crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError) -> Self {
1660        match err {
1661            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
1662        }
1663    }
1664}
1665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1666    for Error
1667where
1668    R: Send + Sync + std::fmt::Debug + 'static,
1669{
1670    fn from(
1671        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1672    ) -> Self {
1673        match err {
1674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1677                source: err.into(),
1678            }),
1679        }
1680    }
1681}
1682impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1683    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1684        match err {
1685            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1686        }
1687    }
1688}
1689impl<R>
1690    From<
1691        ::aws_smithy_runtime_api::client::result::SdkError<
1692            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1693            R,
1694        >,
1695    > for Error
1696where
1697    R: Send + Sync + std::fmt::Debug + 'static,
1698{
1699    fn from(
1700        err: ::aws_smithy_runtime_api::client::result::SdkError<
1701            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1702            R,
1703        >,
1704    ) -> Self {
1705        match err {
1706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1709                source: err.into(),
1710            }),
1711        }
1712    }
1713}
1714impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1715    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1716        match err {
1717            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1718                Error::Unhandled(inner)
1719            }
1720        }
1721    }
1722}
1723impl<R>
1724    From<
1725        ::aws_smithy_runtime_api::client::result::SdkError<
1726            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1727            R,
1728        >,
1729    > for Error
1730where
1731    R: Send + Sync + std::fmt::Debug + 'static,
1732{
1733    fn from(
1734        err: ::aws_smithy_runtime_api::client::result::SdkError<
1735            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1736            R,
1737        >,
1738    ) -> Self {
1739        match err {
1740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1743                source: err.into(),
1744            }),
1745        }
1746    }
1747}
1748impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1749    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1750        match err {
1751            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1752        }
1753    }
1754}
1755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1756where
1757    R: Send + Sync + std::fmt::Debug + 'static,
1758{
1759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1760        match err {
1761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1764                source: err.into(),
1765            }),
1766        }
1767    }
1768}
1769impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1770    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1771        match err {
1772            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1773        }
1774    }
1775}
1776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1777    for Error
1778where
1779    R: Send + Sync + std::fmt::Debug + 'static,
1780{
1781    fn from(
1782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1783    ) -> Self {
1784        match err {
1785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1788                source: err.into(),
1789            }),
1790        }
1791    }
1792}
1793impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1794    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1795        match err {
1796            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1797        }
1798    }
1799}
1800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1801where
1802    R: Send + Sync + std::fmt::Debug + 'static,
1803{
1804    fn from(
1805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1806    ) -> Self {
1807        match err {
1808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1811                source: err.into(),
1812            }),
1813        }
1814    }
1815}
1816impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1817    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1818        match err {
1819            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1820        }
1821    }
1822}
1823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1824where
1825    R: Send + Sync + std::fmt::Debug + 'static,
1826{
1827    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1828        match err {
1829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1832                source: err.into(),
1833            }),
1834        }
1835    }
1836}
1837impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1838    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1839        match err {
1840            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1841        }
1842    }
1843}
1844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1845where
1846    R: Send + Sync + std::fmt::Debug + 'static,
1847{
1848    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1849        match err {
1850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1853                source: err.into(),
1854            }),
1855        }
1856    }
1857}
1858impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1859    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1860        match err {
1861            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1862        }
1863    }
1864}
1865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1866where
1867    R: Send + Sync + std::fmt::Debug + 'static,
1868{
1869    fn from(
1870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1871    ) -> Self {
1872        match err {
1873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1876                source: err.into(),
1877            }),
1878        }
1879    }
1880}
1881impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1882    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1883        match err {
1884            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1885        }
1886    }
1887}
1888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1889where
1890    R: Send + Sync + std::fmt::Debug + 'static,
1891{
1892    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1893        match err {
1894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1897                source: err.into(),
1898            }),
1899        }
1900    }
1901}
1902impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1903    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1904        match err {
1905            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1906        }
1907    }
1908}
1909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1910where
1911    R: Send + Sync + std::fmt::Debug + 'static,
1912{
1913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1914        match err {
1915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1918                source: err.into(),
1919            }),
1920        }
1921    }
1922}
1923impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1924    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1925        match err {
1926            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1927        }
1928    }
1929}
1930impl<R>
1931    From<
1932        ::aws_smithy_runtime_api::client::result::SdkError<
1933            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1934            R,
1935        >,
1936    > for Error
1937where
1938    R: Send + Sync + std::fmt::Debug + 'static,
1939{
1940    fn from(
1941        err: ::aws_smithy_runtime_api::client::result::SdkError<
1942            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1943            R,
1944        >,
1945    ) -> Self {
1946        match err {
1947            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1948            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1949                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1950                source: err.into(),
1951            }),
1952        }
1953    }
1954}
1955impl From<crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError> for Error {
1956    fn from(err: crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError) -> Self {
1957        match err {
1958            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError::Unhandled(inner) => {
1959                Error::Unhandled(inner)
1960            }
1961        }
1962    }
1963}
1964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1965where
1966    R: Send + Sync + std::fmt::Debug + 'static,
1967{
1968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1979    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1980        match err {
1981            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1982        }
1983    }
1984}
1985impl<R>
1986    From<
1987        ::aws_smithy_runtime_api::client::result::SdkError<
1988            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1989            R,
1990        >,
1991    > for Error
1992where
1993    R: Send + Sync + std::fmt::Debug + 'static,
1994{
1995    fn from(
1996        err: ::aws_smithy_runtime_api::client::result::SdkError<
1997            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1998            R,
1999        >,
2000    ) -> Self {
2001        match err {
2002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2005                source: err.into(),
2006            }),
2007        }
2008    }
2009}
2010impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
2011    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
2012        match err {
2013            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2014        }
2015    }
2016}
2017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
2018where
2019    R: Send + Sync + std::fmt::Debug + 'static,
2020{
2021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
2022        match err {
2023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2026                source: err.into(),
2027            }),
2028        }
2029    }
2030}
2031impl From<crate::operation::create_fleet::CreateFleetError> for Error {
2032    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
2033        match err {
2034            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
2035        }
2036    }
2037}
2038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
2039where
2040    R: Send + Sync + std::fmt::Debug + 'static,
2041{
2042    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
2043        match err {
2044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2047                source: err.into(),
2048            }),
2049        }
2050    }
2051}
2052impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
2053    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
2054        match err {
2055            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
2056        }
2057    }
2058}
2059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
2060where
2061    R: Send + Sync + std::fmt::Debug + 'static,
2062{
2063    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
2064        match err {
2065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2068                source: err.into(),
2069            }),
2070        }
2071    }
2072}
2073impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
2074    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
2075        match err {
2076            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
2077        }
2078    }
2079}
2080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
2081where
2082    R: Send + Sync + std::fmt::Debug + 'static,
2083{
2084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
2085        match err {
2086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2089                source: err.into(),
2090            }),
2091        }
2092    }
2093}
2094impl From<crate::operation::create_image::CreateImageError> for Error {
2095    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2096        match err {
2097            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>>
2102    for Error
2103where
2104    R: Send + Sync + std::fmt::Debug + 'static,
2105{
2106    fn from(
2107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>,
2108    ) -> Self {
2109        match err {
2110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2113                source: err.into(),
2114            }),
2115        }
2116    }
2117}
2118impl From<crate::operation::create_image_usage_report::CreateImageUsageReportError> for Error {
2119    fn from(err: crate::operation::create_image_usage_report::CreateImageUsageReportError) -> Self {
2120        match err {
2121            crate::operation::create_image_usage_report::CreateImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R>
2126    From<
2127        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2128    > for Error
2129where
2130    R: Send + Sync + std::fmt::Debug + 'static,
2131{
2132    fn from(
2133        err: ::aws_smithy_runtime_api::client::result::SdkError<
2134            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2135            R,
2136        >,
2137    ) -> Self {
2138        match err {
2139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2142                source: err.into(),
2143            }),
2144        }
2145    }
2146}
2147impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2148    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2149        match err {
2150            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2151        }
2152    }
2153}
2154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2155    for Error
2156where
2157    R: Send + Sync + std::fmt::Debug + 'static,
2158{
2159    fn from(
2160        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2161    ) -> Self {
2162        match err {
2163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2166                source: err.into(),
2167            }),
2168        }
2169    }
2170}
2171impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2172    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2173        match err {
2174            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2175        }
2176    }
2177}
2178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2179    for Error
2180where
2181    R: Send + Sync + std::fmt::Debug + 'static,
2182{
2183    fn from(
2184        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2185    ) -> Self {
2186        match err {
2187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2190                source: err.into(),
2191            }),
2192        }
2193    }
2194}
2195impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2196    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2197        match err {
2198            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2199        }
2200    }
2201}
2202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2203where
2204    R: Send + Sync + std::fmt::Debug + 'static,
2205{
2206    fn from(
2207        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2208    ) -> Self {
2209        match err {
2210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2213                source: err.into(),
2214            }),
2215        }
2216    }
2217}
2218impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2219    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2220        match err {
2221            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2222        }
2223    }
2224}
2225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2226where
2227    R: Send + Sync + std::fmt::Debug + 'static,
2228{
2229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2230        match err {
2231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2234                source: err.into(),
2235            }),
2236        }
2237    }
2238}
2239impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2240    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2241        match err {
2242            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2243        }
2244    }
2245}
2246impl<R>
2247    From<
2248        ::aws_smithy_runtime_api::client::result::SdkError<
2249            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2250            R,
2251        >,
2252    > for Error
2253where
2254    R: Send + Sync + std::fmt::Debug + 'static,
2255{
2256    fn from(
2257        err: ::aws_smithy_runtime_api::client::result::SdkError<
2258            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2259            R,
2260        >,
2261    ) -> Self {
2262        match err {
2263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2266                source: err.into(),
2267            }),
2268        }
2269    }
2270}
2271impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2272    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2273        match err {
2274            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2275                inner,
2276            ) => Error::Unhandled(inner),
2277        }
2278    }
2279}
2280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2281where
2282    R: Send + Sync + std::fmt::Debug + 'static,
2283{
2284    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2285        match err {
2286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2289                source: err.into(),
2290            }),
2291        }
2292    }
2293}
2294impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2295    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2296        match err {
2297            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2298        }
2299    }
2300}
2301impl<R>
2302    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError, R>>
2303    for Error
2304where
2305    R: Send + Sync + std::fmt::Debug + 'static,
2306{
2307    fn from(
2308        err: ::aws_smithy_runtime_api::client::result::SdkError<
2309            crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError,
2310            R,
2311        >,
2312    ) -> Self {
2313        match err {
2314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2317                source: err.into(),
2318            }),
2319        }
2320    }
2321}
2322impl From<crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError> for Error {
2323    fn from(err: crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError) -> Self {
2324        match err {
2325            crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
2326        }
2327    }
2328}
2329impl<R>
2330    From<
2331        ::aws_smithy_runtime_api::client::result::SdkError<
2332            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError,
2333            R,
2334        >,
2335    > for Error
2336where
2337    R: Send + Sync + std::fmt::Debug + 'static,
2338{
2339    fn from(
2340        err: ::aws_smithy_runtime_api::client::result::SdkError<
2341            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError,
2342            R,
2343        >,
2344    ) -> Self {
2345        match err {
2346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2349                source: err.into(),
2350            }),
2351        }
2352    }
2353}
2354impl From<crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError> for Error {
2355    fn from(err: crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError) -> Self {
2356        match err {
2357            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError::Unhandled(inner) => {
2358                Error::Unhandled(inner)
2359            }
2360        }
2361    }
2362}
2363impl<R>
2364    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2365    for Error
2366where
2367    R: Send + Sync + std::fmt::Debug + 'static,
2368{
2369    fn from(
2370        err: ::aws_smithy_runtime_api::client::result::SdkError<
2371            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2372            R,
2373        >,
2374    ) -> Self {
2375        match err {
2376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2379                source: err.into(),
2380            }),
2381        }
2382    }
2383}
2384impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2385    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2386        match err {
2387            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2388        }
2389    }
2390}
2391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2392where
2393    R: Send + Sync + std::fmt::Debug + 'static,
2394{
2395    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2396        match err {
2397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2400                source: err.into(),
2401            }),
2402        }
2403    }
2404}
2405impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2406    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2407        match err {
2408            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2409        }
2410    }
2411}
2412impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2413where
2414    R: Send + Sync + std::fmt::Debug + 'static,
2415{
2416    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2417        match err {
2418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2421                source: err.into(),
2422            }),
2423        }
2424    }
2425}
2426impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2427    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2428        match err {
2429            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2430        }
2431    }
2432}
2433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2434where
2435    R: Send + Sync + std::fmt::Debug + 'static,
2436{
2437    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2438        match err {
2439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2442                source: err.into(),
2443            }),
2444        }
2445    }
2446}
2447impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2448    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2449        match err {
2450            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2451        }
2452    }
2453}
2454impl<R>
2455    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2456    for Error
2457where
2458    R: Send + Sync + std::fmt::Debug + 'static,
2459{
2460    fn from(
2461        err: ::aws_smithy_runtime_api::client::result::SdkError<
2462            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2463            R,
2464        >,
2465    ) -> Self {
2466        match err {
2467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2470                source: err.into(),
2471            }),
2472        }
2473    }
2474}
2475impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2476    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2477        match err {
2478            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2479        }
2480    }
2481}
2482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2483    for Error
2484where
2485    R: Send + Sync + std::fmt::Debug + 'static,
2486{
2487    fn from(
2488        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2489    ) -> Self {
2490        match err {
2491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2494                source: err.into(),
2495            }),
2496        }
2497    }
2498}
2499impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2500    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2501        match err {
2502            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2503        }
2504    }
2505}
2506impl<R>
2507    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2508    for Error
2509where
2510    R: Send + Sync + std::fmt::Debug + 'static,
2511{
2512    fn from(
2513        err: ::aws_smithy_runtime_api::client::result::SdkError<
2514            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2515            R,
2516        >,
2517    ) -> Self {
2518        match err {
2519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2522                source: err.into(),
2523            }),
2524        }
2525    }
2526}
2527impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2528    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2529        match err {
2530            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2531        }
2532    }
2533}
2534impl<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 {
2535    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2536        match err {
2537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2538            _ => Error::Unhandled(
2539                                        crate::error::sealed_unhandled::Unhandled {
2540                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2541                                            source: err.into(),
2542                                        }
2543                                    ),
2544        }
2545    }
2546}
2547impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2548    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2549        match err {
2550            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2551        }
2552    }
2553}
2554impl<R>
2555    From<
2556        ::aws_smithy_runtime_api::client::result::SdkError<
2557            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2558            R,
2559        >,
2560    > for Error
2561where
2562    R: Send + Sync + std::fmt::Debug + 'static,
2563{
2564    fn from(
2565        err: ::aws_smithy_runtime_api::client::result::SdkError<
2566            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2567            R,
2568        >,
2569    ) -> Self {
2570        match err {
2571            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2572            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2573                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2574                source: err.into(),
2575            }),
2576        }
2577    }
2578}
2579impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2580    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2581        match err {
2582            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2583                Error::Unhandled(inner)
2584            }
2585        }
2586    }
2587}
2588impl<R>
2589    From<
2590        ::aws_smithy_runtime_api::client::result::SdkError<
2591            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2592            R,
2593        >,
2594    > for Error
2595where
2596    R: Send + Sync + std::fmt::Debug + 'static,
2597{
2598    fn from(
2599        err: ::aws_smithy_runtime_api::client::result::SdkError<
2600            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2601            R,
2602        >,
2603    ) -> Self {
2604        match err {
2605            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2606            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2607                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2608                source: err.into(),
2609            }),
2610        }
2611    }
2612}
2613impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2614    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2615        match err {
2616            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2617                Error::Unhandled(inner)
2618            }
2619        }
2620    }
2621}
2622impl<R>
2623    From<
2624        ::aws_smithy_runtime_api::client::result::SdkError<
2625            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2626            R,
2627        >,
2628    > for Error
2629where
2630    R: Send + Sync + std::fmt::Debug + 'static,
2631{
2632    fn from(
2633        err: ::aws_smithy_runtime_api::client::result::SdkError<
2634            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2635            R,
2636        >,
2637    ) -> Self {
2638        match err {
2639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2642                source: err.into(),
2643            }),
2644        }
2645    }
2646}
2647impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2648    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2649        match err {
2650            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2651                Error::Unhandled(inner)
2652            }
2653        }
2654    }
2655}
2656impl<R>
2657    From<
2658        ::aws_smithy_runtime_api::client::result::SdkError<
2659            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2660            R,
2661        >,
2662    > for Error
2663where
2664    R: Send + Sync + std::fmt::Debug + 'static,
2665{
2666    fn from(
2667        err: ::aws_smithy_runtime_api::client::result::SdkError<
2668            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2669            R,
2670        >,
2671    ) -> Self {
2672        match err {
2673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2676                source: err.into(),
2677            }),
2678        }
2679    }
2680}
2681impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2682    for Error
2683{
2684    fn from(
2685        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2686    ) -> Self {
2687        match err {
2688            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2689        }
2690    }
2691}
2692impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2693    for Error
2694where
2695    R: Send + Sync + std::fmt::Debug + 'static,
2696{
2697    fn from(
2698        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2699    ) -> Self {
2700        match err {
2701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2704                source: err.into(),
2705            }),
2706        }
2707    }
2708}
2709impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2710    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2711        match err {
2712            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2713        }
2714    }
2715}
2716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2717where
2718    R: Send + Sync + std::fmt::Debug + 'static,
2719{
2720    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2721        match err {
2722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2725                source: err.into(),
2726            }),
2727        }
2728    }
2729}
2730impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2731    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2732        match err {
2733            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2734        }
2735    }
2736}
2737impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2738where
2739    R: Send + Sync + std::fmt::Debug + 'static,
2740{
2741    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2742        match err {
2743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2746                source: err.into(),
2747            }),
2748        }
2749    }
2750}
2751impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2752    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2753        match err {
2754            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2755        }
2756    }
2757}
2758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2759where
2760    R: Send + Sync + std::fmt::Debug + 'static,
2761{
2762    fn from(
2763        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2764    ) -> Self {
2765        match err {
2766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2769                source: err.into(),
2770            }),
2771        }
2772    }
2773}
2774impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2775    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2776        match err {
2777            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2778        }
2779    }
2780}
2781impl<R>
2782    From<
2783        ::aws_smithy_runtime_api::client::result::SdkError<
2784            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2785            R,
2786        >,
2787    > for Error
2788where
2789    R: Send + Sync + std::fmt::Debug + 'static,
2790{
2791    fn from(
2792        err: ::aws_smithy_runtime_api::client::result::SdkError<
2793            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2794            R,
2795        >,
2796    ) -> Self {
2797        match err {
2798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2801                source: err.into(),
2802            }),
2803        }
2804    }
2805}
2806impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2807    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2808        match err {
2809            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2810                Error::Unhandled(inner)
2811            }
2812        }
2813    }
2814}
2815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2816    for Error
2817where
2818    R: Send + Sync + std::fmt::Debug + 'static,
2819{
2820    fn from(
2821        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2822    ) -> Self {
2823        match err {
2824            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2825            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2826                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2827                source: err.into(),
2828            }),
2829        }
2830    }
2831}
2832impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2833    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2834        match err {
2835            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2836        }
2837    }
2838}
2839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2840where
2841    R: Send + Sync + std::fmt::Debug + 'static,
2842{
2843    fn from(
2844        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2845    ) -> Self {
2846        match err {
2847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2850                source: err.into(),
2851            }),
2852        }
2853    }
2854}
2855impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2856    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2857        match err {
2858            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2859        }
2860    }
2861}
2862impl<R>
2863    From<
2864        ::aws_smithy_runtime_api::client::result::SdkError<
2865            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2866            R,
2867        >,
2868    > for Error
2869where
2870    R: Send + Sync + std::fmt::Debug + 'static,
2871{
2872    fn from(
2873        err: ::aws_smithy_runtime_api::client::result::SdkError<
2874            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2875            R,
2876        >,
2877    ) -> Self {
2878        match err {
2879            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2880            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2881                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2882                source: err.into(),
2883            }),
2884        }
2885    }
2886}
2887impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2888    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2889        match err {
2890            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2891        }
2892    }
2893}
2894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2895where
2896    R: Send + Sync + std::fmt::Debug + 'static,
2897{
2898    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2899        match err {
2900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2903                source: err.into(),
2904            }),
2905        }
2906    }
2907}
2908impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2909    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2910        match err {
2911            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2912        }
2913    }
2914}
2915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2916where
2917    R: Send + Sync + std::fmt::Debug + 'static,
2918{
2919    fn from(
2920        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2921    ) -> Self {
2922        match err {
2923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2926                source: err.into(),
2927            }),
2928        }
2929    }
2930}
2931impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2932    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2933        match err {
2934            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2935        }
2936    }
2937}
2938impl<R>
2939    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2940    for Error
2941where
2942    R: Send + Sync + std::fmt::Debug + 'static,
2943{
2944    fn from(
2945        err: ::aws_smithy_runtime_api::client::result::SdkError<
2946            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2947            R,
2948        >,
2949    ) -> Self {
2950        match err {
2951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2954                source: err.into(),
2955            }),
2956        }
2957    }
2958}
2959impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2960    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2961        match err {
2962            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2963        }
2964    }
2965}
2966impl<R>
2967    From<
2968        ::aws_smithy_runtime_api::client::result::SdkError<
2969            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2970            R,
2971        >,
2972    > for Error
2973where
2974    R: Send + Sync + std::fmt::Debug + 'static,
2975{
2976    fn from(
2977        err: ::aws_smithy_runtime_api::client::result::SdkError<
2978            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2979            R,
2980        >,
2981    ) -> Self {
2982        match err {
2983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2986                source: err.into(),
2987            }),
2988        }
2989    }
2990}
2991impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2992    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2993        match err {
2994            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2995        }
2996    }
2997}
2998impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2999    for Error
3000where
3001    R: Send + Sync + std::fmt::Debug + 'static,
3002{
3003    fn from(
3004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
3005    ) -> Self {
3006        match err {
3007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3010                source: err.into(),
3011            }),
3012        }
3013    }
3014}
3015impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
3016    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
3017        match err {
3018            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3019        }
3020    }
3021}
3022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
3023where
3024    R: Send + Sync + std::fmt::Debug + 'static,
3025{
3026    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
3027        match err {
3028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3031                source: err.into(),
3032            }),
3033        }
3034    }
3035}
3036impl From<crate::operation::create_route::CreateRouteError> for Error {
3037    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
3038        match err {
3039            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
3040        }
3041    }
3042}
3043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
3044where
3045    R: Send + Sync + std::fmt::Debug + 'static,
3046{
3047    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
3048        match err {
3049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3052                source: err.into(),
3053            }),
3054        }
3055    }
3056}
3057impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
3058    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
3059        match err {
3060            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
3061        }
3062    }
3063}
3064impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
3065    for Error
3066where
3067    R: Send + Sync + std::fmt::Debug + 'static,
3068{
3069    fn from(
3070        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
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_route_server_endpoint::CreateRouteServerEndpointError> for Error {
3082    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
3083        match err {
3084            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3085        }
3086    }
3087}
3088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, 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_route_server_peer::CreateRouteServerPeerError, 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_route_server_peer::CreateRouteServerPeerError> for Error {
3105    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
3106        match err {
3107            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
3108        }
3109    }
3110}
3111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, 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_route_table::CreateRouteTableError, 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_route_table::CreateRouteTableError> for Error {
3126    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
3127        match err {
3128            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3129        }
3130    }
3131}
3132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
3133where
3134    R: Send + Sync + std::fmt::Debug + 'static,
3135{
3136    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
3137        match err {
3138            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3139            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3140                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3141                source: err.into(),
3142            }),
3143        }
3144    }
3145}
3146impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3147    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3148        match err {
3149            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3150        }
3151    }
3152}
3153impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3154where
3155    R: Send + Sync + std::fmt::Debug + 'static,
3156{
3157    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3158        match err {
3159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3162                source: err.into(),
3163            }),
3164        }
3165    }
3166}
3167impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3168    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3169        match err {
3170            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3171        }
3172    }
3173}
3174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3175where
3176    R: Send + Sync + std::fmt::Debug + 'static,
3177{
3178    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3179        match err {
3180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3183                source: err.into(),
3184            }),
3185        }
3186    }
3187}
3188impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3189    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3190        match err {
3191            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3192        }
3193    }
3194}
3195impl<R>
3196    From<
3197        ::aws_smithy_runtime_api::client::result::SdkError<
3198            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3199            R,
3200        >,
3201    > for Error
3202where
3203    R: Send + Sync + std::fmt::Debug + 'static,
3204{
3205    fn from(
3206        err: ::aws_smithy_runtime_api::client::result::SdkError<
3207            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3208            R,
3209        >,
3210    ) -> Self {
3211        match err {
3212            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3213            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3214                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3215                source: err.into(),
3216            }),
3217        }
3218    }
3219}
3220impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3221    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3222        match err {
3223            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3224        }
3225    }
3226}
3227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3228where
3229    R: Send + Sync + std::fmt::Debug + 'static,
3230{
3231    fn from(
3232        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3233    ) -> Self {
3234        match err {
3235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3238                source: err.into(),
3239            }),
3240        }
3241    }
3242}
3243impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3244    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3245        match err {
3246            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3247        }
3248    }
3249}
3250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3251where
3252    R: Send + Sync + std::fmt::Debug + 'static,
3253{
3254    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3255        match err {
3256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3259                source: err.into(),
3260            }),
3261        }
3262    }
3263}
3264impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3265    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3266        match err {
3267            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3268        }
3269    }
3270}
3271impl<R>
3272    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3273    for Error
3274where
3275    R: Send + Sync + std::fmt::Debug + 'static,
3276{
3277    fn from(
3278        err: ::aws_smithy_runtime_api::client::result::SdkError<
3279            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3280            R,
3281        >,
3282    ) -> Self {
3283        match err {
3284            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3285            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3286                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3287                source: err.into(),
3288            }),
3289        }
3290    }
3291}
3292impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3293    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3294        match err {
3295            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3296        }
3297    }
3298}
3299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3300where
3301    R: Send + Sync + std::fmt::Debug + 'static,
3302{
3303    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3304        match err {
3305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3308                source: err.into(),
3309            }),
3310        }
3311    }
3312}
3313impl From<crate::operation::create_tags::CreateTagsError> for Error {
3314    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3315        match err {
3316            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3317        }
3318    }
3319}
3320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3321    for Error
3322where
3323    R: Send + Sync + std::fmt::Debug + 'static,
3324{
3325    fn from(
3326        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3327    ) -> Self {
3328        match err {
3329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3332                source: err.into(),
3333            }),
3334        }
3335    }
3336}
3337impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3338    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3339        match err {
3340            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3341        }
3342    }
3343}
3344impl<R>
3345    From<
3346        ::aws_smithy_runtime_api::client::result::SdkError<
3347            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3348            R,
3349        >,
3350    > for Error
3351where
3352    R: Send + Sync + std::fmt::Debug + 'static,
3353{
3354    fn from(
3355        err: ::aws_smithy_runtime_api::client::result::SdkError<
3356            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3357            R,
3358        >,
3359    ) -> Self {
3360        match err {
3361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3364                source: err.into(),
3365            }),
3366        }
3367    }
3368}
3369impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3370    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3371        match err {
3372            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3373        }
3374    }
3375}
3376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3377    for Error
3378where
3379    R: Send + Sync + std::fmt::Debug + 'static,
3380{
3381    fn from(
3382        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3383    ) -> Self {
3384        match err {
3385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3388                source: err.into(),
3389            }),
3390        }
3391    }
3392}
3393impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3394    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3395        match err {
3396            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3397        }
3398    }
3399}
3400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3401    for Error
3402where
3403    R: Send + Sync + std::fmt::Debug + 'static,
3404{
3405    fn from(
3406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3407    ) -> Self {
3408        match err {
3409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3412                source: err.into(),
3413            }),
3414        }
3415    }
3416}
3417impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3418    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3419        match err {
3420            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3421        }
3422    }
3423}
3424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3425where
3426    R: Send + Sync + std::fmt::Debug + 'static,
3427{
3428    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3429        match err {
3430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3433                source: err.into(),
3434            }),
3435        }
3436    }
3437}
3438impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3439    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3440        match err {
3441            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3442        }
3443    }
3444}
3445impl<R>
3446    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3447    for Error
3448where
3449    R: Send + Sync + std::fmt::Debug + 'static,
3450{
3451    fn from(
3452        err: ::aws_smithy_runtime_api::client::result::SdkError<
3453            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3454            R,
3455        >,
3456    ) -> Self {
3457        match err {
3458            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3459            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3460                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3461                source: err.into(),
3462            }),
3463        }
3464    }
3465}
3466impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3467    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3468        match err {
3469            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3470        }
3471    }
3472}
3473impl<R>
3474    From<
3475        ::aws_smithy_runtime_api::client::result::SdkError<
3476            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3477            R,
3478        >,
3479    > for Error
3480where
3481    R: Send + Sync + std::fmt::Debug + 'static,
3482{
3483    fn from(
3484        err: ::aws_smithy_runtime_api::client::result::SdkError<
3485            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3486            R,
3487        >,
3488    ) -> Self {
3489        match err {
3490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3493                source: err.into(),
3494            }),
3495        }
3496    }
3497}
3498impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3499    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3500        match err {
3501            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3502        }
3503    }
3504}
3505impl<R>
3506    From<
3507        ::aws_smithy_runtime_api::client::result::SdkError<
3508            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3509            R,
3510        >,
3511    > for Error
3512where
3513    R: Send + Sync + std::fmt::Debug + 'static,
3514{
3515    fn from(
3516        err: ::aws_smithy_runtime_api::client::result::SdkError<
3517            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3518            R,
3519        >,
3520    ) -> Self {
3521        match err {
3522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3525                source: err.into(),
3526            }),
3527        }
3528    }
3529}
3530impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3531    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3532        match err {
3533            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3534                Error::Unhandled(inner)
3535            }
3536        }
3537    }
3538}
3539impl<R>
3540    From<
3541        ::aws_smithy_runtime_api::client::result::SdkError<
3542            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3543            R,
3544        >,
3545    > for Error
3546where
3547    R: Send + Sync + std::fmt::Debug + 'static,
3548{
3549    fn from(
3550        err: ::aws_smithy_runtime_api::client::result::SdkError<
3551            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3552            R,
3553        >,
3554    ) -> Self {
3555        match err {
3556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3559                source: err.into(),
3560            }),
3561        }
3562    }
3563}
3564impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3565    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3566        match err {
3567            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3568                Error::Unhandled(inner)
3569            }
3570        }
3571    }
3572}
3573impl<R>
3574    From<
3575        ::aws_smithy_runtime_api::client::result::SdkError<
3576            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3577            R,
3578        >,
3579    > for Error
3580where
3581    R: Send + Sync + std::fmt::Debug + 'static,
3582{
3583    fn from(
3584        err: ::aws_smithy_runtime_api::client::result::SdkError<
3585            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3586            R,
3587        >,
3588    ) -> Self {
3589        match err {
3590            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3591            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3592                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3593                source: err.into(),
3594            }),
3595        }
3596    }
3597}
3598impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3599    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3600        match err {
3601            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3602        }
3603    }
3604}
3605impl<R>
3606    From<
3607        ::aws_smithy_runtime_api::client::result::SdkError<
3608            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3609            R,
3610        >,
3611    > for Error
3612where
3613    R: Send + Sync + std::fmt::Debug + 'static,
3614{
3615    fn from(
3616        err: ::aws_smithy_runtime_api::client::result::SdkError<
3617            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3618            R,
3619        >,
3620    ) -> Self {
3621        match err {
3622            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3623            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3624                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3625                source: err.into(),
3626            }),
3627        }
3628    }
3629}
3630impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3631    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3632        match err {
3633            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3634                Error::Unhandled(inner)
3635            }
3636        }
3637    }
3638}
3639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3640    for Error
3641where
3642    R: Send + Sync + std::fmt::Debug + 'static,
3643{
3644    fn from(
3645        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3646    ) -> Self {
3647        match err {
3648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3651                source: err.into(),
3652            }),
3653        }
3654    }
3655}
3656impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3657    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3658        match err {
3659            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3660        }
3661    }
3662}
3663impl<R>
3664    From<
3665        ::aws_smithy_runtime_api::client::result::SdkError<
3666            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3667            R,
3668        >,
3669    > for Error
3670where
3671    R: Send + Sync + std::fmt::Debug + 'static,
3672{
3673    fn from(
3674        err: ::aws_smithy_runtime_api::client::result::SdkError<
3675            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3676            R,
3677        >,
3678    ) -> Self {
3679        match err {
3680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3683                source: err.into(),
3684            }),
3685        }
3686    }
3687}
3688impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3689    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3690        match err {
3691            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3692        }
3693    }
3694}
3695impl<R>
3696    From<
3697        ::aws_smithy_runtime_api::client::result::SdkError<
3698            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3699            R,
3700        >,
3701    > for Error
3702where
3703    R: Send + Sync + std::fmt::Debug + 'static,
3704{
3705    fn from(
3706        err: ::aws_smithy_runtime_api::client::result::SdkError<
3707            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3708            R,
3709        >,
3710    ) -> Self {
3711        match err {
3712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3715                source: err.into(),
3716            }),
3717        }
3718    }
3719}
3720impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3721    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3722        match err {
3723            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3724                Error::Unhandled(inner)
3725            }
3726        }
3727    }
3728}
3729impl<R>
3730    From<
3731        ::aws_smithy_runtime_api::client::result::SdkError<
3732            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3733            R,
3734        >,
3735    > for Error
3736where
3737    R: Send + Sync + std::fmt::Debug + 'static,
3738{
3739    fn from(
3740        err: ::aws_smithy_runtime_api::client::result::SdkError<
3741            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3742            R,
3743        >,
3744    ) -> Self {
3745        match err {
3746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3749                source: err.into(),
3750            }),
3751        }
3752    }
3753}
3754impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3755    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3756        match err {
3757            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3758                Error::Unhandled(inner)
3759            }
3760        }
3761    }
3762}
3763impl<R>
3764    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3765    for Error
3766where
3767    R: Send + Sync + std::fmt::Debug + 'static,
3768{
3769    fn from(
3770        err: ::aws_smithy_runtime_api::client::result::SdkError<
3771            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3772            R,
3773        >,
3774    ) -> Self {
3775        match err {
3776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3779                source: err.into(),
3780            }),
3781        }
3782    }
3783}
3784impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3785    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3786        match err {
3787            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3788        }
3789    }
3790}
3791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3792    for Error
3793where
3794    R: Send + Sync + std::fmt::Debug + 'static,
3795{
3796    fn from(
3797        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3798    ) -> Self {
3799        match err {
3800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3803                source: err.into(),
3804            }),
3805        }
3806    }
3807}
3808impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3809    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3810        match err {
3811            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3812        }
3813    }
3814}
3815impl<R>
3816    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3817    for Error
3818where
3819    R: Send + Sync + std::fmt::Debug + 'static,
3820{
3821    fn from(
3822        err: ::aws_smithy_runtime_api::client::result::SdkError<
3823            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3824            R,
3825        >,
3826    ) -> Self {
3827        match err {
3828            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3829            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3830                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3831                source: err.into(),
3832            }),
3833        }
3834    }
3835}
3836impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3837    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3838        match err {
3839            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3840        }
3841    }
3842}
3843impl<R>
3844    From<
3845        ::aws_smithy_runtime_api::client::result::SdkError<
3846            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3847            R,
3848        >,
3849    > for Error
3850where
3851    R: Send + Sync + std::fmt::Debug + 'static,
3852{
3853    fn from(
3854        err: ::aws_smithy_runtime_api::client::result::SdkError<
3855            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3856            R,
3857        >,
3858    ) -> Self {
3859        match err {
3860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3863                source: err.into(),
3864            }),
3865        }
3866    }
3867}
3868impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3869    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3870        match err {
3871            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3872                Error::Unhandled(inner)
3873            }
3874        }
3875    }
3876}
3877impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3878where
3879    R: Send + Sync + std::fmt::Debug + 'static,
3880{
3881    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3882        match err {
3883            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3884            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3885                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3886                source: err.into(),
3887            }),
3888        }
3889    }
3890}
3891impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3892    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3893        match err {
3894            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3895        }
3896    }
3897}
3898impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3899where
3900    R: Send + Sync + std::fmt::Debug + 'static,
3901{
3902    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3903        match err {
3904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3907                source: err.into(),
3908            }),
3909        }
3910    }
3911}
3912impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3913    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3914        match err {
3915            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3916        }
3917    }
3918}
3919impl<R>
3920    From<
3921        ::aws_smithy_runtime_api::client::result::SdkError<
3922            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3923            R,
3924        >,
3925    > for Error
3926where
3927    R: Send + Sync + std::fmt::Debug + 'static,
3928{
3929    fn from(
3930        err: ::aws_smithy_runtime_api::client::result::SdkError<
3931            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3932            R,
3933        >,
3934    ) -> Self {
3935        match err {
3936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3939                source: err.into(),
3940            }),
3941        }
3942    }
3943}
3944impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3945    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3946        match err {
3947            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3948                Error::Unhandled(inner)
3949            }
3950        }
3951    }
3952}
3953impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3954where
3955    R: Send + Sync + std::fmt::Debug + 'static,
3956{
3957    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3958        match err {
3959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3962                source: err.into(),
3963            }),
3964        }
3965    }
3966}
3967impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3968    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3969        match err {
3970            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3971        }
3972    }
3973}
3974impl<R>
3975    From<
3976        ::aws_smithy_runtime_api::client::result::SdkError<
3977            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3978            R,
3979        >,
3980    > for Error
3981where
3982    R: Send + Sync + std::fmt::Debug + 'static,
3983{
3984    fn from(
3985        err: ::aws_smithy_runtime_api::client::result::SdkError<
3986            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3987            R,
3988        >,
3989    ) -> Self {
3990        match err {
3991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3994                source: err.into(),
3995            }),
3996        }
3997    }
3998}
3999impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
4000    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
4001        match err {
4002            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
4003                Error::Unhandled(inner)
4004            }
4005        }
4006    }
4007}
4008impl<R>
4009    From<
4010        ::aws_smithy_runtime_api::client::result::SdkError<
4011            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4012            R,
4013        >,
4014    > for Error
4015where
4016    R: Send + Sync + std::fmt::Debug + 'static,
4017{
4018    fn from(
4019        err: ::aws_smithy_runtime_api::client::result::SdkError<
4020            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4021            R,
4022        >,
4023    ) -> Self {
4024        match err {
4025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4028                source: err.into(),
4029            }),
4030        }
4031    }
4032}
4033impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
4034    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
4035        match err {
4036            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
4037                Error::Unhandled(inner)
4038            }
4039        }
4040    }
4041}
4042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
4043    for Error
4044where
4045    R: Send + Sync + std::fmt::Debug + 'static,
4046{
4047    fn from(
4048        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
4049    ) -> Self {
4050        match err {
4051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4054                source: err.into(),
4055            }),
4056        }
4057    }
4058}
4059impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
4060    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
4061        match err {
4062            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4063        }
4064    }
4065}
4066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
4067where
4068    R: Send + Sync + std::fmt::Debug + 'static,
4069{
4070    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
4071        match err {
4072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4075                source: err.into(),
4076            }),
4077        }
4078    }
4079}
4080impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
4081    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
4082        match err {
4083            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4084        }
4085    }
4086}
4087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
4088    for Error
4089where
4090    R: Send + Sync + std::fmt::Debug + 'static,
4091{
4092    fn from(
4093        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
4094    ) -> Self {
4095        match err {
4096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4099                source: err.into(),
4100            }),
4101        }
4102    }
4103}
4104impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
4105    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
4106        match err {
4107            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
4108        }
4109    }
4110}
4111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
4112where
4113    R: Send + Sync + std::fmt::Debug + 'static,
4114{
4115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
4116        match err {
4117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4120                source: err.into(),
4121            }),
4122        }
4123    }
4124}
4125impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
4126    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
4127        match err {
4128            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4129        }
4130    }
4131}
4132impl<R>
4133    From<
4134        ::aws_smithy_runtime_api::client::result::SdkError<
4135            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4136            R,
4137        >,
4138    > for Error
4139where
4140    R: Send + Sync + std::fmt::Debug + 'static,
4141{
4142    fn from(
4143        err: ::aws_smithy_runtime_api::client::result::SdkError<
4144            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4145            R,
4146        >,
4147    ) -> Self {
4148        match err {
4149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4152                source: err.into(),
4153            }),
4154        }
4155    }
4156}
4157impl From<crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError> for Error {
4158    fn from(err: crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError) -> Self {
4159        match err {
4160            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
4161        }
4162    }
4163}
4164impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
4165where
4166    R: Send + Sync + std::fmt::Debug + 'static,
4167{
4168    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
4169        match err {
4170            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4171            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4172                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4173                source: err.into(),
4174            }),
4175        }
4176    }
4177}
4178impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4179    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4180        match err {
4181            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4182        }
4183    }
4184}
4185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4186    for Error
4187where
4188    R: Send + Sync + std::fmt::Debug + 'static,
4189{
4190    fn from(
4191        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4192    ) -> Self {
4193        match err {
4194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4197                source: err.into(),
4198            }),
4199        }
4200    }
4201}
4202impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4203    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4204        match err {
4205            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4206        }
4207    }
4208}
4209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4210where
4211    R: Send + Sync + std::fmt::Debug + 'static,
4212{
4213    fn from(
4214        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4215    ) -> Self {
4216        match err {
4217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4220                source: err.into(),
4221            }),
4222        }
4223    }
4224}
4225impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4226    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4227        match err {
4228            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4229        }
4230    }
4231}
4232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4233where
4234    R: Send + Sync + std::fmt::Debug + 'static,
4235{
4236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4237        match err {
4238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4241                source: err.into(),
4242            }),
4243        }
4244    }
4245}
4246impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4247    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4248        match err {
4249            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4250        }
4251    }
4252}
4253impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4254where
4255    R: Send + Sync + std::fmt::Debug + 'static,
4256{
4257    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4258        match err {
4259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4262                source: err.into(),
4263            }),
4264        }
4265    }
4266}
4267impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4268    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4269        match err {
4270            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4271        }
4272    }
4273}
4274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4275where
4276    R: Send + Sync + std::fmt::Debug + 'static,
4277{
4278    fn from(
4279        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4280    ) -> Self {
4281        match err {
4282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4285                source: err.into(),
4286            }),
4287        }
4288    }
4289}
4290impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4291    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4292        match err {
4293            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4294        }
4295    }
4296}
4297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4298where
4299    R: Send + Sync + std::fmt::Debug + 'static,
4300{
4301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> 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_dhcp_options::DeleteDhcpOptionsError> for Error {
4312    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4313        match err {
4314            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4315        }
4316    }
4317}
4318impl<R>
4319    From<
4320        ::aws_smithy_runtime_api::client::result::SdkError<
4321            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4322            R,
4323        >,
4324    > for Error
4325where
4326    R: Send + Sync + std::fmt::Debug + 'static,
4327{
4328    fn from(
4329        err: ::aws_smithy_runtime_api::client::result::SdkError<
4330            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4331            R,
4332        >,
4333    ) -> Self {
4334        match err {
4335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4338                source: err.into(),
4339            }),
4340        }
4341    }
4342}
4343impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4344    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4345        match err {
4346            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4347        }
4348    }
4349}
4350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4351where
4352    R: Send + Sync + std::fmt::Debug + 'static,
4353{
4354    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> 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_fleets::DeleteFleetsError> for Error {
4365    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4366        match err {
4367            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4368        }
4369    }
4370}
4371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4372where
4373    R: Send + Sync + std::fmt::Debug + 'static,
4374{
4375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4376        match err {
4377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4380                source: err.into(),
4381            }),
4382        }
4383    }
4384}
4385impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4386    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4387        match err {
4388            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4389        }
4390    }
4391}
4392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4393where
4394    R: Send + Sync + std::fmt::Debug + 'static,
4395{
4396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4397        match err {
4398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4401                source: err.into(),
4402            }),
4403        }
4404    }
4405}
4406impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4407    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4408        match err {
4409            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4410        }
4411    }
4412}
4413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>>
4414    for Error
4415where
4416    R: Send + Sync + std::fmt::Debug + 'static,
4417{
4418    fn from(
4419        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>,
4420    ) -> Self {
4421        match err {
4422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4425                source: err.into(),
4426            }),
4427        }
4428    }
4429}
4430impl From<crate::operation::delete_image_usage_report::DeleteImageUsageReportError> for Error {
4431    fn from(err: crate::operation::delete_image_usage_report::DeleteImageUsageReportError) -> Self {
4432        match err {
4433            crate::operation::delete_image_usage_report::DeleteImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
4434        }
4435    }
4436}
4437impl<R>
4438    From<
4439        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4440    > for Error
4441where
4442    R: Send + Sync + std::fmt::Debug + 'static,
4443{
4444    fn from(
4445        err: ::aws_smithy_runtime_api::client::result::SdkError<
4446            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4447            R,
4448        >,
4449    ) -> Self {
4450        match err {
4451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4454                source: err.into(),
4455            }),
4456        }
4457    }
4458}
4459impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4460    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4461        match err {
4462            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4463        }
4464    }
4465}
4466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4467    for Error
4468where
4469    R: Send + Sync + std::fmt::Debug + 'static,
4470{
4471    fn from(
4472        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4473    ) -> Self {
4474        match err {
4475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4478                source: err.into(),
4479            }),
4480        }
4481    }
4482}
4483impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4484    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4485        match err {
4486            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4487        }
4488    }
4489}
4490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4491where
4492    R: Send + Sync + std::fmt::Debug + 'static,
4493{
4494    fn from(
4495        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4496    ) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4501                source: err.into(),
4502            }),
4503        }
4504    }
4505}
4506impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4507    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4508        match err {
4509            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4510        }
4511    }
4512}
4513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4514where
4515    R: Send + Sync + std::fmt::Debug + 'static,
4516{
4517    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4518        match err {
4519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4522                source: err.into(),
4523            }),
4524        }
4525    }
4526}
4527impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4528    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4529        match err {
4530            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4531        }
4532    }
4533}
4534impl<R>
4535    From<
4536        ::aws_smithy_runtime_api::client::result::SdkError<
4537            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4538            R,
4539        >,
4540    > for Error
4541where
4542    R: Send + Sync + std::fmt::Debug + 'static,
4543{
4544    fn from(
4545        err: ::aws_smithy_runtime_api::client::result::SdkError<
4546            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4547            R,
4548        >,
4549    ) -> Self {
4550        match err {
4551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4554                source: err.into(),
4555            }),
4556        }
4557    }
4558}
4559impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4560    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4561        match err {
4562            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4563                inner,
4564            ) => Error::Unhandled(inner),
4565        }
4566    }
4567}
4568impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4569where
4570    R: Send + Sync + std::fmt::Debug + 'static,
4571{
4572    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4573        match err {
4574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4577                source: err.into(),
4578            }),
4579        }
4580    }
4581}
4582impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4583    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4584        match err {
4585            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4586        }
4587    }
4588}
4589impl<R>
4590    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError, R>>
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_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError,
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_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError> for Error {
4611    fn from(err: crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError) -> Self {
4612        match err {
4613            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
4614        }
4615    }
4616}
4617impl<R>
4618    From<
4619        ::aws_smithy_runtime_api::client::result::SdkError<
4620            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4621            R,
4622        >,
4623    > for Error
4624where
4625    R: Send + Sync + std::fmt::Debug + 'static,
4626{
4627    fn from(
4628        err: ::aws_smithy_runtime_api::client::result::SdkError<
4629            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4630            R,
4631        >,
4632    ) -> Self {
4633        match err {
4634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4637                source: err.into(),
4638            }),
4639        }
4640    }
4641}
4642impl From<crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError> for Error {
4643    fn from(err: crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError) -> Self {
4644        match err {
4645            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError::Unhandled(inner) => {
4646                Error::Unhandled(inner)
4647            }
4648        }
4649    }
4650}
4651impl<R>
4652    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4653    for Error
4654where
4655    R: Send + Sync + std::fmt::Debug + 'static,
4656{
4657    fn from(
4658        err: ::aws_smithy_runtime_api::client::result::SdkError<
4659            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4660            R,
4661        >,
4662    ) -> Self {
4663        match err {
4664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4667                source: err.into(),
4668            }),
4669        }
4670    }
4671}
4672impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4673    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4674        match err {
4675            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4676        }
4677    }
4678}
4679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4680where
4681    R: Send + Sync + std::fmt::Debug + 'static,
4682{
4683    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4684        match err {
4685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4688                source: err.into(),
4689            }),
4690        }
4691    }
4692}
4693impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4694    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4695        match err {
4696            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4697        }
4698    }
4699}
4700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4701where
4702    R: Send + Sync + std::fmt::Debug + 'static,
4703{
4704    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4705        match err {
4706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4709                source: err.into(),
4710            }),
4711        }
4712    }
4713}
4714impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4715    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4716        match err {
4717            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4718        }
4719    }
4720}
4721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4722where
4723    R: Send + Sync + std::fmt::Debug + 'static,
4724{
4725    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4726        match err {
4727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4730                source: err.into(),
4731            }),
4732        }
4733    }
4734}
4735impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4736    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4737        match err {
4738            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4739        }
4740    }
4741}
4742impl<R>
4743    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4744    for Error
4745where
4746    R: Send + Sync + std::fmt::Debug + 'static,
4747{
4748    fn from(
4749        err: ::aws_smithy_runtime_api::client::result::SdkError<
4750            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4751            R,
4752        >,
4753    ) -> Self {
4754        match err {
4755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4758                source: err.into(),
4759            }),
4760        }
4761    }
4762}
4763impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4764    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4765        match err {
4766            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4767        }
4768    }
4769}
4770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4771    for Error
4772where
4773    R: Send + Sync + std::fmt::Debug + 'static,
4774{
4775    fn from(
4776        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4777    ) -> Self {
4778        match err {
4779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4782                source: err.into(),
4783            }),
4784        }
4785    }
4786}
4787impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4788    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4789        match err {
4790            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4791        }
4792    }
4793}
4794impl<R>
4795    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4796    for Error
4797where
4798    R: Send + Sync + std::fmt::Debug + 'static,
4799{
4800    fn from(
4801        err: ::aws_smithy_runtime_api::client::result::SdkError<
4802            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4803            R,
4804        >,
4805    ) -> Self {
4806        match err {
4807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4810                source: err.into(),
4811            }),
4812        }
4813    }
4814}
4815impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4816    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4817        match err {
4818            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4819        }
4820    }
4821}
4822impl<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 {
4823    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4824        match err {
4825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4826            _ => Error::Unhandled(
4827                                        crate::error::sealed_unhandled::Unhandled {
4828                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4829                                            source: err.into(),
4830                                        }
4831                                    ),
4832        }
4833    }
4834}
4835impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4836    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4837        match err {
4838            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4839        }
4840    }
4841}
4842impl<R>
4843    From<
4844        ::aws_smithy_runtime_api::client::result::SdkError<
4845            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4846            R,
4847        >,
4848    > for Error
4849where
4850    R: Send + Sync + std::fmt::Debug + 'static,
4851{
4852    fn from(
4853        err: ::aws_smithy_runtime_api::client::result::SdkError<
4854            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4855            R,
4856        >,
4857    ) -> Self {
4858        match err {
4859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4862                source: err.into(),
4863            }),
4864        }
4865    }
4866}
4867impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4868    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4869        match err {
4870            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4871                Error::Unhandled(inner)
4872            }
4873        }
4874    }
4875}
4876impl<R>
4877    From<
4878        ::aws_smithy_runtime_api::client::result::SdkError<
4879            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4880            R,
4881        >,
4882    > for Error
4883where
4884    R: Send + Sync + std::fmt::Debug + 'static,
4885{
4886    fn from(
4887        err: ::aws_smithy_runtime_api::client::result::SdkError<
4888            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4889            R,
4890        >,
4891    ) -> Self {
4892        match err {
4893            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4894            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4895                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4896                source: err.into(),
4897            }),
4898        }
4899    }
4900}
4901impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4902    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4903        match err {
4904            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4905                Error::Unhandled(inner)
4906            }
4907        }
4908    }
4909}
4910impl<R>
4911    From<
4912        ::aws_smithy_runtime_api::client::result::SdkError<
4913            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4914            R,
4915        >,
4916    > for Error
4917where
4918    R: Send + Sync + std::fmt::Debug + 'static,
4919{
4920    fn from(
4921        err: ::aws_smithy_runtime_api::client::result::SdkError<
4922            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4923            R,
4924        >,
4925    ) -> Self {
4926        match err {
4927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4930                source: err.into(),
4931            }),
4932        }
4933    }
4934}
4935impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
4936    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
4937        match err {
4938            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
4939                Error::Unhandled(inner)
4940            }
4941        }
4942    }
4943}
4944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4945    for Error
4946where
4947    R: Send + Sync + std::fmt::Debug + 'static,
4948{
4949    fn from(
4950        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4951    ) -> Self {
4952        match err {
4953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4956                source: err.into(),
4957            }),
4958        }
4959    }
4960}
4961impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4962    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4963        match err {
4964            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4965        }
4966    }
4967}
4968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4969where
4970    R: Send + Sync + std::fmt::Debug + 'static,
4971{
4972    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4973        match err {
4974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4977                source: err.into(),
4978            }),
4979        }
4980    }
4981}
4982impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4983    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4984        match err {
4985            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4986        }
4987    }
4988}
4989impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4990where
4991    R: Send + Sync + std::fmt::Debug + 'static,
4992{
4993    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4994        match err {
4995            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4996            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4997                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4998                source: err.into(),
4999            }),
5000        }
5001    }
5002}
5003impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
5004    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
5005        match err {
5006            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
5007        }
5008    }
5009}
5010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
5011where
5012    R: Send + Sync + std::fmt::Debug + 'static,
5013{
5014    fn from(
5015        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
5016    ) -> Self {
5017        match err {
5018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5021                source: err.into(),
5022            }),
5023        }
5024    }
5025}
5026impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
5027    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
5028        match err {
5029            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
5030        }
5031    }
5032}
5033impl<R>
5034    From<
5035        ::aws_smithy_runtime_api::client::result::SdkError<
5036            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5037            R,
5038        >,
5039    > for Error
5040where
5041    R: Send + Sync + std::fmt::Debug + 'static,
5042{
5043    fn from(
5044        err: ::aws_smithy_runtime_api::client::result::SdkError<
5045            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5046            R,
5047        >,
5048    ) -> Self {
5049        match err {
5050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5053                source: err.into(),
5054            }),
5055        }
5056    }
5057}
5058impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
5059    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
5060        match err {
5061            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
5062                Error::Unhandled(inner)
5063            }
5064        }
5065    }
5066}
5067impl<R>
5068    From<
5069        ::aws_smithy_runtime_api::client::result::SdkError<
5070            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5071            R,
5072        >,
5073    > for Error
5074where
5075    R: Send + Sync + std::fmt::Debug + 'static,
5076{
5077    fn from(
5078        err: ::aws_smithy_runtime_api::client::result::SdkError<
5079            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5080            R,
5081        >,
5082    ) -> Self {
5083        match err {
5084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5087                source: err.into(),
5088            }),
5089        }
5090    }
5091}
5092impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
5093    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
5094        match err {
5095            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
5096                Error::Unhandled(inner)
5097            }
5098        }
5099    }
5100}
5101impl<R>
5102    From<
5103        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
5104    > for Error
5105where
5106    R: Send + Sync + std::fmt::Debug + 'static,
5107{
5108    fn from(
5109        err: ::aws_smithy_runtime_api::client::result::SdkError<
5110            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
5111            R,
5112        >,
5113    ) -> Self {
5114        match err {
5115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5118                source: err.into(),
5119            }),
5120        }
5121    }
5122}
5123impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
5124    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
5125        match err {
5126            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
5127        }
5128    }
5129}
5130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
5131    for Error
5132where
5133    R: Send + Sync + std::fmt::Debug + 'static,
5134{
5135    fn from(
5136        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
5137    ) -> Self {
5138        match err {
5139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5142                source: err.into(),
5143            }),
5144        }
5145    }
5146}
5147impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
5148    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
5149        match err {
5150            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
5151        }
5152    }
5153}
5154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
5155where
5156    R: Send + Sync + std::fmt::Debug + 'static,
5157{
5158    fn from(
5159        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
5160    ) -> 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_network_interface::DeleteNetworkInterfaceError> for Error {
5171    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
5172        match err {
5173            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
5174        }
5175    }
5176}
5177impl<R>
5178    From<
5179        ::aws_smithy_runtime_api::client::result::SdkError<
5180            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
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_network_interface_permission::DeleteNetworkInterfacePermissionError,
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_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
5203    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
5204        match err {
5205            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
5206        }
5207    }
5208}
5209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, 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_placement_group::DeletePlacementGroupError, 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_placement_group::DeletePlacementGroupError> for Error {
5224    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
5225        match err {
5226            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
5227        }
5228    }
5229}
5230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
5231where
5232    R: Send + Sync + std::fmt::Debug + 'static,
5233{
5234    fn from(
5235        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
5236    ) -> Self {
5237        match err {
5238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5241                source: err.into(),
5242            }),
5243        }
5244    }
5245}
5246impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
5247    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
5248        match err {
5249            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
5250        }
5251    }
5252}
5253impl<R>
5254    From<
5255        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
5256    > for Error
5257where
5258    R: Send + Sync + std::fmt::Debug + 'static,
5259{
5260    fn from(
5261        err: ::aws_smithy_runtime_api::client::result::SdkError<
5262            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5263            R,
5264        >,
5265    ) -> Self {
5266        match err {
5267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5270                source: err.into(),
5271            }),
5272        }
5273    }
5274}
5275impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5276    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5277        match err {
5278            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5279        }
5280    }
5281}
5282impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5283where
5284    R: Send + Sync + std::fmt::Debug + 'static,
5285{
5286    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> 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_route::DeleteRouteError> for Error {
5297    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5298        match err {
5299            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5300        }
5301    }
5302}
5303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5304where
5305    R: Send + Sync + std::fmt::Debug + 'static,
5306{
5307    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5308        match err {
5309            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5310            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5311                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5312                source: err.into(),
5313            }),
5314        }
5315    }
5316}
5317impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5318    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5319        match err {
5320            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5321        }
5322    }
5323}
5324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5325    for Error
5326where
5327    R: Send + Sync + std::fmt::Debug + 'static,
5328{
5329    fn from(
5330        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5331    ) -> Self {
5332        match err {
5333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5336                source: err.into(),
5337            }),
5338        }
5339    }
5340}
5341impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5342    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5343        match err {
5344            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5345        }
5346    }
5347}
5348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5349where
5350    R: Send + Sync + std::fmt::Debug + 'static,
5351{
5352    fn from(
5353        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5354    ) -> Self {
5355        match err {
5356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5359                source: err.into(),
5360            }),
5361        }
5362    }
5363}
5364impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5365    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5366        match err {
5367            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5368        }
5369    }
5370}
5371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5372where
5373    R: Send + Sync + std::fmt::Debug + 'static,
5374{
5375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5376        match err {
5377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5380                source: err.into(),
5381            }),
5382        }
5383    }
5384}
5385impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5386    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5387        match err {
5388            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5389        }
5390    }
5391}
5392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5393where
5394    R: Send + Sync + std::fmt::Debug + 'static,
5395{
5396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5397        match err {
5398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5401                source: err.into(),
5402            }),
5403        }
5404    }
5405}
5406impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5407    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5408        match err {
5409            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5410        }
5411    }
5412}
5413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5414where
5415    R: Send + Sync + std::fmt::Debug + 'static,
5416{
5417    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5418        match err {
5419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5422                source: err.into(),
5423            }),
5424        }
5425    }
5426}
5427impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5428    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5429        match err {
5430            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5431        }
5432    }
5433}
5434impl<R>
5435    From<
5436        ::aws_smithy_runtime_api::client::result::SdkError<
5437            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5438            R,
5439        >,
5440    > for Error
5441where
5442    R: Send + Sync + std::fmt::Debug + 'static,
5443{
5444    fn from(
5445        err: ::aws_smithy_runtime_api::client::result::SdkError<
5446            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5447            R,
5448        >,
5449    ) -> Self {
5450        match err {
5451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5454                source: err.into(),
5455            }),
5456        }
5457    }
5458}
5459impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5460    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5461        match err {
5462            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5463        }
5464    }
5465}
5466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5467where
5468    R: Send + Sync + std::fmt::Debug + 'static,
5469{
5470    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5471        match err {
5472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5475                source: err.into(),
5476            }),
5477        }
5478    }
5479}
5480impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5481    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5482        match err {
5483            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5484        }
5485    }
5486}
5487impl<R>
5488    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5489    for Error
5490where
5491    R: Send + Sync + std::fmt::Debug + 'static,
5492{
5493    fn from(
5494        err: ::aws_smithy_runtime_api::client::result::SdkError<
5495            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5496            R,
5497        >,
5498    ) -> Self {
5499        match err {
5500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5503                source: err.into(),
5504            }),
5505        }
5506    }
5507}
5508impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5509    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5510        match err {
5511            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5512        }
5513    }
5514}
5515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5516where
5517    R: Send + Sync + std::fmt::Debug + 'static,
5518{
5519    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5520        match err {
5521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5524                source: err.into(),
5525            }),
5526        }
5527    }
5528}
5529impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5530    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5531        match err {
5532            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5533        }
5534    }
5535}
5536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5537    for Error
5538where
5539    R: Send + Sync + std::fmt::Debug + 'static,
5540{
5541    fn from(
5542        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5543    ) -> Self {
5544        match err {
5545            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5546            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5547                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5548                source: err.into(),
5549            }),
5550        }
5551    }
5552}
5553impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5554    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5555        match err {
5556            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5557        }
5558    }
5559}
5560impl<R>
5561    From<
5562        ::aws_smithy_runtime_api::client::result::SdkError<
5563            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5564            R,
5565        >,
5566    > for Error
5567where
5568    R: Send + Sync + std::fmt::Debug + 'static,
5569{
5570    fn from(
5571        err: ::aws_smithy_runtime_api::client::result::SdkError<
5572            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5573            R,
5574        >,
5575    ) -> Self {
5576        match err {
5577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5580                source: err.into(),
5581            }),
5582        }
5583    }
5584}
5585impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5586    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5587        match err {
5588            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5589        }
5590    }
5591}
5592impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5593    for Error
5594where
5595    R: Send + Sync + std::fmt::Debug + 'static,
5596{
5597    fn from(
5598        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5599    ) -> Self {
5600        match err {
5601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5604                source: err.into(),
5605            }),
5606        }
5607    }
5608}
5609impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5610    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5611        match err {
5612            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5613        }
5614    }
5615}
5616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5617    for Error
5618where
5619    R: Send + Sync + std::fmt::Debug + 'static,
5620{
5621    fn from(
5622        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5623    ) -> Self {
5624        match err {
5625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5628                source: err.into(),
5629            }),
5630        }
5631    }
5632}
5633impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5634    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5635        match err {
5636            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5637        }
5638    }
5639}
5640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5641where
5642    R: Send + Sync + std::fmt::Debug + 'static,
5643{
5644    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5645        match err {
5646            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5647            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5648                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5649                source: err.into(),
5650            }),
5651        }
5652    }
5653}
5654impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5655    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5656        match err {
5657            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5658        }
5659    }
5660}
5661impl<R>
5662    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5663    for Error
5664where
5665    R: Send + Sync + std::fmt::Debug + 'static,
5666{
5667    fn from(
5668        err: ::aws_smithy_runtime_api::client::result::SdkError<
5669            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5670            R,
5671        >,
5672    ) -> Self {
5673        match err {
5674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5677                source: err.into(),
5678            }),
5679        }
5680    }
5681}
5682impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5683    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5684        match err {
5685            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5686        }
5687    }
5688}
5689impl<R>
5690    From<
5691        ::aws_smithy_runtime_api::client::result::SdkError<
5692            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5693            R,
5694        >,
5695    > for Error
5696where
5697    R: Send + Sync + std::fmt::Debug + 'static,
5698{
5699    fn from(
5700        err: ::aws_smithy_runtime_api::client::result::SdkError<
5701            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5702            R,
5703        >,
5704    ) -> Self {
5705        match err {
5706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5709                source: err.into(),
5710            }),
5711        }
5712    }
5713}
5714impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5715    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5716        match err {
5717            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5718        }
5719    }
5720}
5721impl<R>
5722    From<
5723        ::aws_smithy_runtime_api::client::result::SdkError<
5724            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5725            R,
5726        >,
5727    > for Error
5728where
5729    R: Send + Sync + std::fmt::Debug + 'static,
5730{
5731    fn from(
5732        err: ::aws_smithy_runtime_api::client::result::SdkError<
5733            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5734            R,
5735        >,
5736    ) -> Self {
5737        match err {
5738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5741                source: err.into(),
5742            }),
5743        }
5744    }
5745}
5746impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5747    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5748        match err {
5749            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5750                Error::Unhandled(inner)
5751            }
5752        }
5753    }
5754}
5755impl<R>
5756    From<
5757        ::aws_smithy_runtime_api::client::result::SdkError<
5758            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5759            R,
5760        >,
5761    > for Error
5762where
5763    R: Send + Sync + std::fmt::Debug + 'static,
5764{
5765    fn from(
5766        err: ::aws_smithy_runtime_api::client::result::SdkError<
5767            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5768            R,
5769        >,
5770    ) -> Self {
5771        match err {
5772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5775                source: err.into(),
5776            }),
5777        }
5778    }
5779}
5780impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5781    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5782        match err {
5783            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5784                Error::Unhandled(inner)
5785            }
5786        }
5787    }
5788}
5789impl<R>
5790    From<
5791        ::aws_smithy_runtime_api::client::result::SdkError<
5792            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5793            R,
5794        >,
5795    > for Error
5796where
5797    R: Send + Sync + std::fmt::Debug + 'static,
5798{
5799    fn from(
5800        err: ::aws_smithy_runtime_api::client::result::SdkError<
5801            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5802            R,
5803        >,
5804    ) -> Self {
5805        match err {
5806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5809                source: err.into(),
5810            }),
5811        }
5812    }
5813}
5814impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5815    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5816        match err {
5817            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5818        }
5819    }
5820}
5821impl<R>
5822    From<
5823        ::aws_smithy_runtime_api::client::result::SdkError<
5824            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5825            R,
5826        >,
5827    > for Error
5828where
5829    R: Send + Sync + std::fmt::Debug + 'static,
5830{
5831    fn from(
5832        err: ::aws_smithy_runtime_api::client::result::SdkError<
5833            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5834            R,
5835        >,
5836    ) -> Self {
5837        match err {
5838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5841                source: err.into(),
5842            }),
5843        }
5844    }
5845}
5846impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5847    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5848        match err {
5849            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5850                Error::Unhandled(inner)
5851            }
5852        }
5853    }
5854}
5855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5856    for Error
5857where
5858    R: Send + Sync + std::fmt::Debug + 'static,
5859{
5860    fn from(
5861        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5862    ) -> Self {
5863        match err {
5864            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5865            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5866                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5867                source: err.into(),
5868            }),
5869        }
5870    }
5871}
5872impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5873    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5874        match err {
5875            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5876        }
5877    }
5878}
5879impl<R>
5880    From<
5881        ::aws_smithy_runtime_api::client::result::SdkError<
5882            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5883            R,
5884        >,
5885    > for Error
5886where
5887    R: Send + Sync + std::fmt::Debug + 'static,
5888{
5889    fn from(
5890        err: ::aws_smithy_runtime_api::client::result::SdkError<
5891            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5892            R,
5893        >,
5894    ) -> Self {
5895        match err {
5896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5899                source: err.into(),
5900            }),
5901        }
5902    }
5903}
5904impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5905    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5906        match err {
5907            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5908        }
5909    }
5910}
5911impl<R>
5912    From<
5913        ::aws_smithy_runtime_api::client::result::SdkError<
5914            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5915            R,
5916        >,
5917    > for Error
5918where
5919    R: Send + Sync + std::fmt::Debug + 'static,
5920{
5921    fn from(
5922        err: ::aws_smithy_runtime_api::client::result::SdkError<
5923            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5924            R,
5925        >,
5926    ) -> Self {
5927        match err {
5928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5931                source: err.into(),
5932            }),
5933        }
5934    }
5935}
5936impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5937    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5938        match err {
5939            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5940                Error::Unhandled(inner)
5941            }
5942        }
5943    }
5944}
5945impl<R>
5946    From<
5947        ::aws_smithy_runtime_api::client::result::SdkError<
5948            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5949            R,
5950        >,
5951    > for Error
5952where
5953    R: Send + Sync + std::fmt::Debug + 'static,
5954{
5955    fn from(
5956        err: ::aws_smithy_runtime_api::client::result::SdkError<
5957            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5958            R,
5959        >,
5960    ) -> Self {
5961        match err {
5962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5965                source: err.into(),
5966            }),
5967        }
5968    }
5969}
5970impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5971    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5972        match err {
5973            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5974                Error::Unhandled(inner)
5975            }
5976        }
5977    }
5978}
5979impl<R>
5980    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5981    for Error
5982where
5983    R: Send + Sync + std::fmt::Debug + 'static,
5984{
5985    fn from(
5986        err: ::aws_smithy_runtime_api::client::result::SdkError<
5987            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5988            R,
5989        >,
5990    ) -> Self {
5991        match err {
5992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5995                source: err.into(),
5996            }),
5997        }
5998    }
5999}
6000impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
6001    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
6002        match err {
6003            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
6004        }
6005    }
6006}
6007impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
6008    for Error
6009where
6010    R: Send + Sync + std::fmt::Debug + 'static,
6011{
6012    fn from(
6013        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
6014    ) -> Self {
6015        match err {
6016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6019                source: err.into(),
6020            }),
6021        }
6022    }
6023}
6024impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
6025    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
6026        match err {
6027            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
6028        }
6029    }
6030}
6031impl<R>
6032    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
6033    for Error
6034where
6035    R: Send + Sync + std::fmt::Debug + 'static,
6036{
6037    fn from(
6038        err: ::aws_smithy_runtime_api::client::result::SdkError<
6039            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
6040            R,
6041        >,
6042    ) -> Self {
6043        match err {
6044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6047                source: err.into(),
6048            }),
6049        }
6050    }
6051}
6052impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
6053    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
6054        match err {
6055            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
6056        }
6057    }
6058}
6059impl<R>
6060    From<
6061        ::aws_smithy_runtime_api::client::result::SdkError<
6062            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6063            R,
6064        >,
6065    > for Error
6066where
6067    R: Send + Sync + std::fmt::Debug + 'static,
6068{
6069    fn from(
6070        err: ::aws_smithy_runtime_api::client::result::SdkError<
6071            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6072            R,
6073        >,
6074    ) -> 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_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
6085    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
6086        match err {
6087            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
6088                Error::Unhandled(inner)
6089            }
6090        }
6091    }
6092}
6093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
6094where
6095    R: Send + Sync + std::fmt::Debug + 'static,
6096{
6097    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
6098        match err {
6099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6102                source: err.into(),
6103            }),
6104        }
6105    }
6106}
6107impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
6108    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
6109        match err {
6110            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
6111        }
6112    }
6113}
6114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
6115where
6116    R: Send + Sync + std::fmt::Debug + 'static,
6117{
6118    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> 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::delete_vpc::DeleteVpcError> for Error {
6129    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
6130        match err {
6131            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
6132        }
6133    }
6134}
6135impl<R>
6136    From<
6137        ::aws_smithy_runtime_api::client::result::SdkError<
6138            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6139            R,
6140        >,
6141    > for Error
6142where
6143    R: Send + Sync + std::fmt::Debug + 'static,
6144{
6145    fn from(
6146        err: ::aws_smithy_runtime_api::client::result::SdkError<
6147            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6148            R,
6149        >,
6150    ) -> Self {
6151        match err {
6152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6155                source: err.into(),
6156            }),
6157        }
6158    }
6159}
6160impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
6161    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
6162        match err {
6163            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
6164                Error::Unhandled(inner)
6165            }
6166        }
6167    }
6168}
6169impl<R>
6170    From<
6171        ::aws_smithy_runtime_api::client::result::SdkError<
6172            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6173            R,
6174        >,
6175    > for Error
6176where
6177    R: Send + Sync + std::fmt::Debug + 'static,
6178{
6179    fn from(
6180        err: ::aws_smithy_runtime_api::client::result::SdkError<
6181            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6182            R,
6183        >,
6184    ) -> Self {
6185        match err {
6186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6189                source: err.into(),
6190            }),
6191        }
6192    }
6193}
6194impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
6195    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
6196        match err {
6197            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
6198                Error::Unhandled(inner)
6199            }
6200        }
6201    }
6202}
6203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
6204where
6205    R: Send + Sync + std::fmt::Debug + 'static,
6206{
6207    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
6208        match err {
6209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6212                source: err.into(),
6213            }),
6214        }
6215    }
6216}
6217impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
6218    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
6219        match err {
6220            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6221        }
6222    }
6223}
6224impl<R>
6225    From<
6226        ::aws_smithy_runtime_api::client::result::SdkError<
6227            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6228            R,
6229        >,
6230    > for Error
6231where
6232    R: Send + Sync + std::fmt::Debug + 'static,
6233{
6234    fn from(
6235        err: ::aws_smithy_runtime_api::client::result::SdkError<
6236            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6237            R,
6238        >,
6239    ) -> Self {
6240        match err {
6241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6244                source: err.into(),
6245            }),
6246        }
6247    }
6248}
6249impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
6250    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
6251        match err {
6252            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
6253                Error::Unhandled(inner)
6254            }
6255        }
6256    }
6257}
6258impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6259    for Error
6260where
6261    R: Send + Sync + std::fmt::Debug + 'static,
6262{
6263    fn from(
6264        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6265    ) -> Self {
6266        match err {
6267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6270                source: err.into(),
6271            }),
6272        }
6273    }
6274}
6275impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6276    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6277        match err {
6278            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6279        }
6280    }
6281}
6282impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6283where
6284    R: Send + Sync + std::fmt::Debug + 'static,
6285{
6286    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6287        match err {
6288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6291                source: err.into(),
6292            }),
6293        }
6294    }
6295}
6296impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6297    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6298        match err {
6299            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6300        }
6301    }
6302}
6303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6304    for Error
6305where
6306    R: Send + Sync + std::fmt::Debug + 'static,
6307{
6308    fn from(
6309        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6310    ) -> Self {
6311        match err {
6312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6315                source: err.into(),
6316            }),
6317        }
6318    }
6319}
6320impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6321    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6322        match err {
6323            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6324        }
6325    }
6326}
6327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6328where
6329    R: Send + Sync + std::fmt::Debug + 'static,
6330{
6331    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6332        match err {
6333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6336                source: err.into(),
6337            }),
6338        }
6339    }
6340}
6341impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6342    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6343        match err {
6344            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6345        }
6346    }
6347}
6348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6349where
6350    R: Send + Sync + std::fmt::Debug + 'static,
6351{
6352    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6353        match err {
6354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6357                source: err.into(),
6358            }),
6359        }
6360    }
6361}
6362impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6363    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6364        match err {
6365            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6366        }
6367    }
6368}
6369impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6370where
6371    R: Send + Sync + std::fmt::Debug + 'static,
6372{
6373    fn from(
6374        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6375    ) -> Self {
6376        match err {
6377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6380                source: err.into(),
6381            }),
6382        }
6383    }
6384}
6385impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6386    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6387        match err {
6388            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6389        }
6390    }
6391}
6392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6393    for Error
6394where
6395    R: Send + Sync + std::fmt::Debug + 'static,
6396{
6397    fn from(
6398        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6399    ) -> Self {
6400        match err {
6401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6404                source: err.into(),
6405            }),
6406        }
6407    }
6408}
6409impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6410    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6411        match err {
6412            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6413        }
6414    }
6415}
6416impl<R>
6417    From<
6418        ::aws_smithy_runtime_api::client::result::SdkError<
6419            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6420            R,
6421        >,
6422    > for Error
6423where
6424    R: Send + Sync + std::fmt::Debug + 'static,
6425{
6426    fn from(
6427        err: ::aws_smithy_runtime_api::client::result::SdkError<
6428            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6429            R,
6430        >,
6431    ) -> Self {
6432        match err {
6433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6436                source: err.into(),
6437            }),
6438        }
6439    }
6440}
6441impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6442    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6443        match err {
6444            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6445        }
6446    }
6447}
6448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6449where
6450    R: Send + Sync + std::fmt::Debug + 'static,
6451{
6452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6453        match err {
6454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6457                source: err.into(),
6458            }),
6459        }
6460    }
6461}
6462impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6463    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6464        match err {
6465            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6466        }
6467    }
6468}
6469impl<R>
6470    From<
6471        ::aws_smithy_runtime_api::client::result::SdkError<
6472            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6473            R,
6474        >,
6475    > for Error
6476where
6477    R: Send + Sync + std::fmt::Debug + 'static,
6478{
6479    fn from(
6480        err: ::aws_smithy_runtime_api::client::result::SdkError<
6481            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6482            R,
6483        >,
6484    ) -> Self {
6485        match err {
6486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6489                source: err.into(),
6490            }),
6491        }
6492    }
6493}
6494impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6495    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6496        match err {
6497            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6498                inner,
6499            ) => Error::Unhandled(inner),
6500        }
6501    }
6502}
6503impl<R>
6504    From<
6505        ::aws_smithy_runtime_api::client::result::SdkError<
6506            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6507            R,
6508        >,
6509    > for Error
6510where
6511    R: Send + Sync + std::fmt::Debug + 'static,
6512{
6513    fn from(
6514        err: ::aws_smithy_runtime_api::client::result::SdkError<
6515            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6516            R,
6517        >,
6518    ) -> Self {
6519        match err {
6520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6523                source: err.into(),
6524            }),
6525        }
6526    }
6527}
6528impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6529    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6530        match err {
6531            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6532                inner,
6533            ) => Error::Unhandled(inner),
6534        }
6535    }
6536}
6537impl<R>
6538    From<
6539        ::aws_smithy_runtime_api::client::result::SdkError<
6540            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6541            R,
6542        >,
6543    > for Error
6544where
6545    R: Send + Sync + std::fmt::Debug + 'static,
6546{
6547    fn from(
6548        err: ::aws_smithy_runtime_api::client::result::SdkError<
6549            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6550            R,
6551        >,
6552    ) -> Self {
6553        match err {
6554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6557                source: err.into(),
6558            }),
6559        }
6560    }
6561}
6562impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6563    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6564        match err {
6565            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6566                inner,
6567            ) => Error::Unhandled(inner),
6568        }
6569    }
6570}
6571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6572    for Error
6573where
6574    R: Send + Sync + std::fmt::Debug + 'static,
6575{
6576    fn from(
6577        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6578    ) -> Self {
6579        match err {
6580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6583                source: err.into(),
6584            }),
6585        }
6586    }
6587}
6588impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6589    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6590        match err {
6591            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6592        }
6593    }
6594}
6595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6596where
6597    R: Send + Sync + std::fmt::Debug + 'static,
6598{
6599    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6600        match err {
6601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6604                source: err.into(),
6605            }),
6606        }
6607    }
6608}
6609impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6610    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6611        match err {
6612            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6613        }
6614    }
6615}
6616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6617    for Error
6618where
6619    R: Send + Sync + std::fmt::Debug + 'static,
6620{
6621    fn from(
6622        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6623    ) -> Self {
6624        match err {
6625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6628                source: err.into(),
6629            }),
6630        }
6631    }
6632}
6633impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6634    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6635        match err {
6636            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6637        }
6638    }
6639}
6640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6641    for Error
6642where
6643    R: Send + Sync + std::fmt::Debug + 'static,
6644{
6645    fn from(
6646        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6647    ) -> Self {
6648        match err {
6649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6652                source: err.into(),
6653            }),
6654        }
6655    }
6656}
6657impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6658    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6659        match err {
6660            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6661        }
6662    }
6663}
6664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6665    for Error
6666where
6667    R: Send + Sync + std::fmt::Debug + 'static,
6668{
6669    fn from(
6670        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6671    ) -> Self {
6672        match err {
6673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6676                source: err.into(),
6677            }),
6678        }
6679    }
6680}
6681impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6682    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6683        match err {
6684            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6685        }
6686    }
6687}
6688impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6689    for Error
6690where
6691    R: Send + Sync + std::fmt::Debug + 'static,
6692{
6693    fn from(
6694        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6695    ) -> Self {
6696        match err {
6697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6700                source: err.into(),
6701            }),
6702        }
6703    }
6704}
6705impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6706    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6707        match err {
6708            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6709        }
6710    }
6711}
6712impl<R>
6713    From<
6714        ::aws_smithy_runtime_api::client::result::SdkError<
6715            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6716            R,
6717        >,
6718    > for Error
6719where
6720    R: Send + Sync + std::fmt::Debug + 'static,
6721{
6722    fn from(
6723        err: ::aws_smithy_runtime_api::client::result::SdkError<
6724            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6725            R,
6726        >,
6727    ) -> Self {
6728        match err {
6729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6732                source: err.into(),
6733            }),
6734        }
6735    }
6736}
6737impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6738    fn from(
6739        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6740    ) -> Self {
6741        match err {
6742            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6743        }
6744    }
6745}
6746impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6747where
6748    R: Send + Sync + std::fmt::Debug + 'static,
6749{
6750    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6751        match err {
6752            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6753            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6754                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6755                source: err.into(),
6756            }),
6757        }
6758    }
6759}
6760impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6761    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6762        match err {
6763            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6764        }
6765    }
6766}
6767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6768where
6769    R: Send + Sync + std::fmt::Debug + 'static,
6770{
6771    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6772        match err {
6773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6776                source: err.into(),
6777            }),
6778        }
6779    }
6780}
6781impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6782    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6783        match err {
6784            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6785        }
6786    }
6787}
6788impl<R>
6789    From<
6790        ::aws_smithy_runtime_api::client::result::SdkError<
6791            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6792            R,
6793        >,
6794    > for Error
6795where
6796    R: Send + Sync + std::fmt::Debug + 'static,
6797{
6798    fn from(
6799        err: ::aws_smithy_runtime_api::client::result::SdkError<
6800            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6801            R,
6802        >,
6803    ) -> Self {
6804        match err {
6805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6808                source: err.into(),
6809            }),
6810        }
6811    }
6812}
6813impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6814    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6815        match err {
6816            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6817                Error::Unhandled(inner)
6818            }
6819        }
6820    }
6821}
6822impl<R>
6823    From<
6824        ::aws_smithy_runtime_api::client::result::SdkError<
6825            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6826            R,
6827        >,
6828    > for Error
6829where
6830    R: Send + Sync + std::fmt::Debug + 'static,
6831{
6832    fn from(
6833        err: ::aws_smithy_runtime_api::client::result::SdkError<
6834            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6835            R,
6836        >,
6837    ) -> Self {
6838        match err {
6839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6842                source: err.into(),
6843            }),
6844        }
6845    }
6846}
6847impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6848    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6849        match err {
6850            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6851                Error::Unhandled(inner)
6852            }
6853        }
6854    }
6855}
6856impl<R>
6857    From<
6858        ::aws_smithy_runtime_api::client::result::SdkError<
6859            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6860            R,
6861        >,
6862    > for Error
6863where
6864    R: Send + Sync + std::fmt::Debug + 'static,
6865{
6866    fn from(
6867        err: ::aws_smithy_runtime_api::client::result::SdkError<
6868            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6869            R,
6870        >,
6871    ) -> Self {
6872        match err {
6873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6876                source: err.into(),
6877            }),
6878        }
6879    }
6880}
6881impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6882    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6883        match err {
6884            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6885        }
6886    }
6887}
6888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
6889where
6890    R: Send + Sync + std::fmt::Debug + 'static,
6891{
6892    fn from(
6893        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
6894    ) -> Self {
6895        match err {
6896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6899                source: err.into(),
6900            }),
6901        }
6902    }
6903}
6904impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
6905    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
6906        match err {
6907            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
6908        }
6909    }
6910}
6911impl<R>
6912    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
6913    for Error
6914where
6915    R: Send + Sync + std::fmt::Debug + 'static,
6916{
6917    fn from(
6918        err: ::aws_smithy_runtime_api::client::result::SdkError<
6919            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
6920            R,
6921        >,
6922    ) -> Self {
6923        match err {
6924            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6925            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6926                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6927                source: err.into(),
6928            }),
6929        }
6930    }
6931}
6932impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
6933    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
6934        match err {
6935            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
6936        }
6937    }
6938}
6939impl<R>
6940    From<
6941        ::aws_smithy_runtime_api::client::result::SdkError<
6942            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
6943            R,
6944        >,
6945    > for Error
6946where
6947    R: Send + Sync + std::fmt::Debug + 'static,
6948{
6949    fn from(
6950        err: ::aws_smithy_runtime_api::client::result::SdkError<
6951            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
6952            R,
6953        >,
6954    ) -> Self {
6955        match err {
6956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6959                source: err.into(),
6960            }),
6961        }
6962    }
6963}
6964impl From<crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError> for Error {
6965    fn from(err: crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError) -> Self {
6966        match err {
6967            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError::Unhandled(inner) => {
6968                Error::Unhandled(inner)
6969            }
6970        }
6971    }
6972}
6973impl<R>
6974    From<
6975        ::aws_smithy_runtime_api::client::result::SdkError<
6976            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6977            R,
6978        >,
6979    > for Error
6980where
6981    R: Send + Sync + std::fmt::Debug + 'static,
6982{
6983    fn from(
6984        err: ::aws_smithy_runtime_api::client::result::SdkError<
6985            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6986            R,
6987        >,
6988    ) -> Self {
6989        match err {
6990            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6991            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6992                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6993                source: err.into(),
6994            }),
6995        }
6996    }
6997}
6998impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6999    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
7000        match err {
7001            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
7002                Error::Unhandled(inner)
7003            }
7004        }
7005    }
7006}
7007impl<R>
7008    From<
7009        ::aws_smithy_runtime_api::client::result::SdkError<
7010            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7011            R,
7012        >,
7013    > for Error
7014where
7015    R: Send + Sync + std::fmt::Debug + 'static,
7016{
7017    fn from(
7018        err: ::aws_smithy_runtime_api::client::result::SdkError<
7019            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7020            R,
7021        >,
7022    ) -> Self {
7023        match err {
7024            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7025            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7026                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7027                source: err.into(),
7028            }),
7029        }
7030    }
7031}
7032impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
7033    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
7034        match err {
7035            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
7036                Error::Unhandled(inner)
7037            }
7038        }
7039    }
7040}
7041impl<R>
7042    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
7043    for Error
7044where
7045    R: Send + Sync + std::fmt::Debug + 'static,
7046{
7047    fn from(
7048        err: ::aws_smithy_runtime_api::client::result::SdkError<
7049            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
7050            R,
7051        >,
7052    ) -> Self {
7053        match err {
7054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7057                source: err.into(),
7058            }),
7059        }
7060    }
7061}
7062impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
7063    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
7064        match err {
7065            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7066        }
7067    }
7068}
7069impl<R>
7070    From<
7071        ::aws_smithy_runtime_api::client::result::SdkError<
7072            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7073            R,
7074        >,
7075    > for Error
7076where
7077    R: Send + Sync + std::fmt::Debug + 'static,
7078{
7079    fn from(
7080        err: ::aws_smithy_runtime_api::client::result::SdkError<
7081            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7082            R,
7083        >,
7084    ) -> Self {
7085        match err {
7086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7089                source: err.into(),
7090            }),
7091        }
7092    }
7093}
7094impl From<crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError> for Error {
7095    fn from(err: crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError) -> Self {
7096        match err {
7097            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError::Unhandled(inner) => {
7098                Error::Unhandled(inner)
7099            }
7100        }
7101    }
7102}
7103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
7104    for Error
7105where
7106    R: Send + Sync + std::fmt::Debug + 'static,
7107{
7108    fn from(
7109        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
7110    ) -> Self {
7111        match err {
7112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7115                source: err.into(),
7116            }),
7117        }
7118    }
7119}
7120impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
7121    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
7122        match err {
7123            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7124        }
7125    }
7126}
7127impl<R>
7128    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
7129    for Error
7130where
7131    R: Send + Sync + std::fmt::Debug + 'static,
7132{
7133    fn from(
7134        err: ::aws_smithy_runtime_api::client::result::SdkError<
7135            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
7136            R,
7137        >,
7138    ) -> Self {
7139        match err {
7140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7143                source: err.into(),
7144            }),
7145        }
7146    }
7147}
7148impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
7149    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
7150        match err {
7151            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7152        }
7153    }
7154}
7155impl<R>
7156    From<
7157        ::aws_smithy_runtime_api::client::result::SdkError<
7158            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7159            R,
7160        >,
7161    > for Error
7162where
7163    R: Send + Sync + std::fmt::Debug + 'static,
7164{
7165    fn from(
7166        err: ::aws_smithy_runtime_api::client::result::SdkError<
7167            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7168            R,
7169        >,
7170    ) -> Self {
7171        match err {
7172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7175                source: err.into(),
7176            }),
7177        }
7178    }
7179}
7180impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
7181    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
7182        match err {
7183            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
7184                Error::Unhandled(inner)
7185            }
7186        }
7187    }
7188}
7189impl<R>
7190    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
7191    for Error
7192where
7193    R: Send + Sync + std::fmt::Debug + 'static,
7194{
7195    fn from(
7196        err: ::aws_smithy_runtime_api::client::result::SdkError<
7197            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
7198            R,
7199        >,
7200    ) -> Self {
7201        match err {
7202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7205                source: err.into(),
7206            }),
7207        }
7208    }
7209}
7210impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
7211    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
7212        match err {
7213            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
7214        }
7215    }
7216}
7217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
7218    for Error
7219where
7220    R: Send + Sync + std::fmt::Debug + 'static,
7221{
7222    fn from(
7223        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
7224    ) -> Self {
7225        match err {
7226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7229                source: err.into(),
7230            }),
7231        }
7232    }
7233}
7234impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
7235    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
7236        match err {
7237            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7238        }
7239    }
7240}
7241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
7242    for Error
7243where
7244    R: Send + Sync + std::fmt::Debug + 'static,
7245{
7246    fn from(
7247        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
7248    ) -> Self {
7249        match err {
7250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7253                source: err.into(),
7254            }),
7255        }
7256    }
7257}
7258impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
7259    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
7260        match err {
7261            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
7262        }
7263    }
7264}
7265impl<R>
7266    From<
7267        ::aws_smithy_runtime_api::client::result::SdkError<
7268            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7269            R,
7270        >,
7271    > for Error
7272where
7273    R: Send + Sync + std::fmt::Debug + 'static,
7274{
7275    fn from(
7276        err: ::aws_smithy_runtime_api::client::result::SdkError<
7277            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7278            R,
7279        >,
7280    ) -> Self {
7281        match err {
7282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7285                source: err.into(),
7286            }),
7287        }
7288    }
7289}
7290impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
7291    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
7292        match err {
7293            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
7294        }
7295    }
7296}
7297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
7298where
7299    R: Send + Sync + std::fmt::Debug + 'static,
7300{
7301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
7302        match err {
7303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7306                source: err.into(),
7307            }),
7308        }
7309    }
7310}
7311impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
7312    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
7313        match err {
7314            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7315        }
7316    }
7317}
7318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
7319    for Error
7320where
7321    R: Send + Sync + std::fmt::Debug + 'static,
7322{
7323    fn from(
7324        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7325    ) -> Self {
7326        match err {
7327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7330                source: err.into(),
7331            }),
7332        }
7333    }
7334}
7335impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7336    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7337        match err {
7338            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7339        }
7340    }
7341}
7342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7343    for Error
7344where
7345    R: Send + Sync + std::fmt::Debug + 'static,
7346{
7347    fn from(
7348        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7349    ) -> Self {
7350        match err {
7351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7354                source: err.into(),
7355            }),
7356        }
7357    }
7358}
7359impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7360    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7361        match err {
7362            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7363        }
7364    }
7365}
7366impl<R>
7367    From<
7368        ::aws_smithy_runtime_api::client::result::SdkError<
7369            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7370            R,
7371        >,
7372    > for Error
7373where
7374    R: Send + Sync + std::fmt::Debug + 'static,
7375{
7376    fn from(
7377        err: ::aws_smithy_runtime_api::client::result::SdkError<
7378            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7379            R,
7380        >,
7381    ) -> Self {
7382        match err {
7383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7386                source: err.into(),
7387            }),
7388        }
7389    }
7390}
7391impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7392    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7393        match err {
7394            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7395                Error::Unhandled(inner)
7396            }
7397        }
7398    }
7399}
7400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7401where
7402    R: Send + Sync + std::fmt::Debug + 'static,
7403{
7404    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7405        match err {
7406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7409                source: err.into(),
7410            }),
7411        }
7412    }
7413}
7414impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7415    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7416        match err {
7417            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7418        }
7419    }
7420}
7421impl<R>
7422    From<
7423        ::aws_smithy_runtime_api::client::result::SdkError<
7424            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7425            R,
7426        >,
7427    > for Error
7428where
7429    R: Send + Sync + std::fmt::Debug + 'static,
7430{
7431    fn from(
7432        err: ::aws_smithy_runtime_api::client::result::SdkError<
7433            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7434            R,
7435        >,
7436    ) -> Self {
7437        match err {
7438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7441                source: err.into(),
7442            }),
7443        }
7444    }
7445}
7446impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7447    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7448        match err {
7449            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7450                Error::Unhandled(inner)
7451            }
7452        }
7453    }
7454}
7455impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7456where
7457    R: Send + Sync + std::fmt::Debug + 'static,
7458{
7459    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7460        match err {
7461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7464                source: err.into(),
7465            }),
7466        }
7467    }
7468}
7469impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7470    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7471        match err {
7472            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7473        }
7474    }
7475}
7476impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7477    for Error
7478where
7479    R: Send + Sync + std::fmt::Debug + 'static,
7480{
7481    fn from(
7482        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7483    ) -> Self {
7484        match err {
7485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7488                source: err.into(),
7489            }),
7490        }
7491    }
7492}
7493impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7494    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7495        match err {
7496            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7497        }
7498    }
7499}
7500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7501where
7502    R: Send + Sync + std::fmt::Debug + 'static,
7503{
7504    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7505        match err {
7506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7509                source: err.into(),
7510            }),
7511        }
7512    }
7513}
7514impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7515    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7516        match err {
7517            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7518        }
7519    }
7520}
7521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7522    for Error
7523where
7524    R: Send + Sync + std::fmt::Debug + 'static,
7525{
7526    fn from(
7527        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7528    ) -> Self {
7529        match err {
7530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7533                source: err.into(),
7534            }),
7535        }
7536    }
7537}
7538impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7539    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7540        match err {
7541            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7542        }
7543    }
7544}
7545impl<R>
7546    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7547    for Error
7548where
7549    R: Send + Sync + std::fmt::Debug + 'static,
7550{
7551    fn from(
7552        err: ::aws_smithy_runtime_api::client::result::SdkError<
7553            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7554            R,
7555        >,
7556    ) -> Self {
7557        match err {
7558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7561                source: err.into(),
7562            }),
7563        }
7564    }
7565}
7566impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7567    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7568        match err {
7569            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7570        }
7571    }
7572}
7573impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7574where
7575    R: Send + Sync + std::fmt::Debug + 'static,
7576{
7577    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7578        match err {
7579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7582                source: err.into(),
7583            }),
7584        }
7585    }
7586}
7587impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7588    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7589        match err {
7590            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7591        }
7592    }
7593}
7594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7595where
7596    R: Send + Sync + std::fmt::Debug + 'static,
7597{
7598    fn from(
7599        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7600    ) -> Self {
7601        match err {
7602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7605                source: err.into(),
7606            }),
7607        }
7608    }
7609}
7610impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7611    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7612        match err {
7613            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7614        }
7615    }
7616}
7617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7618where
7619    R: Send + Sync + std::fmt::Debug + 'static,
7620{
7621    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7622        match err {
7623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7626                source: err.into(),
7627            }),
7628        }
7629    }
7630}
7631impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7632    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7633        match err {
7634            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7635        }
7636    }
7637}
7638impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7639where
7640    R: Send + Sync + std::fmt::Debug + 'static,
7641{
7642    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7643        match err {
7644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7647                source: err.into(),
7648            }),
7649        }
7650    }
7651}
7652impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7653    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7654        match err {
7655            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7656        }
7657    }
7658}
7659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7660    for Error
7661where
7662    R: Send + Sync + std::fmt::Debug + 'static,
7663{
7664    fn from(
7665        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7666    ) -> Self {
7667        match err {
7668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7671                source: err.into(),
7672            }),
7673        }
7674    }
7675}
7676impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7677    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7678        match err {
7679            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7680        }
7681    }
7682}
7683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7684where
7685    R: Send + Sync + std::fmt::Debug + 'static,
7686{
7687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7688        match err {
7689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7692                source: err.into(),
7693            }),
7694        }
7695    }
7696}
7697impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7698    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7699        match err {
7700            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7701        }
7702    }
7703}
7704impl<R>
7705    From<
7706        ::aws_smithy_runtime_api::client::result::SdkError<
7707            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7708            R,
7709        >,
7710    > for Error
7711where
7712    R: Send + Sync + std::fmt::Debug + 'static,
7713{
7714    fn from(
7715        err: ::aws_smithy_runtime_api::client::result::SdkError<
7716            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7717            R,
7718        >,
7719    ) -> Self {
7720        match err {
7721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7724                source: err.into(),
7725            }),
7726        }
7727    }
7728}
7729impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7730    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7731        match err {
7732            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7733        }
7734    }
7735}
7736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7737    for Error
7738where
7739    R: Send + Sync + std::fmt::Debug + 'static,
7740{
7741    fn from(
7742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7743    ) -> Self {
7744        match err {
7745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7748                source: err.into(),
7749            }),
7750        }
7751    }
7752}
7753impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7754    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7755        match err {
7756            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7757        }
7758    }
7759}
7760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7761where
7762    R: Send + Sync + std::fmt::Debug + 'static,
7763{
7764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7765        match err {
7766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7769                source: err.into(),
7770            }),
7771        }
7772    }
7773}
7774impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7775    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7776        match err {
7777            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7778        }
7779    }
7780}
7781impl<R>
7782    From<
7783        ::aws_smithy_runtime_api::client::result::SdkError<
7784            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7785            R,
7786        >,
7787    > for Error
7788where
7789    R: Send + Sync + std::fmt::Debug + 'static,
7790{
7791    fn from(
7792        err: ::aws_smithy_runtime_api::client::result::SdkError<
7793            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7794            R,
7795        >,
7796    ) -> Self {
7797        match err {
7798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7801                source: err.into(),
7802            }),
7803        }
7804    }
7805}
7806impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7807    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7808        match err {
7809            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7810                Error::Unhandled(inner)
7811            }
7812        }
7813    }
7814}
7815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7816    for Error
7817where
7818    R: Send + Sync + std::fmt::Debug + 'static,
7819{
7820    fn from(
7821        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7822    ) -> Self {
7823        match err {
7824            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7825            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7826                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7827                source: err.into(),
7828            }),
7829        }
7830    }
7831}
7832impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7833    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7834        match err {
7835            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7836        }
7837    }
7838}
7839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7840where
7841    R: Send + Sync + std::fmt::Debug + 'static,
7842{
7843    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7844        match err {
7845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7848                source: err.into(),
7849            }),
7850        }
7851    }
7852}
7853impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7854    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7855        match err {
7856            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7857        }
7858    }
7859}
7860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7861where
7862    R: Send + Sync + std::fmt::Debug + 'static,
7863{
7864    fn from(
7865        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7866    ) -> Self {
7867        match err {
7868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7871                source: err.into(),
7872            }),
7873        }
7874    }
7875}
7876impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7877    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7878        match err {
7879            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7880        }
7881    }
7882}
7883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>>
7884    for Error
7885where
7886    R: Send + Sync + std::fmt::Debug + 'static,
7887{
7888    fn from(
7889        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>,
7890    ) -> Self {
7891        match err {
7892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7895                source: err.into(),
7896            }),
7897        }
7898    }
7899}
7900impl From<crate::operation::describe_image_references::DescribeImageReferencesError> for Error {
7901    fn from(err: crate::operation::describe_image_references::DescribeImageReferencesError) -> Self {
7902        match err {
7903            crate::operation::describe_image_references::DescribeImageReferencesError::Unhandled(inner) => Error::Unhandled(inner),
7904        }
7905    }
7906}
7907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7908where
7909    R: Send + Sync + std::fmt::Debug + 'static,
7910{
7911    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7912        match err {
7913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7916                source: err.into(),
7917            }),
7918        }
7919    }
7920}
7921impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7922    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7923        match err {
7924            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7925        }
7926    }
7927}
7928impl<R>
7929    From<
7930        ::aws_smithy_runtime_api::client::result::SdkError<
7931            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
7932            R,
7933        >,
7934    > for Error
7935where
7936    R: Send + Sync + std::fmt::Debug + 'static,
7937{
7938    fn from(
7939        err: ::aws_smithy_runtime_api::client::result::SdkError<
7940            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
7941            R,
7942        >,
7943    ) -> Self {
7944        match err {
7945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7948                source: err.into(),
7949            }),
7950        }
7951    }
7952}
7953impl From<crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError> for Error {
7954    fn from(err: crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError) -> Self {
7955        match err {
7956            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError::Unhandled(inner) => Error::Unhandled(inner),
7957        }
7958    }
7959}
7960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>>
7961    for Error
7962where
7963    R: Send + Sync + std::fmt::Debug + 'static,
7964{
7965    fn from(
7966        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>,
7967    ) -> Self {
7968        match err {
7969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7972                source: err.into(),
7973            }),
7974        }
7975    }
7976}
7977impl From<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError> for Error {
7978    fn from(err: crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError) -> Self {
7979        match err {
7980            crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError::Unhandled(inner) => Error::Unhandled(inner),
7981        }
7982    }
7983}
7984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7985    for Error
7986where
7987    R: Send + Sync + std::fmt::Debug + 'static,
7988{
7989    fn from(
7990        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7991    ) -> Self {
7992        match err {
7993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7996                source: err.into(),
7997            }),
7998        }
7999    }
8000}
8001impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
8002    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
8003        match err {
8004            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
8005        }
8006    }
8007}
8008impl<R>
8009    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
8010    for Error
8011where
8012    R: Send + Sync + std::fmt::Debug + 'static,
8013{
8014    fn from(
8015        err: ::aws_smithy_runtime_api::client::result::SdkError<
8016            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
8017            R,
8018        >,
8019    ) -> Self {
8020        match err {
8021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8024                source: err.into(),
8025            }),
8026        }
8027    }
8028}
8029impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
8030    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
8031        match err {
8032            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
8033        }
8034    }
8035}
8036impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
8037    for Error
8038where
8039    R: Send + Sync + std::fmt::Debug + 'static,
8040{
8041    fn from(
8042        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
8043    ) -> Self {
8044        match err {
8045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8048                source: err.into(),
8049            }),
8050        }
8051    }
8052}
8053impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
8054    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
8055        match err {
8056            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8057        }
8058    }
8059}
8060impl<R>
8061    From<
8062        ::aws_smithy_runtime_api::client::result::SdkError<
8063            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8064            R,
8065        >,
8066    > for Error
8067where
8068    R: Send + Sync + std::fmt::Debug + 'static,
8069{
8070    fn from(
8071        err: ::aws_smithy_runtime_api::client::result::SdkError<
8072            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8073            R,
8074        >,
8075    ) -> Self {
8076        match err {
8077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8080                source: err.into(),
8081            }),
8082        }
8083    }
8084}
8085impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
8086    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
8087        match err {
8088            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
8089        }
8090    }
8091}
8092impl<R>
8093    From<
8094        ::aws_smithy_runtime_api::client::result::SdkError<
8095            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8096            R,
8097        >,
8098    > for Error
8099where
8100    R: Send + Sync + std::fmt::Debug + 'static,
8101{
8102    fn from(
8103        err: ::aws_smithy_runtime_api::client::result::SdkError<
8104            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8105            R,
8106        >,
8107    ) -> Self {
8108        match err {
8109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8112                source: err.into(),
8113            }),
8114        }
8115    }
8116}
8117impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
8118    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
8119        match err {
8120            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
8121                Error::Unhandled(inner)
8122            }
8123        }
8124    }
8125}
8126impl<R>
8127    From<
8128        ::aws_smithy_runtime_api::client::result::SdkError<
8129            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8130            R,
8131        >,
8132    > for Error
8133where
8134    R: Send + Sync + std::fmt::Debug + 'static,
8135{
8136    fn from(
8137        err: ::aws_smithy_runtime_api::client::result::SdkError<
8138            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8139            R,
8140        >,
8141    ) -> Self {
8142        match err {
8143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8146                source: err.into(),
8147            }),
8148        }
8149    }
8150}
8151impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
8152    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
8153        match err {
8154            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
8155                Error::Unhandled(inner)
8156            }
8157        }
8158    }
8159}
8160impl<R>
8161    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
8162    for Error
8163where
8164    R: Send + Sync + std::fmt::Debug + 'static,
8165{
8166    fn from(
8167        err: ::aws_smithy_runtime_api::client::result::SdkError<
8168            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
8169            R,
8170        >,
8171    ) -> Self {
8172        match err {
8173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8176                source: err.into(),
8177            }),
8178        }
8179    }
8180}
8181impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
8182    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
8183        match err {
8184            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
8185        }
8186    }
8187}
8188impl<R>
8189    From<
8190        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
8191    > for Error
8192where
8193    R: Send + Sync + std::fmt::Debug + 'static,
8194{
8195    fn from(
8196        err: ::aws_smithy_runtime_api::client::result::SdkError<
8197            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
8198            R,
8199        >,
8200    ) -> Self {
8201        match err {
8202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8205                source: err.into(),
8206            }),
8207        }
8208    }
8209}
8210impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
8211    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
8212        match err {
8213            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8214        }
8215    }
8216}
8217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
8218where
8219    R: Send + Sync + std::fmt::Debug + 'static,
8220{
8221    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> 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_instances::DescribeInstancesError> for Error {
8232    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
8233        match err {
8234            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8235        }
8236    }
8237}
8238impl<R>
8239    From<
8240        ::aws_smithy_runtime_api::client::result::SdkError<
8241            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
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_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
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_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError> for Error {
8264    fn from(err: crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError) -> Self {
8265        match err {
8266            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError::Unhandled(inner) => {
8267                Error::Unhandled(inner)
8268            }
8269        }
8270    }
8271}
8272impl<R>
8273    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError, R>>
8274    for Error
8275where
8276    R: Send + Sync + std::fmt::Debug + 'static,
8277{
8278    fn from(
8279        err: ::aws_smithy_runtime_api::client::result::SdkError<
8280            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError,
8281            R,
8282        >,
8283    ) -> Self {
8284        match err {
8285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8288                source: err.into(),
8289            }),
8290        }
8291    }
8292}
8293impl From<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError> for Error {
8294    fn from(err: crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError) -> Self {
8295        match err {
8296            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError::Unhandled(inner) => Error::Unhandled(inner),
8297        }
8298    }
8299}
8300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
8301where
8302    R: Send + Sync + std::fmt::Debug + 'static,
8303{
8304    fn from(
8305        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
8306    ) -> Self {
8307        match err {
8308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8311                source: err.into(),
8312            }),
8313        }
8314    }
8315}
8316impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
8317    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
8318        match err {
8319            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
8320        }
8321    }
8322}
8323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
8324    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_instance_topology::DescribeInstanceTopologyError, 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_instance_topology::DescribeInstanceTopologyError> for Error {
8341    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
8342        match err {
8343            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
8344        }
8345    }
8346}
8347impl<R>
8348    From<
8349        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
8350    > for Error
8351where
8352    R: Send + Sync + std::fmt::Debug + 'static,
8353{
8354    fn from(
8355        err: ::aws_smithy_runtime_api::client::result::SdkError<
8356            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
8357            R,
8358        >,
8359    ) -> Self {
8360        match err {
8361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8364                source: err.into(),
8365            }),
8366        }
8367    }
8368}
8369impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
8370    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
8371        match err {
8372            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8373        }
8374    }
8375}
8376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
8377where
8378    R: Send + Sync + std::fmt::Debug + 'static,
8379{
8380    fn from(
8381        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
8382    ) -> Self {
8383        match err {
8384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8387                source: err.into(),
8388            }),
8389        }
8390    }
8391}
8392impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
8393    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
8394        match err {
8395            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
8396        }
8397    }
8398}
8399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
8400    for Error
8401where
8402    R: Send + Sync + std::fmt::Debug + 'static,
8403{
8404    fn from(
8405        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
8406    ) -> Self {
8407        match err {
8408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8411                source: err.into(),
8412            }),
8413        }
8414    }
8415}
8416impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
8417    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
8418        match err {
8419            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8420        }
8421    }
8422}
8423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
8424where
8425    R: Send + Sync + std::fmt::Debug + 'static,
8426{
8427    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
8428        match err {
8429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8432                source: err.into(),
8433            }),
8434        }
8435    }
8436}
8437impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
8438    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
8439        match err {
8440            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
8441        }
8442    }
8443}
8444impl<R>
8445    From<
8446        ::aws_smithy_runtime_api::client::result::SdkError<
8447            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8448            R,
8449        >,
8450    > for Error
8451where
8452    R: Send + Sync + std::fmt::Debug + 'static,
8453{
8454    fn from(
8455        err: ::aws_smithy_runtime_api::client::result::SdkError<
8456            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8457            R,
8458        >,
8459    ) -> Self {
8460        match err {
8461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8464                source: err.into(),
8465            }),
8466        }
8467    }
8468}
8469impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8470    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8471        match err {
8472            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8473                inner,
8474            ) => Error::Unhandled(inner),
8475        }
8476    }
8477}
8478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8479where
8480    R: Send + Sync + std::fmt::Debug + 'static,
8481{
8482    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8483        match err {
8484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8487                source: err.into(),
8488            }),
8489        }
8490    }
8491}
8492impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8493    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8494        match err {
8495            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8496        }
8497    }
8498}
8499impl<R>
8500    From<
8501        ::aws_smithy_runtime_api::client::result::SdkError<
8502            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8503            R,
8504        >,
8505    > for Error
8506where
8507    R: Send + Sync + std::fmt::Debug + 'static,
8508{
8509    fn from(
8510        err: ::aws_smithy_runtime_api::client::result::SdkError<
8511            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8512            R,
8513        >,
8514    ) -> Self {
8515        match err {
8516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8519                source: err.into(),
8520            }),
8521        }
8522    }
8523}
8524impl From<crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError> for Error {
8525    fn from(err: crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError) -> Self {
8526        match err {
8527            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError::Unhandled(inner) => Error::Unhandled(inner),
8528        }
8529    }
8530}
8531impl<R>
8532    From<
8533        ::aws_smithy_runtime_api::client::result::SdkError<
8534            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8535            R,
8536        >,
8537    > for Error
8538where
8539    R: Send + Sync + std::fmt::Debug + 'static,
8540{
8541    fn from(
8542        err: ::aws_smithy_runtime_api::client::result::SdkError<
8543            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8544            R,
8545        >,
8546    ) -> Self {
8547        match err {
8548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8551                source: err.into(),
8552            }),
8553        }
8554    }
8555}
8556impl From<crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError> for Error {
8557    fn from(err: crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError) -> Self {
8558        match err {
8559            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError::Unhandled(inner) => {
8560                Error::Unhandled(inner)
8561            }
8562        }
8563    }
8564}
8565impl<R>
8566    From<
8567        ::aws_smithy_runtime_api::client::result::SdkError<
8568            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8569            R,
8570        >,
8571    > for Error
8572where
8573    R: Send + Sync + std::fmt::Debug + 'static,
8574{
8575    fn from(
8576        err: ::aws_smithy_runtime_api::client::result::SdkError<
8577            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8578            R,
8579        >,
8580    ) -> Self {
8581        match err {
8582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8585                source: err.into(),
8586            }),
8587        }
8588    }
8589}
8590impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8591    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8592        match err {
8593            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8594        }
8595    }
8596}
8597impl<R>
8598    From<
8599        ::aws_smithy_runtime_api::client::result::SdkError<
8600            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8601            R,
8602        >,
8603    > for Error
8604where
8605    R: Send + Sync + std::fmt::Debug + 'static,
8606{
8607    fn from(
8608        err: ::aws_smithy_runtime_api::client::result::SdkError<
8609            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8610            R,
8611        >,
8612    ) -> Self {
8613        match err {
8614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8617                source: err.into(),
8618            }),
8619        }
8620    }
8621}
8622impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8623    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8624        match err {
8625            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8626                Error::Unhandled(inner)
8627            }
8628        }
8629    }
8630}
8631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8632where
8633    R: Send + Sync + std::fmt::Debug + 'static,
8634{
8635    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8636        match err {
8637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8640                source: err.into(),
8641            }),
8642        }
8643    }
8644}
8645impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8646    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8647        match err {
8648            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8649        }
8650    }
8651}
8652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8653where
8654    R: Send + Sync + std::fmt::Debug + 'static,
8655{
8656    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8657        match err {
8658            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8659            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8660                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8661                source: err.into(),
8662            }),
8663        }
8664    }
8665}
8666impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8667    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8668        match err {
8669            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8670        }
8671    }
8672}
8673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8674where
8675    R: Send + Sync + std::fmt::Debug + 'static,
8676{
8677    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8678        match err {
8679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8682                source: err.into(),
8683            }),
8684        }
8685    }
8686}
8687impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8688    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8689        match err {
8690            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8691        }
8692    }
8693}
8694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8695where
8696    R: Send + Sync + std::fmt::Debug + 'static,
8697{
8698    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8699        match err {
8700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8703                source: err.into(),
8704            }),
8705        }
8706    }
8707}
8708impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
8709    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8710        match err {
8711            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8712        }
8713    }
8714}
8715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
8716    for Error
8717where
8718    R: Send + Sync + std::fmt::Debug + 'static,
8719{
8720    fn from(
8721        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
8722    ) -> Self {
8723        match err {
8724            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8725            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8726                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8727                source: err.into(),
8728            }),
8729        }
8730    }
8731}
8732impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
8733    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8734        match err {
8735            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8736        }
8737    }
8738}
8739impl<R>
8740    From<
8741        ::aws_smithy_runtime_api::client::result::SdkError<
8742            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8743            R,
8744        >,
8745    > for Error
8746where
8747    R: Send + Sync + std::fmt::Debug + 'static,
8748{
8749    fn from(
8750        err: ::aws_smithy_runtime_api::client::result::SdkError<
8751            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8752            R,
8753        >,
8754    ) -> Self {
8755        match err {
8756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8759                source: err.into(),
8760            }),
8761        }
8762    }
8763}
8764impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8765    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8766        match err {
8767            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8768        }
8769    }
8770}
8771impl<R>
8772    From<
8773        ::aws_smithy_runtime_api::client::result::SdkError<
8774            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8775            R,
8776        >,
8777    > for Error
8778where
8779    R: Send + Sync + std::fmt::Debug + 'static,
8780{
8781    fn from(
8782        err: ::aws_smithy_runtime_api::client::result::SdkError<
8783            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8784            R,
8785        >,
8786    ) -> Self {
8787        match err {
8788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8791                source: err.into(),
8792            }),
8793        }
8794    }
8795}
8796impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8797    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8798        match err {
8799            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8800        }
8801    }
8802}
8803impl<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 {
8804    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8805        match err {
8806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8807            _ => Error::Unhandled(
8808                                        crate::error::sealed_unhandled::Unhandled {
8809                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8810                                            source: err.into(),
8811                                        }
8812                                    ),
8813        }
8814    }
8815}
8816impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8817    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8818        match err {
8819            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8820        }
8821    }
8822}
8823impl<R>
8824    From<
8825        ::aws_smithy_runtime_api::client::result::SdkError<
8826            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8827            R,
8828        >,
8829    > for Error
8830where
8831    R: Send + Sync + std::fmt::Debug + 'static,
8832{
8833    fn from(
8834        err: ::aws_smithy_runtime_api::client::result::SdkError<
8835            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8836            R,
8837        >,
8838    ) -> Self {
8839        match err {
8840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8843                source: err.into(),
8844            }),
8845        }
8846    }
8847}
8848impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8849    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8850        match err {
8851            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8852                inner,
8853            ) => Error::Unhandled(inner),
8854        }
8855    }
8856}
8857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8858where
8859    R: Send + Sync + std::fmt::Debug + 'static,
8860{
8861    fn from(
8862        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8863    ) -> Self {
8864        match err {
8865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8868                source: err.into(),
8869            }),
8870        }
8871    }
8872}
8873impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8874    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8875        match err {
8876            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8877        }
8878    }
8879}
8880impl<R>
8881    From<
8882        ::aws_smithy_runtime_api::client::result::SdkError<
8883            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8884            R,
8885        >,
8886    > for Error
8887where
8888    R: Send + Sync + std::fmt::Debug + 'static,
8889{
8890    fn from(
8891        err: ::aws_smithy_runtime_api::client::result::SdkError<
8892            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8893            R,
8894        >,
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_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
8906    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
8907        match err {
8908            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
8909                Error::Unhandled(inner)
8910            }
8911        }
8912    }
8913}
8914impl<R>
8915    From<
8916        ::aws_smithy_runtime_api::client::result::SdkError<
8917            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8918            R,
8919        >,
8920    > for Error
8921where
8922    R: Send + Sync + std::fmt::Debug + 'static,
8923{
8924    fn from(
8925        err: ::aws_smithy_runtime_api::client::result::SdkError<
8926            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8927            R,
8928        >,
8929    ) -> Self {
8930        match err {
8931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8934                source: err.into(),
8935            }),
8936        }
8937    }
8938}
8939impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
8940    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
8941        match err {
8942            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
8943                Error::Unhandled(inner)
8944            }
8945        }
8946    }
8947}
8948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8949    for Error
8950where
8951    R: Send + Sync + std::fmt::Debug + 'static,
8952{
8953    fn from(
8954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8955    ) -> Self {
8956        match err {
8957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8960                source: err.into(),
8961            }),
8962        }
8963    }
8964}
8965impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8966    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8967        match err {
8968            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8969        }
8970    }
8971}
8972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8973where
8974    R: Send + Sync + std::fmt::Debug + 'static,
8975{
8976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8977        match err {
8978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8981                source: err.into(),
8982            }),
8983        }
8984    }
8985}
8986impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8987    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8988        match err {
8989            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8990        }
8991    }
8992}
8993impl<R>
8994    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
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_mac_modification_tasks::DescribeMacModificationTasksError,
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_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
9015    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
9016        match err {
9017            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
9018        }
9019    }
9020}
9021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
9022    for Error
9023where
9024    R: Send + Sync + std::fmt::Debug + 'static,
9025{
9026    fn from(
9027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
9028    ) -> Self {
9029        match err {
9030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9033                source: err.into(),
9034            }),
9035        }
9036    }
9037}
9038impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
9039    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
9040        match err {
9041            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9042        }
9043    }
9044}
9045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
9046    for Error
9047where
9048    R: Send + Sync + std::fmt::Debug + 'static,
9049{
9050    fn from(
9051        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
9052    ) -> Self {
9053        match err {
9054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9057                source: err.into(),
9058            }),
9059        }
9060    }
9061}
9062impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
9063    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
9064        match err {
9065            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
9066        }
9067    }
9068}
9069impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
9070where
9071    R: Send + Sync + std::fmt::Debug + 'static,
9072{
9073    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
9074        match err {
9075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9078                source: err.into(),
9079            }),
9080        }
9081    }
9082}
9083impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
9084    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
9085        match err {
9086            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9087        }
9088    }
9089}
9090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
9091where
9092    R: Send + Sync + std::fmt::Debug + 'static,
9093{
9094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
9095        match err {
9096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9099                source: err.into(),
9100            }),
9101        }
9102    }
9103}
9104impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
9105    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
9106        match err {
9107            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
9108        }
9109    }
9110}
9111impl<R>
9112    From<
9113        ::aws_smithy_runtime_api::client::result::SdkError<
9114            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9115            R,
9116        >,
9117    > for Error
9118where
9119    R: Send + Sync + std::fmt::Debug + 'static,
9120{
9121    fn from(
9122        err: ::aws_smithy_runtime_api::client::result::SdkError<
9123            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9124            R,
9125        >,
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_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
9137    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
9138        match err {
9139            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
9140                Error::Unhandled(inner)
9141            }
9142        }
9143    }
9144}
9145impl<R>
9146    From<
9147        ::aws_smithy_runtime_api::client::result::SdkError<
9148            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9149            R,
9150        >,
9151    > for Error
9152where
9153    R: Send + Sync + std::fmt::Debug + 'static,
9154{
9155    fn from(
9156        err: ::aws_smithy_runtime_api::client::result::SdkError<
9157            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9158            R,
9159        >,
9160    ) -> Self {
9161        match err {
9162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9165                source: err.into(),
9166            }),
9167        }
9168    }
9169}
9170impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
9171    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
9172        match err {
9173            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
9174                Error::Unhandled(inner)
9175            }
9176        }
9177    }
9178}
9179impl<R>
9180    From<
9181        ::aws_smithy_runtime_api::client::result::SdkError<
9182            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9183            R,
9184        >,
9185    > for Error
9186where
9187    R: Send + Sync + std::fmt::Debug + 'static,
9188{
9189    fn from(
9190        err: ::aws_smithy_runtime_api::client::result::SdkError<
9191            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9192            R,
9193        >,
9194    ) -> Self {
9195        match err {
9196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9199                source: err.into(),
9200            }),
9201        }
9202    }
9203}
9204impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
9205    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
9206        match err {
9207            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
9208        }
9209    }
9210}
9211impl<R>
9212    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
9213    for Error
9214where
9215    R: Send + Sync + std::fmt::Debug + 'static,
9216{
9217    fn from(
9218        err: ::aws_smithy_runtime_api::client::result::SdkError<
9219            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
9220            R,
9221        >,
9222    ) -> Self {
9223        match err {
9224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9227                source: err.into(),
9228            }),
9229        }
9230    }
9231}
9232impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
9233    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
9234        match err {
9235            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
9236        }
9237    }
9238}
9239impl<R>
9240    From<
9241        ::aws_smithy_runtime_api::client::result::SdkError<
9242            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9243            R,
9244        >,
9245    > for Error
9246where
9247    R: Send + Sync + std::fmt::Debug + 'static,
9248{
9249    fn from(
9250        err: ::aws_smithy_runtime_api::client::result::SdkError<
9251            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9252            R,
9253        >,
9254    ) -> Self {
9255        match err {
9256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9259                source: err.into(),
9260            }),
9261        }
9262    }
9263}
9264impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
9265    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
9266        match err {
9267            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
9268                Error::Unhandled(inner)
9269            }
9270        }
9271    }
9272}
9273impl<R>
9274    From<
9275        ::aws_smithy_runtime_api::client::result::SdkError<
9276            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9277            R,
9278        >,
9279    > for Error
9280where
9281    R: Send + Sync + std::fmt::Debug + 'static,
9282{
9283    fn from(
9284        err: ::aws_smithy_runtime_api::client::result::SdkError<
9285            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9286            R,
9287        >,
9288    ) -> Self {
9289        match err {
9290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9293                source: err.into(),
9294            }),
9295        }
9296    }
9297}
9298impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
9299    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
9300        match err {
9301            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
9302                Error::Unhandled(inner)
9303            }
9304        }
9305    }
9306}
9307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
9308    for Error
9309where
9310    R: Send + Sync + std::fmt::Debug + 'static,
9311{
9312    fn from(
9313        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
9314    ) -> Self {
9315        match err {
9316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9319                source: err.into(),
9320            }),
9321        }
9322    }
9323}
9324impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
9325    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
9326        match err {
9327            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
9328        }
9329    }
9330}
9331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
9332where
9333    R: Send + Sync + std::fmt::Debug + 'static,
9334{
9335    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
9336        match err {
9337            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9338            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9339                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9340                source: err.into(),
9341            }),
9342        }
9343    }
9344}
9345impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
9346    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
9347        match err {
9348            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
9349        }
9350    }
9351}
9352impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
9353    for Error
9354where
9355    R: Send + Sync + std::fmt::Debug + 'static,
9356{
9357    fn from(
9358        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
9359    ) -> Self {
9360        match err {
9361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9364                source: err.into(),
9365            }),
9366        }
9367    }
9368}
9369impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
9370    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
9371        match err {
9372            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9373        }
9374    }
9375}
9376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
9377where
9378    R: Send + Sync + std::fmt::Debug + 'static,
9379{
9380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
9381        match err {
9382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9385                source: err.into(),
9386            }),
9387        }
9388    }
9389}
9390impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
9391    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
9392        match err {
9393            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9394        }
9395    }
9396}
9397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
9398    for Error
9399where
9400    R: Send + Sync + std::fmt::Debug + 'static,
9401{
9402    fn from(
9403        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
9404    ) -> Self {
9405        match err {
9406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9409                source: err.into(),
9410            }),
9411        }
9412    }
9413}
9414impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
9415    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
9416        match err {
9417            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
9418        }
9419    }
9420}
9421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
9422    for Error
9423where
9424    R: Send + Sync + std::fmt::Debug + 'static,
9425{
9426    fn from(
9427        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
9428    ) -> Self {
9429        match err {
9430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9433                source: err.into(),
9434            }),
9435        }
9436    }
9437}
9438impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
9439    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
9440        match err {
9441            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9442        }
9443    }
9444}
9445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
9446where
9447    R: Send + Sync + std::fmt::Debug + 'static,
9448{
9449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
9450        match err {
9451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9454                source: err.into(),
9455            }),
9456        }
9457    }
9458}
9459impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
9460    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
9461        match err {
9462            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
9463        }
9464    }
9465}
9466impl<R>
9467    From<
9468        ::aws_smithy_runtime_api::client::result::SdkError<
9469            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9470            R,
9471        >,
9472    > for Error
9473where
9474    R: Send + Sync + std::fmt::Debug + 'static,
9475{
9476    fn from(
9477        err: ::aws_smithy_runtime_api::client::result::SdkError<
9478            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9479            R,
9480        >,
9481    ) -> Self {
9482        match err {
9483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9486                source: err.into(),
9487            }),
9488        }
9489    }
9490}
9491impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
9492    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
9493        match err {
9494            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
9495        }
9496    }
9497}
9498impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
9499    for Error
9500where
9501    R: Send + Sync + std::fmt::Debug + 'static,
9502{
9503    fn from(
9504        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
9505    ) -> Self {
9506        match err {
9507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9510                source: err.into(),
9511            }),
9512        }
9513    }
9514}
9515impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
9516    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
9517        match err {
9518            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9519        }
9520    }
9521}
9522impl<R>
9523    From<
9524        ::aws_smithy_runtime_api::client::result::SdkError<
9525            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9526            R,
9527        >,
9528    > for Error
9529where
9530    R: Send + Sync + std::fmt::Debug + 'static,
9531{
9532    fn from(
9533        err: ::aws_smithy_runtime_api::client::result::SdkError<
9534            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9535            R,
9536        >,
9537    ) -> Self {
9538        match err {
9539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9542                source: err.into(),
9543            }),
9544        }
9545    }
9546}
9547impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9548    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9549        match err {
9550            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9551                Error::Unhandled(inner)
9552            }
9553        }
9554    }
9555}
9556impl<R>
9557    From<
9558        ::aws_smithy_runtime_api::client::result::SdkError<
9559            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9560            R,
9561        >,
9562    > for Error
9563where
9564    R: Send + Sync + std::fmt::Debug + 'static,
9565{
9566    fn from(
9567        err: ::aws_smithy_runtime_api::client::result::SdkError<
9568            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9569            R,
9570        >,
9571    ) -> Self {
9572        match err {
9573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9576                source: err.into(),
9577            }),
9578        }
9579    }
9580}
9581impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
9582    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
9583        match err {
9584            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9585                Error::Unhandled(inner)
9586            }
9587        }
9588    }
9589}
9590impl<R>
9591    From<
9592        ::aws_smithy_runtime_api::client::result::SdkError<
9593            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9594            R,
9595        >,
9596    > for Error
9597where
9598    R: Send + Sync + std::fmt::Debug + 'static,
9599{
9600    fn from(
9601        err: ::aws_smithy_runtime_api::client::result::SdkError<
9602            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9603            R,
9604        >,
9605    ) -> Self {
9606        match err {
9607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9610                source: err.into(),
9611            }),
9612        }
9613    }
9614}
9615impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9616    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9617        match err {
9618            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9619                Error::Unhandled(inner)
9620            }
9621        }
9622    }
9623}
9624impl<R>
9625    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9626    for Error
9627where
9628    R: Send + Sync + std::fmt::Debug + 'static,
9629{
9630    fn from(
9631        err: ::aws_smithy_runtime_api::client::result::SdkError<
9632            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9633            R,
9634        >,
9635    ) -> Self {
9636        match err {
9637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9640                source: err.into(),
9641            }),
9642        }
9643    }
9644}
9645impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9646    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9647        match err {
9648            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9649        }
9650    }
9651}
9652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9653    for Error
9654where
9655    R: Send + Sync + std::fmt::Debug + 'static,
9656{
9657    fn from(
9658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9659    ) -> Self {
9660        match err {
9661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9664                source: err.into(),
9665            }),
9666        }
9667    }
9668}
9669impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9670    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9671        match err {
9672            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9673        }
9674    }
9675}
9676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9677where
9678    R: Send + Sync + std::fmt::Debug + 'static,
9679{
9680    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9681        match err {
9682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9685                source: err.into(),
9686            }),
9687        }
9688    }
9689}
9690impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9691    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9692        match err {
9693            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9694        }
9695    }
9696}
9697impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9698where
9699    R: Send + Sync + std::fmt::Debug + 'static,
9700{
9701    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9702        match err {
9703            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9704            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9705                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9706                source: err.into(),
9707            }),
9708        }
9709    }
9710}
9711impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9712    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9713        match err {
9714            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9715        }
9716    }
9717}
9718impl<R>
9719    From<
9720        ::aws_smithy_runtime_api::client::result::SdkError<
9721            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9722            R,
9723        >,
9724    > for Error
9725where
9726    R: Send + Sync + std::fmt::Debug + 'static,
9727{
9728    fn from(
9729        err: ::aws_smithy_runtime_api::client::result::SdkError<
9730            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9731            R,
9732        >,
9733    ) -> Self {
9734        match err {
9735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9738                source: err.into(),
9739            }),
9740        }
9741    }
9742}
9743impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9744    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9745        match err {
9746            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9747                Error::Unhandled(inner)
9748            }
9749        }
9750    }
9751}
9752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, 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<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9759    ) -> Self {
9760        match err {
9761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9764                source: err.into(),
9765            }),
9766        }
9767    }
9768}
9769impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9770    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9771        match err {
9772            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9773        }
9774    }
9775}
9776impl<R>
9777    From<
9778        ::aws_smithy_runtime_api::client::result::SdkError<
9779            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9780            R,
9781        >,
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_security_group_references::DescribeSecurityGroupReferencesError,
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_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9802    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9803        match err {
9804            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9805        }
9806    }
9807}
9808impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9809    for Error
9810where
9811    R: Send + Sync + std::fmt::Debug + 'static,
9812{
9813    fn from(
9814        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
9815    ) -> Self {
9816        match err {
9817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9820                source: err.into(),
9821            }),
9822        }
9823    }
9824}
9825impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9826    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9827        match err {
9828            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9829        }
9830    }
9831}
9832impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9833where
9834    R: Send + Sync + std::fmt::Debug + 'static,
9835{
9836    fn from(
9837        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9838    ) -> Self {
9839        match err {
9840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9843                source: err.into(),
9844            }),
9845        }
9846    }
9847}
9848impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9849    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9850        match err {
9851            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9852        }
9853    }
9854}
9855impl<R>
9856    From<
9857        ::aws_smithy_runtime_api::client::result::SdkError<
9858            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9859            R,
9860        >,
9861    > for Error
9862where
9863    R: Send + Sync + std::fmt::Debug + 'static,
9864{
9865    fn from(
9866        err: ::aws_smithy_runtime_api::client::result::SdkError<
9867            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9868            R,
9869        >,
9870    ) -> Self {
9871        match err {
9872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9875                source: err.into(),
9876            }),
9877        }
9878    }
9879}
9880impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9881    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9882        match err {
9883            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9884                Error::Unhandled(inner)
9885            }
9886        }
9887    }
9888}
9889impl<R>
9890    From<
9891        ::aws_smithy_runtime_api::client::result::SdkError<
9892            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9893            R,
9894        >,
9895    > for Error
9896where
9897    R: Send + Sync + std::fmt::Debug + 'static,
9898{
9899    fn from(
9900        err: ::aws_smithy_runtime_api::client::result::SdkError<
9901            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9902            R,
9903        >,
9904    ) -> Self {
9905        match err {
9906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9909                source: err.into(),
9910            }),
9911        }
9912    }
9913}
9914impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
9915    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
9916        match err {
9917            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
9918                Error::Unhandled(inner)
9919            }
9920        }
9921    }
9922}
9923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
9924    for Error
9925where
9926    R: Send + Sync + std::fmt::Debug + 'static,
9927{
9928    fn from(
9929        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
9930    ) -> Self {
9931        match err {
9932            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9933            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9934                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9935                source: err.into(),
9936            }),
9937        }
9938    }
9939}
9940impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
9941    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
9942        match err {
9943            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9944        }
9945    }
9946}
9947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
9948where
9949    R: Send + Sync + std::fmt::Debug + 'static,
9950{
9951    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> 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_snapshots::DescribeSnapshotsError> for Error {
9962    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
9963        match err {
9964            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9965        }
9966    }
9967}
9968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
9969    for Error
9970where
9971    R: Send + Sync + std::fmt::Debug + 'static,
9972{
9973    fn from(
9974        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
9975    ) -> Self {
9976        match err {
9977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9980                source: err.into(),
9981            }),
9982        }
9983    }
9984}
9985impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
9986    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
9987        match err {
9988            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
9989        }
9990    }
9991}
9992impl<R>
9993    From<
9994        ::aws_smithy_runtime_api::client::result::SdkError<
9995            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9996            R,
9997        >,
9998    > for Error
9999where
10000    R: Send + Sync + std::fmt::Debug + 'static,
10001{
10002    fn from(
10003        err: ::aws_smithy_runtime_api::client::result::SdkError<
10004            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10005            R,
10006        >,
10007    ) -> Self {
10008        match err {
10009            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10010            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10011                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10012                source: err.into(),
10013            }),
10014        }
10015    }
10016}
10017impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
10018    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
10019        match err {
10020            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
10021        }
10022    }
10023}
10024impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
10025    for Error
10026where
10027    R: Send + Sync + std::fmt::Debug + 'static,
10028{
10029    fn from(
10030        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
10031    ) -> Self {
10032        match err {
10033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10036                source: err.into(),
10037            }),
10038        }
10039    }
10040}
10041impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
10042    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
10043        match err {
10044            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10045        }
10046    }
10047}
10048impl<R>
10049    From<
10050        ::aws_smithy_runtime_api::client::result::SdkError<
10051            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10052            R,
10053        >,
10054    > for Error
10055where
10056    R: Send + Sync + std::fmt::Debug + 'static,
10057{
10058    fn from(
10059        err: ::aws_smithy_runtime_api::client::result::SdkError<
10060            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10061            R,
10062        >,
10063    ) -> Self {
10064        match err {
10065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10068                source: err.into(),
10069            }),
10070        }
10071    }
10072}
10073impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
10074    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
10075        match err {
10076            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10077        }
10078    }
10079}
10080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
10081    for Error
10082where
10083    R: Send + Sync + std::fmt::Debug + 'static,
10084{
10085    fn from(
10086        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
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_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
10098    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
10099        match err {
10100            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10101        }
10102    }
10103}
10104impl<R>
10105    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
10106    for Error
10107where
10108    R: Send + Sync + std::fmt::Debug + 'static,
10109{
10110    fn from(
10111        err: ::aws_smithy_runtime_api::client::result::SdkError<
10112            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
10113            R,
10114        >,
10115    ) -> Self {
10116        match err {
10117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10120                source: err.into(),
10121            }),
10122        }
10123    }
10124}
10125impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
10126    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
10127        match err {
10128            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10129        }
10130    }
10131}
10132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
10133    for Error
10134where
10135    R: Send + Sync + std::fmt::Debug + 'static,
10136{
10137    fn from(
10138        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
10139    ) -> Self {
10140        match err {
10141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10144                source: err.into(),
10145            }),
10146        }
10147    }
10148}
10149impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
10150    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
10151        match err {
10152            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10153        }
10154    }
10155}
10156impl<R>
10157    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
10158    for Error
10159where
10160    R: Send + Sync + std::fmt::Debug + 'static,
10161{
10162    fn from(
10163        err: ::aws_smithy_runtime_api::client::result::SdkError<
10164            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
10165            R,
10166        >,
10167    ) -> Self {
10168        match err {
10169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10172                source: err.into(),
10173            }),
10174        }
10175    }
10176}
10177impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
10178    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
10179        match err {
10180            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10181        }
10182    }
10183}
10184impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
10185    for Error
10186where
10187    R: Send + Sync + std::fmt::Debug + 'static,
10188{
10189    fn from(
10190        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
10191    ) -> Self {
10192        match err {
10193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10196                source: err.into(),
10197            }),
10198        }
10199    }
10200}
10201impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
10202    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
10203        match err {
10204            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
10205        }
10206    }
10207}
10208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
10209where
10210    R: Send + Sync + std::fmt::Debug + 'static,
10211{
10212    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
10213        match err {
10214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10217                source: err.into(),
10218            }),
10219        }
10220    }
10221}
10222impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
10223    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
10224        match err {
10225            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
10226        }
10227    }
10228}
10229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
10230where
10231    R: Send + Sync + std::fmt::Debug + 'static,
10232{
10233    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
10234        match err {
10235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10238                source: err.into(),
10239            }),
10240        }
10241    }
10242}
10243impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
10244    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
10245        match err {
10246            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
10247        }
10248    }
10249}
10250impl<R>
10251    From<
10252        ::aws_smithy_runtime_api::client::result::SdkError<
10253            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10254            R,
10255        >,
10256    > for Error
10257where
10258    R: Send + Sync + std::fmt::Debug + 'static,
10259{
10260    fn from(
10261        err: ::aws_smithy_runtime_api::client::result::SdkError<
10262            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10263            R,
10264        >,
10265    ) -> Self {
10266        match err {
10267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10270                source: err.into(),
10271            }),
10272        }
10273    }
10274}
10275impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
10276    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
10277        match err {
10278            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
10279                Error::Unhandled(inner)
10280            }
10281        }
10282    }
10283}
10284impl<R>
10285    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
10286    for Error
10287where
10288    R: Send + Sync + std::fmt::Debug + 'static,
10289{
10290    fn from(
10291        err: ::aws_smithy_runtime_api::client::result::SdkError<
10292            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
10293            R,
10294        >,
10295    ) -> Self {
10296        match err {
10297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10300                source: err.into(),
10301            }),
10302        }
10303    }
10304}
10305impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
10306    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
10307        match err {
10308            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
10309        }
10310    }
10311}
10312impl<R>
10313    From<
10314        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
10315    > for Error
10316where
10317    R: Send + Sync + std::fmt::Debug + 'static,
10318{
10319    fn from(
10320        err: ::aws_smithy_runtime_api::client::result::SdkError<
10321            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
10322            R,
10323        >,
10324    ) -> Self {
10325        match err {
10326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10329                source: err.into(),
10330            }),
10331        }
10332    }
10333}
10334impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
10335    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
10336        match err {
10337            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
10338        }
10339    }
10340}
10341impl<R>
10342    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
10343    for Error
10344where
10345    R: Send + Sync + std::fmt::Debug + 'static,
10346{
10347    fn from(
10348        err: ::aws_smithy_runtime_api::client::result::SdkError<
10349            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
10350            R,
10351        >,
10352    ) -> Self {
10353        match err {
10354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10357                source: err.into(),
10358            }),
10359        }
10360    }
10361}
10362impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
10363    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
10364        match err {
10365            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
10366        }
10367    }
10368}
10369impl<R>
10370    From<
10371        ::aws_smithy_runtime_api::client::result::SdkError<
10372            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10373            R,
10374        >,
10375    > for Error
10376where
10377    R: Send + Sync + std::fmt::Debug + 'static,
10378{
10379    fn from(
10380        err: ::aws_smithy_runtime_api::client::result::SdkError<
10381            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10382            R,
10383        >,
10384    ) -> Self {
10385        match err {
10386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10389                source: err.into(),
10390            }),
10391        }
10392    }
10393}
10394impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
10395    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
10396        match err {
10397            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
10398                Error::Unhandled(inner)
10399            }
10400        }
10401    }
10402}
10403impl<R>
10404    From<
10405        ::aws_smithy_runtime_api::client::result::SdkError<
10406            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10407            R,
10408        >,
10409    > for Error
10410where
10411    R: Send + Sync + std::fmt::Debug + 'static,
10412{
10413    fn from(
10414        err: ::aws_smithy_runtime_api::client::result::SdkError<
10415            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10416            R,
10417        >,
10418    ) -> Self {
10419        match err {
10420            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10421            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10422                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10423                source: err.into(),
10424            }),
10425        }
10426    }
10427}
10428impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
10429    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
10430        match err {
10431            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
10432                Error::Unhandled(inner)
10433            }
10434        }
10435    }
10436}
10437impl<R>
10438    From<
10439        ::aws_smithy_runtime_api::client::result::SdkError<
10440            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10441            R,
10442        >,
10443    > for Error
10444where
10445    R: Send + Sync + std::fmt::Debug + 'static,
10446{
10447    fn from(
10448        err: ::aws_smithy_runtime_api::client::result::SdkError<
10449            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10450            R,
10451        >,
10452    ) -> Self {
10453        match err {
10454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10457                source: err.into(),
10458            }),
10459        }
10460    }
10461}
10462impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
10463    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
10464        match err {
10465            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
10466        }
10467    }
10468}
10469impl<R>
10470    From<
10471        ::aws_smithy_runtime_api::client::result::SdkError<
10472            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10473            R,
10474        >,
10475    > for Error
10476where
10477    R: Send + Sync + std::fmt::Debug + 'static,
10478{
10479    fn from(
10480        err: ::aws_smithy_runtime_api::client::result::SdkError<
10481            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10482            R,
10483        >,
10484    ) -> Self {
10485        match err {
10486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10489                source: err.into(),
10490            }),
10491        }
10492    }
10493}
10494impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
10495    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
10496        match err {
10497            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
10498                Error::Unhandled(inner)
10499            }
10500        }
10501    }
10502}
10503impl<R>
10504    From<
10505        ::aws_smithy_runtime_api::client::result::SdkError<
10506            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10507            R,
10508        >,
10509    > for Error
10510where
10511    R: Send + Sync + std::fmt::Debug + 'static,
10512{
10513    fn from(
10514        err: ::aws_smithy_runtime_api::client::result::SdkError<
10515            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10516            R,
10517        >,
10518    ) -> Self {
10519        match err {
10520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10523                source: err.into(),
10524            }),
10525        }
10526    }
10527}
10528impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
10529    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
10530        match err {
10531            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
10532                Error::Unhandled(inner)
10533            }
10534        }
10535    }
10536}
10537impl<R>
10538    From<
10539        ::aws_smithy_runtime_api::client::result::SdkError<
10540            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10541            R,
10542        >,
10543    > for Error
10544where
10545    R: Send + Sync + std::fmt::Debug + 'static,
10546{
10547    fn from(
10548        err: ::aws_smithy_runtime_api::client::result::SdkError<
10549            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10550            R,
10551        >,
10552    ) -> Self {
10553        match err {
10554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10557                source: err.into(),
10558            }),
10559        }
10560    }
10561}
10562impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
10563    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
10564        match err {
10565            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
10566                Error::Unhandled(inner)
10567            }
10568        }
10569    }
10570}
10571impl<R>
10572    From<
10573        ::aws_smithy_runtime_api::client::result::SdkError<
10574            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10575            R,
10576        >,
10577    > for Error
10578where
10579    R: Send + Sync + std::fmt::Debug + 'static,
10580{
10581    fn from(
10582        err: ::aws_smithy_runtime_api::client::result::SdkError<
10583            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10584            R,
10585        >,
10586    ) -> Self {
10587        match err {
10588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10591                source: err.into(),
10592            }),
10593        }
10594    }
10595}
10596impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10597    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10598        match err {
10599            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10600                inner,
10601            ) => Error::Unhandled(inner),
10602        }
10603    }
10604}
10605impl<R>
10606    From<
10607        ::aws_smithy_runtime_api::client::result::SdkError<
10608            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10609            R,
10610        >,
10611    > for Error
10612where
10613    R: Send + Sync + std::fmt::Debug + 'static,
10614{
10615    fn from(
10616        err: ::aws_smithy_runtime_api::client::result::SdkError<
10617            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10618            R,
10619        >,
10620    ) -> Self {
10621        match err {
10622            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10623            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10624                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10625                source: err.into(),
10626            }),
10627        }
10628    }
10629}
10630impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10631    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10632        match err {
10633            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10634                Error::Unhandled(inner)
10635            }
10636        }
10637    }
10638}
10639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10640    for Error
10641where
10642    R: Send + Sync + std::fmt::Debug + 'static,
10643{
10644    fn from(
10645        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10646    ) -> Self {
10647        match err {
10648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10651                source: err.into(),
10652            }),
10653        }
10654    }
10655}
10656impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10657    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10658        match err {
10659            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10660        }
10661    }
10662}
10663impl<R>
10664    From<
10665        ::aws_smithy_runtime_api::client::result::SdkError<
10666            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10667            R,
10668        >,
10669    > for Error
10670where
10671    R: Send + Sync + std::fmt::Debug + 'static,
10672{
10673    fn from(
10674        err: ::aws_smithy_runtime_api::client::result::SdkError<
10675            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10676            R,
10677        >,
10678    ) -> Self {
10679        match err {
10680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10683                source: err.into(),
10684            }),
10685        }
10686    }
10687}
10688impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10689    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10690        match err {
10691            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10692                Error::Unhandled(inner)
10693            }
10694        }
10695    }
10696}
10697impl<R>
10698    From<
10699        ::aws_smithy_runtime_api::client::result::SdkError<
10700            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10701            R,
10702        >,
10703    > for Error
10704where
10705    R: Send + Sync + std::fmt::Debug + 'static,
10706{
10707    fn from(
10708        err: ::aws_smithy_runtime_api::client::result::SdkError<
10709            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10710            R,
10711        >,
10712    ) -> Self {
10713        match err {
10714            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10715            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10716                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10717                source: err.into(),
10718            }),
10719        }
10720    }
10721}
10722impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10723    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10724        match err {
10725            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10726                Error::Unhandled(inner)
10727            }
10728        }
10729    }
10730}
10731impl<R>
10732    From<
10733        ::aws_smithy_runtime_api::client::result::SdkError<
10734            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10735            R,
10736        >,
10737    > for Error
10738where
10739    R: Send + Sync + std::fmt::Debug + 'static,
10740{
10741    fn from(
10742        err: ::aws_smithy_runtime_api::client::result::SdkError<
10743            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10744            R,
10745        >,
10746    ) -> Self {
10747        match err {
10748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10751                source: err.into(),
10752            }),
10753        }
10754    }
10755}
10756impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10757    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10758        match err {
10759            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10760        }
10761    }
10762}
10763impl<R>
10764    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10765    for Error
10766where
10767    R: Send + Sync + std::fmt::Debug + 'static,
10768{
10769    fn from(
10770        err: ::aws_smithy_runtime_api::client::result::SdkError<
10771            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10772            R,
10773        >,
10774    ) -> Self {
10775        match err {
10776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10779                source: err.into(),
10780            }),
10781        }
10782    }
10783}
10784impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10785    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10786        match err {
10787            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10788        }
10789    }
10790}
10791impl<R>
10792    From<
10793        ::aws_smithy_runtime_api::client::result::SdkError<
10794            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10795            R,
10796        >,
10797    > for Error
10798where
10799    R: Send + Sync + std::fmt::Debug + 'static,
10800{
10801    fn from(
10802        err: ::aws_smithy_runtime_api::client::result::SdkError<
10803            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10804            R,
10805        >,
10806    ) -> Self {
10807        match err {
10808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10811                source: err.into(),
10812            }),
10813        }
10814    }
10815}
10816impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10817    for Error
10818{
10819    fn from(
10820        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10821    ) -> Self {
10822        match err {
10823            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10824        }
10825    }
10826}
10827impl<R>
10828    From<
10829        ::aws_smithy_runtime_api::client::result::SdkError<
10830            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10831            R,
10832        >,
10833    > for Error
10834where
10835    R: Send + Sync + std::fmt::Debug + 'static,
10836{
10837    fn from(
10838        err: ::aws_smithy_runtime_api::client::result::SdkError<
10839            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10840            R,
10841        >,
10842    ) -> Self {
10843        match err {
10844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10847                source: err.into(),
10848            }),
10849        }
10850    }
10851}
10852impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10853    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10854        match err {
10855            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10856        }
10857    }
10858}
10859impl<R>
10860    From<
10861        ::aws_smithy_runtime_api::client::result::SdkError<
10862            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10863            R,
10864        >,
10865    > for Error
10866where
10867    R: Send + Sync + std::fmt::Debug + 'static,
10868{
10869    fn from(
10870        err: ::aws_smithy_runtime_api::client::result::SdkError<
10871            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10872            R,
10873        >,
10874    ) -> Self {
10875        match err {
10876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10879                source: err.into(),
10880            }),
10881        }
10882    }
10883}
10884impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10885    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10886        match err {
10887            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10888                Error::Unhandled(inner)
10889            }
10890        }
10891    }
10892}
10893impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
10894    for Error
10895where
10896    R: Send + Sync + std::fmt::Debug + 'static,
10897{
10898    fn from(
10899        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
10900    ) -> Self {
10901        match err {
10902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10905                source: err.into(),
10906            }),
10907        }
10908    }
10909}
10910impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
10911    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
10912        match err {
10913            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10914        }
10915    }
10916}
10917impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
10918where
10919    R: Send + Sync + std::fmt::Debug + 'static,
10920{
10921    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
10922        match err {
10923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10926                source: err.into(),
10927            }),
10928        }
10929    }
10930}
10931impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
10932    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
10933        match err {
10934            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
10935        }
10936    }
10937}
10938impl<R>
10939    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
10940    for Error
10941where
10942    R: Send + Sync + std::fmt::Debug + 'static,
10943{
10944    fn from(
10945        err: ::aws_smithy_runtime_api::client::result::SdkError<
10946            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
10947            R,
10948        >,
10949    ) -> Self {
10950        match err {
10951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10954                source: err.into(),
10955            }),
10956        }
10957    }
10958}
10959impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
10960    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
10961        match err {
10962            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
10963        }
10964    }
10965}
10966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
10967where
10968    R: Send + Sync + std::fmt::Debug + 'static,
10969{
10970    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
10971        match err {
10972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10975                source: err.into(),
10976            }),
10977        }
10978    }
10979}
10980impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
10981    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
10982        match err {
10983            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
10984        }
10985    }
10986}
10987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
10988where
10989    R: Send + Sync + std::fmt::Debug + 'static,
10990{
10991    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
10992        match err {
10993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10996                source: err.into(),
10997            }),
10998        }
10999    }
11000}
11001impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
11002    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
11003        match err {
11004            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11005        }
11006    }
11007}
11008impl<R>
11009    From<
11010        ::aws_smithy_runtime_api::client::result::SdkError<
11011            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11012            R,
11013        >,
11014    > for Error
11015where
11016    R: Send + Sync + std::fmt::Debug + 'static,
11017{
11018    fn from(
11019        err: ::aws_smithy_runtime_api::client::result::SdkError<
11020            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11021            R,
11022        >,
11023    ) -> Self {
11024        match err {
11025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11028                source: err.into(),
11029            }),
11030        }
11031    }
11032}
11033impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
11034    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
11035        match err {
11036            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
11037                Error::Unhandled(inner)
11038            }
11039        }
11040    }
11041}
11042impl<R>
11043    From<
11044        ::aws_smithy_runtime_api::client::result::SdkError<
11045            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11046            R,
11047        >,
11048    > for Error
11049where
11050    R: Send + Sync + std::fmt::Debug + 'static,
11051{
11052    fn from(
11053        err: ::aws_smithy_runtime_api::client::result::SdkError<
11054            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11055            R,
11056        >,
11057    ) -> Self {
11058        match err {
11059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11062                source: err.into(),
11063            }),
11064        }
11065    }
11066}
11067impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
11068    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
11069        match err {
11070            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
11071                Error::Unhandled(inner)
11072            }
11073        }
11074    }
11075}
11076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
11077    for Error
11078where
11079    R: Send + Sync + std::fmt::Debug + 'static,
11080{
11081    fn from(
11082        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
11083    ) -> Self {
11084        match err {
11085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11088                source: err.into(),
11089            }),
11090        }
11091    }
11092}
11093impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
11094    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
11095        match err {
11096            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11097        }
11098    }
11099}
11100impl<R>
11101    From<
11102        ::aws_smithy_runtime_api::client::result::SdkError<
11103            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11104            R,
11105        >,
11106    > for Error
11107where
11108    R: Send + Sync + std::fmt::Debug + 'static,
11109{
11110    fn from(
11111        err: ::aws_smithy_runtime_api::client::result::SdkError<
11112            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11113            R,
11114        >,
11115    ) -> Self {
11116        match err {
11117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11120                source: err.into(),
11121            }),
11122        }
11123    }
11124}
11125impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
11126    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
11127        match err {
11128            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
11129                Error::Unhandled(inner)
11130            }
11131        }
11132    }
11133}
11134impl<R>
11135    From<
11136        ::aws_smithy_runtime_api::client::result::SdkError<
11137            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11138            R,
11139        >,
11140    > for Error
11141where
11142    R: Send + Sync + std::fmt::Debug + 'static,
11143{
11144    fn from(
11145        err: ::aws_smithy_runtime_api::client::result::SdkError<
11146            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11147            R,
11148        >,
11149    ) -> Self {
11150        match err {
11151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11154                source: err.into(),
11155            }),
11156        }
11157    }
11158}
11159impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
11160    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
11161        match err {
11162            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
11163        }
11164    }
11165}
11166impl<R>
11167    From<
11168        ::aws_smithy_runtime_api::client::result::SdkError<
11169            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11170            R,
11171        >,
11172    > for Error
11173where
11174    R: Send + Sync + std::fmt::Debug + 'static,
11175{
11176    fn from(
11177        err: ::aws_smithy_runtime_api::client::result::SdkError<
11178            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11179            R,
11180        >,
11181    ) -> Self {
11182        match err {
11183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11186                source: err.into(),
11187            }),
11188        }
11189    }
11190}
11191impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
11192    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
11193        match err {
11194            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
11195                Error::Unhandled(inner)
11196            }
11197        }
11198    }
11199}
11200impl<R>
11201    From<
11202        ::aws_smithy_runtime_api::client::result::SdkError<
11203            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11204            R,
11205        >,
11206    > for Error
11207where
11208    R: Send + Sync + std::fmt::Debug + 'static,
11209{
11210    fn from(
11211        err: ::aws_smithy_runtime_api::client::result::SdkError<
11212            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11213            R,
11214        >,
11215    ) -> Self {
11216        match err {
11217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11220                source: err.into(),
11221            }),
11222        }
11223    }
11224}
11225impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
11226    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
11227        match err {
11228            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11229        }
11230    }
11231}
11232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
11233where
11234    R: Send + Sync + std::fmt::Debug + 'static,
11235{
11236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
11237        match err {
11238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11241                source: err.into(),
11242            }),
11243        }
11244    }
11245}
11246impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
11247    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
11248        match err {
11249            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
11250        }
11251    }
11252}
11253impl<R>
11254    From<
11255        ::aws_smithy_runtime_api::client::result::SdkError<
11256            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11257            R,
11258        >,
11259    > for Error
11260where
11261    R: Send + Sync + std::fmt::Debug + 'static,
11262{
11263    fn from(
11264        err: ::aws_smithy_runtime_api::client::result::SdkError<
11265            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11266            R,
11267        >,
11268    ) -> Self {
11269        match err {
11270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11273                source: err.into(),
11274            }),
11275        }
11276    }
11277}
11278impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
11279    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
11280        match err {
11281            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
11282                Error::Unhandled(inner)
11283            }
11284        }
11285    }
11286}
11287impl<R>
11288    From<
11289        ::aws_smithy_runtime_api::client::result::SdkError<
11290            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11291            R,
11292        >,
11293    > for Error
11294where
11295    R: Send + Sync + std::fmt::Debug + 'static,
11296{
11297    fn from(
11298        err: ::aws_smithy_runtime_api::client::result::SdkError<
11299            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11300            R,
11301        >,
11302    ) -> Self {
11303        match err {
11304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11307                source: err.into(),
11308            }),
11309        }
11310    }
11311}
11312impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
11313    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
11314        match err {
11315            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
11316                Error::Unhandled(inner)
11317            }
11318        }
11319    }
11320}
11321impl<R>
11322    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
11323    for Error
11324where
11325    R: Send + Sync + std::fmt::Debug + 'static,
11326{
11327    fn from(
11328        err: ::aws_smithy_runtime_api::client::result::SdkError<
11329            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
11330            R,
11331        >,
11332    ) -> Self {
11333        match err {
11334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11337                source: err.into(),
11338            }),
11339        }
11340    }
11341}
11342impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
11343    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
11344        match err {
11345            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
11346        }
11347    }
11348}
11349impl<R>
11350    From<
11351        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
11352    > for Error
11353where
11354    R: Send + Sync + std::fmt::Debug + 'static,
11355{
11356    fn from(
11357        err: ::aws_smithy_runtime_api::client::result::SdkError<
11358            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
11359            R,
11360        >,
11361    ) -> Self {
11362        match err {
11363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11366                source: err.into(),
11367            }),
11368        }
11369    }
11370}
11371impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
11372    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
11373        match err {
11374            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11375        }
11376    }
11377}
11378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
11379where
11380    R: Send + Sync + std::fmt::Debug + 'static,
11381{
11382    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
11383        match err {
11384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11387                source: err.into(),
11388            }),
11389        }
11390    }
11391}
11392impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
11393    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
11394        match err {
11395            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
11396        }
11397    }
11398}
11399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
11400where
11401    R: Send + Sync + std::fmt::Debug + 'static,
11402{
11403    fn from(
11404        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
11405    ) -> Self {
11406        match err {
11407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11410                source: err.into(),
11411            }),
11412        }
11413    }
11414}
11415impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
11416    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
11417        match err {
11418            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11419        }
11420    }
11421}
11422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
11423where
11424    R: Send + Sync + std::fmt::Debug + 'static,
11425{
11426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
11427        match err {
11428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11431                source: err.into(),
11432            }),
11433        }
11434    }
11435}
11436impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
11437    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
11438        match err {
11439            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
11440        }
11441    }
11442}
11443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
11444where
11445    R: Send + Sync + std::fmt::Debug + 'static,
11446{
11447    fn from(
11448        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
11449    ) -> Self {
11450        match err {
11451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11454                source: err.into(),
11455            }),
11456        }
11457    }
11458}
11459impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
11460    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
11461        match err {
11462            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
11463        }
11464    }
11465}
11466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
11467where
11468    R: Send + Sync + std::fmt::Debug + 'static,
11469{
11470    fn from(
11471        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
11472    ) -> Self {
11473        match err {
11474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11477                source: err.into(),
11478            }),
11479        }
11480    }
11481}
11482impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
11483    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
11484        match err {
11485            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11486        }
11487    }
11488}
11489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
11490where
11491    R: Send + Sync + std::fmt::Debug + 'static,
11492{
11493    fn from(
11494        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
11495    ) -> Self {
11496        match err {
11497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11500                source: err.into(),
11501            }),
11502        }
11503    }
11504}
11505impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
11506    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
11507        match err {
11508            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11509        }
11510    }
11511}
11512impl<R>
11513    From<
11514        ::aws_smithy_runtime_api::client::result::SdkError<
11515            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11516            R,
11517        >,
11518    > for Error
11519where
11520    R: Send + Sync + std::fmt::Debug + 'static,
11521{
11522    fn from(
11523        err: ::aws_smithy_runtime_api::client::result::SdkError<
11524            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11525            R,
11526        >,
11527    ) -> Self {
11528        match err {
11529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11532                source: err.into(),
11533            }),
11534        }
11535    }
11536}
11537impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
11538    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
11539        match err {
11540            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
11541                Error::Unhandled(inner)
11542            }
11543        }
11544    }
11545}
11546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
11547where
11548    R: Send + Sync + std::fmt::Debug + 'static,
11549{
11550    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
11551        match err {
11552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11555                source: err.into(),
11556            }),
11557        }
11558    }
11559}
11560impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
11561    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
11562        match err {
11563            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
11564        }
11565    }
11566}
11567impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
11568where
11569    R: Send + Sync + std::fmt::Debug + 'static,
11570{
11571    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
11572        match err {
11573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11576                source: err.into(),
11577            }),
11578        }
11579    }
11580}
11581impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
11582    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
11583        match err {
11584            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11585        }
11586    }
11587}
11588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11589where
11590    R: Send + Sync + std::fmt::Debug + 'static,
11591{
11592    fn from(
11593        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11594    ) -> Self {
11595        match err {
11596            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11597            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11598                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11599                source: err.into(),
11600            }),
11601        }
11602    }
11603}
11604impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11605    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11606        match err {
11607            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11608        }
11609    }
11610}
11611impl<R>
11612    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11613    for Error
11614where
11615    R: Send + Sync + std::fmt::Debug + 'static,
11616{
11617    fn from(
11618        err: ::aws_smithy_runtime_api::client::result::SdkError<
11619            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
11620            R,
11621        >,
11622    ) -> Self {
11623        match err {
11624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11627                source: err.into(),
11628            }),
11629        }
11630    }
11631}
11632impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
11633    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
11634        match err {
11635            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11636        }
11637    }
11638}
11639impl<R>
11640    From<
11641        ::aws_smithy_runtime_api::client::result::SdkError<
11642            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11643            R,
11644        >,
11645    > for Error
11646where
11647    R: Send + Sync + std::fmt::Debug + 'static,
11648{
11649    fn from(
11650        err: ::aws_smithy_runtime_api::client::result::SdkError<
11651            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11652            R,
11653        >,
11654    ) -> Self {
11655        match err {
11656            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11657            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11658                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11659                source: err.into(),
11660            }),
11661        }
11662    }
11663}
11664impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11665    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11666        match err {
11667            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11668                inner,
11669            ) => Error::Unhandled(inner),
11670        }
11671    }
11672}
11673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>> for Error
11674where
11675    R: Send + Sync + std::fmt::Debug + 'static,
11676{
11677    fn from(
11678        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>,
11679    ) -> Self {
11680        match err {
11681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11684                source: err.into(),
11685            }),
11686        }
11687    }
11688}
11689impl From<crate::operation::disable_capacity_manager::DisableCapacityManagerError> for Error {
11690    fn from(err: crate::operation::disable_capacity_manager::DisableCapacityManagerError) -> Self {
11691        match err {
11692            crate::operation::disable_capacity_manager::DisableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
11693        }
11694    }
11695}
11696impl<R>
11697    From<
11698        ::aws_smithy_runtime_api::client::result::SdkError<
11699            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11700            R,
11701        >,
11702    > for Error
11703where
11704    R: Send + Sync + std::fmt::Debug + 'static,
11705{
11706    fn from(
11707        err: ::aws_smithy_runtime_api::client::result::SdkError<
11708            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11709            R,
11710        >,
11711    ) -> Self {
11712        match err {
11713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11716                source: err.into(),
11717            }),
11718        }
11719    }
11720}
11721impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11722    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11723        match err {
11724            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11725        }
11726    }
11727}
11728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11729where
11730    R: Send + Sync + std::fmt::Debug + 'static,
11731{
11732    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11733        match err {
11734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11737                source: err.into(),
11738            }),
11739        }
11740    }
11741}
11742impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11743    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11744        match err {
11745            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11746        }
11747    }
11748}
11749impl<R>
11750    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11751    for Error
11752where
11753    R: Send + Sync + std::fmt::Debug + 'static,
11754{
11755    fn from(
11756        err: ::aws_smithy_runtime_api::client::result::SdkError<
11757            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11758            R,
11759        >,
11760    ) -> Self {
11761        match err {
11762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11765                source: err.into(),
11766            }),
11767        }
11768    }
11769}
11770impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11771    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11772        match err {
11773            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11774        }
11775    }
11776}
11777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11778where
11779    R: Send + Sync + std::fmt::Debug + 'static,
11780{
11781    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11782        match err {
11783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11786                source: err.into(),
11787            }),
11788        }
11789    }
11790}
11791impl From<crate::operation::disable_image::DisableImageError> for Error {
11792    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11793        match err {
11794            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11795        }
11796    }
11797}
11798impl<R>
11799    From<
11800        ::aws_smithy_runtime_api::client::result::SdkError<
11801            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11802            R,
11803        >,
11804    > for Error
11805where
11806    R: Send + Sync + std::fmt::Debug + 'static,
11807{
11808    fn from(
11809        err: ::aws_smithy_runtime_api::client::result::SdkError<
11810            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11811            R,
11812        >,
11813    ) -> Self {
11814        match err {
11815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11818                source: err.into(),
11819            }),
11820        }
11821    }
11822}
11823impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11824    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11825        match err {
11826            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11827        }
11828    }
11829}
11830impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11831    for Error
11832where
11833    R: Send + Sync + std::fmt::Debug + 'static,
11834{
11835    fn from(
11836        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11837    ) -> Self {
11838        match err {
11839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11842                source: err.into(),
11843            }),
11844        }
11845    }
11846}
11847impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11848    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11849        match err {
11850            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11851        }
11852    }
11853}
11854impl<R>
11855    From<
11856        ::aws_smithy_runtime_api::client::result::SdkError<
11857            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11858            R,
11859        >,
11860    > for Error
11861where
11862    R: Send + Sync + std::fmt::Debug + 'static,
11863{
11864    fn from(
11865        err: ::aws_smithy_runtime_api::client::result::SdkError<
11866            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11867            R,
11868        >,
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::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
11880    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
11881        match err {
11882            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
11883                Error::Unhandled(inner)
11884            }
11885        }
11886    }
11887}
11888impl<R>
11889    From<
11890        ::aws_smithy_runtime_api::client::result::SdkError<
11891            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
11892            R,
11893        >,
11894    > for Error
11895where
11896    R: Send + Sync + std::fmt::Debug + 'static,
11897{
11898    fn from(
11899        err: ::aws_smithy_runtime_api::client::result::SdkError<
11900            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
11901            R,
11902        >,
11903    ) -> Self {
11904        match err {
11905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11908                source: err.into(),
11909            }),
11910        }
11911    }
11912}
11913impl From<crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError> for Error {
11914    fn from(err: crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError) -> Self {
11915        match err {
11916            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
11917                Error::Unhandled(inner)
11918            }
11919        }
11920    }
11921}
11922impl<R>
11923    From<
11924        ::aws_smithy_runtime_api::client::result::SdkError<
11925            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11926            R,
11927        >,
11928    > for Error
11929where
11930    R: Send + Sync + std::fmt::Debug + 'static,
11931{
11932    fn from(
11933        err: ::aws_smithy_runtime_api::client::result::SdkError<
11934            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11935            R,
11936        >,
11937    ) -> Self {
11938        match err {
11939            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11940            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11941                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11942                source: err.into(),
11943            }),
11944        }
11945    }
11946}
11947impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
11948    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
11949        match err {
11950            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11951                Error::Unhandled(inner)
11952            }
11953        }
11954    }
11955}
11956impl<R>
11957    From<
11958        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
11959    > for Error
11960where
11961    R: Send + Sync + std::fmt::Debug + 'static,
11962{
11963    fn from(
11964        err: ::aws_smithy_runtime_api::client::result::SdkError<
11965            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
11966            R,
11967        >,
11968    ) -> Self {
11969        match err {
11970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11973                source: err.into(),
11974            }),
11975        }
11976    }
11977}
11978impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
11979    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
11980        match err {
11981            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
11982        }
11983    }
11984}
11985impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
11986    for Error
11987where
11988    R: Send + Sync + std::fmt::Debug + 'static,
11989{
11990    fn from(
11991        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
11992    ) -> Self {
11993        match err {
11994            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11995            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11996                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11997                source: err.into(),
11998            }),
11999        }
12000    }
12001}
12002impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
12003    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
12004        match err {
12005            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12006        }
12007    }
12008}
12009impl<R>
12010    From<
12011        ::aws_smithy_runtime_api::client::result::SdkError<
12012            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12013            R,
12014        >,
12015    > for Error
12016where
12017    R: Send + Sync + std::fmt::Debug + 'static,
12018{
12019    fn from(
12020        err: ::aws_smithy_runtime_api::client::result::SdkError<
12021            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12022            R,
12023        >,
12024    ) -> Self {
12025        match err {
12026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12029                source: err.into(),
12030            }),
12031        }
12032    }
12033}
12034impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
12035    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
12036        match err {
12037            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
12038                Error::Unhandled(inner)
12039            }
12040        }
12041    }
12042}
12043impl<R>
12044    From<
12045        ::aws_smithy_runtime_api::client::result::SdkError<
12046            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12047            R,
12048        >,
12049    > for Error
12050where
12051    R: Send + Sync + std::fmt::Debug + 'static,
12052{
12053    fn from(
12054        err: ::aws_smithy_runtime_api::client::result::SdkError<
12055            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12056            R,
12057        >,
12058    ) -> Self {
12059        match err {
12060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12063                source: err.into(),
12064            }),
12065        }
12066    }
12067}
12068impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
12069    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
12070        match err {
12071            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12072                Error::Unhandled(inner)
12073            }
12074        }
12075    }
12076}
12077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
12078    for Error
12079where
12080    R: Send + Sync + std::fmt::Debug + 'static,
12081{
12082    fn from(
12083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
12084    ) -> Self {
12085        match err {
12086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12089                source: err.into(),
12090            }),
12091        }
12092    }
12093}
12094impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
12095    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
12096        match err {
12097            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12098        }
12099    }
12100}
12101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
12102where
12103    R: Send + Sync + std::fmt::Debug + 'static,
12104{
12105    fn from(
12106        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
12107    ) -> Self {
12108        match err {
12109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12112                source: err.into(),
12113            }),
12114        }
12115    }
12116}
12117impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
12118    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
12119        match err {
12120            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12121        }
12122    }
12123}
12124impl<R>
12125    From<
12126        ::aws_smithy_runtime_api::client::result::SdkError<
12127            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12128            R,
12129        >,
12130    > for Error
12131where
12132    R: Send + Sync + std::fmt::Debug + 'static,
12133{
12134    fn from(
12135        err: ::aws_smithy_runtime_api::client::result::SdkError<
12136            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12137            R,
12138        >,
12139    ) -> Self {
12140        match err {
12141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12144                source: err.into(),
12145            }),
12146        }
12147    }
12148}
12149impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
12150    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
12151        match err {
12152            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12153        }
12154    }
12155}
12156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
12157where
12158    R: Send + Sync + std::fmt::Debug + 'static,
12159{
12160    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
12161        match err {
12162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12165                source: err.into(),
12166            }),
12167        }
12168    }
12169}
12170impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
12171    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
12172        match err {
12173            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
12174        }
12175    }
12176}
12177impl<R>
12178    From<
12179        ::aws_smithy_runtime_api::client::result::SdkError<
12180            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12181            R,
12182        >,
12183    > for Error
12184where
12185    R: Send + Sync + std::fmt::Debug + 'static,
12186{
12187    fn from(
12188        err: ::aws_smithy_runtime_api::client::result::SdkError<
12189            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12190            R,
12191        >,
12192    ) -> Self {
12193        match err {
12194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12197                source: err.into(),
12198            }),
12199        }
12200    }
12201}
12202impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
12203    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
12204        match err {
12205            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
12206                Error::Unhandled(inner)
12207            }
12208        }
12209    }
12210}
12211impl<R>
12212    From<
12213        ::aws_smithy_runtime_api::client::result::SdkError<
12214            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12215            R,
12216        >,
12217    > for Error
12218where
12219    R: Send + Sync + std::fmt::Debug + 'static,
12220{
12221    fn from(
12222        err: ::aws_smithy_runtime_api::client::result::SdkError<
12223            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12224            R,
12225        >,
12226    ) -> Self {
12227        match err {
12228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12231                source: err.into(),
12232            }),
12233        }
12234    }
12235}
12236impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
12237    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
12238        match err {
12239            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
12240                Error::Unhandled(inner)
12241            }
12242        }
12243    }
12244}
12245impl<R>
12246    From<
12247        ::aws_smithy_runtime_api::client::result::SdkError<
12248            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12249            R,
12250        >,
12251    > for Error
12252where
12253    R: Send + Sync + std::fmt::Debug + 'static,
12254{
12255    fn from(
12256        err: ::aws_smithy_runtime_api::client::result::SdkError<
12257            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12258            R,
12259        >,
12260    ) -> Self {
12261        match err {
12262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12265                source: err.into(),
12266            }),
12267        }
12268    }
12269}
12270impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
12271    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
12272        match err {
12273            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
12274                Error::Unhandled(inner)
12275            }
12276        }
12277    }
12278}
12279impl<R>
12280    From<
12281        ::aws_smithy_runtime_api::client::result::SdkError<
12282            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12283            R,
12284        >,
12285    > for Error
12286where
12287    R: Send + Sync + std::fmt::Debug + 'static,
12288{
12289    fn from(
12290        err: ::aws_smithy_runtime_api::client::result::SdkError<
12291            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12292            R,
12293        >,
12294    ) -> Self {
12295        match err {
12296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12299                source: err.into(),
12300            }),
12301        }
12302    }
12303}
12304impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
12305    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
12306        match err {
12307            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
12308        }
12309    }
12310}
12311impl<R>
12312    From<
12313        ::aws_smithy_runtime_api::client::result::SdkError<
12314            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12315            R,
12316        >,
12317    > for Error
12318where
12319    R: Send + Sync + std::fmt::Debug + 'static,
12320{
12321    fn from(
12322        err: ::aws_smithy_runtime_api::client::result::SdkError<
12323            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12324            R,
12325        >,
12326    ) -> Self {
12327        match err {
12328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12331                source: err.into(),
12332            }),
12333        }
12334    }
12335}
12336impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
12337    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
12338        match err {
12339            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
12340        }
12341    }
12342}
12343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
12344where
12345    R: Send + Sync + std::fmt::Debug + 'static,
12346{
12347    fn from(
12348        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
12349    ) -> Self {
12350        match err {
12351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12354                source: err.into(),
12355            }),
12356        }
12357    }
12358}
12359impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
12360    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
12361        match err {
12362            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
12363        }
12364    }
12365}
12366impl<R>
12367    From<
12368        ::aws_smithy_runtime_api::client::result::SdkError<
12369            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12370            R,
12371        >,
12372    > for Error
12373where
12374    R: Send + Sync + std::fmt::Debug + 'static,
12375{
12376    fn from(
12377        err: ::aws_smithy_runtime_api::client::result::SdkError<
12378            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12379            R,
12380        >,
12381    ) -> Self {
12382        match err {
12383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12386                source: err.into(),
12387            }),
12388        }
12389    }
12390}
12391impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
12392    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
12393        match err {
12394            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
12395                Error::Unhandled(inner)
12396            }
12397        }
12398    }
12399}
12400impl<R>
12401    From<
12402        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
12403    > for Error
12404where
12405    R: Send + Sync + std::fmt::Debug + 'static,
12406{
12407    fn from(
12408        err: ::aws_smithy_runtime_api::client::result::SdkError<
12409            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
12410            R,
12411        >,
12412    ) -> Self {
12413        match err {
12414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12417                source: err.into(),
12418            }),
12419        }
12420    }
12421}
12422impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
12423    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
12424        match err {
12425            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
12426        }
12427    }
12428}
12429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
12430    for Error
12431where
12432    R: Send + Sync + std::fmt::Debug + 'static,
12433{
12434    fn from(
12435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
12436    ) -> Self {
12437        match err {
12438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12441                source: err.into(),
12442            }),
12443        }
12444    }
12445}
12446impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
12447    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
12448        match err {
12449            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
12450        }
12451    }
12452}
12453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> 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::disassociate_route_table::DisassociateRouteTableError, 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::disassociate_route_table::DisassociateRouteTableError> for Error {
12470    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
12471        match err {
12472            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
12473        }
12474    }
12475}
12476impl<R>
12477    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
12478    for Error
12479where
12480    R: Send + Sync + std::fmt::Debug + 'static,
12481{
12482    fn from(
12483        err: ::aws_smithy_runtime_api::client::result::SdkError<
12484            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
12485            R,
12486        >,
12487    ) -> Self {
12488        match err {
12489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12492                source: err.into(),
12493            }),
12494        }
12495    }
12496}
12497impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
12498    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
12499        match err {
12500            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
12501        }
12502    }
12503}
12504impl<R>
12505    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
12506    for Error
12507where
12508    R: Send + Sync + std::fmt::Debug + 'static,
12509{
12510    fn from(
12511        err: ::aws_smithy_runtime_api::client::result::SdkError<
12512            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
12513            R,
12514        >,
12515    ) -> Self {
12516        match err {
12517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12520                source: err.into(),
12521            }),
12522        }
12523    }
12524}
12525impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
12526    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
12527        match err {
12528            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12529        }
12530    }
12531}
12532impl<R>
12533    From<
12534        ::aws_smithy_runtime_api::client::result::SdkError<
12535            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12536            R,
12537        >,
12538    > for Error
12539where
12540    R: Send + Sync + std::fmt::Debug + 'static,
12541{
12542    fn from(
12543        err: ::aws_smithy_runtime_api::client::result::SdkError<
12544            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12545            R,
12546        >,
12547    ) -> Self {
12548        match err {
12549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12552                source: err.into(),
12553            }),
12554        }
12555    }
12556}
12557impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
12558    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
12559        match err {
12560            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
12561                Error::Unhandled(inner)
12562            }
12563        }
12564    }
12565}
12566impl<R>
12567    From<
12568        ::aws_smithy_runtime_api::client::result::SdkError<
12569            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12570            R,
12571        >,
12572    > for Error
12573where
12574    R: Send + Sync + std::fmt::Debug + 'static,
12575{
12576    fn from(
12577        err: ::aws_smithy_runtime_api::client::result::SdkError<
12578            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12579            R,
12580        >,
12581    ) -> Self {
12582        match err {
12583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12586                source: err.into(),
12587            }),
12588        }
12589    }
12590}
12591impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
12592    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
12593        match err {
12594            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
12595                Error::Unhandled(inner)
12596            }
12597        }
12598    }
12599}
12600impl<R>
12601    From<
12602        ::aws_smithy_runtime_api::client::result::SdkError<
12603            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12604            R,
12605        >,
12606    > for Error
12607where
12608    R: Send + Sync + std::fmt::Debug + 'static,
12609{
12610    fn from(
12611        err: ::aws_smithy_runtime_api::client::result::SdkError<
12612            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12613            R,
12614        >,
12615    ) -> Self {
12616        match err {
12617            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12618            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12619                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12620                source: err.into(),
12621            }),
12622        }
12623    }
12624}
12625impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
12626    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
12627        match err {
12628            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
12629                Error::Unhandled(inner)
12630            }
12631        }
12632    }
12633}
12634impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
12635    for Error
12636where
12637    R: Send + Sync + std::fmt::Debug + 'static,
12638{
12639    fn from(
12640        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
12641    ) -> Self {
12642        match err {
12643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12646                source: err.into(),
12647            }),
12648        }
12649    }
12650}
12651impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
12652    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
12653        match err {
12654            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12655        }
12656    }
12657}
12658impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
12659    for Error
12660where
12661    R: Send + Sync + std::fmt::Debug + 'static,
12662{
12663    fn from(
12664        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
12665    ) -> Self {
12666        match err {
12667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12670                source: err.into(),
12671            }),
12672        }
12673    }
12674}
12675impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
12676    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
12677        match err {
12678            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12679        }
12680    }
12681}
12682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
12683where
12684    R: Send + Sync + std::fmt::Debug + 'static,
12685{
12686    fn from(
12687        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
12688    ) -> Self {
12689        match err {
12690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12693                source: err.into(),
12694            }),
12695        }
12696    }
12697}
12698impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
12699    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
12700        match err {
12701            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12702        }
12703    }
12704}
12705impl<R>
12706    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
12707    for Error
12708where
12709    R: Send + Sync + std::fmt::Debug + 'static,
12710{
12711    fn from(
12712        err: ::aws_smithy_runtime_api::client::result::SdkError<
12713            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
12714            R,
12715        >,
12716    ) -> Self {
12717        match err {
12718            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12719            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12720                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12721                source: err.into(),
12722            }),
12723        }
12724    }
12725}
12726impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
12727    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
12728        match err {
12729            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12730        }
12731    }
12732}
12733impl<R>
12734    From<
12735        ::aws_smithy_runtime_api::client::result::SdkError<
12736            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12737            R,
12738        >,
12739    > for Error
12740where
12741    R: Send + Sync + std::fmt::Debug + 'static,
12742{
12743    fn from(
12744        err: ::aws_smithy_runtime_api::client::result::SdkError<
12745            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12746            R,
12747        >,
12748    ) -> Self {
12749        match err {
12750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12753                source: err.into(),
12754            }),
12755        }
12756    }
12757}
12758impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12759    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12760        match err {
12761            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12762                inner,
12763            ) => Error::Unhandled(inner),
12764        }
12765    }
12766}
12767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>> for Error
12768where
12769    R: Send + Sync + std::fmt::Debug + 'static,
12770{
12771    fn from(
12772        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>,
12773    ) -> Self {
12774        match err {
12775            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12776            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12777                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12778                source: err.into(),
12779            }),
12780        }
12781    }
12782}
12783impl From<crate::operation::enable_capacity_manager::EnableCapacityManagerError> for Error {
12784    fn from(err: crate::operation::enable_capacity_manager::EnableCapacityManagerError) -> Self {
12785        match err {
12786            crate::operation::enable_capacity_manager::EnableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
12787        }
12788    }
12789}
12790impl<R>
12791    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12792    for Error
12793where
12794    R: Send + Sync + std::fmt::Debug + 'static,
12795{
12796    fn from(
12797        err: ::aws_smithy_runtime_api::client::result::SdkError<
12798            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12799            R,
12800        >,
12801    ) -> Self {
12802        match err {
12803            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12804            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12805                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12806                source: err.into(),
12807            }),
12808        }
12809    }
12810}
12811impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12812    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12813        match err {
12814            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12815        }
12816    }
12817}
12818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12819where
12820    R: Send + Sync + std::fmt::Debug + 'static,
12821{
12822    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12823        match err {
12824            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12825            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12826                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12827                source: err.into(),
12828            }),
12829        }
12830    }
12831}
12832impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12833    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12834        match err {
12835            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12836        }
12837    }
12838}
12839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12840    for Error
12841where
12842    R: Send + Sync + std::fmt::Debug + 'static,
12843{
12844    fn from(
12845        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
12846    ) -> Self {
12847        match err {
12848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12851                source: err.into(),
12852            }),
12853        }
12854    }
12855}
12856impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
12857    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
12858        match err {
12859            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12860        }
12861    }
12862}
12863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
12864where
12865    R: Send + Sync + std::fmt::Debug + 'static,
12866{
12867    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
12868        match err {
12869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12872                source: err.into(),
12873            }),
12874        }
12875    }
12876}
12877impl From<crate::operation::enable_image::EnableImageError> for Error {
12878    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
12879        match err {
12880            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
12881        }
12882    }
12883}
12884impl<R>
12885    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
12886    for Error
12887where
12888    R: Send + Sync + std::fmt::Debug + 'static,
12889{
12890    fn from(
12891        err: ::aws_smithy_runtime_api::client::result::SdkError<
12892            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
12893            R,
12894        >,
12895    ) -> Self {
12896        match err {
12897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12900                source: err.into(),
12901            }),
12902        }
12903    }
12904}
12905impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
12906    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
12907        match err {
12908            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12909        }
12910    }
12911}
12912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
12913where
12914    R: Send + Sync + std::fmt::Debug + 'static,
12915{
12916    fn from(
12917        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
12918    ) -> Self {
12919        match err {
12920            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12921            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12922                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12923                source: err.into(),
12924            }),
12925        }
12926    }
12927}
12928impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
12929    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
12930        match err {
12931            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12932        }
12933    }
12934}
12935impl<R>
12936    From<
12937        ::aws_smithy_runtime_api::client::result::SdkError<
12938            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12939            R,
12940        >,
12941    > for Error
12942where
12943    R: Send + Sync + std::fmt::Debug + 'static,
12944{
12945    fn from(
12946        err: ::aws_smithy_runtime_api::client::result::SdkError<
12947            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12948            R,
12949        >,
12950    ) -> Self {
12951        match err {
12952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12955                source: err.into(),
12956            }),
12957        }
12958    }
12959}
12960impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
12961    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
12962        match err {
12963            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
12964                Error::Unhandled(inner)
12965            }
12966        }
12967    }
12968}
12969impl<R>
12970    From<
12971        ::aws_smithy_runtime_api::client::result::SdkError<
12972            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
12973            R,
12974        >,
12975    > for Error
12976where
12977    R: Send + Sync + std::fmt::Debug + 'static,
12978{
12979    fn from(
12980        err: ::aws_smithy_runtime_api::client::result::SdkError<
12981            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
12982            R,
12983        >,
12984    ) -> Self {
12985        match err {
12986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12989                source: err.into(),
12990            }),
12991        }
12992    }
12993}
12994impl From<crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError> for Error {
12995    fn from(err: crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError) -> Self {
12996        match err {
12997            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
12998                Error::Unhandled(inner)
12999            }
13000        }
13001    }
13002}
13003impl<R>
13004    From<
13005        ::aws_smithy_runtime_api::client::result::SdkError<
13006            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13007            R,
13008        >,
13009    > for Error
13010where
13011    R: Send + Sync + std::fmt::Debug + 'static,
13012{
13013    fn from(
13014        err: ::aws_smithy_runtime_api::client::result::SdkError<
13015            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13016            R,
13017        >,
13018    ) -> Self {
13019        match err {
13020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13023                source: err.into(),
13024            }),
13025        }
13026    }
13027}
13028impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
13029    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
13030        match err {
13031            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
13032                Error::Unhandled(inner)
13033            }
13034        }
13035    }
13036}
13037impl<R>
13038    From<
13039        ::aws_smithy_runtime_api::client::result::SdkError<
13040            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13041            R,
13042        >,
13043    > for Error
13044where
13045    R: Send + Sync + std::fmt::Debug + 'static,
13046{
13047    fn from(
13048        err: ::aws_smithy_runtime_api::client::result::SdkError<
13049            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13050            R,
13051        >,
13052    ) -> Self {
13053        match err {
13054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13057                source: err.into(),
13058            }),
13059        }
13060    }
13061}
13062impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
13063    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
13064        match err {
13065            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
13066                inner,
13067            ) => Error::Unhandled(inner),
13068        }
13069    }
13070}
13071impl<R>
13072    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
13073    for Error
13074where
13075    R: Send + Sync + std::fmt::Debug + 'static,
13076{
13077    fn from(
13078        err: ::aws_smithy_runtime_api::client::result::SdkError<
13079            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
13080            R,
13081        >,
13082    ) -> Self {
13083        match err {
13084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13087                source: err.into(),
13088            }),
13089        }
13090    }
13091}
13092impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
13093    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
13094        match err {
13095            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
13096        }
13097    }
13098}
13099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
13100    for Error
13101where
13102    R: Send + Sync + std::fmt::Debug + 'static,
13103{
13104    fn from(
13105        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
13106    ) -> Self {
13107        match err {
13108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13111                source: err.into(),
13112            }),
13113        }
13114    }
13115}
13116impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
13117    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
13118        match err {
13119            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
13120        }
13121    }
13122}
13123impl<R>
13124    From<
13125        ::aws_smithy_runtime_api::client::result::SdkError<
13126            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13127            R,
13128        >,
13129    > for Error
13130where
13131    R: Send + Sync + std::fmt::Debug + 'static,
13132{
13133    fn from(
13134        err: ::aws_smithy_runtime_api::client::result::SdkError<
13135            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13136            R,
13137        >,
13138    ) -> Self {
13139        match err {
13140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13143                source: err.into(),
13144            }),
13145        }
13146    }
13147}
13148impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
13149    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
13150        match err {
13151            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13152        }
13153    }
13154}
13155impl<R>
13156    From<
13157        ::aws_smithy_runtime_api::client::result::SdkError<
13158            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13159            R,
13160        >,
13161    > for Error
13162where
13163    R: Send + Sync + std::fmt::Debug + 'static,
13164{
13165    fn from(
13166        err: ::aws_smithy_runtime_api::client::result::SdkError<
13167            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13168            R,
13169        >,
13170    ) -> Self {
13171        match err {
13172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13175                source: err.into(),
13176            }),
13177        }
13178    }
13179}
13180impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
13181    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
13182        match err {
13183            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
13184                Error::Unhandled(inner)
13185            }
13186        }
13187    }
13188}
13189impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
13190    for Error
13191where
13192    R: Send + Sync + std::fmt::Debug + 'static,
13193{
13194    fn from(
13195        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
13196    ) -> Self {
13197        match err {
13198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13201                source: err.into(),
13202            }),
13203        }
13204    }
13205}
13206impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
13207    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
13208        match err {
13209            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
13210        }
13211    }
13212}
13213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
13214where
13215    R: Send + Sync + std::fmt::Debug + 'static,
13216{
13217    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
13218        match err {
13219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13222                source: err.into(),
13223            }),
13224        }
13225    }
13226}
13227impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
13228    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
13229        match err {
13230            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
13231        }
13232    }
13233}
13234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
13235where
13236    R: Send + Sync + std::fmt::Debug + 'static,
13237{
13238    fn from(
13239        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
13240    ) -> Self {
13241        match err {
13242            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13243            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13244                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13245                source: err.into(),
13246            }),
13247        }
13248    }
13249}
13250impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
13251    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
13252        match err {
13253            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
13254        }
13255    }
13256}
13257impl<R>
13258    From<
13259        ::aws_smithy_runtime_api::client::result::SdkError<
13260            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13261            R,
13262        >,
13263    > for Error
13264where
13265    R: Send + Sync + std::fmt::Debug + 'static,
13266{
13267    fn from(
13268        err: ::aws_smithy_runtime_api::client::result::SdkError<
13269            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13270            R,
13271        >,
13272    ) -> Self {
13273        match err {
13274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13277                source: err.into(),
13278            }),
13279        }
13280    }
13281}
13282impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
13283    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
13284        match err {
13285            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
13286        }
13287    }
13288}
13289impl<R>
13290    From<
13291        ::aws_smithy_runtime_api::client::result::SdkError<
13292            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13293            R,
13294        >,
13295    > for Error
13296where
13297    R: Send + Sync + std::fmt::Debug + 'static,
13298{
13299    fn from(
13300        err: ::aws_smithy_runtime_api::client::result::SdkError<
13301            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13302            R,
13303        >,
13304    ) -> Self {
13305        match err {
13306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13309                source: err.into(),
13310            }),
13311        }
13312    }
13313}
13314impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
13315    fn from(
13316        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13317    ) -> Self {
13318        match err {
13319            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
13320        }
13321    }
13322}
13323impl<R>
13324    From<
13325        ::aws_smithy_runtime_api::client::result::SdkError<
13326            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13327            R,
13328        >,
13329    > for Error
13330where
13331    R: Send + Sync + std::fmt::Debug + 'static,
13332{
13333    fn from(
13334        err: ::aws_smithy_runtime_api::client::result::SdkError<
13335            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13336            R,
13337        >,
13338    ) -> Self {
13339        match err {
13340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13343                source: err.into(),
13344            }),
13345        }
13346    }
13347}
13348impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
13349    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
13350        match err {
13351            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
13352                Error::Unhandled(inner)
13353            }
13354        }
13355    }
13356}
13357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
13358where
13359    R: Send + Sync + std::fmt::Debug + 'static,
13360{
13361    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
13362        match err {
13363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13366                source: err.into(),
13367            }),
13368        }
13369    }
13370}
13371impl From<crate::operation::export_image::ExportImageError> for Error {
13372    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
13373        match err {
13374            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
13375        }
13376    }
13377}
13378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
13379    for Error
13380where
13381    R: Send + Sync + std::fmt::Debug + 'static,
13382{
13383    fn from(
13384        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
13385    ) -> Self {
13386        match err {
13387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13390                source: err.into(),
13391            }),
13392        }
13393    }
13394}
13395impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
13396    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
13397        match err {
13398            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
13399        }
13400    }
13401}
13402impl<R>
13403    From<
13404        ::aws_smithy_runtime_api::client::result::SdkError<
13405            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13406            R,
13407        >,
13408    > for Error
13409where
13410    R: Send + Sync + std::fmt::Debug + 'static,
13411{
13412    fn from(
13413        err: ::aws_smithy_runtime_api::client::result::SdkError<
13414            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13415            R,
13416        >,
13417    ) -> Self {
13418        match err {
13419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13422                source: err.into(),
13423            }),
13424        }
13425    }
13426}
13427impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
13428    fn from(
13429        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13430    ) -> Self {
13431        match err {
13432            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
13433        }
13434    }
13435}
13436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
13437    for Error
13438where
13439    R: Send + Sync + std::fmt::Debug + 'static,
13440{
13441    fn from(
13442        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
13443    ) -> Self {
13444        match err {
13445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13448                source: err.into(),
13449            }),
13450        }
13451    }
13452}
13453impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
13454    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
13455        match err {
13456            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
13457        }
13458    }
13459}
13460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
13461    for Error
13462where
13463    R: Send + Sync + std::fmt::Debug + 'static,
13464{
13465    fn from(
13466        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
13467    ) -> Self {
13468        match err {
13469            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13470            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13471                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13472                source: err.into(),
13473            }),
13474        }
13475    }
13476}
13477impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
13478    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
13479        match err {
13480            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
13481        }
13482    }
13483}
13484impl<R>
13485    From<
13486        ::aws_smithy_runtime_api::client::result::SdkError<
13487            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13488            R,
13489        >,
13490    > for Error
13491where
13492    R: Send + Sync + std::fmt::Debug + 'static,
13493{
13494    fn from(
13495        err: ::aws_smithy_runtime_api::client::result::SdkError<
13496            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13497            R,
13498        >,
13499    ) -> Self {
13500        match err {
13501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13504                source: err.into(),
13505            }),
13506        }
13507    }
13508}
13509impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
13510    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
13511        match err {
13512            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
13513                Error::Unhandled(inner)
13514            }
13515        }
13516    }
13517}
13518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
13519    for Error
13520where
13521    R: Send + Sync + std::fmt::Debug + 'static,
13522{
13523    fn from(
13524        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
13525    ) -> Self {
13526        match err {
13527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13530                source: err.into(),
13531            }),
13532        }
13533    }
13534}
13535impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
13536    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
13537        match err {
13538            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13539        }
13540    }
13541}
13542impl<R>
13543    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
13544    for Error
13545where
13546    R: Send + Sync + std::fmt::Debug + 'static,
13547{
13548    fn from(
13549        err: ::aws_smithy_runtime_api::client::result::SdkError<
13550            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
13551            R,
13552        >,
13553    ) -> Self {
13554        match err {
13555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13558                source: err.into(),
13559            }),
13560        }
13561    }
13562}
13563impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
13564    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
13565        match err {
13566            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
13567        }
13568    }
13569}
13570impl<R>
13571    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError, R>>
13572    for Error
13573where
13574    R: Send + Sync + std::fmt::Debug + 'static,
13575{
13576    fn from(
13577        err: ::aws_smithy_runtime_api::client::result::SdkError<
13578            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError,
13579            R,
13580        >,
13581    ) -> Self {
13582        match err {
13583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13586                source: err.into(),
13587            }),
13588        }
13589    }
13590}
13591impl From<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError> for Error {
13592    fn from(err: crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError) -> Self {
13593        match err {
13594            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError::Unhandled(inner) => Error::Unhandled(inner),
13595        }
13596    }
13597}
13598impl<R>
13599    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError, R>>
13600    for Error
13601where
13602    R: Send + Sync + std::fmt::Debug + 'static,
13603{
13604    fn from(
13605        err: ::aws_smithy_runtime_api::client::result::SdkError<
13606            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError,
13607            R,
13608        >,
13609    ) -> Self {
13610        match err {
13611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13614                source: err.into(),
13615            }),
13616        }
13617    }
13618}
13619impl From<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError> for Error {
13620    fn from(err: crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError) -> Self {
13621        match err {
13622            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError::Unhandled(inner) => Error::Unhandled(inner),
13623        }
13624    }
13625}
13626impl<R>
13627    From<
13628        ::aws_smithy_runtime_api::client::result::SdkError<
13629            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
13630            R,
13631        >,
13632    > for Error
13633where
13634    R: Send + Sync + std::fmt::Debug + 'static,
13635{
13636    fn from(
13637        err: ::aws_smithy_runtime_api::client::result::SdkError<
13638            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
13639            R,
13640        >,
13641    ) -> Self {
13642        match err {
13643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13646                source: err.into(),
13647            }),
13648        }
13649    }
13650}
13651impl From<crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError> for Error {
13652    fn from(err: crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError) -> Self {
13653        match err {
13654            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError::Unhandled(inner) => {
13655                Error::Unhandled(inner)
13656            }
13657        }
13658    }
13659}
13660impl<R>
13661    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
13662    for Error
13663where
13664    R: Send + Sync + std::fmt::Debug + 'static,
13665{
13666    fn from(
13667        err: ::aws_smithy_runtime_api::client::result::SdkError<
13668            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
13669            R,
13670        >,
13671    ) -> Self {
13672        match err {
13673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13676                source: err.into(),
13677            }),
13678        }
13679    }
13680}
13681impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
13682    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
13683        match err {
13684            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
13685        }
13686    }
13687}
13688impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
13689where
13690    R: Send + Sync + std::fmt::Debug + 'static,
13691{
13692    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
13693        match err {
13694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13697                source: err.into(),
13698            }),
13699        }
13700    }
13701}
13702impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
13703    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
13704        match err {
13705            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
13706        }
13707    }
13708}
13709impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
13710where
13711    R: Send + Sync + std::fmt::Debug + 'static,
13712{
13713    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
13714        match err {
13715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13718                source: err.into(),
13719            }),
13720        }
13721    }
13722}
13723impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
13724    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
13725        match err {
13726            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
13727        }
13728    }
13729}
13730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
13731where
13732    R: Send + Sync + std::fmt::Debug + 'static,
13733{
13734    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
13735        match err {
13736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13739                source: err.into(),
13740            }),
13741        }
13742    }
13743}
13744impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
13745    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
13746        match err {
13747            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
13748        }
13749    }
13750}
13751impl<R>
13752    From<
13753        ::aws_smithy_runtime_api::client::result::SdkError<
13754            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13755            R,
13756        >,
13757    > for Error
13758where
13759    R: Send + Sync + std::fmt::Debug + 'static,
13760{
13761    fn from(
13762        err: ::aws_smithy_runtime_api::client::result::SdkError<
13763            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13764            R,
13765        >,
13766    ) -> Self {
13767        match err {
13768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13771                source: err.into(),
13772            }),
13773        }
13774    }
13775}
13776impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
13777    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
13778        match err {
13779            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
13780                Error::Unhandled(inner)
13781            }
13782        }
13783    }
13784}
13785impl<R>
13786    From<
13787        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
13788    > for Error
13789where
13790    R: Send + Sync + std::fmt::Debug + 'static,
13791{
13792    fn from(
13793        err: ::aws_smithy_runtime_api::client::result::SdkError<
13794            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
13795            R,
13796        >,
13797    ) -> Self {
13798        match err {
13799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13802                source: err.into(),
13803            }),
13804        }
13805    }
13806}
13807impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
13808    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
13809        match err {
13810            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
13811        }
13812    }
13813}
13814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
13815    for Error
13816where
13817    R: Send + Sync + std::fmt::Debug + 'static,
13818{
13819    fn from(
13820        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
13821    ) -> Self {
13822        match err {
13823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13826                source: err.into(),
13827            }),
13828        }
13829    }
13830}
13831impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
13832    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
13833        match err {
13834            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
13835        }
13836    }
13837}
13838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
13839    for Error
13840where
13841    R: Send + Sync + std::fmt::Debug + 'static,
13842{
13843    fn from(
13844        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
13845    ) -> Self {
13846        match err {
13847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13850                source: err.into(),
13851            }),
13852        }
13853    }
13854}
13855impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
13856    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
13857        match err {
13858            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13859        }
13860    }
13861}
13862impl<R>
13863    From<
13864        ::aws_smithy_runtime_api::client::result::SdkError<
13865            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13866            R,
13867        >,
13868    > for Error
13869where
13870    R: Send + Sync + std::fmt::Debug + 'static,
13871{
13872    fn from(
13873        err: ::aws_smithy_runtime_api::client::result::SdkError<
13874            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13875            R,
13876        >,
13877    ) -> Self {
13878        match err {
13879            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13880            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13881                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13882                source: err.into(),
13883            }),
13884        }
13885    }
13886}
13887impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
13888    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
13889        match err {
13890            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
13891        }
13892    }
13893}
13894impl<R>
13895    From<
13896        ::aws_smithy_runtime_api::client::result::SdkError<
13897            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13898            R,
13899        >,
13900    > for Error
13901where
13902    R: Send + Sync + std::fmt::Debug + 'static,
13903{
13904    fn from(
13905        err: ::aws_smithy_runtime_api::client::result::SdkError<
13906            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13907            R,
13908        >,
13909    ) -> Self {
13910        match err {
13911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13914                source: err.into(),
13915            }),
13916        }
13917    }
13918}
13919impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
13920    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
13921        match err {
13922            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13923        }
13924    }
13925}
13926impl<R>
13927    From<
13928        ::aws_smithy_runtime_api::client::result::SdkError<
13929            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13930            R,
13931        >,
13932    > for Error
13933where
13934    R: Send + Sync + std::fmt::Debug + 'static,
13935{
13936    fn from(
13937        err: ::aws_smithy_runtime_api::client::result::SdkError<
13938            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13939            R,
13940        >,
13941    ) -> Self {
13942        match err {
13943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13946                source: err.into(),
13947            }),
13948        }
13949    }
13950}
13951impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
13952    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
13953        match err {
13954            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
13955                Error::Unhandled(inner)
13956            }
13957        }
13958    }
13959}
13960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>> for Error
13961where
13962    R: Send + Sync + std::fmt::Debug + 'static,
13963{
13964    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>) -> Self {
13965        match err {
13966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13969                source: err.into(),
13970            }),
13971        }
13972    }
13973}
13974impl From<crate::operation::get_image_ancestry::GetImageAncestryError> for Error {
13975    fn from(err: crate::operation::get_image_ancestry::GetImageAncestryError) -> Self {
13976        match err {
13977            crate::operation::get_image_ancestry::GetImageAncestryError::Unhandled(inner) => Error::Unhandled(inner),
13978        }
13979    }
13980}
13981impl<R>
13982    From<
13983        ::aws_smithy_runtime_api::client::result::SdkError<
13984            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13985            R,
13986        >,
13987    > for Error
13988where
13989    R: Send + Sync + std::fmt::Debug + 'static,
13990{
13991    fn from(
13992        err: ::aws_smithy_runtime_api::client::result::SdkError<
13993            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13994            R,
13995        >,
13996    ) -> Self {
13997        match err {
13998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14001                source: err.into(),
14002            }),
14003        }
14004    }
14005}
14006impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
14007    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
14008        match err {
14009            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
14010        }
14011    }
14012}
14013impl<R>
14014    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
14015    for Error
14016where
14017    R: Send + Sync + std::fmt::Debug + 'static,
14018{
14019    fn from(
14020        err: ::aws_smithy_runtime_api::client::result::SdkError<
14021            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
14022            R,
14023        >,
14024    ) -> Self {
14025        match err {
14026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14029                source: err.into(),
14030            }),
14031        }
14032    }
14033}
14034impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
14035    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
14036        match err {
14037            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
14038        }
14039    }
14040}
14041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
14042where
14043    R: Send + Sync + std::fmt::Debug + 'static,
14044{
14045    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> 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_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
14056    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
14057        match err {
14058            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
14059        }
14060    }
14061}
14062impl<R>
14063    From<
14064        ::aws_smithy_runtime_api::client::result::SdkError<
14065            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14066            R,
14067        >,
14068    > for Error
14069where
14070    R: Send + Sync + std::fmt::Debug + 'static,
14071{
14072    fn from(
14073        err: ::aws_smithy_runtime_api::client::result::SdkError<
14074            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14075            R,
14076        >,
14077    ) -> Self {
14078        match err {
14079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14082                source: err.into(),
14083            }),
14084        }
14085    }
14086}
14087impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
14088    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
14089        match err {
14090            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
14091                Error::Unhandled(inner)
14092            }
14093        }
14094    }
14095}
14096impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
14097where
14098    R: Send + Sync + std::fmt::Debug + 'static,
14099{
14100    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
14101        match err {
14102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14105                source: err.into(),
14106            }),
14107        }
14108    }
14109}
14110impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
14111    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
14112        match err {
14113            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
14114        }
14115    }
14116}
14117impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
14118where
14119    R: Send + Sync + std::fmt::Debug + 'static,
14120{
14121    fn from(
14122        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
14123    ) -> Self {
14124        match err {
14125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14128                source: err.into(),
14129            }),
14130        }
14131    }
14132}
14133impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
14134    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
14135        match err {
14136            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
14137        }
14138    }
14139}
14140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
14141    for Error
14142where
14143    R: Send + Sync + std::fmt::Debug + 'static,
14144{
14145    fn from(
14146        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
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_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
14158    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
14159        match err {
14160            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
14161        }
14162    }
14163}
14164impl<R>
14165    From<
14166        ::aws_smithy_runtime_api::client::result::SdkError<
14167            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14168            R,
14169        >,
14170    > for Error
14171where
14172    R: Send + Sync + std::fmt::Debug + 'static,
14173{
14174    fn from(
14175        err: ::aws_smithy_runtime_api::client::result::SdkError<
14176            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14177            R,
14178        >,
14179    ) -> Self {
14180        match err {
14181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14184                source: err.into(),
14185            }),
14186        }
14187    }
14188}
14189impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
14190    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
14191        match err {
14192            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
14193                Error::Unhandled(inner)
14194            }
14195        }
14196    }
14197}
14198impl<R>
14199    From<
14200        ::aws_smithy_runtime_api::client::result::SdkError<
14201            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14202            R,
14203        >,
14204    > for Error
14205where
14206    R: Send + Sync + std::fmt::Debug + 'static,
14207{
14208    fn from(
14209        err: ::aws_smithy_runtime_api::client::result::SdkError<
14210            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14211            R,
14212        >,
14213    ) -> Self {
14214        match err {
14215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14218                source: err.into(),
14219            }),
14220        }
14221    }
14222}
14223impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
14224    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
14225        match err {
14226            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14227        }
14228    }
14229}
14230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
14231    for Error
14232where
14233    R: Send + Sync + std::fmt::Debug + 'static,
14234{
14235    fn from(
14236        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
14237    ) -> Self {
14238        match err {
14239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14242                source: err.into(),
14243            }),
14244        }
14245    }
14246}
14247impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
14248    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
14249        match err {
14250            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
14251        }
14252    }
14253}
14254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
14255where
14256    R: Send + Sync + std::fmt::Debug + 'static,
14257{
14258    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
14259        match err {
14260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14263                source: err.into(),
14264            }),
14265        }
14266    }
14267}
14268impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
14269    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
14270        match err {
14271            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14272        }
14273    }
14274}
14275impl<R>
14276    From<
14277        ::aws_smithy_runtime_api::client::result::SdkError<
14278            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14279            R,
14280        >,
14281    > for Error
14282where
14283    R: Send + Sync + std::fmt::Debug + 'static,
14284{
14285    fn from(
14286        err: ::aws_smithy_runtime_api::client::result::SdkError<
14287            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14288            R,
14289        >,
14290    ) -> Self {
14291        match err {
14292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14295                source: err.into(),
14296            }),
14297        }
14298    }
14299}
14300impl From<crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError> for Error {
14301    fn from(err: crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError) -> Self {
14302        match err {
14303            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError::Unhandled(inner) => Error::Unhandled(inner),
14304        }
14305    }
14306}
14307impl<R>
14308    From<
14309        ::aws_smithy_runtime_api::client::result::SdkError<
14310            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
14311            R,
14312        >,
14313    > for Error
14314where
14315    R: Send + Sync + std::fmt::Debug + 'static,
14316{
14317    fn from(
14318        err: ::aws_smithy_runtime_api::client::result::SdkError<
14319            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
14320            R,
14321        >,
14322    ) -> Self {
14323        match err {
14324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14327                source: err.into(),
14328            }),
14329        }
14330    }
14331}
14332impl From<crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError> for Error {
14333    fn from(err: crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError) -> Self {
14334        match err {
14335            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError::Unhandled(inner) => {
14336                Error::Unhandled(inner)
14337            }
14338        }
14339    }
14340}
14341impl<R>
14342    From<
14343        ::aws_smithy_runtime_api::client::result::SdkError<
14344            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
14345            R,
14346        >,
14347    > for Error
14348where
14349    R: Send + Sync + std::fmt::Debug + 'static,
14350{
14351    fn from(
14352        err: ::aws_smithy_runtime_api::client::result::SdkError<
14353            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
14354            R,
14355        >,
14356    ) -> Self {
14357        match err {
14358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14361                source: err.into(),
14362            }),
14363        }
14364    }
14365}
14366impl From<crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError> for Error {
14367    fn from(err: crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError) -> Self {
14368        match err {
14369            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError::Unhandled(inner) => {
14370                Error::Unhandled(inner)
14371            }
14372        }
14373    }
14374}
14375impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
14376where
14377    R: Send + Sync + std::fmt::Debug + 'static,
14378{
14379    fn from(
14380        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
14381    ) -> Self {
14382        match err {
14383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14386                source: err.into(),
14387            }),
14388        }
14389    }
14390}
14391impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
14392    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
14393        match err {
14394            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14395        }
14396    }
14397}
14398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
14399where
14400    R: Send + Sync + std::fmt::Debug + 'static,
14401{
14402    fn from(
14403        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
14404    ) -> Self {
14405        match err {
14406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14409                source: err.into(),
14410            }),
14411        }
14412    }
14413}
14414impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
14415    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
14416        match err {
14417            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
14418        }
14419    }
14420}
14421impl<R>
14422    From<
14423        ::aws_smithy_runtime_api::client::result::SdkError<
14424            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
14425            R,
14426        >,
14427    > for Error
14428where
14429    R: Send + Sync + std::fmt::Debug + 'static,
14430{
14431    fn from(
14432        err: ::aws_smithy_runtime_api::client::result::SdkError<
14433            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
14434            R,
14435        >,
14436    ) -> Self {
14437        match err {
14438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14441                source: err.into(),
14442            }),
14443        }
14444    }
14445}
14446impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
14447    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
14448        match err {
14449            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
14450                Error::Unhandled(inner)
14451            }
14452        }
14453    }
14454}
14455impl<R>
14456    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
14457    for Error
14458where
14459    R: Send + Sync + std::fmt::Debug + 'static,
14460{
14461    fn from(
14462        err: ::aws_smithy_runtime_api::client::result::SdkError<
14463            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
14464            R,
14465        >,
14466    ) -> Self {
14467        match err {
14468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14471                source: err.into(),
14472            }),
14473        }
14474    }
14475}
14476impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
14477    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
14478        match err {
14479            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
14480        }
14481    }
14482}
14483impl<R>
14484    From<
14485        ::aws_smithy_runtime_api::client::result::SdkError<
14486            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14487            R,
14488        >,
14489    > for Error
14490where
14491    R: Send + Sync + std::fmt::Debug + 'static,
14492{
14493    fn from(
14494        err: ::aws_smithy_runtime_api::client::result::SdkError<
14495            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14496            R,
14497        >,
14498    ) -> Self {
14499        match err {
14500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14503                source: err.into(),
14504            }),
14505        }
14506    }
14507}
14508impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
14509    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
14510        match err {
14511            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
14512                inner,
14513            ) => Error::Unhandled(inner),
14514        }
14515    }
14516}
14517impl<R>
14518    From<
14519        ::aws_smithy_runtime_api::client::result::SdkError<
14520            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
14521            R,
14522        >,
14523    > for Error
14524where
14525    R: Send + Sync + std::fmt::Debug + 'static,
14526{
14527    fn from(
14528        err: ::aws_smithy_runtime_api::client::result::SdkError<
14529            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
14530            R,
14531        >,
14532    ) -> Self {
14533        match err {
14534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14537                source: err.into(),
14538            }),
14539        }
14540    }
14541}
14542impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
14543    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
14544        match err {
14545            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
14546                Error::Unhandled(inner)
14547            }
14548        }
14549    }
14550}
14551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
14552where
14553    R: Send + Sync + std::fmt::Debug + 'static,
14554{
14555    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
14556        match err {
14557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14560                source: err.into(),
14561            }),
14562        }
14563    }
14564}
14565impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
14566    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
14567        match err {
14568            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
14569        }
14570    }
14571}
14572impl<R>
14573    From<
14574        ::aws_smithy_runtime_api::client::result::SdkError<
14575            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
14576            R,
14577        >,
14578    > for Error
14579where
14580    R: Send + Sync + std::fmt::Debug + 'static,
14581{
14582    fn from(
14583        err: ::aws_smithy_runtime_api::client::result::SdkError<
14584            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
14585            R,
14586        >,
14587    ) -> Self {
14588        match err {
14589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14592                source: err.into(),
14593            }),
14594        }
14595    }
14596}
14597impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
14598    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
14599        match err {
14600            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
14601                Error::Unhandled(inner)
14602            }
14603        }
14604    }
14605}
14606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
14607    for Error
14608where
14609    R: Send + Sync + std::fmt::Debug + 'static,
14610{
14611    fn from(
14612        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
14613    ) -> Self {
14614        match err {
14615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14618                source: err.into(),
14619            }),
14620        }
14621    }
14622}
14623impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
14624    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
14625        match err {
14626            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
14627        }
14628    }
14629}
14630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
14631    for Error
14632where
14633    R: Send + Sync + std::fmt::Debug + 'static,
14634{
14635    fn from(
14636        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
14637    ) -> Self {
14638        match err {
14639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14642                source: err.into(),
14643            }),
14644        }
14645    }
14646}
14647impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
14648    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
14649        match err {
14650            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
14651        }
14652    }
14653}
14654impl<R>
14655    From<
14656        ::aws_smithy_runtime_api::client::result::SdkError<
14657            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
14658            R,
14659        >,
14660    > for Error
14661where
14662    R: Send + Sync + std::fmt::Debug + 'static,
14663{
14664    fn from(
14665        err: ::aws_smithy_runtime_api::client::result::SdkError<
14666            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
14667            R,
14668        >,
14669    ) -> Self {
14670        match err {
14671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14674                source: err.into(),
14675            }),
14676        }
14677    }
14678}
14679impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
14680    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
14681        match err {
14682            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
14683        }
14684    }
14685}
14686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
14687    for Error
14688where
14689    R: Send + Sync + std::fmt::Debug + 'static,
14690{
14691    fn from(
14692        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
14693    ) -> Self {
14694        match err {
14695            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14696            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14697                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14698                source: err.into(),
14699            }),
14700        }
14701    }
14702}
14703impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
14704    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
14705        match err {
14706            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
14707        }
14708    }
14709}
14710impl<R>
14711    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
14712    for Error
14713where
14714    R: Send + Sync + std::fmt::Debug + 'static,
14715{
14716    fn from(
14717        err: ::aws_smithy_runtime_api::client::result::SdkError<
14718            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
14719            R,
14720        >,
14721    ) -> Self {
14722        match err {
14723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14726                source: err.into(),
14727            }),
14728        }
14729    }
14730}
14731impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
14732    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
14733        match err {
14734            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
14735        }
14736    }
14737}
14738impl<R>
14739    From<
14740        ::aws_smithy_runtime_api::client::result::SdkError<
14741            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
14742            R,
14743        >,
14744    > for Error
14745where
14746    R: Send + Sync + std::fmt::Debug + 'static,
14747{
14748    fn from(
14749        err: ::aws_smithy_runtime_api::client::result::SdkError<
14750            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
14751            R,
14752        >,
14753    ) -> Self {
14754        match err {
14755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14758                source: err.into(),
14759            }),
14760        }
14761    }
14762}
14763impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
14764    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
14765        match err {
14766            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
14767                Error::Unhandled(inner)
14768            }
14769        }
14770    }
14771}
14772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
14773    for Error
14774where
14775    R: Send + Sync + std::fmt::Debug + 'static,
14776{
14777    fn from(
14778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
14779    ) -> Self {
14780        match err {
14781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14784                source: err.into(),
14785            }),
14786        }
14787    }
14788}
14789impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
14790    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
14791        match err {
14792            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
14793        }
14794    }
14795}
14796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
14797    for Error
14798where
14799    R: Send + Sync + std::fmt::Debug + 'static,
14800{
14801    fn from(
14802        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
14803    ) -> Self {
14804        match err {
14805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14808                source: err.into(),
14809            }),
14810        }
14811    }
14812}
14813impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
14814    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
14815        match err {
14816            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
14817        }
14818    }
14819}
14820impl<R>
14821    From<
14822        ::aws_smithy_runtime_api::client::result::SdkError<
14823            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
14824            R,
14825        >,
14826    > for Error
14827where
14828    R: Send + Sync + std::fmt::Debug + 'static,
14829{
14830    fn from(
14831        err: ::aws_smithy_runtime_api::client::result::SdkError<
14832            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
14833            R,
14834        >,
14835    ) -> Self {
14836        match err {
14837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14840                source: err.into(),
14841            }),
14842        }
14843    }
14844}
14845impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
14846    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
14847        match err {
14848            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
14849                Error::Unhandled(inner)
14850            }
14851        }
14852    }
14853}
14854impl<R>
14855    From<
14856        ::aws_smithy_runtime_api::client::result::SdkError<
14857            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14858            R,
14859        >,
14860    > for Error
14861where
14862    R: Send + Sync + std::fmt::Debug + 'static,
14863{
14864    fn from(
14865        err: ::aws_smithy_runtime_api::client::result::SdkError<
14866            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14867            R,
14868        >,
14869    ) -> Self {
14870        match err {
14871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14874                source: err.into(),
14875            }),
14876        }
14877    }
14878}
14879impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
14880    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
14881        match err {
14882            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
14883                inner,
14884            ) => Error::Unhandled(inner),
14885        }
14886    }
14887}
14888impl<R>
14889    From<
14890        ::aws_smithy_runtime_api::client::result::SdkError<
14891            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14892            R,
14893        >,
14894    > for Error
14895where
14896    R: Send + Sync + std::fmt::Debug + 'static,
14897{
14898    fn from(
14899        err: ::aws_smithy_runtime_api::client::result::SdkError<
14900            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14901            R,
14902        >,
14903    ) -> Self {
14904        match err {
14905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14908                source: err.into(),
14909            }),
14910        }
14911    }
14912}
14913impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
14914    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
14915        match err {
14916            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
14917                Error::Unhandled(inner)
14918            }
14919        }
14920    }
14921}
14922impl<R>
14923    From<
14924        ::aws_smithy_runtime_api::client::result::SdkError<
14925            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14926            R,
14927        >,
14928    > for Error
14929where
14930    R: Send + Sync + std::fmt::Debug + 'static,
14931{
14932    fn from(
14933        err: ::aws_smithy_runtime_api::client::result::SdkError<
14934            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14935            R,
14936        >,
14937    ) -> Self {
14938        match err {
14939            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14940            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14941                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14942                source: err.into(),
14943            }),
14944        }
14945    }
14946}
14947impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
14948    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
14949        match err {
14950            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
14951                Error::Unhandled(inner)
14952            }
14953        }
14954    }
14955}
14956impl<R>
14957    From<
14958        ::aws_smithy_runtime_api::client::result::SdkError<
14959            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14960            R,
14961        >,
14962    > for Error
14963where
14964    R: Send + Sync + std::fmt::Debug + 'static,
14965{
14966    fn from(
14967        err: ::aws_smithy_runtime_api::client::result::SdkError<
14968            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14969            R,
14970        >,
14971    ) -> Self {
14972        match err {
14973            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14974            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14975                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14976                source: err.into(),
14977            }),
14978        }
14979    }
14980}
14981impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
14982    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
14983        match err {
14984            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
14985                Error::Unhandled(inner)
14986            }
14987        }
14988    }
14989}
14990impl<R>
14991    From<
14992        ::aws_smithy_runtime_api::client::result::SdkError<
14993            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14994            R,
14995        >,
14996    > for Error
14997where
14998    R: Send + Sync + std::fmt::Debug + 'static,
14999{
15000    fn from(
15001        err: ::aws_smithy_runtime_api::client::result::SdkError<
15002            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15003            R,
15004        >,
15005    ) -> Self {
15006        match err {
15007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15010                source: err.into(),
15011            }),
15012        }
15013    }
15014}
15015impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
15016    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
15017        match err {
15018            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
15019                Error::Unhandled(inner)
15020            }
15021        }
15022    }
15023}
15024impl<R>
15025    From<
15026        ::aws_smithy_runtime_api::client::result::SdkError<
15027            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15028            R,
15029        >,
15030    > for Error
15031where
15032    R: Send + Sync + std::fmt::Debug + 'static,
15033{
15034    fn from(
15035        err: ::aws_smithy_runtime_api::client::result::SdkError<
15036            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15037            R,
15038        >,
15039    ) -> Self {
15040        match err {
15041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15044                source: err.into(),
15045            }),
15046        }
15047    }
15048}
15049impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
15050    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
15051        match err {
15052            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
15053                Error::Unhandled(inner)
15054            }
15055        }
15056    }
15057}
15058impl<R>
15059    From<
15060        ::aws_smithy_runtime_api::client::result::SdkError<
15061            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15062            R,
15063        >,
15064    > for Error
15065where
15066    R: Send + Sync + std::fmt::Debug + 'static,
15067{
15068    fn from(
15069        err: ::aws_smithy_runtime_api::client::result::SdkError<
15070            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15071            R,
15072        >,
15073    ) -> Self {
15074        match err {
15075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15078                source: err.into(),
15079            }),
15080        }
15081    }
15082}
15083impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
15084    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
15085        match err {
15086            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15087        }
15088    }
15089}
15090impl<R>
15091    From<
15092        ::aws_smithy_runtime_api::client::result::SdkError<
15093            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15094            R,
15095        >,
15096    > for Error
15097where
15098    R: Send + Sync + std::fmt::Debug + 'static,
15099{
15100    fn from(
15101        err: ::aws_smithy_runtime_api::client::result::SdkError<
15102            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15103            R,
15104        >,
15105    ) -> Self {
15106        match err {
15107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15110                source: err.into(),
15111            }),
15112        }
15113    }
15114}
15115impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
15116    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
15117        match err {
15118            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
15119                Error::Unhandled(inner)
15120            }
15121        }
15122    }
15123}
15124impl<R>
15125    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
15126    for Error
15127where
15128    R: Send + Sync + std::fmt::Debug + 'static,
15129{
15130    fn from(
15131        err: ::aws_smithy_runtime_api::client::result::SdkError<
15132            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
15133            R,
15134        >,
15135    ) -> Self {
15136        match err {
15137            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15138            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15139                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15140                source: err.into(),
15141            }),
15142        }
15143    }
15144}
15145impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
15146    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
15147        match err {
15148            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15149        }
15150    }
15151}
15152impl<R>
15153    From<
15154        ::aws_smithy_runtime_api::client::result::SdkError<
15155            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15156            R,
15157        >,
15158    > for Error
15159where
15160    R: Send + Sync + std::fmt::Debug + 'static,
15161{
15162    fn from(
15163        err: ::aws_smithy_runtime_api::client::result::SdkError<
15164            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15165            R,
15166        >,
15167    ) -> Self {
15168        match err {
15169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15172                source: err.into(),
15173            }),
15174        }
15175    }
15176}
15177impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
15178    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
15179        match err {
15180            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
15181                Error::Unhandled(inner)
15182            }
15183        }
15184    }
15185}
15186impl<R>
15187    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
15188    for Error
15189where
15190    R: Send + Sync + std::fmt::Debug + 'static,
15191{
15192    fn from(
15193        err: ::aws_smithy_runtime_api::client::result::SdkError<
15194            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
15195            R,
15196        >,
15197    ) -> Self {
15198        match err {
15199            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15200            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15201                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15202                source: err.into(),
15203            }),
15204        }
15205    }
15206}
15207impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
15208    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
15209        match err {
15210            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
15211        }
15212    }
15213}
15214impl<R>
15215    From<
15216        ::aws_smithy_runtime_api::client::result::SdkError<
15217            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15218            R,
15219        >,
15220    > for Error
15221where
15222    R: Send + Sync + std::fmt::Debug + 'static,
15223{
15224    fn from(
15225        err: ::aws_smithy_runtime_api::client::result::SdkError<
15226            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15227            R,
15228        >,
15229    ) -> Self {
15230        match err {
15231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15234                source: err.into(),
15235            }),
15236        }
15237    }
15238}
15239impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
15240    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
15241        match err {
15242            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
15243        }
15244    }
15245}
15246impl<R>
15247    From<
15248        ::aws_smithy_runtime_api::client::result::SdkError<
15249            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15250            R,
15251        >,
15252    > for Error
15253where
15254    R: Send + Sync + std::fmt::Debug + 'static,
15255{
15256    fn from(
15257        err: ::aws_smithy_runtime_api::client::result::SdkError<
15258            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15259            R,
15260        >,
15261    ) -> Self {
15262        match err {
15263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15266                source: err.into(),
15267            }),
15268        }
15269    }
15270}
15271impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
15272    fn from(
15273        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15274    ) -> Self {
15275        match err {
15276            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
15277        }
15278    }
15279}
15280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
15281where
15282    R: Send + Sync + std::fmt::Debug + 'static,
15283{
15284    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
15285        match err {
15286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15289                source: err.into(),
15290            }),
15291        }
15292    }
15293}
15294impl From<crate::operation::import_image::ImportImageError> for Error {
15295    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
15296        match err {
15297            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
15298        }
15299    }
15300}
15301impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
15302where
15303    R: Send + Sync + std::fmt::Debug + 'static,
15304{
15305    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
15306        match err {
15307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15310                source: err.into(),
15311            }),
15312        }
15313    }
15314}
15315impl From<crate::operation::import_instance::ImportInstanceError> for Error {
15316    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
15317        match err {
15318            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15319        }
15320    }
15321}
15322impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
15323where
15324    R: Send + Sync + std::fmt::Debug + 'static,
15325{
15326    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
15327        match err {
15328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15331                source: err.into(),
15332            }),
15333        }
15334    }
15335}
15336impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
15337    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
15338        match err {
15339            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
15340        }
15341    }
15342}
15343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
15344where
15345    R: Send + Sync + std::fmt::Debug + 'static,
15346{
15347    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
15348        match err {
15349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15352                source: err.into(),
15353            }),
15354        }
15355    }
15356}
15357impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
15358    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
15359        match err {
15360            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
15361        }
15362    }
15363}
15364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
15365where
15366    R: Send + Sync + std::fmt::Debug + 'static,
15367{
15368    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
15369        match err {
15370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15373                source: err.into(),
15374            }),
15375        }
15376    }
15377}
15378impl From<crate::operation::import_volume::ImportVolumeError> for Error {
15379    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
15380        match err {
15381            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
15382        }
15383    }
15384}
15385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
15386    for Error
15387where
15388    R: Send + Sync + std::fmt::Debug + 'static,
15389{
15390    fn from(
15391        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
15392    ) -> Self {
15393        match err {
15394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15397                source: err.into(),
15398            }),
15399        }
15400    }
15401}
15402impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
15403    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
15404        match err {
15405            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
15406        }
15407    }
15408}
15409impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
15410    for Error
15411where
15412    R: Send + Sync + std::fmt::Debug + 'static,
15413{
15414    fn from(
15415        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
15416    ) -> Self {
15417        match err {
15418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15421                source: err.into(),
15422            }),
15423        }
15424    }
15425}
15426impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
15427    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
15428        match err {
15429            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
15430        }
15431    }
15432}
15433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
15434where
15435    R: Send + Sync + std::fmt::Debug + 'static,
15436{
15437    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
15438        match err {
15439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15442                source: err.into(),
15443            }),
15444        }
15445    }
15446}
15447impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
15448    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
15449        match err {
15450            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
15451        }
15452    }
15453}
15454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
15455where
15456    R: Send + Sync + std::fmt::Debug + 'static,
15457{
15458    fn from(
15459        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
15460    ) -> Self {
15461        match err {
15462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15465                source: err.into(),
15466            }),
15467        }
15468    }
15469}
15470impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
15471    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
15472        match err {
15473            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15474        }
15475    }
15476}
15477impl<R>
15478    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
15479    for Error
15480where
15481    R: Send + Sync + std::fmt::Debug + 'static,
15482{
15483    fn from(
15484        err: ::aws_smithy_runtime_api::client::result::SdkError<
15485            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
15486            R,
15487        >,
15488    ) -> Self {
15489        match err {
15490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15493                source: err.into(),
15494            }),
15495        }
15496    }
15497}
15498impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
15499    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
15500        match err {
15501            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
15502        }
15503    }
15504}
15505impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
15506    for Error
15507where
15508    R: Send + Sync + std::fmt::Debug + 'static,
15509{
15510    fn from(
15511        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
15512    ) -> Self {
15513        match err {
15514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15517                source: err.into(),
15518            }),
15519        }
15520    }
15521}
15522impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
15523    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
15524        match err {
15525            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
15526        }
15527    }
15528}
15529impl<R>
15530    From<
15531        ::aws_smithy_runtime_api::client::result::SdkError<
15532            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
15533            R,
15534        >,
15535    > for Error
15536where
15537    R: Send + Sync + std::fmt::Debug + 'static,
15538{
15539    fn from(
15540        err: ::aws_smithy_runtime_api::client::result::SdkError<
15541            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
15542            R,
15543        >,
15544    ) -> Self {
15545        match err {
15546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15549                source: err.into(),
15550            }),
15551        }
15552    }
15553}
15554impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
15555    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
15556        match err {
15557            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
15558        }
15559    }
15560}
15561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
15562    for Error
15563where
15564    R: Send + Sync + std::fmt::Debug + 'static,
15565{
15566    fn from(
15567        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
15568    ) -> Self {
15569        match err {
15570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15573                source: err.into(),
15574            }),
15575        }
15576    }
15577}
15578impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
15579    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
15580        match err {
15581            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15582        }
15583    }
15584}
15585impl<R>
15586    From<
15587        ::aws_smithy_runtime_api::client::result::SdkError<
15588            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
15589            R,
15590        >,
15591    > for Error
15592where
15593    R: Send + Sync + std::fmt::Debug + 'static,
15594{
15595    fn from(
15596        err: ::aws_smithy_runtime_api::client::result::SdkError<
15597            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
15598            R,
15599        >,
15600    ) -> Self {
15601        match err {
15602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15605                source: err.into(),
15606            }),
15607        }
15608    }
15609}
15610impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
15611    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
15612        match err {
15613            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
15614        }
15615    }
15616}
15617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
15618    for Error
15619where
15620    R: Send + Sync + std::fmt::Debug + 'static,
15621{
15622    fn from(
15623        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
15624    ) -> Self {
15625        match err {
15626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15629                source: err.into(),
15630            }),
15631        }
15632    }
15633}
15634impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
15635    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
15636        match err {
15637            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
15638        }
15639    }
15640}
15641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
15642where
15643    R: Send + Sync + std::fmt::Debug + 'static,
15644{
15645    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
15646        match err {
15647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15650                source: err.into(),
15651            }),
15652        }
15653    }
15654}
15655impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
15656    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
15657        match err {
15658            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
15659        }
15660    }
15661}
15662impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
15663    for Error
15664where
15665    R: Send + Sync + std::fmt::Debug + 'static,
15666{
15667    fn from(
15668        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
15669    ) -> Self {
15670        match err {
15671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15674                source: err.into(),
15675            }),
15676        }
15677    }
15678}
15679impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
15680    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
15681        match err {
15682            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15683        }
15684    }
15685}
15686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
15687where
15688    R: Send + Sync + std::fmt::Debug + 'static,
15689{
15690    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
15691        match err {
15692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15695                source: err.into(),
15696            }),
15697        }
15698    }
15699}
15700impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
15701    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
15702        match err {
15703            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
15704        }
15705    }
15706}
15707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
15708    for Error
15709where
15710    R: Send + Sync + std::fmt::Debug + 'static,
15711{
15712    fn from(
15713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
15714    ) -> Self {
15715        match err {
15716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15719                source: err.into(),
15720            }),
15721        }
15722    }
15723}
15724impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
15725    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
15726        match err {
15727            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
15728        }
15729    }
15730}
15731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
15732where
15733    R: Send + Sync + std::fmt::Debug + 'static,
15734{
15735    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
15736        match err {
15737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15740                source: err.into(),
15741            }),
15742        }
15743    }
15744}
15745impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
15746    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
15747        match err {
15748            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
15749        }
15750    }
15751}
15752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
15753where
15754    R: Send + Sync + std::fmt::Debug + 'static,
15755{
15756    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
15757        match err {
15758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15761                source: err.into(),
15762            }),
15763        }
15764    }
15765}
15766impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
15767    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
15768        match err {
15769            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15770        }
15771    }
15772}
15773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
15774    for Error
15775where
15776    R: Send + Sync + std::fmt::Debug + 'static,
15777{
15778    fn from(
15779        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
15780    ) -> Self {
15781        match err {
15782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15785                source: err.into(),
15786            }),
15787        }
15788    }
15789}
15790impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
15791    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
15792        match err {
15793            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15794        }
15795    }
15796}
15797impl<R>
15798    From<
15799        ::aws_smithy_runtime_api::client::result::SdkError<
15800            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
15801            R,
15802        >,
15803    > for Error
15804where
15805    R: Send + Sync + std::fmt::Debug + 'static,
15806{
15807    fn from(
15808        err: ::aws_smithy_runtime_api::client::result::SdkError<
15809            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
15810            R,
15811        >,
15812    ) -> Self {
15813        match err {
15814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15817                source: err.into(),
15818            }),
15819        }
15820    }
15821}
15822impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
15823    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
15824        match err {
15825            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
15826                Error::Unhandled(inner)
15827            }
15828        }
15829    }
15830}
15831impl<R>
15832    From<
15833        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError, R>,
15834    > for Error
15835where
15836    R: Send + Sync + std::fmt::Debug + 'static,
15837{
15838    fn from(
15839        err: ::aws_smithy_runtime_api::client::result::SdkError<
15840            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError,
15841            R,
15842        >,
15843    ) -> Self {
15844        match err {
15845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15848                source: err.into(),
15849            }),
15850        }
15851    }
15852}
15853impl From<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError> for Error {
15854    fn from(err: crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError) -> Self {
15855        match err {
15856            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15857        }
15858    }
15859}
15860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
15861    for Error
15862where
15863    R: Send + Sync + std::fmt::Debug + 'static,
15864{
15865    fn from(
15866        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
15867    ) -> Self {
15868        match err {
15869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15872                source: err.into(),
15873            }),
15874        }
15875    }
15876}
15877impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
15878    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
15879        match err {
15880            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15881        }
15882    }
15883}
15884impl<R>
15885    From<
15886        ::aws_smithy_runtime_api::client::result::SdkError<
15887            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15888            R,
15889        >,
15890    > for Error
15891where
15892    R: Send + Sync + std::fmt::Debug + 'static,
15893{
15894    fn from(
15895        err: ::aws_smithy_runtime_api::client::result::SdkError<
15896            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15897            R,
15898        >,
15899    ) -> Self {
15900        match err {
15901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15904                source: err.into(),
15905            }),
15906        }
15907    }
15908}
15909impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
15910    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
15911        match err {
15912            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
15913                Error::Unhandled(inner)
15914            }
15915        }
15916    }
15917}
15918impl<R>
15919    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
15920    for Error
15921where
15922    R: Send + Sync + std::fmt::Debug + 'static,
15923{
15924    fn from(
15925        err: ::aws_smithy_runtime_api::client::result::SdkError<
15926            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
15927            R,
15928        >,
15929    ) -> Self {
15930        match err {
15931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15934                source: err.into(),
15935            }),
15936        }
15937    }
15938}
15939impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
15940    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
15941        match err {
15942            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
15943        }
15944    }
15945}
15946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
15947    for Error
15948where
15949    R: Send + Sync + std::fmt::Debug + 'static,
15950{
15951    fn from(
15952        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
15953    ) -> Self {
15954        match err {
15955            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15956            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15957                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15958                source: err.into(),
15959            }),
15960        }
15961    }
15962}
15963impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
15964    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
15965        match err {
15966            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
15967        }
15968    }
15969}
15970impl<R>
15971    From<
15972        ::aws_smithy_runtime_api::client::result::SdkError<
15973            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15974            R,
15975        >,
15976    > for Error
15977where
15978    R: Send + Sync + std::fmt::Debug + 'static,
15979{
15980    fn from(
15981        err: ::aws_smithy_runtime_api::client::result::SdkError<
15982            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15983            R,
15984        >,
15985    ) -> Self {
15986        match err {
15987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15990                source: err.into(),
15991            }),
15992        }
15993    }
15994}
15995impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
15996    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
15997        match err {
15998            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15999        }
16000    }
16001}
16002impl<R>
16003    From<
16004        ::aws_smithy_runtime_api::client::result::SdkError<
16005            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16006            R,
16007        >,
16008    > for Error
16009where
16010    R: Send + Sync + std::fmt::Debug + 'static,
16011{
16012    fn from(
16013        err: ::aws_smithy_runtime_api::client::result::SdkError<
16014            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16015            R,
16016        >,
16017    ) -> Self {
16018        match err {
16019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16022                source: err.into(),
16023            }),
16024        }
16025    }
16026}
16027impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
16028    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
16029        match err {
16030            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
16031        }
16032    }
16033}
16034impl<R>
16035    From<
16036        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
16037    > for Error
16038where
16039    R: Send + Sync + std::fmt::Debug + 'static,
16040{
16041    fn from(
16042        err: ::aws_smithy_runtime_api::client::result::SdkError<
16043            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
16044            R,
16045        >,
16046    ) -> Self {
16047        match err {
16048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16051                source: err.into(),
16052            }),
16053        }
16054    }
16055}
16056impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
16057    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
16058        match err {
16059            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16060        }
16061    }
16062}
16063impl<R>
16064    From<
16065        ::aws_smithy_runtime_api::client::result::SdkError<
16066            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16067            R,
16068        >,
16069    > for Error
16070where
16071    R: Send + Sync + std::fmt::Debug + 'static,
16072{
16073    fn from(
16074        err: ::aws_smithy_runtime_api::client::result::SdkError<
16075            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16076            R,
16077        >,
16078    ) -> Self {
16079        match err {
16080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16083                source: err.into(),
16084            }),
16085        }
16086    }
16087}
16088impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
16089    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
16090        match err {
16091            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
16092                Error::Unhandled(inner)
16093            }
16094        }
16095    }
16096}
16097impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
16098    for Error
16099where
16100    R: Send + Sync + std::fmt::Debug + 'static,
16101{
16102    fn from(
16103        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
16104    ) -> Self {
16105        match err {
16106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16109                source: err.into(),
16110            }),
16111        }
16112    }
16113}
16114impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
16115    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
16116        match err {
16117            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
16118        }
16119    }
16120}
16121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
16122where
16123    R: Send + Sync + std::fmt::Debug + 'static,
16124{
16125    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
16126        match err {
16127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16130                source: err.into(),
16131            }),
16132        }
16133    }
16134}
16135impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
16136    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
16137        match err {
16138            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
16139        }
16140    }
16141}
16142impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
16143where
16144    R: Send + Sync + std::fmt::Debug + 'static,
16145{
16146    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
16147        match err {
16148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16151                source: err.into(),
16152            }),
16153        }
16154    }
16155}
16156impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
16157    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
16158        match err {
16159            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
16160        }
16161    }
16162}
16163impl<R>
16164    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError, R>>
16165    for Error
16166where
16167    R: Send + Sync + std::fmt::Debug + 'static,
16168{
16169    fn from(
16170        err: ::aws_smithy_runtime_api::client::result::SdkError<
16171            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError,
16172            R,
16173        >,
16174    ) -> Self {
16175        match err {
16176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16179                source: err.into(),
16180            }),
16181        }
16182    }
16183}
16184impl From<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError> for Error {
16185    fn from(err: crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError) -> Self {
16186        match err {
16187            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
16188        }
16189    }
16190}
16191impl<R>
16192    From<
16193        ::aws_smithy_runtime_api::client::result::SdkError<
16194            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
16195            R,
16196        >,
16197    > for Error
16198where
16199    R: Send + Sync + std::fmt::Debug + 'static,
16200{
16201    fn from(
16202        err: ::aws_smithy_runtime_api::client::result::SdkError<
16203            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
16204            R,
16205        >,
16206    ) -> Self {
16207        match err {
16208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16211                source: err.into(),
16212            }),
16213        }
16214    }
16215}
16216impl From<crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError> for Error {
16217    fn from(err: crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError) -> Self {
16218        match err {
16219            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError::Unhandled(inner) => {
16220                Error::Unhandled(inner)
16221            }
16222        }
16223    }
16224}
16225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
16226    for Error
16227where
16228    R: Send + Sync + std::fmt::Debug + 'static,
16229{
16230    fn from(
16231        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
16232    ) -> Self {
16233        match err {
16234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16237                source: err.into(),
16238            }),
16239        }
16240    }
16241}
16242impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
16243    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
16244        match err {
16245            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
16246        }
16247    }
16248}
16249impl<R>
16250    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
16251    for Error
16252where
16253    R: Send + Sync + std::fmt::Debug + 'static,
16254{
16255    fn from(
16256        err: ::aws_smithy_runtime_api::client::result::SdkError<
16257            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
16258            R,
16259        >,
16260    ) -> Self {
16261        match err {
16262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16265                source: err.into(),
16266            }),
16267        }
16268    }
16269}
16270impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
16271    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
16272        match err {
16273            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
16274        }
16275    }
16276}
16277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
16278where
16279    R: Send + Sync + std::fmt::Debug + 'static,
16280{
16281    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
16282        match err {
16283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16286                source: err.into(),
16287            }),
16288        }
16289    }
16290}
16291impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
16292    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
16293        match err {
16294            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
16295        }
16296    }
16297}
16298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
16299where
16300    R: Send + Sync + std::fmt::Debug + 'static,
16301{
16302    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
16303        match err {
16304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16307                source: err.into(),
16308            }),
16309        }
16310    }
16311}
16312impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
16313    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
16314        match err {
16315            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
16316        }
16317    }
16318}
16319impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
16320    for Error
16321where
16322    R: Send + Sync + std::fmt::Debug + 'static,
16323{
16324    fn from(
16325        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
16326    ) -> Self {
16327        match err {
16328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16331                source: err.into(),
16332            }),
16333        }
16334    }
16335}
16336impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
16337    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
16338        match err {
16339            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
16340        }
16341    }
16342}
16343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
16344    for Error
16345where
16346    R: Send + Sync + std::fmt::Debug + 'static,
16347{
16348    fn from(
16349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
16350    ) -> Self {
16351        match err {
16352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16355                source: err.into(),
16356            }),
16357        }
16358    }
16359}
16360impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
16361    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
16362        match err {
16363            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
16364        }
16365    }
16366}
16367impl<R>
16368    From<
16369        ::aws_smithy_runtime_api::client::result::SdkError<
16370            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
16371            R,
16372        >,
16373    > for Error
16374where
16375    R: Send + Sync + std::fmt::Debug + 'static,
16376{
16377    fn from(
16378        err: ::aws_smithy_runtime_api::client::result::SdkError<
16379            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
16380            R,
16381        >,
16382    ) -> Self {
16383        match err {
16384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16387                source: err.into(),
16388            }),
16389        }
16390    }
16391}
16392impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
16393    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
16394        match err {
16395            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16396        }
16397    }
16398}
16399impl<R>
16400    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
16401    for Error
16402where
16403    R: Send + Sync + std::fmt::Debug + 'static,
16404{
16405    fn from(
16406        err: ::aws_smithy_runtime_api::client::result::SdkError<
16407            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
16408            R,
16409        >,
16410    ) -> 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_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
16421    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
16422        match err {
16423            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16424        }
16425    }
16426}
16427impl<R>
16428    From<
16429        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
16430    > for Error
16431where
16432    R: Send + Sync + std::fmt::Debug + 'static,
16433{
16434    fn from(
16435        err: ::aws_smithy_runtime_api::client::result::SdkError<
16436            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
16437            R,
16438        >,
16439    ) -> Self {
16440        match err {
16441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16444                source: err.into(),
16445            }),
16446        }
16447    }
16448}
16449impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
16450    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
16451        match err {
16452            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16453        }
16454    }
16455}
16456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
16457    for Error
16458where
16459    R: Send + Sync + std::fmt::Debug + 'static,
16460{
16461    fn from(
16462        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
16463    ) -> Self {
16464        match err {
16465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16468                source: err.into(),
16469            }),
16470        }
16471    }
16472}
16473impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
16474    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
16475        match err {
16476            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16477        }
16478    }
16479}
16480impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
16481where
16482    R: Send + Sync + std::fmt::Debug + 'static,
16483{
16484    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
16485        match err {
16486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16489                source: err.into(),
16490            }),
16491        }
16492    }
16493}
16494impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
16495    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
16496        match err {
16497            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
16498        }
16499    }
16500}
16501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
16502    for Error
16503where
16504    R: Send + Sync + std::fmt::Debug + 'static,
16505{
16506    fn from(
16507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
16508    ) -> Self {
16509        match err {
16510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16513                source: err.into(),
16514            }),
16515        }
16516    }
16517}
16518impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
16519    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
16520        match err {
16521            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
16522        }
16523    }
16524}
16525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
16526    for Error
16527where
16528    R: Send + Sync + std::fmt::Debug + 'static,
16529{
16530    fn from(
16531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
16532    ) -> Self {
16533        match err {
16534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16537                source: err.into(),
16538            }),
16539        }
16540    }
16541}
16542impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
16543    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
16544        match err {
16545            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16546        }
16547    }
16548}
16549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
16550where
16551    R: Send + Sync + std::fmt::Debug + 'static,
16552{
16553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
16554        match err {
16555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16558                source: err.into(),
16559            }),
16560        }
16561    }
16562}
16563impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
16564    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
16565        match err {
16566            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
16567        }
16568    }
16569}
16570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
16571    for Error
16572where
16573    R: Send + Sync + std::fmt::Debug + 'static,
16574{
16575    fn from(
16576        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
16577    ) -> Self {
16578        match err {
16579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16582                source: err.into(),
16583            }),
16584        }
16585    }
16586}
16587impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
16588    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
16589        match err {
16590            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
16591        }
16592    }
16593}
16594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
16595where
16596    R: Send + Sync + std::fmt::Debug + 'static,
16597{
16598    fn from(
16599        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
16600    ) -> Self {
16601        match err {
16602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16605                source: err.into(),
16606            }),
16607        }
16608    }
16609}
16610impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
16611    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
16612        match err {
16613            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16614        }
16615    }
16616}
16617impl<R>
16618    From<
16619        ::aws_smithy_runtime_api::client::result::SdkError<
16620            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
16621            R,
16622        >,
16623    > for Error
16624where
16625    R: Send + Sync + std::fmt::Debug + 'static,
16626{
16627    fn from(
16628        err: ::aws_smithy_runtime_api::client::result::SdkError<
16629            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
16630            R,
16631        >,
16632    ) -> Self {
16633        match err {
16634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16637                source: err.into(),
16638            }),
16639        }
16640    }
16641}
16642impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
16643    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
16644        match err {
16645            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
16646                Error::Unhandled(inner)
16647            }
16648        }
16649    }
16650}
16651impl<R>
16652    From<
16653        ::aws_smithy_runtime_api::client::result::SdkError<
16654            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
16655            R,
16656        >,
16657    > for Error
16658where
16659    R: Send + Sync + std::fmt::Debug + 'static,
16660{
16661    fn from(
16662        err: ::aws_smithy_runtime_api::client::result::SdkError<
16663            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
16664            R,
16665        >,
16666    ) -> Self {
16667        match err {
16668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16671                source: err.into(),
16672            }),
16673        }
16674    }
16675}
16676impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
16677    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
16678        match err {
16679            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
16680        }
16681    }
16682}
16683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
16684    for Error
16685where
16686    R: Send + Sync + std::fmt::Debug + 'static,
16687{
16688    fn from(
16689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
16690    ) -> Self {
16691        match err {
16692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16695                source: err.into(),
16696            }),
16697        }
16698    }
16699}
16700impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
16701    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
16702        match err {
16703            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
16704        }
16705    }
16706}
16707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
16708where
16709    R: Send + Sync + std::fmt::Debug + 'static,
16710{
16711    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
16712        match err {
16713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16716                source: err.into(),
16717            }),
16718        }
16719    }
16720}
16721impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
16722    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
16723        match err {
16724            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
16725        }
16726    }
16727}
16728impl<R>
16729    From<
16730        ::aws_smithy_runtime_api::client::result::SdkError<
16731            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
16732            R,
16733        >,
16734    > for Error
16735where
16736    R: Send + Sync + std::fmt::Debug + 'static,
16737{
16738    fn from(
16739        err: ::aws_smithy_runtime_api::client::result::SdkError<
16740            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
16741            R,
16742        >,
16743    ) -> Self {
16744        match err {
16745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16748                source: err.into(),
16749            }),
16750        }
16751    }
16752}
16753impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
16754    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
16755        match err {
16756            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
16757                Error::Unhandled(inner)
16758            }
16759        }
16760    }
16761}
16762impl<R>
16763    From<
16764        ::aws_smithy_runtime_api::client::result::SdkError<
16765            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
16766            R,
16767        >,
16768    > for Error
16769where
16770    R: Send + Sync + std::fmt::Debug + 'static,
16771{
16772    fn from(
16773        err: ::aws_smithy_runtime_api::client::result::SdkError<
16774            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
16775            R,
16776        >,
16777    ) -> Self {
16778        match err {
16779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16782                source: err.into(),
16783            }),
16784        }
16785    }
16786}
16787impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
16788    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
16789        match err {
16790            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
16791                Error::Unhandled(inner)
16792            }
16793        }
16794    }
16795}
16796impl<R>
16797    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
16798    for Error
16799where
16800    R: Send + Sync + std::fmt::Debug + 'static,
16801{
16802    fn from(
16803        err: ::aws_smithy_runtime_api::client::result::SdkError<
16804            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
16805            R,
16806        >,
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::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
16818    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
16819        match err {
16820            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16821        }
16822    }
16823}
16824impl<R>
16825    From<
16826        ::aws_smithy_runtime_api::client::result::SdkError<
16827            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
16828            R,
16829        >,
16830    > for Error
16831where
16832    R: Send + Sync + std::fmt::Debug + 'static,
16833{
16834    fn from(
16835        err: ::aws_smithy_runtime_api::client::result::SdkError<
16836            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
16837            R,
16838        >,
16839    ) -> Self {
16840        match err {
16841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16844                source: err.into(),
16845            }),
16846        }
16847    }
16848}
16849impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
16850    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
16851        match err {
16852            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
16853                Error::Unhandled(inner)
16854            }
16855        }
16856    }
16857}
16858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
16859    for Error
16860where
16861    R: Send + Sync + std::fmt::Debug + 'static,
16862{
16863    fn from(
16864        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
16865    ) -> Self {
16866        match err {
16867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16870                source: err.into(),
16871            }),
16872        }
16873    }
16874}
16875impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
16876    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
16877        match err {
16878            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
16879        }
16880    }
16881}
16882impl<R>
16883    From<
16884        ::aws_smithy_runtime_api::client::result::SdkError<
16885            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
16886            R,
16887        >,
16888    > for Error
16889where
16890    R: Send + Sync + std::fmt::Debug + 'static,
16891{
16892    fn from(
16893        err: ::aws_smithy_runtime_api::client::result::SdkError<
16894            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
16895            R,
16896        >,
16897    ) -> Self {
16898        match err {
16899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16902                source: err.into(),
16903            }),
16904        }
16905    }
16906}
16907impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
16908    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
16909        match err {
16910            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
16911        }
16912    }
16913}
16914impl<R>
16915    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
16916    for Error
16917where
16918    R: Send + Sync + std::fmt::Debug + 'static,
16919{
16920    fn from(
16921        err: ::aws_smithy_runtime_api::client::result::SdkError<
16922            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
16923            R,
16924        >,
16925    ) -> Self {
16926        match err {
16927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16930                source: err.into(),
16931            }),
16932        }
16933    }
16934}
16935impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
16936    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
16937        match err {
16938            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
16939        }
16940    }
16941}
16942impl<R>
16943    From<
16944        ::aws_smithy_runtime_api::client::result::SdkError<
16945            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16946            R,
16947        >,
16948    > for Error
16949where
16950    R: Send + Sync + std::fmt::Debug + 'static,
16951{
16952    fn from(
16953        err: ::aws_smithy_runtime_api::client::result::SdkError<
16954            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16955            R,
16956        >,
16957    ) -> Self {
16958        match err {
16959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16962                source: err.into(),
16963            }),
16964        }
16965    }
16966}
16967impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
16968    fn from(
16969        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16970    ) -> Self {
16971        match err {
16972            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
16973        }
16974    }
16975}
16976impl<R>
16977    From<
16978        ::aws_smithy_runtime_api::client::result::SdkError<
16979            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16980            R,
16981        >,
16982    > for Error
16983where
16984    R: Send + Sync + std::fmt::Debug + 'static,
16985{
16986    fn from(
16987        err: ::aws_smithy_runtime_api::client::result::SdkError<
16988            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16989            R,
16990        >,
16991    ) -> Self {
16992        match err {
16993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16996                source: err.into(),
16997            }),
16998        }
16999    }
17000}
17001impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
17002    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
17003        match err {
17004            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
17005                Error::Unhandled(inner)
17006            }
17007        }
17008    }
17009}
17010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
17011where
17012    R: Send + Sync + std::fmt::Debug + 'static,
17013{
17014    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
17015        match err {
17016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17019                source: err.into(),
17020            }),
17021        }
17022    }
17023}
17024impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
17025    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
17026        match err {
17027            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
17028        }
17029    }
17030}
17031impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
17032where
17033    R: Send + Sync + std::fmt::Debug + 'static,
17034{
17035    fn from(
17036        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
17037    ) -> Self {
17038        match err {
17039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17042                source: err.into(),
17043            }),
17044        }
17045    }
17046}
17047impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
17048    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
17049        match err {
17050            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17051        }
17052    }
17053}
17054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
17055where
17056    R: Send + Sync + std::fmt::Debug + 'static,
17057{
17058    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
17059        match err {
17060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17063                source: err.into(),
17064            }),
17065        }
17066    }
17067}
17068impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
17069    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
17070        match err {
17071            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17072        }
17073    }
17074}
17075impl<R>
17076    From<
17077        ::aws_smithy_runtime_api::client::result::SdkError<
17078            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17079            R,
17080        >,
17081    > for Error
17082where
17083    R: Send + Sync + std::fmt::Debug + 'static,
17084{
17085    fn from(
17086        err: ::aws_smithy_runtime_api::client::result::SdkError<
17087            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17088            R,
17089        >,
17090    ) -> Self {
17091        match err {
17092            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17093            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17094                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17095                source: err.into(),
17096            }),
17097        }
17098    }
17099}
17100impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
17101    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
17102        match err {
17103            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
17104                Error::Unhandled(inner)
17105            }
17106        }
17107    }
17108}
17109impl<R>
17110    From<
17111        ::aws_smithy_runtime_api::client::result::SdkError<
17112            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17113            R,
17114        >,
17115    > for Error
17116where
17117    R: Send + Sync + std::fmt::Debug + 'static,
17118{
17119    fn from(
17120        err: ::aws_smithy_runtime_api::client::result::SdkError<
17121            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17122            R,
17123        >,
17124    ) -> Self {
17125        match err {
17126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17129                source: err.into(),
17130            }),
17131        }
17132    }
17133}
17134impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
17135    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
17136        match err {
17137            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
17138                Error::Unhandled(inner)
17139            }
17140        }
17141    }
17142}
17143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
17144where
17145    R: Send + Sync + std::fmt::Debug + 'static,
17146{
17147    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
17148        match err {
17149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17152                source: err.into(),
17153            }),
17154        }
17155    }
17156}
17157impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
17158    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
17159        match err {
17160            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
17161        }
17162    }
17163}
17164impl<R>
17165    From<
17166        ::aws_smithy_runtime_api::client::result::SdkError<
17167            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
17168            R,
17169        >,
17170    > for Error
17171where
17172    R: Send + Sync + std::fmt::Debug + 'static,
17173{
17174    fn from(
17175        err: ::aws_smithy_runtime_api::client::result::SdkError<
17176            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
17177            R,
17178        >,
17179    ) -> Self {
17180        match err {
17181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17184                source: err.into(),
17185            }),
17186        }
17187    }
17188}
17189impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
17190    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
17191        match err {
17192            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
17193                Error::Unhandled(inner)
17194            }
17195        }
17196    }
17197}
17198impl<R>
17199    From<
17200        ::aws_smithy_runtime_api::client::result::SdkError<
17201            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
17202            R,
17203        >,
17204    > for Error
17205where
17206    R: Send + Sync + std::fmt::Debug + 'static,
17207{
17208    fn from(
17209        err: ::aws_smithy_runtime_api::client::result::SdkError<
17210            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
17211            R,
17212        >,
17213    ) -> Self {
17214        match err {
17215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17218                source: err.into(),
17219            }),
17220        }
17221    }
17222}
17223impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
17224    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
17225        match err {
17226            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
17227                Error::Unhandled(inner)
17228            }
17229        }
17230    }
17231}
17232impl<R>
17233    From<
17234        ::aws_smithy_runtime_api::client::result::SdkError<
17235            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
17236            R,
17237        >,
17238    > for Error
17239where
17240    R: Send + Sync + std::fmt::Debug + 'static,
17241{
17242    fn from(
17243        err: ::aws_smithy_runtime_api::client::result::SdkError<
17244            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
17245            R,
17246        >,
17247    ) -> Self {
17248        match err {
17249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17252                source: err.into(),
17253            }),
17254        }
17255    }
17256}
17257impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
17258    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
17259        match err {
17260            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
17261                inner,
17262            ) => Error::Unhandled(inner),
17263        }
17264    }
17265}
17266impl<R>
17267    From<
17268        ::aws_smithy_runtime_api::client::result::SdkError<
17269            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
17270            R,
17271        >,
17272    > for Error
17273where
17274    R: Send + Sync + std::fmt::Debug + 'static,
17275{
17276    fn from(
17277        err: ::aws_smithy_runtime_api::client::result::SdkError<
17278            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
17279            R,
17280        >,
17281    ) -> Self {
17282        match err {
17283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17286                source: err.into(),
17287            }),
17288        }
17289    }
17290}
17291impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
17292    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
17293        match err {
17294            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
17295                Error::Unhandled(inner)
17296            }
17297        }
17298    }
17299}
17300impl<R>
17301    From<
17302        ::aws_smithy_runtime_api::client::result::SdkError<
17303            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
17304            R,
17305        >,
17306    > for Error
17307where
17308    R: Send + Sync + std::fmt::Debug + 'static,
17309{
17310    fn from(
17311        err: ::aws_smithy_runtime_api::client::result::SdkError<
17312            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
17313            R,
17314        >,
17315    ) -> Self {
17316        match err {
17317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17320                source: err.into(),
17321            }),
17322        }
17323    }
17324}
17325impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
17326    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
17327        match err {
17328            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
17329                Error::Unhandled(inner)
17330            }
17331        }
17332    }
17333}
17334impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
17335where
17336    R: Send + Sync + std::fmt::Debug + 'static,
17337{
17338    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
17339        match err {
17340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17343                source: err.into(),
17344            }),
17345        }
17346    }
17347}
17348impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
17349    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
17350        match err {
17351            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
17352        }
17353    }
17354}
17355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
17356where
17357    R: Send + Sync + std::fmt::Debug + 'static,
17358{
17359    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
17360        match err {
17361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17364                source: err.into(),
17365            }),
17366        }
17367    }
17368}
17369impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
17370    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
17371        match err {
17372            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
17373        }
17374    }
17375}
17376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
17377    for Error
17378where
17379    R: Send + Sync + std::fmt::Debug + 'static,
17380{
17381    fn from(
17382        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
17383    ) -> Self {
17384        match err {
17385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17388                source: err.into(),
17389            }),
17390        }
17391    }
17392}
17393impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
17394    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
17395        match err {
17396            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17397        }
17398    }
17399}
17400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
17401    for Error
17402where
17403    R: Send + Sync + std::fmt::Debug + 'static,
17404{
17405    fn from(
17406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
17407    ) -> Self {
17408        match err {
17409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17412                source: err.into(),
17413            }),
17414        }
17415    }
17416}
17417impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
17418    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
17419        match err {
17420            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
17421        }
17422    }
17423}
17424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
17425    for Error
17426where
17427    R: Send + Sync + std::fmt::Debug + 'static,
17428{
17429    fn from(
17430        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
17431    ) -> Self {
17432        match err {
17433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17436                source: err.into(),
17437            }),
17438        }
17439    }
17440}
17441impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
17442    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
17443        match err {
17444            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17445        }
17446    }
17447}
17448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
17449where
17450    R: Send + Sync + std::fmt::Debug + 'static,
17451{
17452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
17453        match err {
17454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17457                source: err.into(),
17458            }),
17459        }
17460    }
17461}
17462impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
17463    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
17464        match err {
17465            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17466        }
17467    }
17468}
17469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
17470where
17471    R: Send + Sync + std::fmt::Debug + 'static,
17472{
17473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
17474        match err {
17475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17478                source: err.into(),
17479            }),
17480        }
17481    }
17482}
17483impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
17484    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
17485        match err {
17486            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
17487        }
17488    }
17489}
17490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
17491where
17492    R: Send + Sync + std::fmt::Debug + 'static,
17493{
17494    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
17495        match err {
17496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17499                source: err.into(),
17500            }),
17501        }
17502    }
17503}
17504impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
17505    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
17506        match err {
17507            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
17508        }
17509    }
17510}
17511impl<R>
17512    From<
17513        ::aws_smithy_runtime_api::client::result::SdkError<
17514            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
17515            R,
17516        >,
17517    > for Error
17518where
17519    R: Send + Sync + std::fmt::Debug + 'static,
17520{
17521    fn from(
17522        err: ::aws_smithy_runtime_api::client::result::SdkError<
17523            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
17524            R,
17525        >,
17526    ) -> Self {
17527        match err {
17528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17531                source: err.into(),
17532            }),
17533        }
17534    }
17535}
17536impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
17537    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
17538        match err {
17539            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17540        }
17541    }
17542}
17543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
17544where
17545    R: Send + Sync + std::fmt::Debug + 'static,
17546{
17547    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
17548        match err {
17549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17552                source: err.into(),
17553            }),
17554        }
17555    }
17556}
17557impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
17558    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
17559        match err {
17560            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
17561        }
17562    }
17563}
17564impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
17565where
17566    R: Send + Sync + std::fmt::Debug + 'static,
17567{
17568    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
17569        match err {
17570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17573                source: err.into(),
17574            }),
17575        }
17576    }
17577}
17578impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
17579    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
17580        match err {
17581            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
17582        }
17583    }
17584}
17585impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
17586where
17587    R: Send + Sync + std::fmt::Debug + 'static,
17588{
17589    fn from(
17590        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
17591    ) -> Self {
17592        match err {
17593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17596                source: err.into(),
17597            }),
17598        }
17599    }
17600}
17601impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
17602    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
17603        match err {
17604            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
17605        }
17606    }
17607}
17608impl<R>
17609    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
17610    for Error
17611where
17612    R: Send + Sync + std::fmt::Debug + 'static,
17613{
17614    fn from(
17615        err: ::aws_smithy_runtime_api::client::result::SdkError<
17616            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
17617            R,
17618        >,
17619    ) -> Self {
17620        match err {
17621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17624                source: err.into(),
17625            }),
17626        }
17627    }
17628}
17629impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
17630    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
17631        match err {
17632            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
17633        }
17634    }
17635}
17636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
17637where
17638    R: Send + Sync + std::fmt::Debug + 'static,
17639{
17640    fn from(
17641        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
17642    ) -> Self {
17643        match err {
17644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17647                source: err.into(),
17648            }),
17649        }
17650    }
17651}
17652impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
17653    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
17654        match err {
17655            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
17656        }
17657    }
17658}
17659impl<R>
17660    From<
17661        ::aws_smithy_runtime_api::client::result::SdkError<
17662            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
17663            R,
17664        >,
17665    > for Error
17666where
17667    R: Send + Sync + std::fmt::Debug + 'static,
17668{
17669    fn from(
17670        err: ::aws_smithy_runtime_api::client::result::SdkError<
17671            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
17672            R,
17673        >,
17674    ) -> Self {
17675        match err {
17676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17679                source: err.into(),
17680            }),
17681        }
17682    }
17683}
17684impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
17685    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
17686        match err {
17687            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
17688        }
17689    }
17690}
17691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
17692    for Error
17693where
17694    R: Send + Sync + std::fmt::Debug + 'static,
17695{
17696    fn from(
17697        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
17698    ) -> Self {
17699        match err {
17700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17703                source: err.into(),
17704            }),
17705        }
17706    }
17707}
17708impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
17709    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
17710        match err {
17711            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
17712        }
17713    }
17714}
17715impl<R>
17716    From<
17717        ::aws_smithy_runtime_api::client::result::SdkError<
17718            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
17719            R,
17720        >,
17721    > for Error
17722where
17723    R: Send + Sync + std::fmt::Debug + 'static,
17724{
17725    fn from(
17726        err: ::aws_smithy_runtime_api::client::result::SdkError<
17727            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
17728            R,
17729        >,
17730    ) -> Self {
17731        match err {
17732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17735                source: err.into(),
17736            }),
17737        }
17738    }
17739}
17740impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
17741    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
17742        match err {
17743            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
17744                Error::Unhandled(inner)
17745            }
17746        }
17747    }
17748}
17749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
17750    for Error
17751where
17752    R: Send + Sync + std::fmt::Debug + 'static,
17753{
17754    fn from(
17755        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
17756    ) -> Self {
17757        match err {
17758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17761                source: err.into(),
17762            }),
17763        }
17764    }
17765}
17766impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
17767    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
17768        match err {
17769            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17770        }
17771    }
17772}
17773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
17774where
17775    R: Send + Sync + std::fmt::Debug + 'static,
17776{
17777    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
17778        match err {
17779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17782                source: err.into(),
17783            }),
17784        }
17785    }
17786}
17787impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
17788    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
17789        match err {
17790            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17791        }
17792    }
17793}
17794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
17795where
17796    R: Send + Sync + std::fmt::Debug + 'static,
17797{
17798    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
17799        match err {
17800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17803                source: err.into(),
17804            }),
17805        }
17806    }
17807}
17808impl From<crate::operation::register_image::RegisterImageError> for Error {
17809    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
17810        match err {
17811            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
17812        }
17813    }
17814}
17815impl<R>
17816    From<
17817        ::aws_smithy_runtime_api::client::result::SdkError<
17818            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
17819            R,
17820        >,
17821    > for Error
17822where
17823    R: Send + Sync + std::fmt::Debug + 'static,
17824{
17825    fn from(
17826        err: ::aws_smithy_runtime_api::client::result::SdkError<
17827            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
17828            R,
17829        >,
17830    ) -> Self {
17831        match err {
17832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17835                source: err.into(),
17836            }),
17837        }
17838    }
17839}
17840impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
17841    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
17842        match err {
17843            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
17844                Error::Unhandled(inner)
17845            }
17846        }
17847    }
17848}
17849impl<R>
17850    From<
17851        ::aws_smithy_runtime_api::client::result::SdkError<
17852            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
17853            R,
17854        >,
17855    > for Error
17856where
17857    R: Send + Sync + std::fmt::Debug + 'static,
17858{
17859    fn from(
17860        err: ::aws_smithy_runtime_api::client::result::SdkError<
17861            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
17862            R,
17863        >,
17864    ) -> Self {
17865        match err {
17866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17869                source: err.into(),
17870            }),
17871        }
17872    }
17873}
17874impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
17875    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
17876        match err {
17877            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
17878                inner,
17879            ) => Error::Unhandled(inner),
17880        }
17881    }
17882}
17883impl<R>
17884    From<
17885        ::aws_smithy_runtime_api::client::result::SdkError<
17886            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
17887            R,
17888        >,
17889    > for Error
17890where
17891    R: Send + Sync + std::fmt::Debug + 'static,
17892{
17893    fn from(
17894        err: ::aws_smithy_runtime_api::client::result::SdkError<
17895            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
17896            R,
17897        >,
17898    ) -> Self {
17899        match err {
17900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17903                source: err.into(),
17904            }),
17905        }
17906    }
17907}
17908impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
17909    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
17910        match err {
17911            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
17912                inner,
17913            ) => Error::Unhandled(inner),
17914        }
17915    }
17916}
17917impl<R>
17918    From<
17919        ::aws_smithy_runtime_api::client::result::SdkError<
17920            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
17921            R,
17922        >,
17923    > for Error
17924where
17925    R: Send + Sync + std::fmt::Debug + 'static,
17926{
17927    fn from(
17928        err: ::aws_smithy_runtime_api::client::result::SdkError<
17929            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
17930            R,
17931        >,
17932    ) -> Self {
17933        match err {
17934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17937                source: err.into(),
17938            }),
17939        }
17940    }
17941}
17942impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
17943    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
17944        match err {
17945            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
17946                Error::Unhandled(inner)
17947            }
17948        }
17949    }
17950}
17951impl<R>
17952    From<
17953        ::aws_smithy_runtime_api::client::result::SdkError<
17954            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17955            R,
17956        >,
17957    > for Error
17958where
17959    R: Send + Sync + std::fmt::Debug + 'static,
17960{
17961    fn from(
17962        err: ::aws_smithy_runtime_api::client::result::SdkError<
17963            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17964            R,
17965        >,
17966    ) -> Self {
17967        match err {
17968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17971                source: err.into(),
17972            }),
17973        }
17974    }
17975}
17976impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
17977    fn from(
17978        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17979    ) -> Self {
17980        match err {
17981            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
17982        }
17983    }
17984}
17985impl<R>
17986    From<
17987        ::aws_smithy_runtime_api::client::result::SdkError<
17988            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17989            R,
17990        >,
17991    > for Error
17992where
17993    R: Send + Sync + std::fmt::Debug + 'static,
17994{
17995    fn from(
17996        err: ::aws_smithy_runtime_api::client::result::SdkError<
17997            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17998            R,
17999        >,
18000    ) -> Self {
18001        match err {
18002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18005                source: err.into(),
18006            }),
18007        }
18008    }
18009}
18010impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
18011    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
18012        match err {
18013            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
18014                Error::Unhandled(inner)
18015            }
18016        }
18017    }
18018}
18019impl<R>
18020    From<
18021        ::aws_smithy_runtime_api::client::result::SdkError<
18022            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18023            R,
18024        >,
18025    > for Error
18026where
18027    R: Send + Sync + std::fmt::Debug + 'static,
18028{
18029    fn from(
18030        err: ::aws_smithy_runtime_api::client::result::SdkError<
18031            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18032            R,
18033        >,
18034    ) -> Self {
18035        match err {
18036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18039                source: err.into(),
18040            }),
18041        }
18042    }
18043}
18044impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
18045    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
18046        match err {
18047            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
18048                Error::Unhandled(inner)
18049            }
18050        }
18051    }
18052}
18053impl<R>
18054    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
18055    for Error
18056where
18057    R: Send + Sync + std::fmt::Debug + 'static,
18058{
18059    fn from(
18060        err: ::aws_smithy_runtime_api::client::result::SdkError<
18061            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
18062            R,
18063        >,
18064    ) -> Self {
18065        match err {
18066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18069                source: err.into(),
18070            }),
18071        }
18072    }
18073}
18074impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
18075    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
18076        match err {
18077            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18078        }
18079    }
18080}
18081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
18082    for Error
18083where
18084    R: Send + Sync + std::fmt::Debug + 'static,
18085{
18086    fn from(
18087        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
18088    ) -> Self {
18089        match err {
18090            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18091            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18092                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18093                source: err.into(),
18094            }),
18095        }
18096    }
18097}
18098impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
18099    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
18100        match err {
18101            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
18102        }
18103    }
18104}
18105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
18106where
18107    R: Send + Sync + std::fmt::Debug + 'static,
18108{
18109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
18110        match err {
18111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18114                source: err.into(),
18115            }),
18116        }
18117    }
18118}
18119impl From<crate::operation::release_address::ReleaseAddressError> for Error {
18120    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
18121        match err {
18122            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
18123        }
18124    }
18125}
18126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
18127where
18128    R: Send + Sync + std::fmt::Debug + 'static,
18129{
18130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
18131        match err {
18132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18135                source: err.into(),
18136            }),
18137        }
18138    }
18139}
18140impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
18141    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
18142        match err {
18143            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
18144        }
18145    }
18146}
18147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
18148    for Error
18149where
18150    R: Send + Sync + std::fmt::Debug + 'static,
18151{
18152    fn from(
18153        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
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::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
18165    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
18166        match err {
18167            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
18168        }
18169    }
18170}
18171impl<R>
18172    From<
18173        ::aws_smithy_runtime_api::client::result::SdkError<
18174            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
18175            R,
18176        >,
18177    > for Error
18178where
18179    R: Send + Sync + std::fmt::Debug + 'static,
18180{
18181    fn from(
18182        err: ::aws_smithy_runtime_api::client::result::SdkError<
18183            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
18184            R,
18185        >,
18186    ) -> Self {
18187        match err {
18188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18191                source: err.into(),
18192            }),
18193        }
18194    }
18195}
18196impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
18197    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
18198        match err {
18199            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
18200                Error::Unhandled(inner)
18201            }
18202        }
18203    }
18204}
18205impl<R>
18206    From<
18207        ::aws_smithy_runtime_api::client::result::SdkError<
18208            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
18209            R,
18210        >,
18211    > for Error
18212where
18213    R: Send + Sync + std::fmt::Debug + 'static,
18214{
18215    fn from(
18216        err: ::aws_smithy_runtime_api::client::result::SdkError<
18217            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
18218            R,
18219        >,
18220    ) -> Self {
18221        match err {
18222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18225                source: err.into(),
18226            }),
18227        }
18228    }
18229}
18230impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
18231    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
18232        match err {
18233            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
18234                inner,
18235            ) => Error::Unhandled(inner),
18236        }
18237    }
18238}
18239impl<R>
18240    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
18241    for Error
18242where
18243    R: Send + Sync + std::fmt::Debug + 'static,
18244{
18245    fn from(
18246        err: ::aws_smithy_runtime_api::client::result::SdkError<
18247            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
18248            R,
18249        >,
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::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
18261    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
18262        match err {
18263            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
18264        }
18265    }
18266}
18267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, 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::replace_network_acl_entry::ReplaceNetworkAclEntryError, 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::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
18285    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
18286        match err {
18287            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
18288        }
18289    }
18290}
18291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
18292where
18293    R: Send + Sync + std::fmt::Debug + 'static,
18294{
18295    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
18296        match err {
18297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18300                source: err.into(),
18301            }),
18302        }
18303    }
18304}
18305impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
18306    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
18307        match err {
18308            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
18309        }
18310    }
18311}
18312impl<R>
18313    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
18314    for Error
18315where
18316    R: Send + Sync + std::fmt::Debug + 'static,
18317{
18318    fn from(
18319        err: ::aws_smithy_runtime_api::client::result::SdkError<
18320            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
18321            R,
18322        >,
18323    ) -> Self {
18324        match err {
18325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18328                source: err.into(),
18329            }),
18330        }
18331    }
18332}
18333impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
18334    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
18335        match err {
18336            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
18337        }
18338    }
18339}
18340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
18341    for Error
18342where
18343    R: Send + Sync + std::fmt::Debug + 'static,
18344{
18345    fn from(
18346        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
18347    ) -> Self {
18348        match err {
18349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18352                source: err.into(),
18353            }),
18354        }
18355    }
18356}
18357impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
18358    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
18359        match err {
18360            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
18361        }
18362    }
18363}
18364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
18365where
18366    R: Send + Sync + std::fmt::Debug + 'static,
18367{
18368    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
18369        match err {
18370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18373                source: err.into(),
18374            }),
18375        }
18376    }
18377}
18378impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
18379    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
18380        match err {
18381            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
18382        }
18383    }
18384}
18385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
18386where
18387    R: Send + Sync + std::fmt::Debug + 'static,
18388{
18389    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
18390        match err {
18391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18394                source: err.into(),
18395            }),
18396        }
18397    }
18398}
18399impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
18400    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
18401        match err {
18402            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
18403        }
18404    }
18405}
18406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
18407where
18408    R: Send + Sync + std::fmt::Debug + 'static,
18409{
18410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
18411        match err {
18412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18415                source: err.into(),
18416            }),
18417        }
18418    }
18419}
18420impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
18421    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
18422        match err {
18423            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
18424        }
18425    }
18426}
18427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
18428where
18429    R: Send + Sync + std::fmt::Debug + 'static,
18430{
18431    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
18432        match err {
18433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18436                source: err.into(),
18437            }),
18438        }
18439    }
18440}
18441impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
18442    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
18443        match err {
18444            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18445        }
18446    }
18447}
18448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
18449where
18450    R: Send + Sync + std::fmt::Debug + 'static,
18451{
18452    fn from(
18453        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
18454    ) -> Self {
18455        match err {
18456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18459                source: err.into(),
18460            }),
18461        }
18462    }
18463}
18464impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
18465    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
18466        match err {
18467            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18468        }
18469    }
18470}
18471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
18472    for Error
18473where
18474    R: Send + Sync + std::fmt::Debug + 'static,
18475{
18476    fn from(
18477        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
18478    ) -> Self {
18479        match err {
18480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18483                source: err.into(),
18484            }),
18485        }
18486    }
18487}
18488impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
18489    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
18490        match err {
18491            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
18492        }
18493    }
18494}
18495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
18496    for Error
18497where
18498    R: Send + Sync + std::fmt::Debug + 'static,
18499{
18500    fn from(
18501        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
18502    ) -> Self {
18503        match err {
18504            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18505            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18506                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18507                source: err.into(),
18508            }),
18509        }
18510    }
18511}
18512impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
18513    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
18514        match err {
18515            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18516        }
18517    }
18518}
18519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
18520where
18521    R: Send + Sync + std::fmt::Debug + 'static,
18522{
18523    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
18524        match err {
18525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18528                source: err.into(),
18529            }),
18530        }
18531    }
18532}
18533impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
18534    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
18535        match err {
18536            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18537        }
18538    }
18539}
18540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
18541where
18542    R: Send + Sync + std::fmt::Debug + 'static,
18543{
18544    fn from(
18545        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
18546    ) -> Self {
18547        match err {
18548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18551                source: err.into(),
18552            }),
18553        }
18554    }
18555}
18556impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
18557    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
18558        match err {
18559            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18560        }
18561    }
18562}
18563impl<R>
18564    From<
18565        ::aws_smithy_runtime_api::client::result::SdkError<
18566            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
18567            R,
18568        >,
18569    > for Error
18570where
18571    R: Send + Sync + std::fmt::Debug + 'static,
18572{
18573    fn from(
18574        err: ::aws_smithy_runtime_api::client::result::SdkError<
18575            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
18576            R,
18577        >,
18578    ) -> Self {
18579        match err {
18580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18583                source: err.into(),
18584            }),
18585        }
18586    }
18587}
18588impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
18589    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
18590        match err {
18591            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18592        }
18593    }
18594}
18595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
18596where
18597    R: Send + Sync + std::fmt::Debug + 'static,
18598{
18599    fn from(
18600        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
18601    ) -> Self {
18602        match err {
18603            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18604            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18605                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18606                source: err.into(),
18607            }),
18608        }
18609    }
18610}
18611impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
18612    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
18613        match err {
18614            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18615        }
18616    }
18617}
18618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
18619    for Error
18620where
18621    R: Send + Sync + std::fmt::Debug + 'static,
18622{
18623    fn from(
18624        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
18625    ) -> Self {
18626        match err {
18627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18630                source: err.into(),
18631            }),
18632        }
18633    }
18634}
18635impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
18636    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
18637        match err {
18638            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
18639        }
18640    }
18641}
18642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
18643    for Error
18644where
18645    R: Send + Sync + std::fmt::Debug + 'static,
18646{
18647    fn from(
18648        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
18649    ) -> Self {
18650        match err {
18651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18654                source: err.into(),
18655            }),
18656        }
18657    }
18658}
18659impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
18660    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
18661        match err {
18662            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
18663        }
18664    }
18665}
18666impl<R>
18667    From<
18668        ::aws_smithy_runtime_api::client::result::SdkError<
18669            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
18670            R,
18671        >,
18672    > for Error
18673where
18674    R: Send + Sync + std::fmt::Debug + 'static,
18675{
18676    fn from(
18677        err: ::aws_smithy_runtime_api::client::result::SdkError<
18678            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
18679            R,
18680        >,
18681    ) -> Self {
18682        match err {
18683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18686                source: err.into(),
18687            }),
18688        }
18689    }
18690}
18691impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
18692    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
18693        match err {
18694            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
18695        }
18696    }
18697}
18698impl<R>
18699    From<
18700        ::aws_smithy_runtime_api::client::result::SdkError<
18701            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
18702            R,
18703        >,
18704    > for Error
18705where
18706    R: Send + Sync + std::fmt::Debug + 'static,
18707{
18708    fn from(
18709        err: ::aws_smithy_runtime_api::client::result::SdkError<
18710            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
18711            R,
18712        >,
18713    ) -> Self {
18714        match err {
18715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18718                source: err.into(),
18719            }),
18720        }
18721    }
18722}
18723impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
18724    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
18725        match err {
18726            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
18727        }
18728    }
18729}
18730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
18731where
18732    R: Send + Sync + std::fmt::Debug + 'static,
18733{
18734    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
18735        match err {
18736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18739                source: err.into(),
18740            }),
18741        }
18742    }
18743}
18744impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
18745    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
18746        match err {
18747            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
18748        }
18749    }
18750}
18751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
18752    for Error
18753where
18754    R: Send + Sync + std::fmt::Debug + 'static,
18755{
18756    fn from(
18757        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
18758    ) -> Self {
18759        match err {
18760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18763                source: err.into(),
18764            }),
18765        }
18766    }
18767}
18768impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
18769    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
18770        match err {
18771            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
18772        }
18773    }
18774}
18775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
18776    for Error
18777where
18778    R: Send + Sync + std::fmt::Debug + 'static,
18779{
18780    fn from(
18781        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
18782    ) -> Self {
18783        match err {
18784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18787                source: err.into(),
18788            }),
18789        }
18790    }
18791}
18792impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
18793    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
18794        match err {
18795            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
18796        }
18797    }
18798}
18799impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
18800    for Error
18801where
18802    R: Send + Sync + std::fmt::Debug + 'static,
18803{
18804    fn from(
18805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
18806    ) -> Self {
18807        match err {
18808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18811                source: err.into(),
18812            }),
18813        }
18814    }
18815}
18816impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
18817    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
18818        match err {
18819            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
18820        }
18821    }
18822}
18823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
18824where
18825    R: Send + Sync + std::fmt::Debug + 'static,
18826{
18827    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
18828        match err {
18829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18832                source: err.into(),
18833            }),
18834        }
18835    }
18836}
18837impl From<crate::operation::run_instances::RunInstancesError> for Error {
18838    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
18839        match err {
18840            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18841        }
18842    }
18843}
18844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
18845where
18846    R: Send + Sync + std::fmt::Debug + 'static,
18847{
18848    fn from(
18849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
18850    ) -> Self {
18851        match err {
18852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18855                source: err.into(),
18856            }),
18857        }
18858    }
18859}
18860impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
18861    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
18862        match err {
18863            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18864        }
18865    }
18866}
18867impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
18868    for Error
18869where
18870    R: Send + Sync + std::fmt::Debug + 'static,
18871{
18872    fn from(
18873        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
18874    ) -> Self {
18875        match err {
18876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18879                source: err.into(),
18880            }),
18881        }
18882    }
18883}
18884impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
18885    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
18886        match err {
18887            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
18888        }
18889    }
18890}
18891impl<R>
18892    From<
18893        ::aws_smithy_runtime_api::client::result::SdkError<
18894            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
18895            R,
18896        >,
18897    > for Error
18898where
18899    R: Send + Sync + std::fmt::Debug + 'static,
18900{
18901    fn from(
18902        err: ::aws_smithy_runtime_api::client::result::SdkError<
18903            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
18904            R,
18905        >,
18906    ) -> Self {
18907        match err {
18908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18911                source: err.into(),
18912            }),
18913        }
18914    }
18915}
18916impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
18917    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
18918        match err {
18919            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
18920                Error::Unhandled(inner)
18921            }
18922        }
18923    }
18924}
18925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
18926    for Error
18927where
18928    R: Send + Sync + std::fmt::Debug + 'static,
18929{
18930    fn from(
18931        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
18932    ) -> Self {
18933        match err {
18934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18937                source: err.into(),
18938            }),
18939        }
18940    }
18941}
18942impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
18943    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
18944        match err {
18945            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
18946        }
18947    }
18948}
18949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
18950    for Error
18951where
18952    R: Send + Sync + std::fmt::Debug + 'static,
18953{
18954    fn from(
18955        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
18956    ) -> Self {
18957        match err {
18958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18961                source: err.into(),
18962            }),
18963        }
18964    }
18965}
18966impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
18967    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
18968        match err {
18969            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
18970        }
18971    }
18972}
18973impl<R>
18974    From<
18975        ::aws_smithy_runtime_api::client::result::SdkError<
18976            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18977            R,
18978        >,
18979    > for Error
18980where
18981    R: Send + Sync + std::fmt::Debug + 'static,
18982{
18983    fn from(
18984        err: ::aws_smithy_runtime_api::client::result::SdkError<
18985            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18986            R,
18987        >,
18988    ) -> Self {
18989        match err {
18990            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18991            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18992                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18993                source: err.into(),
18994            }),
18995        }
18996    }
18997}
18998impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
18999    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
19000        match err {
19001            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
19002        }
19003    }
19004}
19005impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
19006where
19007    R: Send + Sync + std::fmt::Debug + 'static,
19008{
19009    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
19010        match err {
19011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19014                source: err.into(),
19015            }),
19016        }
19017    }
19018}
19019impl From<crate::operation::start_instances::StartInstancesError> for Error {
19020    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
19021        match err {
19022            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19023        }
19024    }
19025}
19026impl<R>
19027    From<
19028        ::aws_smithy_runtime_api::client::result::SdkError<
19029            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19030            R,
19031        >,
19032    > for Error
19033where
19034    R: Send + Sync + std::fmt::Debug + 'static,
19035{
19036    fn from(
19037        err: ::aws_smithy_runtime_api::client::result::SdkError<
19038            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19039            R,
19040        >,
19041    ) -> Self {
19042        match err {
19043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19046                source: err.into(),
19047            }),
19048        }
19049    }
19050}
19051impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
19052    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
19053        match err {
19054            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
19055                Error::Unhandled(inner)
19056            }
19057        }
19058    }
19059}
19060impl<R>
19061    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
19062    for Error
19063where
19064    R: Send + Sync + std::fmt::Debug + 'static,
19065{
19066    fn from(
19067        err: ::aws_smithy_runtime_api::client::result::SdkError<
19068            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
19069            R,
19070        >,
19071    ) -> Self {
19072        match err {
19073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19076                source: err.into(),
19077            }),
19078        }
19079    }
19080}
19081impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
19082    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
19083        match err {
19084            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
19085        }
19086    }
19087}
19088impl<R>
19089    From<
19090        ::aws_smithy_runtime_api::client::result::SdkError<
19091            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
19092            R,
19093        >,
19094    > for Error
19095where
19096    R: Send + Sync + std::fmt::Debug + 'static,
19097{
19098    fn from(
19099        err: ::aws_smithy_runtime_api::client::result::SdkError<
19100            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
19101            R,
19102        >,
19103    ) -> Self {
19104        match err {
19105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19108                source: err.into(),
19109            }),
19110        }
19111    }
19112}
19113impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
19114    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
19115        match err {
19116            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
19117                inner,
19118            ) => Error::Unhandled(inner),
19119        }
19120    }
19121}
19122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
19123where
19124    R: Send + Sync + std::fmt::Debug + 'static,
19125{
19126    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
19127        match err {
19128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19131                source: err.into(),
19132            }),
19133        }
19134    }
19135}
19136impl From<crate::operation::stop_instances::StopInstancesError> for Error {
19137    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
19138        match err {
19139            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19140        }
19141    }
19142}
19143impl<R>
19144    From<
19145        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
19146    > for Error
19147where
19148    R: Send + Sync + std::fmt::Debug + 'static,
19149{
19150    fn from(
19151        err: ::aws_smithy_runtime_api::client::result::SdkError<
19152            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
19153            R,
19154        >,
19155    ) -> Self {
19156        match err {
19157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19160                source: err.into(),
19161            }),
19162        }
19163    }
19164}
19165impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
19166    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
19167        match err {
19168            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
19169        }
19170    }
19171}
19172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
19173where
19174    R: Send + Sync + std::fmt::Debug + 'static,
19175{
19176    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
19177        match err {
19178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19181                source: err.into(),
19182            }),
19183        }
19184    }
19185}
19186impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
19187    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
19188        match err {
19189            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19190        }
19191    }
19192}
19193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
19194where
19195    R: Send + Sync + std::fmt::Debug + 'static,
19196{
19197    fn from(
19198        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
19199    ) -> Self {
19200        match err {
19201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19204                source: err.into(),
19205            }),
19206        }
19207    }
19208}
19209impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
19210    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
19211        match err {
19212            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
19213        }
19214    }
19215}
19216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
19217    for Error
19218where
19219    R: Send + Sync + std::fmt::Debug + 'static,
19220{
19221    fn from(
19222        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
19223    ) -> Self {
19224        match err {
19225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19228                source: err.into(),
19229            }),
19230        }
19231    }
19232}
19233impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
19234    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
19235        match err {
19236            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
19237        }
19238    }
19239}
19240impl<R>
19241    From<
19242        ::aws_smithy_runtime_api::client::result::SdkError<
19243            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
19244            R,
19245        >,
19246    > for Error
19247where
19248    R: Send + Sync + std::fmt::Debug + 'static,
19249{
19250    fn from(
19251        err: ::aws_smithy_runtime_api::client::result::SdkError<
19252            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
19253            R,
19254        >,
19255    ) -> Self {
19256        match err {
19257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19260                source: err.into(),
19261            }),
19262        }
19263    }
19264}
19265impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
19266    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
19267        match err {
19268            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
19269                Error::Unhandled(inner)
19270            }
19271        }
19272    }
19273}
19274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
19275where
19276    R: Send + Sync + std::fmt::Debug + 'static,
19277{
19278    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
19279        match err {
19280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19283                source: err.into(),
19284            }),
19285        }
19286    }
19287}
19288impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
19289    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
19290        match err {
19291            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
19292        }
19293    }
19294}
19295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
19296where
19297    R: Send + Sync + std::fmt::Debug + 'static,
19298{
19299    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
19300        match err {
19301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19304                source: err.into(),
19305            }),
19306        }
19307    }
19308}
19309impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
19310    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
19311        match err {
19312            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19313        }
19314    }
19315}
19316impl<R>
19317    From<
19318        ::aws_smithy_runtime_api::client::result::SdkError<
19319            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
19320            R,
19321        >,
19322    > for Error
19323where
19324    R: Send + Sync + std::fmt::Debug + 'static,
19325{
19326    fn from(
19327        err: ::aws_smithy_runtime_api::client::result::SdkError<
19328            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
19329            R,
19330        >,
19331    ) -> Self {
19332        match err {
19333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19336                source: err.into(),
19337            }),
19338        }
19339    }
19340}
19341impl From<crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError> for Error {
19342    fn from(err: crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError) -> Self {
19343        match err {
19344            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError::Unhandled(inner) => {
19345                Error::Unhandled(inner)
19346            }
19347        }
19348    }
19349}
19350impl<R>
19351    From<
19352        ::aws_smithy_runtime_api::client::result::SdkError<
19353            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
19354            R,
19355        >,
19356    > for Error
19357where
19358    R: Send + Sync + std::fmt::Debug + 'static,
19359{
19360    fn from(
19361        err: ::aws_smithy_runtime_api::client::result::SdkError<
19362            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
19363            R,
19364        >,
19365    ) -> Self {
19366        match err {
19367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19370                source: err.into(),
19371            }),
19372        }
19373    }
19374}
19375impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
19376    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
19377        match err {
19378            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
19379                Error::Unhandled(inner)
19380            }
19381        }
19382    }
19383}
19384impl<R>
19385    From<
19386        ::aws_smithy_runtime_api::client::result::SdkError<
19387            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
19388            R,
19389        >,
19390    > for Error
19391where
19392    R: Send + Sync + std::fmt::Debug + 'static,
19393{
19394    fn from(
19395        err: ::aws_smithy_runtime_api::client::result::SdkError<
19396            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
19397            R,
19398        >,
19399    ) -> Self {
19400        match err {
19401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19404                source: err.into(),
19405            }),
19406        }
19407    }
19408}
19409impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
19410    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
19411        match err {
19412            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
19413                Error::Unhandled(inner)
19414            }
19415        }
19416    }
19417}
19418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
19419where
19420    R: Send + Sync + std::fmt::Debug + 'static,
19421{
19422    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
19423        match err {
19424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19427                source: err.into(),
19428            }),
19429        }
19430    }
19431}
19432impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
19433    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
19434        match err {
19435            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
19436        }
19437    }
19438}
19439impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
19440where
19441    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
19442    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
19443{
19444    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
19445        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19446            meta: ::std::default::Default::default(),
19447            source: err.into(),
19448        })
19449    }
19450}
19451impl ::std::error::Error for Error {
19452    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
19453        match self {
19454            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
19455        }
19456    }
19457}
19458impl ::aws_types::request_id::RequestId for Error {
19459    fn request_id(&self) -> Option<&str> {
19460        match self {
19461            Self::Unhandled(e) => e.meta.request_id(),
19462        }
19463    }
19464}