aws_sdk_ec2/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
7    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
8    variable wildcard pattern and check `.code()`:
9     \
10       `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
11     \
12    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
13    Unhandled(crate::error::sealed_unhandled::Unhandled),
14}
15impl ::std::fmt::Display for Error {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
17        match self {
18            Error::Unhandled(_) => {
19                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
20                    write!(f, "unhandled error ({code})")
21                } else {
22                    f.write_str("unhandled error")
23                }
24            }
25        }
26    }
27}
28impl From<::aws_smithy_types::error::operation::BuildError> for Error {
29    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
30        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
31            source: value.into(),
32            meta: ::std::default::Default::default(),
33        })
34    }
35}
36impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
37    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
38        match self {
39            Self::Unhandled(inner) => &inner.meta,
40        }
41    }
42}
43impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>> for Error
44where
45    R: Send + Sync + std::fmt::Debug + 'static,
46{
47    fn from(
48        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>,
49    ) -> Self {
50        match err {
51            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
52            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
54                source: err.into(),
55            }),
56        }
57    }
58}
59impl From<crate::operation::accept_address_transfer::AcceptAddressTransferError> for Error {
60    fn from(err: crate::operation::accept_address_transfer::AcceptAddressTransferError) -> Self {
61        match err {
62            crate::operation::accept_address_transfer::AcceptAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
63        }
64    }
65}
66impl<R>
67    From<
68        ::aws_smithy_runtime_api::client::result::SdkError<
69            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
70            R,
71        >,
72    > for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(
77        err: ::aws_smithy_runtime_api::client::result::SdkError<
78            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
79            R,
80        >,
81    ) -> Self {
82        match err {
83            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
84            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
85                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
86                source: err.into(),
87            }),
88        }
89    }
90}
91impl From<crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError> for Error {
92    fn from(err: crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError) -> Self {
93        match err {
94            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError::Unhandled(inner) => {
95                Error::Unhandled(inner)
96            }
97        }
98    }
99}
100impl<R>
101    From<
102        ::aws_smithy_runtime_api::client::result::SdkError<
103            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
104            R,
105        >,
106    > for Error
107where
108    R: Send + Sync + std::fmt::Debug + 'static,
109{
110    fn from(
111        err: ::aws_smithy_runtime_api::client::result::SdkError<
112            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
113            R,
114        >,
115    ) -> Self {
116        match err {
117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
120                source: err.into(),
121            }),
122        }
123    }
124}
125impl From<crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError> for Error {
126    fn from(err: crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError) -> Self {
127        match err {
128            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError::Unhandled(inner) => {
129                Error::Unhandled(inner)
130            }
131        }
132    }
133}
134impl<R>
135    From<
136        ::aws_smithy_runtime_api::client::result::SdkError<
137            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
138            R,
139        >,
140    > for Error
141where
142    R: Send + Sync + std::fmt::Debug + 'static,
143{
144    fn from(
145        err: ::aws_smithy_runtime_api::client::result::SdkError<
146            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
147            R,
148        >,
149    ) -> Self {
150        match err {
151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
154                source: err.into(),
155            }),
156        }
157    }
158}
159impl From<crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError> for Error {
160    fn from(
161        err: crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
162    ) -> Self {
163        match err {
164            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R>
169    From<
170        ::aws_smithy_runtime_api::client::result::SdkError<
171            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
172            R,
173        >,
174    > for Error
175where
176    R: Send + Sync + std::fmt::Debug + 'static,
177{
178    fn from(
179        err: ::aws_smithy_runtime_api::client::result::SdkError<
180            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
181            R,
182        >,
183    ) -> Self {
184        match err {
185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
188                source: err.into(),
189            }),
190        }
191    }
192}
193impl From<crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError> for Error {
194    fn from(err: crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError) -> Self {
195        match err {
196            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
197                Error::Unhandled(inner)
198            }
199        }
200    }
201}
202impl<R>
203    From<
204        ::aws_smithy_runtime_api::client::result::SdkError<
205            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
206            R,
207        >,
208    > for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<
214            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError> for Error {
228    fn from(err: crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError) -> Self {
229        match err {
230            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError::Unhandled(inner) => {
231                Error::Unhandled(inner)
232            }
233        }
234    }
235}
236impl<R>
237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, R>>
238    for Error
239where
240    R: Send + Sync + std::fmt::Debug + 'static,
241{
242    fn from(
243        err: ::aws_smithy_runtime_api::client::result::SdkError<
244            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError,
245            R,
246        >,
247    ) -> Self {
248        match err {
249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
252                source: err.into(),
253            }),
254        }
255    }
256}
257impl From<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError> for Error {
258    fn from(err: crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError) -> Self {
259        match err {
260            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>>
265    for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(
270        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>,
271    ) -> Self {
272        match err {
273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
276                source: err.into(),
277            }),
278        }
279    }
280}
281impl From<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError> for Error {
282    fn from(err: crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError) -> Self {
283        match err {
284            crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>) -> Self {
293        match err {
294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
297                source: err.into(),
298            }),
299        }
300    }
301}
302impl From<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError> for Error {
303    fn from(err: crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError) -> Self {
304        match err {
305            crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
306        }
307    }
308}
309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>> for Error
310where
311    R: Send + Sync + std::fmt::Debug + 'static,
312{
313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>) -> Self {
314        match err {
315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
318                source: err.into(),
319            }),
320        }
321    }
322}
323impl From<crate::operation::allocate_address::AllocateAddressError> for Error {
324    fn from(err: crate::operation::allocate_address::AllocateAddressError) -> Self {
325        match err {
326            crate::operation::allocate_address::AllocateAddressError::Unhandled(inner) => Error::Unhandled(inner),
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::allocate_hosts::AllocateHostsError> for Error {
345    fn from(err: crate::operation::allocate_hosts::AllocateHostsError) -> Self {
346        match err {
347            crate::operation::allocate_hosts::AllocateHostsError::Unhandled(inner) => Error::Unhandled(inner),
348        }
349    }
350}
351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>> for Error
352where
353    R: Send + Sync + std::fmt::Debug + 'static,
354{
355    fn from(
356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>,
357    ) -> Self {
358        match err {
359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362                source: err.into(),
363            }),
364        }
365    }
366}
367impl From<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError> for Error {
368    fn from(err: crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError) -> Self {
369        match err {
370            crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
371        }
372    }
373}
374impl<R>
375    From<
376        ::aws_smithy_runtime_api::client::result::SdkError<
377            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
378            R,
379        >,
380    > for Error
381where
382    R: Send + Sync + std::fmt::Debug + 'static,
383{
384    fn from(
385        err: ::aws_smithy_runtime_api::client::result::SdkError<
386            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
387            R,
388        >,
389    ) -> Self {
390        match err {
391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
394                source: err.into(),
395            }),
396        }
397    }
398}
399impl From<crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError> for Error {
400    fn from(err: crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError) -> Self {
401        match err {
402            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError::Unhandled(
403                inner,
404            ) => Error::Unhandled(inner),
405        }
406    }
407}
408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>> for Error
409where
410    R: Send + Sync + std::fmt::Debug + 'static,
411{
412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>) -> Self {
413        match err {
414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
417                source: err.into(),
418            }),
419        }
420    }
421}
422impl From<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError> for Error {
423    fn from(err: crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError) -> Self {
424        match err {
425            crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>>
430    for Error
431where
432    R: Send + Sync + std::fmt::Debug + 'static,
433{
434    fn from(
435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>,
436    ) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError> for Error {
447    fn from(err: crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError) -> Self {
448        match err {
449            crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R>
454    From<
455        ::aws_smithy_runtime_api::client::result::SdkError<
456            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
457            R,
458        >,
459    > for Error
460where
461    R: Send + Sync + std::fmt::Debug + 'static,
462{
463    fn from(
464        err: ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
466            R,
467        >,
468    ) -> Self {
469        match err {
470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
473                source: err.into(),
474            }),
475        }
476    }
477}
478impl From<crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError> for Error {
479    fn from(err: crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError) -> Self {
480        match err {
481            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
482        }
483    }
484}
485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>> for Error
486where
487    R: Send + Sync + std::fmt::Debug + 'static,
488{
489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>) -> Self {
490        match err {
491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494                source: err.into(),
495            }),
496        }
497    }
498}
499impl From<crate::operation::associate_address::AssociateAddressError> for Error {
500    fn from(err: crate::operation::associate_address::AssociateAddressError) -> Self {
501        match err {
502            crate::operation::associate_address::AssociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
503        }
504    }
505}
506impl<R>
507    From<
508        ::aws_smithy_runtime_api::client::result::SdkError<
509            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
510            R,
511        >,
512    > for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(
517        err: ::aws_smithy_runtime_api::client::result::SdkError<
518            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
519            R,
520        >,
521    ) -> Self {
522        match err {
523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526                source: err.into(),
527            }),
528        }
529    }
530}
531impl From<crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError> for Error {
532    fn from(err: crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError) -> Self {
533        match err {
534            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
535                Error::Unhandled(inner)
536            }
537        }
538    }
539}
540impl<R>
541    From<
542        ::aws_smithy_runtime_api::client::result::SdkError<
543            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
544            R,
545        >,
546    > for Error
547where
548    R: Send + Sync + std::fmt::Debug + 'static,
549{
550    fn from(
551        err: ::aws_smithy_runtime_api::client::result::SdkError<
552            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
553            R,
554        >,
555    ) -> Self {
556        match err {
557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
560                source: err.into(),
561            }),
562        }
563    }
564}
565impl From<crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError> for Error {
566    fn from(err: crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError) -> Self {
567        match err {
568            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError> for Error {
587    fn from(err: crate::operation::associate_dhcp_options::AssociateDhcpOptionsError) -> Self {
588        match err {
589            crate::operation::associate_dhcp_options::AssociateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
590        }
591    }
592}
593impl<R>
594    From<
595        ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
597            R,
598        >,
599    > for Error
600where
601    R: Send + Sync + std::fmt::Debug + 'static,
602{
603    fn from(
604        err: ::aws_smithy_runtime_api::client::result::SdkError<
605            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
606            R,
607        >,
608    ) -> Self {
609        match err {
610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613                source: err.into(),
614            }),
615        }
616    }
617}
618impl From<crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError> for Error {
619    fn from(err: crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError) -> Self {
620        match err {
621            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
622                Error::Unhandled(inner)
623            }
624        }
625    }
626}
627impl<R>
628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, R>>
629    for Error
630where
631    R: Send + Sync + std::fmt::Debug + 'static,
632{
633    fn from(
634        err: ::aws_smithy_runtime_api::client::result::SdkError<
635            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError,
636            R,
637        >,
638    ) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError> for Error {
649    fn from(err: crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError) -> Self {
650        match err {
651            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R>
656    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<
663            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError,
664            R,
665        >,
666    ) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError> for Error {
677    fn from(err: crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError) -> Self {
678        match err {
679            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
680        }
681    }
682}
683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>> for Error
684where
685    R: Send + Sync + std::fmt::Debug + 'static,
686{
687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>) -> Self {
688        match err {
689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692                source: err.into(),
693            }),
694        }
695    }
696}
697impl From<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError> for Error {
698    fn from(err: crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError) -> Self {
699        match err {
700            crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
701        }
702    }
703}
704impl<R>
705    From<
706        ::aws_smithy_runtime_api::client::result::SdkError<
707            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
708            R,
709        >,
710    > for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError> for Error {
730    fn from(err: crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError) -> Self {
731        match err {
732            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>>
737    for Error
738where
739    R: Send + Sync + std::fmt::Debug + 'static,
740{
741    fn from(
742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>,
743    ) -> Self {
744        match err {
745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
748                source: err.into(),
749            }),
750        }
751    }
752}
753impl From<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError> for Error {
754    fn from(err: crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError) -> Self {
755        match err {
756            crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
757        }
758    }
759}
760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>> for Error
761where
762    R: Send + Sync + std::fmt::Debug + 'static,
763{
764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>) -> Self {
765        match err {
766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
769                source: err.into(),
770            }),
771        }
772    }
773}
774impl From<crate::operation::associate_route_server::AssociateRouteServerError> for Error {
775    fn from(err: crate::operation::associate_route_server::AssociateRouteServerError) -> Self {
776        match err {
777            crate::operation::associate_route_server::AssociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>> for Error
782where
783    R: Send + Sync + std::fmt::Debug + 'static,
784{
785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>) -> Self {
786        match err {
787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
790                source: err.into(),
791            }),
792        }
793    }
794}
795impl From<crate::operation::associate_route_table::AssociateRouteTableError> for Error {
796    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
797        match err {
798            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
799        }
800    }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
803    for Error
804where
805    R: Send + Sync + std::fmt::Debug + 'static,
806{
807    fn from(
808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
820    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
821        match err {
822            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
827    for Error
828where
829    R: Send + Sync + std::fmt::Debug + 'static,
830{
831    fn from(
832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
833    ) -> Self {
834        match err {
835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
838                source: err.into(),
839            }),
840        }
841    }
842}
843impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
844    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
845        match err {
846            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R>
851    From<
852        ::aws_smithy_runtime_api::client::result::SdkError<
853            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
854            R,
855        >,
856    > for Error
857where
858    R: Send + Sync + std::fmt::Debug + 'static,
859{
860    fn from(
861        err: ::aws_smithy_runtime_api::client::result::SdkError<
862            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
863            R,
864        >,
865    ) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
876    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
877        match err {
878            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
879                Error::Unhandled(inner)
880            }
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
910    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
911        match err {
912            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
913                Error::Unhandled(inner)
914            }
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
944    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
945        match err {
946            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
947                Error::Unhandled(inner)
948            }
949        }
950    }
951}
952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
953    for Error
954where
955    R: Send + Sync + std::fmt::Debug + 'static,
956{
957    fn from(
958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
959    ) -> Self {
960        match err {
961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
964                source: err.into(),
965            }),
966        }
967    }
968}
969impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
970    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
971        match err {
972            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(
981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
982    ) -> Self {
983        match err {
984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
987                source: err.into(),
988            }),
989        }
990    }
991}
992impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
993    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
994        match err {
995            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
1000where
1001    R: Send + Sync + std::fmt::Debug + 'static,
1002{
1003    fn from(
1004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
1016    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
1017        match err {
1018            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1023where
1024    R: Send + Sync + std::fmt::Debug + 'static,
1025{
1026    fn from(
1027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1028    ) -> Self {
1029        match err {
1030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1033                source: err.into(),
1034            }),
1035        }
1036    }
1037}
1038impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1039    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1040        match err {
1041            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(
1050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1062    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1063        match err {
1064            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1065        }
1066    }
1067}
1068impl<R>
1069    From<
1070        ::aws_smithy_runtime_api::client::result::SdkError<
1071            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1072            R,
1073        >,
1074    > for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<
1080            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1081            R,
1082        >,
1083    ) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1094    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1095        match err {
1096            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1097                Error::Unhandled(inner)
1098            }
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1103where
1104    R: Send + Sync + std::fmt::Debug + 'static,
1105{
1106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1107        match err {
1108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1111                source: err.into(),
1112            }),
1113        }
1114    }
1115}
1116impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1117    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1118        match err {
1119            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>> for Error
1124where
1125    R: Send + Sync + std::fmt::Debug + 'static,
1126{
1127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::attach_vpn_gateway::AttachVpnGatewayError> for Error {
1138    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1139        match err {
1140            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1141        }
1142    }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1145    for Error
1146where
1147    R: Send + Sync + std::fmt::Debug + 'static,
1148{
1149    fn from(
1150        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1162    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1163        match err {
1164            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R>
1169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1170    for Error
1171where
1172    R: Send + Sync + std::fmt::Debug + 'static,
1173{
1174    fn from(
1175        err: ::aws_smithy_runtime_api::client::result::SdkError<
1176            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1177            R,
1178        >,
1179    ) -> Self {
1180        match err {
1181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184                source: err.into(),
1185            }),
1186        }
1187    }
1188}
1189impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1190    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1191        match err {
1192            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R>
1197    From<
1198        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1199    > for Error
1200where
1201    R: Send + Sync + std::fmt::Debug + 'static,
1202{
1203    fn from(
1204        err: ::aws_smithy_runtime_api::client::result::SdkError<
1205            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1206            R,
1207        >,
1208    ) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1219    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1220        match err {
1221            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1226where
1227    R: Send + Sync + std::fmt::Debug + 'static,
1228{
1229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> Self {
1230        match err {
1231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1234                source: err.into(),
1235            }),
1236        }
1237    }
1238}
1239impl From<crate::operation::bundle_instance::BundleInstanceError> for Error {
1240    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1241        match err {
1242            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>> for Error
1247where
1248    R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>) -> Self {
1251        match err {
1252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255                source: err.into(),
1256            }),
1257        }
1258    }
1259}
1260impl From<crate::operation::cancel_bundle_task::CancelBundleTaskError> for Error {
1261    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1262        match err {
1263            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1268    for Error
1269where
1270    R: Send + Sync + std::fmt::Debug + 'static,
1271{
1272    fn from(
1273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1285    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1286        match err {
1287            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1288        }
1289    }
1290}
1291impl<R>
1292    From<
1293        ::aws_smithy_runtime_api::client::result::SdkError<
1294            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1295            R,
1296        >,
1297    > for Error
1298where
1299    R: Send + Sync + std::fmt::Debug + 'static,
1300{
1301    fn from(
1302        err: ::aws_smithy_runtime_api::client::result::SdkError<
1303            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1304            R,
1305        >,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1317    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1318        match err {
1319            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::cancel_conversion_task::CancelConversionTaskError> for Error {
1338    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1339        match err {
1340            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1341        }
1342    }
1343}
1344impl<R>
1345    From<
1346        ::aws_smithy_runtime_api::client::result::SdkError<
1347            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1348            R,
1349        >,
1350    > for Error
1351where
1352    R: Send + Sync + std::fmt::Debug + 'static,
1353{
1354    fn from(
1355        err: ::aws_smithy_runtime_api::client::result::SdkError<
1356            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1357            R,
1358        >,
1359    ) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1370    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1371        match err {
1372            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::cancel_export_task::CancelExportTaskError> for Error {
1391    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1392        match err {
1393            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R>
1398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1399    for Error
1400where
1401    R: Send + Sync + std::fmt::Debug + 'static,
1402{
1403    fn from(
1404        err: ::aws_smithy_runtime_api::client::result::SdkError<
1405            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1406            R,
1407        >,
1408    ) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1419    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1420        match err {
1421            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::cancel_import_task::CancelImportTaskError> for Error {
1440    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1441        match err {
1442            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1472    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1473        match err {
1474            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1479    for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(
1484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1496    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1497        match err {
1498            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1499        }
1500    }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1503    for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(
1508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1509    ) -> Self {
1510        match err {
1511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514                source: err.into(),
1515            }),
1516        }
1517    }
1518}
1519impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1520    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1521        match err {
1522            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(
1531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1532    ) -> Self {
1533        match err {
1534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537                source: err.into(),
1538            }),
1539        }
1540    }
1541}
1542impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1543    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1544        match err {
1545            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> Self {
1554        match err {
1555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558                source: err.into(),
1559            }),
1560        }
1561    }
1562}
1563impl From<crate::operation::copy_fpga_image::CopyFpgaImageError> for Error {
1564    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1565        match err {
1566            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::copy_image::CopyImageError> for Error {
1585    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1586        match err {
1587            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::copy_snapshot::CopySnapshotError> for Error {
1606    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1607        match err {
1608            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1613    for Error
1614where
1615    R: Send + Sync + std::fmt::Debug + 'static,
1616{
1617    fn from(
1618        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1619    ) -> Self {
1620        match err {
1621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1624                source: err.into(),
1625            }),
1626        }
1627    }
1628}
1629impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1630    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1631        match err {
1632            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1633        }
1634    }
1635}
1636impl<R>
1637    From<
1638        ::aws_smithy_runtime_api::client::result::SdkError<
1639            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1640            R,
1641        >,
1642    > for Error
1643where
1644    R: Send + Sync + std::fmt::Debug + 'static,
1645{
1646    fn from(
1647        err: ::aws_smithy_runtime_api::client::result::SdkError<
1648            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1649            R,
1650        >,
1651    ) -> Self {
1652        match err {
1653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1656                source: err.into(),
1657            }),
1658        }
1659    }
1660}
1661impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1662    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1663        match err {
1664            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1665                Error::Unhandled(inner)
1666            }
1667        }
1668    }
1669}
1670impl<R>
1671    From<
1672        ::aws_smithy_runtime_api::client::result::SdkError<
1673            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1674            R,
1675        >,
1676    > for Error
1677where
1678    R: Send + Sync + std::fmt::Debug + 'static,
1679{
1680    fn from(
1681        err: ::aws_smithy_runtime_api::client::result::SdkError<
1682            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1683            R,
1684        >,
1685    ) -> Self {
1686        match err {
1687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1690                source: err.into(),
1691            }),
1692        }
1693    }
1694}
1695impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1696    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1697        match err {
1698            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1699        }
1700    }
1701}
1702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1703where
1704    R: Send + Sync + std::fmt::Debug + 'static,
1705{
1706    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1707        match err {
1708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1711                source: err.into(),
1712            }),
1713        }
1714    }
1715}
1716impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1717    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1718        match err {
1719            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1720        }
1721    }
1722}
1723impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1724    for Error
1725where
1726    R: Send + Sync + std::fmt::Debug + 'static,
1727{
1728    fn from(
1729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1730    ) -> Self {
1731        match err {
1732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1735                source: err.into(),
1736            }),
1737        }
1738    }
1739}
1740impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1741    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1742        match err {
1743            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1744        }
1745    }
1746}
1747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1748where
1749    R: Send + Sync + std::fmt::Debug + 'static,
1750{
1751    fn from(
1752        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1753    ) -> Self {
1754        match err {
1755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1758                source: err.into(),
1759            }),
1760        }
1761    }
1762}
1763impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1764    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1765        match err {
1766            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1767        }
1768    }
1769}
1770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1771where
1772    R: Send + Sync + std::fmt::Debug + 'static,
1773{
1774    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1775        match err {
1776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1779                source: err.into(),
1780            }),
1781        }
1782    }
1783}
1784impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1785    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1786        match err {
1787            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1788        }
1789    }
1790}
1791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1792where
1793    R: Send + Sync + std::fmt::Debug + 'static,
1794{
1795    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1796        match err {
1797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1800                source: err.into(),
1801            }),
1802        }
1803    }
1804}
1805impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1806    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1807        match err {
1808            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1809        }
1810    }
1811}
1812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1813where
1814    R: Send + Sync + std::fmt::Debug + 'static,
1815{
1816    fn from(
1817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1818    ) -> Self {
1819        match err {
1820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1823                source: err.into(),
1824            }),
1825        }
1826    }
1827}
1828impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1829    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1830        match err {
1831            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1836where
1837    R: Send + Sync + std::fmt::Debug + 'static,
1838{
1839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1840        match err {
1841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1844                source: err.into(),
1845            }),
1846        }
1847    }
1848}
1849impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1850    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1851        match err {
1852            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1853        }
1854    }
1855}
1856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1857where
1858    R: Send + Sync + std::fmt::Debug + 'static,
1859{
1860    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1861        match err {
1862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1865                source: err.into(),
1866            }),
1867        }
1868    }
1869}
1870impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1871    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1872        match err {
1873            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1874        }
1875    }
1876}
1877impl<R>
1878    From<
1879        ::aws_smithy_runtime_api::client::result::SdkError<
1880            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1881            R,
1882        >,
1883    > for Error
1884where
1885    R: Send + Sync + std::fmt::Debug + 'static,
1886{
1887    fn from(
1888        err: ::aws_smithy_runtime_api::client::result::SdkError<
1889            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1890            R,
1891        >,
1892    ) -> Self {
1893        match err {
1894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1897                source: err.into(),
1898            }),
1899        }
1900    }
1901}
1902impl From<crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError> for Error {
1903    fn from(err: crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError) -> Self {
1904        match err {
1905            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError::Unhandled(inner) => {
1906                Error::Unhandled(inner)
1907            }
1908        }
1909    }
1910}
1911impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1912where
1913    R: Send + Sync + std::fmt::Debug + 'static,
1914{
1915    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1916        match err {
1917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1920                source: err.into(),
1921            }),
1922        }
1923    }
1924}
1925impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1926    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1927        match err {
1928            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1929        }
1930    }
1931}
1932impl<R>
1933    From<
1934        ::aws_smithy_runtime_api::client::result::SdkError<
1935            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1936            R,
1937        >,
1938    > for Error
1939where
1940    R: Send + Sync + std::fmt::Debug + 'static,
1941{
1942    fn from(
1943        err: ::aws_smithy_runtime_api::client::result::SdkError<
1944            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1945            R,
1946        >,
1947    ) -> Self {
1948        match err {
1949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1952                source: err.into(),
1953            }),
1954        }
1955    }
1956}
1957impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
1958    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
1959        match err {
1960            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1961        }
1962    }
1963}
1964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
1965where
1966    R: Send + Sync + std::fmt::Debug + 'static,
1967{
1968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::create_fleet::CreateFleetError> for Error {
1979    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
1980        match err {
1981            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
1982        }
1983    }
1984}
1985impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
1986where
1987    R: Send + Sync + std::fmt::Debug + 'static,
1988{
1989    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
1990        match err {
1991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1994                source: err.into(),
1995            }),
1996        }
1997    }
1998}
1999impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
2000    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
2001        match err {
2002            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
2003        }
2004    }
2005}
2006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
2007where
2008    R: Send + Sync + std::fmt::Debug + 'static,
2009{
2010    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
2011        match err {
2012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2015                source: err.into(),
2016            }),
2017        }
2018    }
2019}
2020impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
2021    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
2022        match err {
2023            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
2024        }
2025    }
2026}
2027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
2028where
2029    R: Send + Sync + std::fmt::Debug + 'static,
2030{
2031    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
2032        match err {
2033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2036                source: err.into(),
2037            }),
2038        }
2039    }
2040}
2041impl From<crate::operation::create_image::CreateImageError> for Error {
2042    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2043        match err {
2044            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2045        }
2046    }
2047}
2048impl<R>
2049    From<
2050        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2051    > for Error
2052where
2053    R: Send + Sync + std::fmt::Debug + 'static,
2054{
2055    fn from(
2056        err: ::aws_smithy_runtime_api::client::result::SdkError<
2057            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2058            R,
2059        >,
2060    ) -> Self {
2061        match err {
2062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2065                source: err.into(),
2066            }),
2067        }
2068    }
2069}
2070impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2071    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2072        match err {
2073            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2074        }
2075    }
2076}
2077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2078    for Error
2079where
2080    R: Send + Sync + std::fmt::Debug + 'static,
2081{
2082    fn from(
2083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2084    ) -> Self {
2085        match err {
2086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2089                source: err.into(),
2090            }),
2091        }
2092    }
2093}
2094impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2095    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2096        match err {
2097            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2102    for Error
2103where
2104    R: Send + Sync + std::fmt::Debug + 'static,
2105{
2106    fn from(
2107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2108    ) -> Self {
2109        match err {
2110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2113                source: err.into(),
2114            }),
2115        }
2116    }
2117}
2118impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2119    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2120        match err {
2121            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2126where
2127    R: Send + Sync + std::fmt::Debug + 'static,
2128{
2129    fn from(
2130        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2131    ) -> Self {
2132        match err {
2133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2136                source: err.into(),
2137            }),
2138        }
2139    }
2140}
2141impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2142    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2143        match err {
2144            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2145        }
2146    }
2147}
2148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2149where
2150    R: Send + Sync + std::fmt::Debug + 'static,
2151{
2152    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2153        match err {
2154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2157                source: err.into(),
2158            }),
2159        }
2160    }
2161}
2162impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2163    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2164        match err {
2165            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2166        }
2167    }
2168}
2169impl<R>
2170    From<
2171        ::aws_smithy_runtime_api::client::result::SdkError<
2172            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2173            R,
2174        >,
2175    > for Error
2176where
2177    R: Send + Sync + std::fmt::Debug + 'static,
2178{
2179    fn from(
2180        err: ::aws_smithy_runtime_api::client::result::SdkError<
2181            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2182            R,
2183        >,
2184    ) -> Self {
2185        match err {
2186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2189                source: err.into(),
2190            }),
2191        }
2192    }
2193}
2194impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2195    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2196        match err {
2197            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2198                inner,
2199            ) => Error::Unhandled(inner),
2200        }
2201    }
2202}
2203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2204where
2205    R: Send + Sync + std::fmt::Debug + 'static,
2206{
2207    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2208        match err {
2209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2212                source: err.into(),
2213            }),
2214        }
2215    }
2216}
2217impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2218    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2219        match err {
2220            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2221        }
2222    }
2223}
2224impl<R>
2225    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2226    for Error
2227where
2228    R: Send + Sync + std::fmt::Debug + 'static,
2229{
2230    fn from(
2231        err: ::aws_smithy_runtime_api::client::result::SdkError<
2232            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2233            R,
2234        >,
2235    ) -> Self {
2236        match err {
2237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2240                source: err.into(),
2241            }),
2242        }
2243    }
2244}
2245impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2246    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2247        match err {
2248            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2249        }
2250    }
2251}
2252impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2253where
2254    R: Send + Sync + std::fmt::Debug + 'static,
2255{
2256    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2257        match err {
2258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2261                source: err.into(),
2262            }),
2263        }
2264    }
2265}
2266impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2267    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2268        match err {
2269            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2270        }
2271    }
2272}
2273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2274where
2275    R: Send + Sync + std::fmt::Debug + 'static,
2276{
2277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2278        match err {
2279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2282                source: err.into(),
2283            }),
2284        }
2285    }
2286}
2287impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2288    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2289        match err {
2290            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2291        }
2292    }
2293}
2294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2295where
2296    R: Send + Sync + std::fmt::Debug + 'static,
2297{
2298    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2299        match err {
2300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2303                source: err.into(),
2304            }),
2305        }
2306    }
2307}
2308impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2309    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2310        match err {
2311            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2312        }
2313    }
2314}
2315impl<R>
2316    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2317    for Error
2318where
2319    R: Send + Sync + std::fmt::Debug + 'static,
2320{
2321    fn from(
2322        err: ::aws_smithy_runtime_api::client::result::SdkError<
2323            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2324            R,
2325        >,
2326    ) -> Self {
2327        match err {
2328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2331                source: err.into(),
2332            }),
2333        }
2334    }
2335}
2336impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2337    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2338        match err {
2339            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2340        }
2341    }
2342}
2343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2344    for Error
2345where
2346    R: Send + Sync + std::fmt::Debug + 'static,
2347{
2348    fn from(
2349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2350    ) -> Self {
2351        match err {
2352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2355                source: err.into(),
2356            }),
2357        }
2358    }
2359}
2360impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2361    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2362        match err {
2363            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2364        }
2365    }
2366}
2367impl<R>
2368    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2369    for Error
2370where
2371    R: Send + Sync + std::fmt::Debug + 'static,
2372{
2373    fn from(
2374        err: ::aws_smithy_runtime_api::client::result::SdkError<
2375            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2376            R,
2377        >,
2378    ) -> Self {
2379        match err {
2380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2383                source: err.into(),
2384            }),
2385        }
2386    }
2387}
2388impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2389    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2390        match err {
2391            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2392        }
2393    }
2394}
2395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>> for Error where R: Send + Sync + std::fmt::Debug + 'static {
2396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2397        match err {
2398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2399            _ => Error::Unhandled(
2400                                        crate::error::sealed_unhandled::Unhandled {
2401                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2402                                            source: err.into(),
2403                                        }
2404                                    ),
2405        }
2406    }
2407}
2408impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2409    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2410        match err {
2411            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2412        }
2413    }
2414}
2415impl<R>
2416    From<
2417        ::aws_smithy_runtime_api::client::result::SdkError<
2418            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2419            R,
2420        >,
2421    > for Error
2422where
2423    R: Send + Sync + std::fmt::Debug + 'static,
2424{
2425    fn from(
2426        err: ::aws_smithy_runtime_api::client::result::SdkError<
2427            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2428            R,
2429        >,
2430    ) -> Self {
2431        match err {
2432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2435                source: err.into(),
2436            }),
2437        }
2438    }
2439}
2440impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2441    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2442        match err {
2443            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2444                Error::Unhandled(inner)
2445            }
2446        }
2447    }
2448}
2449impl<R>
2450    From<
2451        ::aws_smithy_runtime_api::client::result::SdkError<
2452            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2453            R,
2454        >,
2455    > for Error
2456where
2457    R: Send + Sync + std::fmt::Debug + 'static,
2458{
2459    fn from(
2460        err: ::aws_smithy_runtime_api::client::result::SdkError<
2461            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2462            R,
2463        >,
2464    ) -> Self {
2465        match err {
2466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2469                source: err.into(),
2470            }),
2471        }
2472    }
2473}
2474impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2475    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2476        match err {
2477            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2478                Error::Unhandled(inner)
2479            }
2480        }
2481    }
2482}
2483impl<R>
2484    From<
2485        ::aws_smithy_runtime_api::client::result::SdkError<
2486            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2487            R,
2488        >,
2489    > for Error
2490where
2491    R: Send + Sync + std::fmt::Debug + 'static,
2492{
2493    fn from(
2494        err: ::aws_smithy_runtime_api::client::result::SdkError<
2495            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2496            R,
2497        >,
2498    ) -> Self {
2499        match err {
2500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2503                source: err.into(),
2504            }),
2505        }
2506    }
2507}
2508impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2509    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2510        match err {
2511            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2512                Error::Unhandled(inner)
2513            }
2514        }
2515    }
2516}
2517impl<R>
2518    From<
2519        ::aws_smithy_runtime_api::client::result::SdkError<
2520            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2521            R,
2522        >,
2523    > for Error
2524where
2525    R: Send + Sync + std::fmt::Debug + 'static,
2526{
2527    fn from(
2528        err: ::aws_smithy_runtime_api::client::result::SdkError<
2529            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2530            R,
2531        >,
2532    ) -> Self {
2533        match err {
2534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2537                source: err.into(),
2538            }),
2539        }
2540    }
2541}
2542impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2543    for Error
2544{
2545    fn from(
2546        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2547    ) -> Self {
2548        match err {
2549            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2550        }
2551    }
2552}
2553impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2554    for Error
2555where
2556    R: Send + Sync + std::fmt::Debug + 'static,
2557{
2558    fn from(
2559        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2560    ) -> Self {
2561        match err {
2562            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2563            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2564                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2565                source: err.into(),
2566            }),
2567        }
2568    }
2569}
2570impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2571    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2572        match err {
2573            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2574        }
2575    }
2576}
2577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2578where
2579    R: Send + Sync + std::fmt::Debug + 'static,
2580{
2581    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2582        match err {
2583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2586                source: err.into(),
2587            }),
2588        }
2589    }
2590}
2591impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2592    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2593        match err {
2594            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2595        }
2596    }
2597}
2598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2599where
2600    R: Send + Sync + std::fmt::Debug + 'static,
2601{
2602    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2603        match err {
2604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2607                source: err.into(),
2608            }),
2609        }
2610    }
2611}
2612impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2613    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2614        match err {
2615            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2616        }
2617    }
2618}
2619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2620where
2621    R: Send + Sync + std::fmt::Debug + 'static,
2622{
2623    fn from(
2624        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2625    ) -> Self {
2626        match err {
2627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2630                source: err.into(),
2631            }),
2632        }
2633    }
2634}
2635impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2636    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2637        match err {
2638            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2639        }
2640    }
2641}
2642impl<R>
2643    From<
2644        ::aws_smithy_runtime_api::client::result::SdkError<
2645            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2646            R,
2647        >,
2648    > for Error
2649where
2650    R: Send + Sync + std::fmt::Debug + 'static,
2651{
2652    fn from(
2653        err: ::aws_smithy_runtime_api::client::result::SdkError<
2654            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2655            R,
2656        >,
2657    ) -> Self {
2658        match err {
2659            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2660            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2661                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2662                source: err.into(),
2663            }),
2664        }
2665    }
2666}
2667impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2668    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2669        match err {
2670            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2671                Error::Unhandled(inner)
2672            }
2673        }
2674    }
2675}
2676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2677    for Error
2678where
2679    R: Send + Sync + std::fmt::Debug + 'static,
2680{
2681    fn from(
2682        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2683    ) -> Self {
2684        match err {
2685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2688                source: err.into(),
2689            }),
2690        }
2691    }
2692}
2693impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2694    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2695        match err {
2696            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2697        }
2698    }
2699}
2700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2701where
2702    R: Send + Sync + std::fmt::Debug + 'static,
2703{
2704    fn from(
2705        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2706    ) -> Self {
2707        match err {
2708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2711                source: err.into(),
2712            }),
2713        }
2714    }
2715}
2716impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2717    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2718        match err {
2719            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2720        }
2721    }
2722}
2723impl<R>
2724    From<
2725        ::aws_smithy_runtime_api::client::result::SdkError<
2726            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2727            R,
2728        >,
2729    > for Error
2730where
2731    R: Send + Sync + std::fmt::Debug + 'static,
2732{
2733    fn from(
2734        err: ::aws_smithy_runtime_api::client::result::SdkError<
2735            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2736            R,
2737        >,
2738    ) -> Self {
2739        match err {
2740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2743                source: err.into(),
2744            }),
2745        }
2746    }
2747}
2748impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2749    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2750        match err {
2751            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2752        }
2753    }
2754}
2755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2756where
2757    R: Send + Sync + std::fmt::Debug + 'static,
2758{
2759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2760        match err {
2761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2764                source: err.into(),
2765            }),
2766        }
2767    }
2768}
2769impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2770    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2771        match err {
2772            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2773        }
2774    }
2775}
2776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2777where
2778    R: Send + Sync + std::fmt::Debug + 'static,
2779{
2780    fn from(
2781        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2782    ) -> Self {
2783        match err {
2784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2787                source: err.into(),
2788            }),
2789        }
2790    }
2791}
2792impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2793    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2794        match err {
2795            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2796        }
2797    }
2798}
2799impl<R>
2800    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2801    for Error
2802where
2803    R: Send + Sync + std::fmt::Debug + 'static,
2804{
2805    fn from(
2806        err: ::aws_smithy_runtime_api::client::result::SdkError<
2807            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2808            R,
2809        >,
2810    ) -> Self {
2811        match err {
2812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2815                source: err.into(),
2816            }),
2817        }
2818    }
2819}
2820impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2821    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2822        match err {
2823            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2824        }
2825    }
2826}
2827impl<R>
2828    From<
2829        ::aws_smithy_runtime_api::client::result::SdkError<
2830            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2831            R,
2832        >,
2833    > for Error
2834where
2835    R: Send + Sync + std::fmt::Debug + 'static,
2836{
2837    fn from(
2838        err: ::aws_smithy_runtime_api::client::result::SdkError<
2839            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2840            R,
2841        >,
2842    ) -> Self {
2843        match err {
2844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2847                source: err.into(),
2848            }),
2849        }
2850    }
2851}
2852impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2853    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2854        match err {
2855            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2856        }
2857    }
2858}
2859impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2860    for Error
2861where
2862    R: Send + Sync + std::fmt::Debug + 'static,
2863{
2864    fn from(
2865        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
2866    ) -> Self {
2867        match err {
2868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2871                source: err.into(),
2872            }),
2873        }
2874    }
2875}
2876impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
2877    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
2878        match err {
2879            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2880        }
2881    }
2882}
2883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
2884where
2885    R: Send + Sync + std::fmt::Debug + 'static,
2886{
2887    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
2888        match err {
2889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2892                source: err.into(),
2893            }),
2894        }
2895    }
2896}
2897impl From<crate::operation::create_route::CreateRouteError> for Error {
2898    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
2899        match err {
2900            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
2901        }
2902    }
2903}
2904impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
2905where
2906    R: Send + Sync + std::fmt::Debug + 'static,
2907{
2908    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
2909        match err {
2910            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2911            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2912                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2913                source: err.into(),
2914            }),
2915        }
2916    }
2917}
2918impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
2919    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
2920        match err {
2921            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
2922        }
2923    }
2924}
2925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
2926    for Error
2927where
2928    R: Send + Sync + std::fmt::Debug + 'static,
2929{
2930    fn from(
2931        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
2932    ) -> Self {
2933        match err {
2934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2937                source: err.into(),
2938            }),
2939        }
2940    }
2941}
2942impl From<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError> for Error {
2943    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
2944        match err {
2945            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2946        }
2947    }
2948}
2949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
2950where
2951    R: Send + Sync + std::fmt::Debug + 'static,
2952{
2953    fn from(
2954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
2955    ) -> Self {
2956        match err {
2957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2960                source: err.into(),
2961            }),
2962        }
2963    }
2964}
2965impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
2966    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
2967        match err {
2968            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
2969        }
2970    }
2971}
2972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
2973where
2974    R: Send + Sync + std::fmt::Debug + 'static,
2975{
2976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
2977        match err {
2978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2981                source: err.into(),
2982            }),
2983        }
2984    }
2985}
2986impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
2987    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
2988        match err {
2989            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2990        }
2991    }
2992}
2993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
2994where
2995    R: Send + Sync + std::fmt::Debug + 'static,
2996{
2997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
2998        match err {
2999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3002                source: err.into(),
3003            }),
3004        }
3005    }
3006}
3007impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3008    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3009        match err {
3010            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3011        }
3012    }
3013}
3014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3015where
3016    R: Send + Sync + std::fmt::Debug + 'static,
3017{
3018    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3019        match err {
3020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3023                source: err.into(),
3024            }),
3025        }
3026    }
3027}
3028impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3029    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3030        match err {
3031            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3032        }
3033    }
3034}
3035impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3036where
3037    R: Send + Sync + std::fmt::Debug + 'static,
3038{
3039    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3040        match err {
3041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3044                source: err.into(),
3045            }),
3046        }
3047    }
3048}
3049impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3050    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3051        match err {
3052            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3053        }
3054    }
3055}
3056impl<R>
3057    From<
3058        ::aws_smithy_runtime_api::client::result::SdkError<
3059            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3060            R,
3061        >,
3062    > for Error
3063where
3064    R: Send + Sync + std::fmt::Debug + 'static,
3065{
3066    fn from(
3067        err: ::aws_smithy_runtime_api::client::result::SdkError<
3068            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3069            R,
3070        >,
3071    ) -> Self {
3072        match err {
3073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3076                source: err.into(),
3077            }),
3078        }
3079    }
3080}
3081impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3082    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3083        match err {
3084            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3085        }
3086    }
3087}
3088impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3089where
3090    R: Send + Sync + std::fmt::Debug + 'static,
3091{
3092    fn from(
3093        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3094    ) -> Self {
3095        match err {
3096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099                source: err.into(),
3100            }),
3101        }
3102    }
3103}
3104impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3105    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3106        match err {
3107            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3108        }
3109    }
3110}
3111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3112where
3113    R: Send + Sync + std::fmt::Debug + 'static,
3114{
3115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3116        match err {
3117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3120                source: err.into(),
3121            }),
3122        }
3123    }
3124}
3125impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3126    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3127        match err {
3128            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3129        }
3130    }
3131}
3132impl<R>
3133    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3134    for Error
3135where
3136    R: Send + Sync + std::fmt::Debug + 'static,
3137{
3138    fn from(
3139        err: ::aws_smithy_runtime_api::client::result::SdkError<
3140            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3141            R,
3142        >,
3143    ) -> Self {
3144        match err {
3145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3148                source: err.into(),
3149            }),
3150        }
3151    }
3152}
3153impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3154    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3155        match err {
3156            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3157        }
3158    }
3159}
3160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3161where
3162    R: Send + Sync + std::fmt::Debug + 'static,
3163{
3164    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3165        match err {
3166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3169                source: err.into(),
3170            }),
3171        }
3172    }
3173}
3174impl From<crate::operation::create_tags::CreateTagsError> for Error {
3175    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3176        match err {
3177            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3178        }
3179    }
3180}
3181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3182    for Error
3183where
3184    R: Send + Sync + std::fmt::Debug + 'static,
3185{
3186    fn from(
3187        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3188    ) -> Self {
3189        match err {
3190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3193                source: err.into(),
3194            }),
3195        }
3196    }
3197}
3198impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3199    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3200        match err {
3201            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3202        }
3203    }
3204}
3205impl<R>
3206    From<
3207        ::aws_smithy_runtime_api::client::result::SdkError<
3208            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3209            R,
3210        >,
3211    > for Error
3212where
3213    R: Send + Sync + std::fmt::Debug + 'static,
3214{
3215    fn from(
3216        err: ::aws_smithy_runtime_api::client::result::SdkError<
3217            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3218            R,
3219        >,
3220    ) -> Self {
3221        match err {
3222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3225                source: err.into(),
3226            }),
3227        }
3228    }
3229}
3230impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3231    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3232        match err {
3233            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3234        }
3235    }
3236}
3237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3238    for Error
3239where
3240    R: Send + Sync + std::fmt::Debug + 'static,
3241{
3242    fn from(
3243        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3244    ) -> Self {
3245        match err {
3246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3249                source: err.into(),
3250            }),
3251        }
3252    }
3253}
3254impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3255    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3256        match err {
3257            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3258        }
3259    }
3260}
3261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3262    for Error
3263where
3264    R: Send + Sync + std::fmt::Debug + 'static,
3265{
3266    fn from(
3267        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3268    ) -> Self {
3269        match err {
3270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3273                source: err.into(),
3274            }),
3275        }
3276    }
3277}
3278impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3279    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3280        match err {
3281            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3282        }
3283    }
3284}
3285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3286where
3287    R: Send + Sync + std::fmt::Debug + 'static,
3288{
3289    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3290        match err {
3291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3294                source: err.into(),
3295            }),
3296        }
3297    }
3298}
3299impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3300    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3301        match err {
3302            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3303        }
3304    }
3305}
3306impl<R>
3307    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3308    for Error
3309where
3310    R: Send + Sync + std::fmt::Debug + 'static,
3311{
3312    fn from(
3313        err: ::aws_smithy_runtime_api::client::result::SdkError<
3314            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3315            R,
3316        >,
3317    ) -> Self {
3318        match err {
3319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3322                source: err.into(),
3323            }),
3324        }
3325    }
3326}
3327impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3328    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3329        match err {
3330            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3331        }
3332    }
3333}
3334impl<R>
3335    From<
3336        ::aws_smithy_runtime_api::client::result::SdkError<
3337            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3338            R,
3339        >,
3340    > for Error
3341where
3342    R: Send + Sync + std::fmt::Debug + 'static,
3343{
3344    fn from(
3345        err: ::aws_smithy_runtime_api::client::result::SdkError<
3346            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3347            R,
3348        >,
3349    ) -> Self {
3350        match err {
3351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3354                source: err.into(),
3355            }),
3356        }
3357    }
3358}
3359impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3360    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3361        match err {
3362            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3363        }
3364    }
3365}
3366impl<R>
3367    From<
3368        ::aws_smithy_runtime_api::client::result::SdkError<
3369            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3370            R,
3371        >,
3372    > for Error
3373where
3374    R: Send + Sync + std::fmt::Debug + 'static,
3375{
3376    fn from(
3377        err: ::aws_smithy_runtime_api::client::result::SdkError<
3378            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3379            R,
3380        >,
3381    ) -> Self {
3382        match err {
3383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3386                source: err.into(),
3387            }),
3388        }
3389    }
3390}
3391impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3392    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3393        match err {
3394            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3395                Error::Unhandled(inner)
3396            }
3397        }
3398    }
3399}
3400impl<R>
3401    From<
3402        ::aws_smithy_runtime_api::client::result::SdkError<
3403            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3404            R,
3405        >,
3406    > for Error
3407where
3408    R: Send + Sync + std::fmt::Debug + 'static,
3409{
3410    fn from(
3411        err: ::aws_smithy_runtime_api::client::result::SdkError<
3412            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3413            R,
3414        >,
3415    ) -> Self {
3416        match err {
3417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3420                source: err.into(),
3421            }),
3422        }
3423    }
3424}
3425impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3426    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3427        match err {
3428            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3429                Error::Unhandled(inner)
3430            }
3431        }
3432    }
3433}
3434impl<R>
3435    From<
3436        ::aws_smithy_runtime_api::client::result::SdkError<
3437            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3438            R,
3439        >,
3440    > for Error
3441where
3442    R: Send + Sync + std::fmt::Debug + 'static,
3443{
3444    fn from(
3445        err: ::aws_smithy_runtime_api::client::result::SdkError<
3446            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3447            R,
3448        >,
3449    ) -> Self {
3450        match err {
3451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3454                source: err.into(),
3455            }),
3456        }
3457    }
3458}
3459impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3460    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3461        match err {
3462            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3463        }
3464    }
3465}
3466impl<R>
3467    From<
3468        ::aws_smithy_runtime_api::client::result::SdkError<
3469            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3470            R,
3471        >,
3472    > for Error
3473where
3474    R: Send + Sync + std::fmt::Debug + 'static,
3475{
3476    fn from(
3477        err: ::aws_smithy_runtime_api::client::result::SdkError<
3478            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3479            R,
3480        >,
3481    ) -> Self {
3482        match err {
3483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3486                source: err.into(),
3487            }),
3488        }
3489    }
3490}
3491impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3492    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3493        match err {
3494            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3495                Error::Unhandled(inner)
3496            }
3497        }
3498    }
3499}
3500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3501    for Error
3502where
3503    R: Send + Sync + std::fmt::Debug + 'static,
3504{
3505    fn from(
3506        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3507    ) -> Self {
3508        match err {
3509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3512                source: err.into(),
3513            }),
3514        }
3515    }
3516}
3517impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3518    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3519        match err {
3520            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3521        }
3522    }
3523}
3524impl<R>
3525    From<
3526        ::aws_smithy_runtime_api::client::result::SdkError<
3527            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3528            R,
3529        >,
3530    > for Error
3531where
3532    R: Send + Sync + std::fmt::Debug + 'static,
3533{
3534    fn from(
3535        err: ::aws_smithy_runtime_api::client::result::SdkError<
3536            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3537            R,
3538        >,
3539    ) -> Self {
3540        match err {
3541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3544                source: err.into(),
3545            }),
3546        }
3547    }
3548}
3549impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3550    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3551        match err {
3552            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3553        }
3554    }
3555}
3556impl<R>
3557    From<
3558        ::aws_smithy_runtime_api::client::result::SdkError<
3559            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3560            R,
3561        >,
3562    > for Error
3563where
3564    R: Send + Sync + std::fmt::Debug + 'static,
3565{
3566    fn from(
3567        err: ::aws_smithy_runtime_api::client::result::SdkError<
3568            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3569            R,
3570        >,
3571    ) -> Self {
3572        match err {
3573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3576                source: err.into(),
3577            }),
3578        }
3579    }
3580}
3581impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3582    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3583        match err {
3584            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3585                Error::Unhandled(inner)
3586            }
3587        }
3588    }
3589}
3590impl<R>
3591    From<
3592        ::aws_smithy_runtime_api::client::result::SdkError<
3593            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3594            R,
3595        >,
3596    > for Error
3597where
3598    R: Send + Sync + std::fmt::Debug + 'static,
3599{
3600    fn from(
3601        err: ::aws_smithy_runtime_api::client::result::SdkError<
3602            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3603            R,
3604        >,
3605    ) -> Self {
3606        match err {
3607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3610                source: err.into(),
3611            }),
3612        }
3613    }
3614}
3615impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3616    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3617        match err {
3618            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3619                Error::Unhandled(inner)
3620            }
3621        }
3622    }
3623}
3624impl<R>
3625    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3626    for Error
3627where
3628    R: Send + Sync + std::fmt::Debug + 'static,
3629{
3630    fn from(
3631        err: ::aws_smithy_runtime_api::client::result::SdkError<
3632            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3633            R,
3634        >,
3635    ) -> Self {
3636        match err {
3637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3640                source: err.into(),
3641            }),
3642        }
3643    }
3644}
3645impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3646    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3647        match err {
3648            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3649        }
3650    }
3651}
3652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3653    for Error
3654where
3655    R: Send + Sync + std::fmt::Debug + 'static,
3656{
3657    fn from(
3658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3659    ) -> Self {
3660        match err {
3661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3664                source: err.into(),
3665            }),
3666        }
3667    }
3668}
3669impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3670    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3671        match err {
3672            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3673        }
3674    }
3675}
3676impl<R>
3677    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3678    for Error
3679where
3680    R: Send + Sync + std::fmt::Debug + 'static,
3681{
3682    fn from(
3683        err: ::aws_smithy_runtime_api::client::result::SdkError<
3684            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3685            R,
3686        >,
3687    ) -> Self {
3688        match err {
3689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3692                source: err.into(),
3693            }),
3694        }
3695    }
3696}
3697impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3698    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3699        match err {
3700            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3701        }
3702    }
3703}
3704impl<R>
3705    From<
3706        ::aws_smithy_runtime_api::client::result::SdkError<
3707            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3708            R,
3709        >,
3710    > for Error
3711where
3712    R: Send + Sync + std::fmt::Debug + 'static,
3713{
3714    fn from(
3715        err: ::aws_smithy_runtime_api::client::result::SdkError<
3716            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3717            R,
3718        >,
3719    ) -> Self {
3720        match err {
3721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3724                source: err.into(),
3725            }),
3726        }
3727    }
3728}
3729impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3730    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3731        match err {
3732            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3733                Error::Unhandled(inner)
3734            }
3735        }
3736    }
3737}
3738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3739where
3740    R: Send + Sync + std::fmt::Debug + 'static,
3741{
3742    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3743        match err {
3744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3747                source: err.into(),
3748            }),
3749        }
3750    }
3751}
3752impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3753    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3754        match err {
3755            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3756        }
3757    }
3758}
3759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3760where
3761    R: Send + Sync + std::fmt::Debug + 'static,
3762{
3763    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3764        match err {
3765            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3766            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3767                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3768                source: err.into(),
3769            }),
3770        }
3771    }
3772}
3773impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3774    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3775        match err {
3776            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3777        }
3778    }
3779}
3780impl<R>
3781    From<
3782        ::aws_smithy_runtime_api::client::result::SdkError<
3783            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3784            R,
3785        >,
3786    > for Error
3787where
3788    R: Send + Sync + std::fmt::Debug + 'static,
3789{
3790    fn from(
3791        err: ::aws_smithy_runtime_api::client::result::SdkError<
3792            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3793            R,
3794        >,
3795    ) -> Self {
3796        match err {
3797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3800                source: err.into(),
3801            }),
3802        }
3803    }
3804}
3805impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3806    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3807        match err {
3808            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3809                Error::Unhandled(inner)
3810            }
3811        }
3812    }
3813}
3814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3815where
3816    R: Send + Sync + std::fmt::Debug + 'static,
3817{
3818    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3819        match err {
3820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3823                source: err.into(),
3824            }),
3825        }
3826    }
3827}
3828impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3829    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3830        match err {
3831            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3832        }
3833    }
3834}
3835impl<R>
3836    From<
3837        ::aws_smithy_runtime_api::client::result::SdkError<
3838            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3839            R,
3840        >,
3841    > for Error
3842where
3843    R: Send + Sync + std::fmt::Debug + 'static,
3844{
3845    fn from(
3846        err: ::aws_smithy_runtime_api::client::result::SdkError<
3847            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3848            R,
3849        >,
3850    ) -> Self {
3851        match err {
3852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3855                source: err.into(),
3856            }),
3857        }
3858    }
3859}
3860impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
3861    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
3862        match err {
3863            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
3864                Error::Unhandled(inner)
3865            }
3866        }
3867    }
3868}
3869impl<R>
3870    From<
3871        ::aws_smithy_runtime_api::client::result::SdkError<
3872            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3873            R,
3874        >,
3875    > for Error
3876where
3877    R: Send + Sync + std::fmt::Debug + 'static,
3878{
3879    fn from(
3880        err: ::aws_smithy_runtime_api::client::result::SdkError<
3881            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3882            R,
3883        >,
3884    ) -> Self {
3885        match err {
3886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3889                source: err.into(),
3890            }),
3891        }
3892    }
3893}
3894impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
3895    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
3896        match err {
3897            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
3898                Error::Unhandled(inner)
3899            }
3900        }
3901    }
3902}
3903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
3904    for Error
3905where
3906    R: Send + Sync + std::fmt::Debug + 'static,
3907{
3908    fn from(
3909        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
3910    ) -> Self {
3911        match err {
3912            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3913            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3914                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3915                source: err.into(),
3916            }),
3917        }
3918    }
3919}
3920impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
3921    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
3922        match err {
3923            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3924        }
3925    }
3926}
3927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
3928where
3929    R: Send + Sync + std::fmt::Debug + 'static,
3930{
3931    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
3932        match err {
3933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3936                source: err.into(),
3937            }),
3938        }
3939    }
3940}
3941impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
3942    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
3943        match err {
3944            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3945        }
3946    }
3947}
3948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
3949    for Error
3950where
3951    R: Send + Sync + std::fmt::Debug + 'static,
3952{
3953    fn from(
3954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
3955    ) -> Self {
3956        match err {
3957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3960                source: err.into(),
3961            }),
3962        }
3963    }
3964}
3965impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
3966    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
3967        match err {
3968            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
3969        }
3970    }
3971}
3972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
3973where
3974    R: Send + Sync + std::fmt::Debug + 'static,
3975{
3976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
3977        match err {
3978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3981                source: err.into(),
3982            }),
3983        }
3984    }
3985}
3986impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
3987    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
3988        match err {
3989            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3990        }
3991    }
3992}
3993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
3994where
3995    R: Send + Sync + std::fmt::Debug + 'static,
3996{
3997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
3998        match err {
3999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4002                source: err.into(),
4003            }),
4004        }
4005    }
4006}
4007impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4008    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4009        match err {
4010            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4011        }
4012    }
4013}
4014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4015    for Error
4016where
4017    R: Send + Sync + std::fmt::Debug + 'static,
4018{
4019    fn from(
4020        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4021    ) -> Self {
4022        match err {
4023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4026                source: err.into(),
4027            }),
4028        }
4029    }
4030}
4031impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4032    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4033        match err {
4034            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4035        }
4036    }
4037}
4038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4039where
4040    R: Send + Sync + std::fmt::Debug + 'static,
4041{
4042    fn from(
4043        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4044    ) -> Self {
4045        match err {
4046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4049                source: err.into(),
4050            }),
4051        }
4052    }
4053}
4054impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4055    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4056        match err {
4057            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4058        }
4059    }
4060}
4061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4062where
4063    R: Send + Sync + std::fmt::Debug + 'static,
4064{
4065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4066        match err {
4067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4070                source: err.into(),
4071            }),
4072        }
4073    }
4074}
4075impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4076    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4077        match err {
4078            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4079        }
4080    }
4081}
4082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4083where
4084    R: Send + Sync + std::fmt::Debug + 'static,
4085{
4086    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4087        match err {
4088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4091                source: err.into(),
4092            }),
4093        }
4094    }
4095}
4096impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4097    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4098        match err {
4099            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4100        }
4101    }
4102}
4103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4104where
4105    R: Send + Sync + std::fmt::Debug + 'static,
4106{
4107    fn from(
4108        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4109    ) -> Self {
4110        match err {
4111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4114                source: err.into(),
4115            }),
4116        }
4117    }
4118}
4119impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4120    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4121        match err {
4122            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4123        }
4124    }
4125}
4126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4127where
4128    R: Send + Sync + std::fmt::Debug + 'static,
4129{
4130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4131        match err {
4132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4135                source: err.into(),
4136            }),
4137        }
4138    }
4139}
4140impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4141    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4142        match err {
4143            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4144        }
4145    }
4146}
4147impl<R>
4148    From<
4149        ::aws_smithy_runtime_api::client::result::SdkError<
4150            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4151            R,
4152        >,
4153    > for Error
4154where
4155    R: Send + Sync + std::fmt::Debug + 'static,
4156{
4157    fn from(
4158        err: ::aws_smithy_runtime_api::client::result::SdkError<
4159            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4160            R,
4161        >,
4162    ) -> Self {
4163        match err {
4164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4167                source: err.into(),
4168            }),
4169        }
4170    }
4171}
4172impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4173    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4174        match err {
4175            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4176        }
4177    }
4178}
4179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4180where
4181    R: Send + Sync + std::fmt::Debug + 'static,
4182{
4183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4184        match err {
4185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4188                source: err.into(),
4189            }),
4190        }
4191    }
4192}
4193impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4194    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4195        match err {
4196            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4197        }
4198    }
4199}
4200impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4201where
4202    R: Send + Sync + std::fmt::Debug + 'static,
4203{
4204    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4205        match err {
4206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4209                source: err.into(),
4210            }),
4211        }
4212    }
4213}
4214impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4215    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4216        match err {
4217            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4218        }
4219    }
4220}
4221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4222where
4223    R: Send + Sync + std::fmt::Debug + 'static,
4224{
4225    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4226        match err {
4227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4230                source: err.into(),
4231            }),
4232        }
4233    }
4234}
4235impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4236    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4237        match err {
4238            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4239        }
4240    }
4241}
4242impl<R>
4243    From<
4244        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4245    > for Error
4246where
4247    R: Send + Sync + std::fmt::Debug + 'static,
4248{
4249    fn from(
4250        err: ::aws_smithy_runtime_api::client::result::SdkError<
4251            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4252            R,
4253        >,
4254    ) -> Self {
4255        match err {
4256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4259                source: err.into(),
4260            }),
4261        }
4262    }
4263}
4264impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4265    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4266        match err {
4267            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4268        }
4269    }
4270}
4271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4272    for Error
4273where
4274    R: Send + Sync + std::fmt::Debug + 'static,
4275{
4276    fn from(
4277        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4278    ) -> Self {
4279        match err {
4280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4283                source: err.into(),
4284            }),
4285        }
4286    }
4287}
4288impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4289    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4290        match err {
4291            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4292        }
4293    }
4294}
4295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4296where
4297    R: Send + Sync + std::fmt::Debug + 'static,
4298{
4299    fn from(
4300        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4301    ) -> Self {
4302        match err {
4303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4306                source: err.into(),
4307            }),
4308        }
4309    }
4310}
4311impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4312    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4313        match err {
4314            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4315        }
4316    }
4317}
4318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4319where
4320    R: Send + Sync + std::fmt::Debug + 'static,
4321{
4322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4323        match err {
4324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4327                source: err.into(),
4328            }),
4329        }
4330    }
4331}
4332impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4333    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4334        match err {
4335            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4336        }
4337    }
4338}
4339impl<R>
4340    From<
4341        ::aws_smithy_runtime_api::client::result::SdkError<
4342            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4343            R,
4344        >,
4345    > for Error
4346where
4347    R: Send + Sync + std::fmt::Debug + 'static,
4348{
4349    fn from(
4350        err: ::aws_smithy_runtime_api::client::result::SdkError<
4351            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4352            R,
4353        >,
4354    ) -> Self {
4355        match err {
4356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4359                source: err.into(),
4360            }),
4361        }
4362    }
4363}
4364impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4365    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4366        match err {
4367            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4368                inner,
4369            ) => Error::Unhandled(inner),
4370        }
4371    }
4372}
4373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4374where
4375    R: Send + Sync + std::fmt::Debug + 'static,
4376{
4377    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4378        match err {
4379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4382                source: err.into(),
4383            }),
4384        }
4385    }
4386}
4387impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4388    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4389        match err {
4390            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4391        }
4392    }
4393}
4394impl<R>
4395    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4396    for Error
4397where
4398    R: Send + Sync + std::fmt::Debug + 'static,
4399{
4400    fn from(
4401        err: ::aws_smithy_runtime_api::client::result::SdkError<
4402            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4403            R,
4404        >,
4405    ) -> Self {
4406        match err {
4407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4410                source: err.into(),
4411            }),
4412        }
4413    }
4414}
4415impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4416    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4417        match err {
4418            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4419        }
4420    }
4421}
4422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4423where
4424    R: Send + Sync + std::fmt::Debug + 'static,
4425{
4426    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4427        match err {
4428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4431                source: err.into(),
4432            }),
4433        }
4434    }
4435}
4436impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4437    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4438        match err {
4439            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4440        }
4441    }
4442}
4443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4444where
4445    R: Send + Sync + std::fmt::Debug + 'static,
4446{
4447    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4448        match err {
4449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4452                source: err.into(),
4453            }),
4454        }
4455    }
4456}
4457impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4458    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4459        match err {
4460            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4461        }
4462    }
4463}
4464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4465where
4466    R: Send + Sync + std::fmt::Debug + 'static,
4467{
4468    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4469        match err {
4470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4473                source: err.into(),
4474            }),
4475        }
4476    }
4477}
4478impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4479    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4480        match err {
4481            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4482        }
4483    }
4484}
4485impl<R>
4486    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4487    for Error
4488where
4489    R: Send + Sync + std::fmt::Debug + 'static,
4490{
4491    fn from(
4492        err: ::aws_smithy_runtime_api::client::result::SdkError<
4493            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4494            R,
4495        >,
4496    ) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4501                source: err.into(),
4502            }),
4503        }
4504    }
4505}
4506impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4507    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4508        match err {
4509            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4510        }
4511    }
4512}
4513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4514    for Error
4515where
4516    R: Send + Sync + std::fmt::Debug + 'static,
4517{
4518    fn from(
4519        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4520    ) -> Self {
4521        match err {
4522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4525                source: err.into(),
4526            }),
4527        }
4528    }
4529}
4530impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4531    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4532        match err {
4533            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4534        }
4535    }
4536}
4537impl<R>
4538    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4539    for Error
4540where
4541    R: Send + Sync + std::fmt::Debug + 'static,
4542{
4543    fn from(
4544        err: ::aws_smithy_runtime_api::client::result::SdkError<
4545            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4546            R,
4547        >,
4548    ) -> Self {
4549        match err {
4550            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4551            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4552                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4553                source: err.into(),
4554            }),
4555        }
4556    }
4557}
4558impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4559    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4560        match err {
4561            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4562        }
4563    }
4564}
4565impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>> for Error where R: Send + Sync + std::fmt::Debug + 'static {
4566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4567        match err {
4568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4569            _ => Error::Unhandled(
4570                                        crate::error::sealed_unhandled::Unhandled {
4571                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4572                                            source: err.into(),
4573                                        }
4574                                    ),
4575        }
4576    }
4577}
4578impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4579    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4580        match err {
4581            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4582        }
4583    }
4584}
4585impl<R>
4586    From<
4587        ::aws_smithy_runtime_api::client::result::SdkError<
4588            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4589            R,
4590        >,
4591    > for Error
4592where
4593    R: Send + Sync + std::fmt::Debug + 'static,
4594{
4595    fn from(
4596        err: ::aws_smithy_runtime_api::client::result::SdkError<
4597            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4598            R,
4599        >,
4600    ) -> Self {
4601        match err {
4602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4605                source: err.into(),
4606            }),
4607        }
4608    }
4609}
4610impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4611    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4612        match err {
4613            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4614                Error::Unhandled(inner)
4615            }
4616        }
4617    }
4618}
4619impl<R>
4620    From<
4621        ::aws_smithy_runtime_api::client::result::SdkError<
4622            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4623            R,
4624        >,
4625    > for Error
4626where
4627    R: Send + Sync + std::fmt::Debug + 'static,
4628{
4629    fn from(
4630        err: ::aws_smithy_runtime_api::client::result::SdkError<
4631            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4632            R,
4633        >,
4634    ) -> Self {
4635        match err {
4636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4639                source: err.into(),
4640            }),
4641        }
4642    }
4643}
4644impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4645    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4646        match err {
4647            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4648                Error::Unhandled(inner)
4649            }
4650        }
4651    }
4652}
4653impl<R>
4654    From<
4655        ::aws_smithy_runtime_api::client::result::SdkError<
4656            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4657            R,
4658        >,
4659    > for Error
4660where
4661    R: Send + Sync + std::fmt::Debug + 'static,
4662{
4663    fn from(
4664        err: ::aws_smithy_runtime_api::client::result::SdkError<
4665            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4666            R,
4667        >,
4668    ) -> Self {
4669        match err {
4670            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4671            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4672                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4673                source: err.into(),
4674            }),
4675        }
4676    }
4677}
4678impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
4679    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
4680        match err {
4681            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
4682                Error::Unhandled(inner)
4683            }
4684        }
4685    }
4686}
4687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4688    for Error
4689where
4690    R: Send + Sync + std::fmt::Debug + 'static,
4691{
4692    fn from(
4693        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4694    ) -> Self {
4695        match err {
4696            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4697            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4698                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4699                source: err.into(),
4700            }),
4701        }
4702    }
4703}
4704impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4705    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4706        match err {
4707            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4708        }
4709    }
4710}
4711impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4712where
4713    R: Send + Sync + std::fmt::Debug + 'static,
4714{
4715    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4716        match err {
4717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4720                source: err.into(),
4721            }),
4722        }
4723    }
4724}
4725impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4726    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4727        match err {
4728            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4729        }
4730    }
4731}
4732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4733where
4734    R: Send + Sync + std::fmt::Debug + 'static,
4735{
4736    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4737        match err {
4738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4741                source: err.into(),
4742            }),
4743        }
4744    }
4745}
4746impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
4747    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
4748        match err {
4749            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
4750        }
4751    }
4752}
4753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
4754where
4755    R: Send + Sync + std::fmt::Debug + 'static,
4756{
4757    fn from(
4758        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
4759    ) -> Self {
4760        match err {
4761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4764                source: err.into(),
4765            }),
4766        }
4767    }
4768}
4769impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
4770    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
4771        match err {
4772            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
4773        }
4774    }
4775}
4776impl<R>
4777    From<
4778        ::aws_smithy_runtime_api::client::result::SdkError<
4779            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4780            R,
4781        >,
4782    > for Error
4783where
4784    R: Send + Sync + std::fmt::Debug + 'static,
4785{
4786    fn from(
4787        err: ::aws_smithy_runtime_api::client::result::SdkError<
4788            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4789            R,
4790        >,
4791    ) -> Self {
4792        match err {
4793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4796                source: err.into(),
4797            }),
4798        }
4799    }
4800}
4801impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
4802    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
4803        match err {
4804            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
4805                Error::Unhandled(inner)
4806            }
4807        }
4808    }
4809}
4810impl<R>
4811    From<
4812        ::aws_smithy_runtime_api::client::result::SdkError<
4813            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4814            R,
4815        >,
4816    > for Error
4817where
4818    R: Send + Sync + std::fmt::Debug + 'static,
4819{
4820    fn from(
4821        err: ::aws_smithy_runtime_api::client::result::SdkError<
4822            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4823            R,
4824        >,
4825    ) -> Self {
4826        match err {
4827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4830                source: err.into(),
4831            }),
4832        }
4833    }
4834}
4835impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
4836    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
4837        match err {
4838            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
4839                Error::Unhandled(inner)
4840            }
4841        }
4842    }
4843}
4844impl<R>
4845    From<
4846        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
4847    > for Error
4848where
4849    R: Send + Sync + std::fmt::Debug + 'static,
4850{
4851    fn from(
4852        err: ::aws_smithy_runtime_api::client::result::SdkError<
4853            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
4854            R,
4855        >,
4856    ) -> Self {
4857        match err {
4858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4861                source: err.into(),
4862            }),
4863        }
4864    }
4865}
4866impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
4867    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
4868        match err {
4869            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
4870        }
4871    }
4872}
4873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
4874    for Error
4875where
4876    R: Send + Sync + std::fmt::Debug + 'static,
4877{
4878    fn from(
4879        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
4880    ) -> Self {
4881        match err {
4882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4885                source: err.into(),
4886            }),
4887        }
4888    }
4889}
4890impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
4891    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
4892        match err {
4893            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
4894        }
4895    }
4896}
4897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
4898where
4899    R: Send + Sync + std::fmt::Debug + 'static,
4900{
4901    fn from(
4902        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
4903    ) -> Self {
4904        match err {
4905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4908                source: err.into(),
4909            }),
4910        }
4911    }
4912}
4913impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
4914    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
4915        match err {
4916            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
4917        }
4918    }
4919}
4920impl<R>
4921    From<
4922        ::aws_smithy_runtime_api::client::result::SdkError<
4923            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4924            R,
4925        >,
4926    > for Error
4927where
4928    R: Send + Sync + std::fmt::Debug + 'static,
4929{
4930    fn from(
4931        err: ::aws_smithy_runtime_api::client::result::SdkError<
4932            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4933            R,
4934        >,
4935    ) -> Self {
4936        match err {
4937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4940                source: err.into(),
4941            }),
4942        }
4943    }
4944}
4945impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
4946    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
4947        match err {
4948            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
4949        }
4950    }
4951}
4952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
4953where
4954    R: Send + Sync + std::fmt::Debug + 'static,
4955{
4956    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
4957        match err {
4958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4961                source: err.into(),
4962            }),
4963        }
4964    }
4965}
4966impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
4967    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
4968        match err {
4969            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
4970        }
4971    }
4972}
4973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
4974where
4975    R: Send + Sync + std::fmt::Debug + 'static,
4976{
4977    fn from(
4978        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
4979    ) -> Self {
4980        match err {
4981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4984                source: err.into(),
4985            }),
4986        }
4987    }
4988}
4989impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
4990    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
4991        match err {
4992            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
4993        }
4994    }
4995}
4996impl<R>
4997    From<
4998        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
4999    > for Error
5000where
5001    R: Send + Sync + std::fmt::Debug + 'static,
5002{
5003    fn from(
5004        err: ::aws_smithy_runtime_api::client::result::SdkError<
5005            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5006            R,
5007        >,
5008    ) -> Self {
5009        match err {
5010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5013                source: err.into(),
5014            }),
5015        }
5016    }
5017}
5018impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5019    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5020        match err {
5021            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5022        }
5023    }
5024}
5025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5026where
5027    R: Send + Sync + std::fmt::Debug + 'static,
5028{
5029    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5030        match err {
5031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5034                source: err.into(),
5035            }),
5036        }
5037    }
5038}
5039impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5040    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5041        match err {
5042            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5043        }
5044    }
5045}
5046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5047where
5048    R: Send + Sync + std::fmt::Debug + 'static,
5049{
5050    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5051        match err {
5052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5055                source: err.into(),
5056            }),
5057        }
5058    }
5059}
5060impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5061    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5062        match err {
5063            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5064        }
5065    }
5066}
5067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5068    for Error
5069where
5070    R: Send + Sync + std::fmt::Debug + 'static,
5071{
5072    fn from(
5073        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5074    ) -> Self {
5075        match err {
5076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5079                source: err.into(),
5080            }),
5081        }
5082    }
5083}
5084impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5085    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5086        match err {
5087            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5088        }
5089    }
5090}
5091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5092where
5093    R: Send + Sync + std::fmt::Debug + 'static,
5094{
5095    fn from(
5096        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5097    ) -> Self {
5098        match err {
5099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5102                source: err.into(),
5103            }),
5104        }
5105    }
5106}
5107impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5108    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5109        match err {
5110            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5111        }
5112    }
5113}
5114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5115where
5116    R: Send + Sync + std::fmt::Debug + 'static,
5117{
5118    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5119        match err {
5120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5123                source: err.into(),
5124            }),
5125        }
5126    }
5127}
5128impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5129    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5130        match err {
5131            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5132        }
5133    }
5134}
5135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5136where
5137    R: Send + Sync + std::fmt::Debug + 'static,
5138{
5139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5140        match err {
5141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5144                source: err.into(),
5145            }),
5146        }
5147    }
5148}
5149impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5150    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5151        match err {
5152            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5153        }
5154    }
5155}
5156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5157where
5158    R: Send + Sync + std::fmt::Debug + 'static,
5159{
5160    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5161        match err {
5162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5165                source: err.into(),
5166            }),
5167        }
5168    }
5169}
5170impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5171    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5172        match err {
5173            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5174        }
5175    }
5176}
5177impl<R>
5178    From<
5179        ::aws_smithy_runtime_api::client::result::SdkError<
5180            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5181            R,
5182        >,
5183    > for Error
5184where
5185    R: Send + Sync + std::fmt::Debug + 'static,
5186{
5187    fn from(
5188        err: ::aws_smithy_runtime_api::client::result::SdkError<
5189            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5190            R,
5191        >,
5192    ) -> Self {
5193        match err {
5194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5197                source: err.into(),
5198            }),
5199        }
5200    }
5201}
5202impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5203    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5204        match err {
5205            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5206        }
5207    }
5208}
5209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5210where
5211    R: Send + Sync + std::fmt::Debug + 'static,
5212{
5213    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5214        match err {
5215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5218                source: err.into(),
5219            }),
5220        }
5221    }
5222}
5223impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5224    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5225        match err {
5226            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5227        }
5228    }
5229}
5230impl<R>
5231    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5232    for Error
5233where
5234    R: Send + Sync + std::fmt::Debug + 'static,
5235{
5236    fn from(
5237        err: ::aws_smithy_runtime_api::client::result::SdkError<
5238            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5239            R,
5240        >,
5241    ) -> Self {
5242        match err {
5243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5246                source: err.into(),
5247            }),
5248        }
5249    }
5250}
5251impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5252    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5253        match err {
5254            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5255        }
5256    }
5257}
5258impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5259where
5260    R: Send + Sync + std::fmt::Debug + 'static,
5261{
5262    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5263        match err {
5264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5267                source: err.into(),
5268            }),
5269        }
5270    }
5271}
5272impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5273    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5274        match err {
5275            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5276        }
5277    }
5278}
5279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5280    for Error
5281where
5282    R: Send + Sync + std::fmt::Debug + 'static,
5283{
5284    fn from(
5285        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5286    ) -> Self {
5287        match err {
5288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5291                source: err.into(),
5292            }),
5293        }
5294    }
5295}
5296impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5297    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5298        match err {
5299            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5300        }
5301    }
5302}
5303impl<R>
5304    From<
5305        ::aws_smithy_runtime_api::client::result::SdkError<
5306            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5307            R,
5308        >,
5309    > for Error
5310where
5311    R: Send + Sync + std::fmt::Debug + 'static,
5312{
5313    fn from(
5314        err: ::aws_smithy_runtime_api::client::result::SdkError<
5315            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5316            R,
5317        >,
5318    ) -> Self {
5319        match err {
5320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5323                source: err.into(),
5324            }),
5325        }
5326    }
5327}
5328impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5329    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5330        match err {
5331            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5332        }
5333    }
5334}
5335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5336    for Error
5337where
5338    R: Send + Sync + std::fmt::Debug + 'static,
5339{
5340    fn from(
5341        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5342    ) -> Self {
5343        match err {
5344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5347                source: err.into(),
5348            }),
5349        }
5350    }
5351}
5352impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5353    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5354        match err {
5355            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5356        }
5357    }
5358}
5359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5360    for Error
5361where
5362    R: Send + Sync + std::fmt::Debug + 'static,
5363{
5364    fn from(
5365        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5366    ) -> Self {
5367        match err {
5368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5371                source: err.into(),
5372            }),
5373        }
5374    }
5375}
5376impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5377    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5378        match err {
5379            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5380        }
5381    }
5382}
5383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5384where
5385    R: Send + Sync + std::fmt::Debug + 'static,
5386{
5387    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5388        match err {
5389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5392                source: err.into(),
5393            }),
5394        }
5395    }
5396}
5397impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5398    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5399        match err {
5400            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5401        }
5402    }
5403}
5404impl<R>
5405    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5406    for Error
5407where
5408    R: Send + Sync + std::fmt::Debug + 'static,
5409{
5410    fn from(
5411        err: ::aws_smithy_runtime_api::client::result::SdkError<
5412            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5413            R,
5414        >,
5415    ) -> Self {
5416        match err {
5417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5420                source: err.into(),
5421            }),
5422        }
5423    }
5424}
5425impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5426    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5427        match err {
5428            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5429        }
5430    }
5431}
5432impl<R>
5433    From<
5434        ::aws_smithy_runtime_api::client::result::SdkError<
5435            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5436            R,
5437        >,
5438    > for Error
5439where
5440    R: Send + Sync + std::fmt::Debug + 'static,
5441{
5442    fn from(
5443        err: ::aws_smithy_runtime_api::client::result::SdkError<
5444            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5445            R,
5446        >,
5447    ) -> Self {
5448        match err {
5449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5452                source: err.into(),
5453            }),
5454        }
5455    }
5456}
5457impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5458    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5459        match err {
5460            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5461        }
5462    }
5463}
5464impl<R>
5465    From<
5466        ::aws_smithy_runtime_api::client::result::SdkError<
5467            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5468            R,
5469        >,
5470    > for Error
5471where
5472    R: Send + Sync + std::fmt::Debug + 'static,
5473{
5474    fn from(
5475        err: ::aws_smithy_runtime_api::client::result::SdkError<
5476            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5477            R,
5478        >,
5479    ) -> Self {
5480        match err {
5481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5484                source: err.into(),
5485            }),
5486        }
5487    }
5488}
5489impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5490    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5491        match err {
5492            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5493                Error::Unhandled(inner)
5494            }
5495        }
5496    }
5497}
5498impl<R>
5499    From<
5500        ::aws_smithy_runtime_api::client::result::SdkError<
5501            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5502            R,
5503        >,
5504    > for Error
5505where
5506    R: Send + Sync + std::fmt::Debug + 'static,
5507{
5508    fn from(
5509        err: ::aws_smithy_runtime_api::client::result::SdkError<
5510            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5511            R,
5512        >,
5513    ) -> Self {
5514        match err {
5515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5518                source: err.into(),
5519            }),
5520        }
5521    }
5522}
5523impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5524    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5525        match err {
5526            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5527                Error::Unhandled(inner)
5528            }
5529        }
5530    }
5531}
5532impl<R>
5533    From<
5534        ::aws_smithy_runtime_api::client::result::SdkError<
5535            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5536            R,
5537        >,
5538    > for Error
5539where
5540    R: Send + Sync + std::fmt::Debug + 'static,
5541{
5542    fn from(
5543        err: ::aws_smithy_runtime_api::client::result::SdkError<
5544            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5545            R,
5546        >,
5547    ) -> Self {
5548        match err {
5549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5552                source: err.into(),
5553            }),
5554        }
5555    }
5556}
5557impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5558    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5559        match err {
5560            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5561        }
5562    }
5563}
5564impl<R>
5565    From<
5566        ::aws_smithy_runtime_api::client::result::SdkError<
5567            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5568            R,
5569        >,
5570    > for Error
5571where
5572    R: Send + Sync + std::fmt::Debug + 'static,
5573{
5574    fn from(
5575        err: ::aws_smithy_runtime_api::client::result::SdkError<
5576            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5577            R,
5578        >,
5579    ) -> Self {
5580        match err {
5581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5584                source: err.into(),
5585            }),
5586        }
5587    }
5588}
5589impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5590    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5591        match err {
5592            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5593                Error::Unhandled(inner)
5594            }
5595        }
5596    }
5597}
5598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5599    for Error
5600where
5601    R: Send + Sync + std::fmt::Debug + 'static,
5602{
5603    fn from(
5604        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5605    ) -> Self {
5606        match err {
5607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5610                source: err.into(),
5611            }),
5612        }
5613    }
5614}
5615impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5616    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5617        match err {
5618            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5619        }
5620    }
5621}
5622impl<R>
5623    From<
5624        ::aws_smithy_runtime_api::client::result::SdkError<
5625            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5626            R,
5627        >,
5628    > for Error
5629where
5630    R: Send + Sync + std::fmt::Debug + 'static,
5631{
5632    fn from(
5633        err: ::aws_smithy_runtime_api::client::result::SdkError<
5634            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5635            R,
5636        >,
5637    ) -> Self {
5638        match err {
5639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5642                source: err.into(),
5643            }),
5644        }
5645    }
5646}
5647impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5648    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5649        match err {
5650            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5651        }
5652    }
5653}
5654impl<R>
5655    From<
5656        ::aws_smithy_runtime_api::client::result::SdkError<
5657            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5658            R,
5659        >,
5660    > for Error
5661where
5662    R: Send + Sync + std::fmt::Debug + 'static,
5663{
5664    fn from(
5665        err: ::aws_smithy_runtime_api::client::result::SdkError<
5666            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5667            R,
5668        >,
5669    ) -> Self {
5670        match err {
5671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5674                source: err.into(),
5675            }),
5676        }
5677    }
5678}
5679impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5680    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5681        match err {
5682            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5683                Error::Unhandled(inner)
5684            }
5685        }
5686    }
5687}
5688impl<R>
5689    From<
5690        ::aws_smithy_runtime_api::client::result::SdkError<
5691            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5692            R,
5693        >,
5694    > for Error
5695where
5696    R: Send + Sync + std::fmt::Debug + 'static,
5697{
5698    fn from(
5699        err: ::aws_smithy_runtime_api::client::result::SdkError<
5700            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5701            R,
5702        >,
5703    ) -> Self {
5704        match err {
5705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5708                source: err.into(),
5709            }),
5710        }
5711    }
5712}
5713impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5714    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5715        match err {
5716            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5717                Error::Unhandled(inner)
5718            }
5719        }
5720    }
5721}
5722impl<R>
5723    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5724    for Error
5725where
5726    R: Send + Sync + std::fmt::Debug + 'static,
5727{
5728    fn from(
5729        err: ::aws_smithy_runtime_api::client::result::SdkError<
5730            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5731            R,
5732        >,
5733    ) -> Self {
5734        match err {
5735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5738                source: err.into(),
5739            }),
5740        }
5741    }
5742}
5743impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
5744    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
5745        match err {
5746            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5747        }
5748    }
5749}
5750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
5751    for Error
5752where
5753    R: Send + Sync + std::fmt::Debug + 'static,
5754{
5755    fn from(
5756        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
5757    ) -> Self {
5758        match err {
5759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5762                source: err.into(),
5763            }),
5764        }
5765    }
5766}
5767impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
5768    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
5769        match err {
5770            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
5771        }
5772    }
5773}
5774impl<R>
5775    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
5776    for Error
5777where
5778    R: Send + Sync + std::fmt::Debug + 'static,
5779{
5780    fn from(
5781        err: ::aws_smithy_runtime_api::client::result::SdkError<
5782            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
5783            R,
5784        >,
5785    ) -> Self {
5786        match err {
5787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5790                source: err.into(),
5791            }),
5792        }
5793    }
5794}
5795impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
5796    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
5797        match err {
5798            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
5799        }
5800    }
5801}
5802impl<R>
5803    From<
5804        ::aws_smithy_runtime_api::client::result::SdkError<
5805            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5806            R,
5807        >,
5808    > for Error
5809where
5810    R: Send + Sync + std::fmt::Debug + 'static,
5811{
5812    fn from(
5813        err: ::aws_smithy_runtime_api::client::result::SdkError<
5814            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5815            R,
5816        >,
5817    ) -> Self {
5818        match err {
5819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5822                source: err.into(),
5823            }),
5824        }
5825    }
5826}
5827impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
5828    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
5829        match err {
5830            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
5831                Error::Unhandled(inner)
5832            }
5833        }
5834    }
5835}
5836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
5837where
5838    R: Send + Sync + std::fmt::Debug + 'static,
5839{
5840    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
5841        match err {
5842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5845                source: err.into(),
5846            }),
5847        }
5848    }
5849}
5850impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
5851    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
5852        match err {
5853            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5854        }
5855    }
5856}
5857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
5858where
5859    R: Send + Sync + std::fmt::Debug + 'static,
5860{
5861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
5862        match err {
5863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5866                source: err.into(),
5867            }),
5868        }
5869    }
5870}
5871impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
5872    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
5873        match err {
5874            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
5875        }
5876    }
5877}
5878impl<R>
5879    From<
5880        ::aws_smithy_runtime_api::client::result::SdkError<
5881            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5882            R,
5883        >,
5884    > for Error
5885where
5886    R: Send + Sync + std::fmt::Debug + 'static,
5887{
5888    fn from(
5889        err: ::aws_smithy_runtime_api::client::result::SdkError<
5890            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5891            R,
5892        >,
5893    ) -> Self {
5894        match err {
5895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5898                source: err.into(),
5899            }),
5900        }
5901    }
5902}
5903impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
5904    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
5905        match err {
5906            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
5907                Error::Unhandled(inner)
5908            }
5909        }
5910    }
5911}
5912impl<R>
5913    From<
5914        ::aws_smithy_runtime_api::client::result::SdkError<
5915            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5916            R,
5917        >,
5918    > for Error
5919where
5920    R: Send + Sync + std::fmt::Debug + 'static,
5921{
5922    fn from(
5923        err: ::aws_smithy_runtime_api::client::result::SdkError<
5924            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5925            R,
5926        >,
5927    ) -> Self {
5928        match err {
5929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5932                source: err.into(),
5933            }),
5934        }
5935    }
5936}
5937impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
5938    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
5939        match err {
5940            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
5941                Error::Unhandled(inner)
5942            }
5943        }
5944    }
5945}
5946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
5947where
5948    R: Send + Sync + std::fmt::Debug + 'static,
5949{
5950    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
5951        match err {
5952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5955                source: err.into(),
5956            }),
5957        }
5958    }
5959}
5960impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
5961    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
5962        match err {
5963            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5964        }
5965    }
5966}
5967impl<R>
5968    From<
5969        ::aws_smithy_runtime_api::client::result::SdkError<
5970            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5971            R,
5972        >,
5973    > for Error
5974where
5975    R: Send + Sync + std::fmt::Debug + 'static,
5976{
5977    fn from(
5978        err: ::aws_smithy_runtime_api::client::result::SdkError<
5979            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5980            R,
5981        >,
5982    ) -> Self {
5983        match err {
5984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5987                source: err.into(),
5988            }),
5989        }
5990    }
5991}
5992impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
5993    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
5994        match err {
5995            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
5996                Error::Unhandled(inner)
5997            }
5998        }
5999    }
6000}
6001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6002    for Error
6003where
6004    R: Send + Sync + std::fmt::Debug + 'static,
6005{
6006    fn from(
6007        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6008    ) -> Self {
6009        match err {
6010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6013                source: err.into(),
6014            }),
6015        }
6016    }
6017}
6018impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6019    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6020        match err {
6021            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6022        }
6023    }
6024}
6025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6026where
6027    R: Send + Sync + std::fmt::Debug + 'static,
6028{
6029    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6030        match err {
6031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6034                source: err.into(),
6035            }),
6036        }
6037    }
6038}
6039impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6040    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6041        match err {
6042            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6043        }
6044    }
6045}
6046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6047    for Error
6048where
6049    R: Send + Sync + std::fmt::Debug + 'static,
6050{
6051    fn from(
6052        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6053    ) -> Self {
6054        match err {
6055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6058                source: err.into(),
6059            }),
6060        }
6061    }
6062}
6063impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6064    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6065        match err {
6066            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6067        }
6068    }
6069}
6070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6071where
6072    R: Send + Sync + std::fmt::Debug + 'static,
6073{
6074    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6075        match err {
6076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6079                source: err.into(),
6080            }),
6081        }
6082    }
6083}
6084impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6085    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6086        match err {
6087            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6088        }
6089    }
6090}
6091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6092where
6093    R: Send + Sync + std::fmt::Debug + 'static,
6094{
6095    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6096        match err {
6097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6100                source: err.into(),
6101            }),
6102        }
6103    }
6104}
6105impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6106    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6107        match err {
6108            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6109        }
6110    }
6111}
6112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6113where
6114    R: Send + Sync + std::fmt::Debug + 'static,
6115{
6116    fn from(
6117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6118    ) -> Self {
6119        match err {
6120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6123                source: err.into(),
6124            }),
6125        }
6126    }
6127}
6128impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6129    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6130        match err {
6131            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6132        }
6133    }
6134}
6135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6136    for Error
6137where
6138    R: Send + Sync + std::fmt::Debug + 'static,
6139{
6140    fn from(
6141        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6142    ) -> Self {
6143        match err {
6144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6147                source: err.into(),
6148            }),
6149        }
6150    }
6151}
6152impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6153    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6154        match err {
6155            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6156        }
6157    }
6158}
6159impl<R>
6160    From<
6161        ::aws_smithy_runtime_api::client::result::SdkError<
6162            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6163            R,
6164        >,
6165    > for Error
6166where
6167    R: Send + Sync + std::fmt::Debug + 'static,
6168{
6169    fn from(
6170        err: ::aws_smithy_runtime_api::client::result::SdkError<
6171            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6172            R,
6173        >,
6174    ) -> Self {
6175        match err {
6176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6179                source: err.into(),
6180            }),
6181        }
6182    }
6183}
6184impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6185    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6186        match err {
6187            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6188        }
6189    }
6190}
6191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6192where
6193    R: Send + Sync + std::fmt::Debug + 'static,
6194{
6195    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6196        match err {
6197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6200                source: err.into(),
6201            }),
6202        }
6203    }
6204}
6205impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6206    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6207        match err {
6208            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6209        }
6210    }
6211}
6212impl<R>
6213    From<
6214        ::aws_smithy_runtime_api::client::result::SdkError<
6215            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6216            R,
6217        >,
6218    > for Error
6219where
6220    R: Send + Sync + std::fmt::Debug + 'static,
6221{
6222    fn from(
6223        err: ::aws_smithy_runtime_api::client::result::SdkError<
6224            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6225            R,
6226        >,
6227    ) -> Self {
6228        match err {
6229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6232                source: err.into(),
6233            }),
6234        }
6235    }
6236}
6237impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6238    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6239        match err {
6240            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6241                inner,
6242            ) => Error::Unhandled(inner),
6243        }
6244    }
6245}
6246impl<R>
6247    From<
6248        ::aws_smithy_runtime_api::client::result::SdkError<
6249            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6250            R,
6251        >,
6252    > for Error
6253where
6254    R: Send + Sync + std::fmt::Debug + 'static,
6255{
6256    fn from(
6257        err: ::aws_smithy_runtime_api::client::result::SdkError<
6258            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6259            R,
6260        >,
6261    ) -> Self {
6262        match err {
6263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6266                source: err.into(),
6267            }),
6268        }
6269    }
6270}
6271impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6272    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6273        match err {
6274            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6275                inner,
6276            ) => Error::Unhandled(inner),
6277        }
6278    }
6279}
6280impl<R>
6281    From<
6282        ::aws_smithy_runtime_api::client::result::SdkError<
6283            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6284            R,
6285        >,
6286    > for Error
6287where
6288    R: Send + Sync + std::fmt::Debug + 'static,
6289{
6290    fn from(
6291        err: ::aws_smithy_runtime_api::client::result::SdkError<
6292            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6293            R,
6294        >,
6295    ) -> Self {
6296        match err {
6297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6300                source: err.into(),
6301            }),
6302        }
6303    }
6304}
6305impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6306    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6307        match err {
6308            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6309                inner,
6310            ) => Error::Unhandled(inner),
6311        }
6312    }
6313}
6314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6315    for Error
6316where
6317    R: Send + Sync + std::fmt::Debug + 'static,
6318{
6319    fn from(
6320        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6321    ) -> Self {
6322        match err {
6323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6326                source: err.into(),
6327            }),
6328        }
6329    }
6330}
6331impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6332    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6333        match err {
6334            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6335        }
6336    }
6337}
6338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6339where
6340    R: Send + Sync + std::fmt::Debug + 'static,
6341{
6342    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6343        match err {
6344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6347                source: err.into(),
6348            }),
6349        }
6350    }
6351}
6352impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6353    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6354        match err {
6355            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6356        }
6357    }
6358}
6359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6360    for Error
6361where
6362    R: Send + Sync + std::fmt::Debug + 'static,
6363{
6364    fn from(
6365        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6366    ) -> Self {
6367        match err {
6368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6371                source: err.into(),
6372            }),
6373        }
6374    }
6375}
6376impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6377    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6378        match err {
6379            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6380        }
6381    }
6382}
6383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6384    for Error
6385where
6386    R: Send + Sync + std::fmt::Debug + 'static,
6387{
6388    fn from(
6389        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6390    ) -> Self {
6391        match err {
6392            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6393            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6394                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6395                source: err.into(),
6396            }),
6397        }
6398    }
6399}
6400impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6401    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6402        match err {
6403            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6404        }
6405    }
6406}
6407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6408    for Error
6409where
6410    R: Send + Sync + std::fmt::Debug + 'static,
6411{
6412    fn from(
6413        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6414    ) -> Self {
6415        match err {
6416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6419                source: err.into(),
6420            }),
6421        }
6422    }
6423}
6424impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6425    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6426        match err {
6427            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6428        }
6429    }
6430}
6431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6432    for Error
6433where
6434    R: Send + Sync + std::fmt::Debug + 'static,
6435{
6436    fn from(
6437        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6438    ) -> Self {
6439        match err {
6440            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6441            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6442                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6443                source: err.into(),
6444            }),
6445        }
6446    }
6447}
6448impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6449    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6450        match err {
6451            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6452        }
6453    }
6454}
6455impl<R>
6456    From<
6457        ::aws_smithy_runtime_api::client::result::SdkError<
6458            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6459            R,
6460        >,
6461    > for Error
6462where
6463    R: Send + Sync + std::fmt::Debug + 'static,
6464{
6465    fn from(
6466        err: ::aws_smithy_runtime_api::client::result::SdkError<
6467            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6468            R,
6469        >,
6470    ) -> Self {
6471        match err {
6472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6475                source: err.into(),
6476            }),
6477        }
6478    }
6479}
6480impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6481    fn from(
6482        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6483    ) -> Self {
6484        match err {
6485            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6486        }
6487    }
6488}
6489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6490where
6491    R: Send + Sync + std::fmt::Debug + 'static,
6492{
6493    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6494        match err {
6495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6498                source: err.into(),
6499            }),
6500        }
6501    }
6502}
6503impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6504    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6505        match err {
6506            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6507        }
6508    }
6509}
6510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6511where
6512    R: Send + Sync + std::fmt::Debug + 'static,
6513{
6514    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6515        match err {
6516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6519                source: err.into(),
6520            }),
6521        }
6522    }
6523}
6524impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6525    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6526        match err {
6527            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6528        }
6529    }
6530}
6531impl<R>
6532    From<
6533        ::aws_smithy_runtime_api::client::result::SdkError<
6534            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6535            R,
6536        >,
6537    > for Error
6538where
6539    R: Send + Sync + std::fmt::Debug + 'static,
6540{
6541    fn from(
6542        err: ::aws_smithy_runtime_api::client::result::SdkError<
6543            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6544            R,
6545        >,
6546    ) -> Self {
6547        match err {
6548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6551                source: err.into(),
6552            }),
6553        }
6554    }
6555}
6556impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6557    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6558        match err {
6559            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6560                Error::Unhandled(inner)
6561            }
6562        }
6563    }
6564}
6565impl<R>
6566    From<
6567        ::aws_smithy_runtime_api::client::result::SdkError<
6568            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6569            R,
6570        >,
6571    > for Error
6572where
6573    R: Send + Sync + std::fmt::Debug + 'static,
6574{
6575    fn from(
6576        err: ::aws_smithy_runtime_api::client::result::SdkError<
6577            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6578            R,
6579        >,
6580    ) -> Self {
6581        match err {
6582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6585                source: err.into(),
6586            }),
6587        }
6588    }
6589}
6590impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6591    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6592        match err {
6593            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6594                Error::Unhandled(inner)
6595            }
6596        }
6597    }
6598}
6599impl<R>
6600    From<
6601        ::aws_smithy_runtime_api::client::result::SdkError<
6602            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6603            R,
6604        >,
6605    > for Error
6606where
6607    R: Send + Sync + std::fmt::Debug + 'static,
6608{
6609    fn from(
6610        err: ::aws_smithy_runtime_api::client::result::SdkError<
6611            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6612            R,
6613        >,
6614    ) -> Self {
6615        match err {
6616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6619                source: err.into(),
6620            }),
6621        }
6622    }
6623}
6624impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6625    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6626        match err {
6627            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6628        }
6629    }
6630}
6631impl<R>
6632    From<
6633        ::aws_smithy_runtime_api::client::result::SdkError<
6634            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6635            R,
6636        >,
6637    > for Error
6638where
6639    R: Send + Sync + std::fmt::Debug + 'static,
6640{
6641    fn from(
6642        err: ::aws_smithy_runtime_api::client::result::SdkError<
6643            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6644            R,
6645        >,
6646    ) -> Self {
6647        match err {
6648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6651                source: err.into(),
6652            }),
6653        }
6654    }
6655}
6656impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6657    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
6658        match err {
6659            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
6660                Error::Unhandled(inner)
6661            }
6662        }
6663    }
6664}
6665impl<R>
6666    From<
6667        ::aws_smithy_runtime_api::client::result::SdkError<
6668            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6669            R,
6670        >,
6671    > for Error
6672where
6673    R: Send + Sync + std::fmt::Debug + 'static,
6674{
6675    fn from(
6676        err: ::aws_smithy_runtime_api::client::result::SdkError<
6677            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6678            R,
6679        >,
6680    ) -> Self {
6681        match err {
6682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6685                source: err.into(),
6686            }),
6687        }
6688    }
6689}
6690impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
6691    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
6692        match err {
6693            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
6694                Error::Unhandled(inner)
6695            }
6696        }
6697    }
6698}
6699impl<R>
6700    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
6701    for Error
6702where
6703    R: Send + Sync + std::fmt::Debug + 'static,
6704{
6705    fn from(
6706        err: ::aws_smithy_runtime_api::client::result::SdkError<
6707            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
6708            R,
6709        >,
6710    ) -> Self {
6711        match err {
6712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6715                source: err.into(),
6716            }),
6717        }
6718    }
6719}
6720impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
6721    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
6722        match err {
6723            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
6724        }
6725    }
6726}
6727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
6728    for Error
6729where
6730    R: Send + Sync + std::fmt::Debug + 'static,
6731{
6732    fn from(
6733        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
6734    ) -> Self {
6735        match err {
6736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6739                source: err.into(),
6740            }),
6741        }
6742    }
6743}
6744impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
6745    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
6746        match err {
6747            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6748        }
6749    }
6750}
6751impl<R>
6752    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
6753    for Error
6754where
6755    R: Send + Sync + std::fmt::Debug + 'static,
6756{
6757    fn from(
6758        err: ::aws_smithy_runtime_api::client::result::SdkError<
6759            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
6760            R,
6761        >,
6762    ) -> Self {
6763        match err {
6764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6767                source: err.into(),
6768            }),
6769        }
6770    }
6771}
6772impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
6773    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
6774        match err {
6775            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6776        }
6777    }
6778}
6779impl<R>
6780    From<
6781        ::aws_smithy_runtime_api::client::result::SdkError<
6782            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6783            R,
6784        >,
6785    > for Error
6786where
6787    R: Send + Sync + std::fmt::Debug + 'static,
6788{
6789    fn from(
6790        err: ::aws_smithy_runtime_api::client::result::SdkError<
6791            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6792            R,
6793        >,
6794    ) -> Self {
6795        match err {
6796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6799                source: err.into(),
6800            }),
6801        }
6802    }
6803}
6804impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
6805    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
6806        match err {
6807            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
6808                Error::Unhandled(inner)
6809            }
6810        }
6811    }
6812}
6813impl<R>
6814    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
6815    for Error
6816where
6817    R: Send + Sync + std::fmt::Debug + 'static,
6818{
6819    fn from(
6820        err: ::aws_smithy_runtime_api::client::result::SdkError<
6821            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
6822            R,
6823        >,
6824    ) -> Self {
6825        match err {
6826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6829                source: err.into(),
6830            }),
6831        }
6832    }
6833}
6834impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
6835    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
6836        match err {
6837            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
6838        }
6839    }
6840}
6841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
6842    for Error
6843where
6844    R: Send + Sync + std::fmt::Debug + 'static,
6845{
6846    fn from(
6847        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
6848    ) -> Self {
6849        match err {
6850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6853                source: err.into(),
6854            }),
6855        }
6856    }
6857}
6858impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
6859    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
6860        match err {
6861            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6862        }
6863    }
6864}
6865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
6866    for Error
6867where
6868    R: Send + Sync + std::fmt::Debug + 'static,
6869{
6870    fn from(
6871        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
6872    ) -> Self {
6873        match err {
6874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6877                source: err.into(),
6878            }),
6879        }
6880    }
6881}
6882impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
6883    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
6884        match err {
6885            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
6886        }
6887    }
6888}
6889impl<R>
6890    From<
6891        ::aws_smithy_runtime_api::client::result::SdkError<
6892            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6893            R,
6894        >,
6895    > for Error
6896where
6897    R: Send + Sync + std::fmt::Debug + 'static,
6898{
6899    fn from(
6900        err: ::aws_smithy_runtime_api::client::result::SdkError<
6901            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6902            R,
6903        >,
6904    ) -> Self {
6905        match err {
6906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6909                source: err.into(),
6910            }),
6911        }
6912    }
6913}
6914impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
6915    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
6916        match err {
6917            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
6918        }
6919    }
6920}
6921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
6922where
6923    R: Send + Sync + std::fmt::Debug + 'static,
6924{
6925    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
6926        match err {
6927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6930                source: err.into(),
6931            }),
6932        }
6933    }
6934}
6935impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
6936    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
6937        match err {
6938            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
6939        }
6940    }
6941}
6942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
6943    for Error
6944where
6945    R: Send + Sync + std::fmt::Debug + 'static,
6946{
6947    fn from(
6948        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
6949    ) -> Self {
6950        match err {
6951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6954                source: err.into(),
6955            }),
6956        }
6957    }
6958}
6959impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
6960    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
6961        match err {
6962            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
6963        }
6964    }
6965}
6966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
6967    for Error
6968where
6969    R: Send + Sync + std::fmt::Debug + 'static,
6970{
6971    fn from(
6972        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
6973    ) -> Self {
6974        match err {
6975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6978                source: err.into(),
6979            }),
6980        }
6981    }
6982}
6983impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
6984    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
6985        match err {
6986            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6987        }
6988    }
6989}
6990impl<R>
6991    From<
6992        ::aws_smithy_runtime_api::client::result::SdkError<
6993            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
6994            R,
6995        >,
6996    > for Error
6997where
6998    R: Send + Sync + std::fmt::Debug + 'static,
6999{
7000    fn from(
7001        err: ::aws_smithy_runtime_api::client::result::SdkError<
7002            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7003            R,
7004        >,
7005    ) -> Self {
7006        match err {
7007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7010                source: err.into(),
7011            }),
7012        }
7013    }
7014}
7015impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7016    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7017        match err {
7018            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7019                Error::Unhandled(inner)
7020            }
7021        }
7022    }
7023}
7024impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7025where
7026    R: Send + Sync + std::fmt::Debug + 'static,
7027{
7028    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7029        match err {
7030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7033                source: err.into(),
7034            }),
7035        }
7036    }
7037}
7038impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7039    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7040        match err {
7041            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7042        }
7043    }
7044}
7045impl<R>
7046    From<
7047        ::aws_smithy_runtime_api::client::result::SdkError<
7048            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7049            R,
7050        >,
7051    > for Error
7052where
7053    R: Send + Sync + std::fmt::Debug + 'static,
7054{
7055    fn from(
7056        err: ::aws_smithy_runtime_api::client::result::SdkError<
7057            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7058            R,
7059        >,
7060    ) -> Self {
7061        match err {
7062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7065                source: err.into(),
7066            }),
7067        }
7068    }
7069}
7070impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7071    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7072        match err {
7073            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7074                Error::Unhandled(inner)
7075            }
7076        }
7077    }
7078}
7079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7080where
7081    R: Send + Sync + std::fmt::Debug + 'static,
7082{
7083    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7084        match err {
7085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7088                source: err.into(),
7089            }),
7090        }
7091    }
7092}
7093impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7094    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7095        match err {
7096            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7097        }
7098    }
7099}
7100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7101    for Error
7102where
7103    R: Send + Sync + std::fmt::Debug + 'static,
7104{
7105    fn from(
7106        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7107    ) -> Self {
7108        match err {
7109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7112                source: err.into(),
7113            }),
7114        }
7115    }
7116}
7117impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7118    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7119        match err {
7120            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7121        }
7122    }
7123}
7124impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7125where
7126    R: Send + Sync + std::fmt::Debug + 'static,
7127{
7128    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7129        match err {
7130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7133                source: err.into(),
7134            }),
7135        }
7136    }
7137}
7138impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7139    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7140        match err {
7141            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7142        }
7143    }
7144}
7145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7146    for Error
7147where
7148    R: Send + Sync + std::fmt::Debug + 'static,
7149{
7150    fn from(
7151        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7152    ) -> Self {
7153        match err {
7154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7157                source: err.into(),
7158            }),
7159        }
7160    }
7161}
7162impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7163    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7164        match err {
7165            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7166        }
7167    }
7168}
7169impl<R>
7170    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7171    for Error
7172where
7173    R: Send + Sync + std::fmt::Debug + 'static,
7174{
7175    fn from(
7176        err: ::aws_smithy_runtime_api::client::result::SdkError<
7177            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7178            R,
7179        >,
7180    ) -> Self {
7181        match err {
7182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7185                source: err.into(),
7186            }),
7187        }
7188    }
7189}
7190impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7191    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7192        match err {
7193            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7194        }
7195    }
7196}
7197impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7198where
7199    R: Send + Sync + std::fmt::Debug + 'static,
7200{
7201    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7202        match err {
7203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7206                source: err.into(),
7207            }),
7208        }
7209    }
7210}
7211impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7212    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7213        match err {
7214            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7215        }
7216    }
7217}
7218impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> 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_fleet_instances::DescribeFleetInstancesError, 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_fleet_instances::DescribeFleetInstancesError> for Error {
7235    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7236        match err {
7237            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7238        }
7239    }
7240}
7241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7242where
7243    R: Send + Sync + std::fmt::Debug + 'static,
7244{
7245    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7246        match err {
7247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7250                source: err.into(),
7251            }),
7252        }
7253    }
7254}
7255impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7256    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7257        match err {
7258            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7259        }
7260    }
7261}
7262impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7263where
7264    R: Send + Sync + std::fmt::Debug + 'static,
7265{
7266    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7267        match err {
7268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7271                source: err.into(),
7272            }),
7273        }
7274    }
7275}
7276impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7277    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7278        match err {
7279            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7280        }
7281    }
7282}
7283impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7284    for Error
7285where
7286    R: Send + Sync + std::fmt::Debug + 'static,
7287{
7288    fn from(
7289        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7290    ) -> Self {
7291        match err {
7292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7295                source: err.into(),
7296            }),
7297        }
7298    }
7299}
7300impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7301    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7302        match err {
7303            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7304        }
7305    }
7306}
7307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7308where
7309    R: Send + Sync + std::fmt::Debug + 'static,
7310{
7311    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7312        match err {
7313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7316                source: err.into(),
7317            }),
7318        }
7319    }
7320}
7321impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7322    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7323        match err {
7324            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7325        }
7326    }
7327}
7328impl<R>
7329    From<
7330        ::aws_smithy_runtime_api::client::result::SdkError<
7331            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7332            R,
7333        >,
7334    > for Error
7335where
7336    R: Send + Sync + std::fmt::Debug + 'static,
7337{
7338    fn from(
7339        err: ::aws_smithy_runtime_api::client::result::SdkError<
7340            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7341            R,
7342        >,
7343    ) -> Self {
7344        match err {
7345            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7346            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7347                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7348                source: err.into(),
7349            }),
7350        }
7351    }
7352}
7353impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7354    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7355        match err {
7356            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7357        }
7358    }
7359}
7360impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7361    for Error
7362where
7363    R: Send + Sync + std::fmt::Debug + 'static,
7364{
7365    fn from(
7366        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7367    ) -> Self {
7368        match err {
7369            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7370            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7371                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7372                source: err.into(),
7373            }),
7374        }
7375    }
7376}
7377impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7378    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7379        match err {
7380            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7381        }
7382    }
7383}
7384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7385where
7386    R: Send + Sync + std::fmt::Debug + 'static,
7387{
7388    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7389        match err {
7390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7393                source: err.into(),
7394            }),
7395        }
7396    }
7397}
7398impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7399    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7400        match err {
7401            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7402        }
7403    }
7404}
7405impl<R>
7406    From<
7407        ::aws_smithy_runtime_api::client::result::SdkError<
7408            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7409            R,
7410        >,
7411    > for Error
7412where
7413    R: Send + Sync + std::fmt::Debug + 'static,
7414{
7415    fn from(
7416        err: ::aws_smithy_runtime_api::client::result::SdkError<
7417            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7418            R,
7419        >,
7420    ) -> Self {
7421        match err {
7422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7425                source: err.into(),
7426            }),
7427        }
7428    }
7429}
7430impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7431    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7432        match err {
7433            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7434                Error::Unhandled(inner)
7435            }
7436        }
7437    }
7438}
7439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7440    for Error
7441where
7442    R: Send + Sync + std::fmt::Debug + 'static,
7443{
7444    fn from(
7445        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7446    ) -> Self {
7447        match err {
7448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7451                source: err.into(),
7452            }),
7453        }
7454    }
7455}
7456impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7457    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7458        match err {
7459            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7460        }
7461    }
7462}
7463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7464where
7465    R: Send + Sync + std::fmt::Debug + 'static,
7466{
7467    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7468        match err {
7469            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7470            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7471                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7472                source: err.into(),
7473            }),
7474        }
7475    }
7476}
7477impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7478    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7479        match err {
7480            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7481        }
7482    }
7483}
7484impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7485where
7486    R: Send + Sync + std::fmt::Debug + 'static,
7487{
7488    fn from(
7489        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7490    ) -> Self {
7491        match err {
7492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7495                source: err.into(),
7496            }),
7497        }
7498    }
7499}
7500impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7501    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7502        match err {
7503            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7504        }
7505    }
7506}
7507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7508where
7509    R: Send + Sync + std::fmt::Debug + 'static,
7510{
7511    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7512        match err {
7513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7516                source: err.into(),
7517            }),
7518        }
7519    }
7520}
7521impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7522    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7523        match err {
7524            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7525        }
7526    }
7527}
7528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7529    for Error
7530where
7531    R: Send + Sync + std::fmt::Debug + 'static,
7532{
7533    fn from(
7534        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7535    ) -> Self {
7536        match err {
7537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7540                source: err.into(),
7541            }),
7542        }
7543    }
7544}
7545impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
7546    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
7547        match err {
7548            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7549        }
7550    }
7551}
7552impl<R>
7553    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
7554    for Error
7555where
7556    R: Send + Sync + std::fmt::Debug + 'static,
7557{
7558    fn from(
7559        err: ::aws_smithy_runtime_api::client::result::SdkError<
7560            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
7561            R,
7562        >,
7563    ) -> Self {
7564        match err {
7565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7568                source: err.into(),
7569            }),
7570        }
7571    }
7572}
7573impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
7574    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
7575        match err {
7576            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
7577        }
7578    }
7579}
7580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
7581    for Error
7582where
7583    R: Send + Sync + std::fmt::Debug + 'static,
7584{
7585    fn from(
7586        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
7587    ) -> Self {
7588        match err {
7589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7592                source: err.into(),
7593            }),
7594        }
7595    }
7596}
7597impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
7598    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
7599        match err {
7600            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7601        }
7602    }
7603}
7604impl<R>
7605    From<
7606        ::aws_smithy_runtime_api::client::result::SdkError<
7607            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7608            R,
7609        >,
7610    > for Error
7611where
7612    R: Send + Sync + std::fmt::Debug + 'static,
7613{
7614    fn from(
7615        err: ::aws_smithy_runtime_api::client::result::SdkError<
7616            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7617            R,
7618        >,
7619    ) -> Self {
7620        match err {
7621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7624                source: err.into(),
7625            }),
7626        }
7627    }
7628}
7629impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
7630    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
7631        match err {
7632            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7633        }
7634    }
7635}
7636impl<R>
7637    From<
7638        ::aws_smithy_runtime_api::client::result::SdkError<
7639            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7640            R,
7641        >,
7642    > for Error
7643where
7644    R: Send + Sync + std::fmt::Debug + 'static,
7645{
7646    fn from(
7647        err: ::aws_smithy_runtime_api::client::result::SdkError<
7648            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7649            R,
7650        >,
7651    ) -> Self {
7652        match err {
7653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7656                source: err.into(),
7657            }),
7658        }
7659    }
7660}
7661impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
7662    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
7663        match err {
7664            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
7665                Error::Unhandled(inner)
7666            }
7667        }
7668    }
7669}
7670impl<R>
7671    From<
7672        ::aws_smithy_runtime_api::client::result::SdkError<
7673            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7674            R,
7675        >,
7676    > for Error
7677where
7678    R: Send + Sync + std::fmt::Debug + 'static,
7679{
7680    fn from(
7681        err: ::aws_smithy_runtime_api::client::result::SdkError<
7682            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7683            R,
7684        >,
7685    ) -> Self {
7686        match err {
7687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7690                source: err.into(),
7691            }),
7692        }
7693    }
7694}
7695impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
7696    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
7697        match err {
7698            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
7699                Error::Unhandled(inner)
7700            }
7701        }
7702    }
7703}
7704impl<R>
7705    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
7706    for Error
7707where
7708    R: Send + Sync + std::fmt::Debug + 'static,
7709{
7710    fn from(
7711        err: ::aws_smithy_runtime_api::client::result::SdkError<
7712            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
7713            R,
7714        >,
7715    ) -> Self {
7716        match err {
7717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7720                source: err.into(),
7721            }),
7722        }
7723    }
7724}
7725impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
7726    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
7727        match err {
7728            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
7729        }
7730    }
7731}
7732impl<R>
7733    From<
7734        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
7735    > for Error
7736where
7737    R: Send + Sync + std::fmt::Debug + 'static,
7738{
7739    fn from(
7740        err: ::aws_smithy_runtime_api::client::result::SdkError<
7741            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
7742            R,
7743        >,
7744    ) -> Self {
7745        match err {
7746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7749                source: err.into(),
7750            }),
7751        }
7752    }
7753}
7754impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
7755    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
7756        match err {
7757            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7758        }
7759    }
7760}
7761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
7762where
7763    R: Send + Sync + std::fmt::Debug + 'static,
7764{
7765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
7766        match err {
7767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7770                source: err.into(),
7771            }),
7772        }
7773    }
7774}
7775impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
7776    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
7777        match err {
7778            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7779        }
7780    }
7781}
7782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
7783where
7784    R: Send + Sync + std::fmt::Debug + 'static,
7785{
7786    fn from(
7787        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
7788    ) -> Self {
7789        match err {
7790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7793                source: err.into(),
7794            }),
7795        }
7796    }
7797}
7798impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
7799    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
7800        match err {
7801            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
7802        }
7803    }
7804}
7805impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
7806    for Error
7807where
7808    R: Send + Sync + std::fmt::Debug + 'static,
7809{
7810    fn from(
7811        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
7812    ) -> Self {
7813        match err {
7814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7817                source: err.into(),
7818            }),
7819        }
7820    }
7821}
7822impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
7823    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
7824        match err {
7825            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
7826        }
7827    }
7828}
7829impl<R>
7830    From<
7831        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
7832    > for Error
7833where
7834    R: Send + Sync + std::fmt::Debug + 'static,
7835{
7836    fn from(
7837        err: ::aws_smithy_runtime_api::client::result::SdkError<
7838            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
7839            R,
7840        >,
7841    ) -> Self {
7842        match err {
7843            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7844            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7845                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7846                source: err.into(),
7847            }),
7848        }
7849    }
7850}
7851impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
7852    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
7853        match err {
7854            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7855        }
7856    }
7857}
7858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
7859where
7860    R: Send + Sync + std::fmt::Debug + 'static,
7861{
7862    fn from(
7863        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
7864    ) -> Self {
7865        match err {
7866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7869                source: err.into(),
7870            }),
7871        }
7872    }
7873}
7874impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
7875    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
7876        match err {
7877            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
7878        }
7879    }
7880}
7881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
7882    for Error
7883where
7884    R: Send + Sync + std::fmt::Debug + 'static,
7885{
7886    fn from(
7887        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
7888    ) -> Self {
7889        match err {
7890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7893                source: err.into(),
7894            }),
7895        }
7896    }
7897}
7898impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
7899    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
7900        match err {
7901            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7902        }
7903    }
7904}
7905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
7906where
7907    R: Send + Sync + std::fmt::Debug + 'static,
7908{
7909    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
7910        match err {
7911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7914                source: err.into(),
7915            }),
7916        }
7917    }
7918}
7919impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
7920    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
7921        match err {
7922            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
7923        }
7924    }
7925}
7926impl<R>
7927    From<
7928        ::aws_smithy_runtime_api::client::result::SdkError<
7929            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7930            R,
7931        >,
7932    > for Error
7933where
7934    R: Send + Sync + std::fmt::Debug + 'static,
7935{
7936    fn from(
7937        err: ::aws_smithy_runtime_api::client::result::SdkError<
7938            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7939            R,
7940        >,
7941    ) -> Self {
7942        match err {
7943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7946                source: err.into(),
7947            }),
7948        }
7949    }
7950}
7951impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
7952    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
7953        match err {
7954            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
7955                inner,
7956            ) => Error::Unhandled(inner),
7957        }
7958    }
7959}
7960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
7961where
7962    R: Send + Sync + std::fmt::Debug + 'static,
7963{
7964    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
7965        match err {
7966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7969                source: err.into(),
7970            }),
7971        }
7972    }
7973}
7974impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
7975    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
7976        match err {
7977            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7978        }
7979    }
7980}
7981impl<R>
7982    From<
7983        ::aws_smithy_runtime_api::client::result::SdkError<
7984            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
7985            R,
7986        >,
7987    > for Error
7988where
7989    R: Send + Sync + std::fmt::Debug + 'static,
7990{
7991    fn from(
7992        err: ::aws_smithy_runtime_api::client::result::SdkError<
7993            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
7994            R,
7995        >,
7996    ) -> Self {
7997        match err {
7998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8001                source: err.into(),
8002            }),
8003        }
8004    }
8005}
8006impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8007    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8008        match err {
8009            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8010        }
8011    }
8012}
8013impl<R>
8014    From<
8015        ::aws_smithy_runtime_api::client::result::SdkError<
8016            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8017            R,
8018        >,
8019    > for Error
8020where
8021    R: Send + Sync + std::fmt::Debug + 'static,
8022{
8023    fn from(
8024        err: ::aws_smithy_runtime_api::client::result::SdkError<
8025            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8026            R,
8027        >,
8028    ) -> Self {
8029        match err {
8030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8033                source: err.into(),
8034            }),
8035        }
8036    }
8037}
8038impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8039    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8040        match err {
8041            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8042                Error::Unhandled(inner)
8043            }
8044        }
8045    }
8046}
8047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8048where
8049    R: Send + Sync + std::fmt::Debug + 'static,
8050{
8051    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8052        match err {
8053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8056                source: err.into(),
8057            }),
8058        }
8059    }
8060}
8061impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8062    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8063        match err {
8064            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8065        }
8066    }
8067}
8068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8069where
8070    R: Send + Sync + std::fmt::Debug + 'static,
8071{
8072    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8073        match err {
8074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8077                source: err.into(),
8078            }),
8079        }
8080    }
8081}
8082impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8083    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8084        match err {
8085            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8086        }
8087    }
8088}
8089impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8090where
8091    R: Send + Sync + std::fmt::Debug + 'static,
8092{
8093    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8094        match err {
8095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8098                source: err.into(),
8099            }),
8100        }
8101    }
8102}
8103impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8104    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8105        match err {
8106            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8107        }
8108    }
8109}
8110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8111where
8112    R: Send + Sync + std::fmt::Debug + 'static,
8113{
8114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8115        match err {
8116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8119                source: err.into(),
8120            }),
8121        }
8122    }
8123}
8124impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
8125    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8126        match err {
8127            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8128        }
8129    }
8130}
8131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
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<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
8138    ) -> Self {
8139        match err {
8140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8143                source: err.into(),
8144            }),
8145        }
8146    }
8147}
8148impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
8149    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8150        match err {
8151            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8152        }
8153    }
8154}
8155impl<R>
8156    From<
8157        ::aws_smithy_runtime_api::client::result::SdkError<
8158            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8159            R,
8160        >,
8161    > for Error
8162where
8163    R: Send + Sync + std::fmt::Debug + 'static,
8164{
8165    fn from(
8166        err: ::aws_smithy_runtime_api::client::result::SdkError<
8167            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8168            R,
8169        >,
8170    ) -> Self {
8171        match err {
8172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8175                source: err.into(),
8176            }),
8177        }
8178    }
8179}
8180impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8181    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8182        match err {
8183            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8184        }
8185    }
8186}
8187impl<R>
8188    From<
8189        ::aws_smithy_runtime_api::client::result::SdkError<
8190            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8191            R,
8192        >,
8193    > for Error
8194where
8195    R: Send + Sync + std::fmt::Debug + 'static,
8196{
8197    fn from(
8198        err: ::aws_smithy_runtime_api::client::result::SdkError<
8199            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8200            R,
8201        >,
8202    ) -> Self {
8203        match err {
8204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8207                source: err.into(),
8208            }),
8209        }
8210    }
8211}
8212impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8213    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8214        match err {
8215            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8216        }
8217    }
8218}
8219impl<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 {
8220    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8221        match err {
8222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8223            _ => Error::Unhandled(
8224                                        crate::error::sealed_unhandled::Unhandled {
8225                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8226                                            source: err.into(),
8227                                        }
8228                                    ),
8229        }
8230    }
8231}
8232impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8233    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8234        match err {
8235            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8236        }
8237    }
8238}
8239impl<R>
8240    From<
8241        ::aws_smithy_runtime_api::client::result::SdkError<
8242            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8243            R,
8244        >,
8245    > for Error
8246where
8247    R: Send + Sync + std::fmt::Debug + 'static,
8248{
8249    fn from(
8250        err: ::aws_smithy_runtime_api::client::result::SdkError<
8251            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8252            R,
8253        >,
8254    ) -> Self {
8255        match err {
8256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8259                source: err.into(),
8260            }),
8261        }
8262    }
8263}
8264impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8265    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8266        match err {
8267            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8268                inner,
8269            ) => Error::Unhandled(inner),
8270        }
8271    }
8272}
8273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8274where
8275    R: Send + Sync + std::fmt::Debug + 'static,
8276{
8277    fn from(
8278        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8279    ) -> Self {
8280        match err {
8281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8284                source: err.into(),
8285            }),
8286        }
8287    }
8288}
8289impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8290    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8291        match err {
8292            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8293        }
8294    }
8295}
8296impl<R>
8297    From<
8298        ::aws_smithy_runtime_api::client::result::SdkError<
8299            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8300            R,
8301        >,
8302    > for Error
8303where
8304    R: Send + Sync + std::fmt::Debug + 'static,
8305{
8306    fn from(
8307        err: ::aws_smithy_runtime_api::client::result::SdkError<
8308            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8309            R,
8310        >,
8311    ) -> Self {
8312        match err {
8313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8316                source: err.into(),
8317            }),
8318        }
8319    }
8320}
8321impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
8322    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
8323        match err {
8324            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
8325                Error::Unhandled(inner)
8326            }
8327        }
8328    }
8329}
8330impl<R>
8331    From<
8332        ::aws_smithy_runtime_api::client::result::SdkError<
8333            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8334            R,
8335        >,
8336    > for Error
8337where
8338    R: Send + Sync + std::fmt::Debug + 'static,
8339{
8340    fn from(
8341        err: ::aws_smithy_runtime_api::client::result::SdkError<
8342            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8343            R,
8344        >,
8345    ) -> Self {
8346        match err {
8347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8350                source: err.into(),
8351            }),
8352        }
8353    }
8354}
8355impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
8356    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
8357        match err {
8358            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
8359                Error::Unhandled(inner)
8360            }
8361        }
8362    }
8363}
8364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8365    for Error
8366where
8367    R: Send + Sync + std::fmt::Debug + 'static,
8368{
8369    fn from(
8370        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8371    ) -> Self {
8372        match err {
8373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8376                source: err.into(),
8377            }),
8378        }
8379    }
8380}
8381impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8382    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8383        match err {
8384            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8385        }
8386    }
8387}
8388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8389where
8390    R: Send + Sync + std::fmt::Debug + 'static,
8391{
8392    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8393        match err {
8394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8397                source: err.into(),
8398            }),
8399        }
8400    }
8401}
8402impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8403    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8404        match err {
8405            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8406        }
8407    }
8408}
8409impl<R>
8410    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
8411    for Error
8412where
8413    R: Send + Sync + std::fmt::Debug + 'static,
8414{
8415    fn from(
8416        err: ::aws_smithy_runtime_api::client::result::SdkError<
8417            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
8418            R,
8419        >,
8420    ) -> Self {
8421        match err {
8422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8425                source: err.into(),
8426            }),
8427        }
8428    }
8429}
8430impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
8431    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
8432        match err {
8433            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
8434        }
8435    }
8436}
8437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
8438    for Error
8439where
8440    R: Send + Sync + std::fmt::Debug + 'static,
8441{
8442    fn from(
8443        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
8444    ) -> Self {
8445        match err {
8446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8449                source: err.into(),
8450            }),
8451        }
8452    }
8453}
8454impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
8455    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
8456        match err {
8457            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8458        }
8459    }
8460}
8461impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
8462    for Error
8463where
8464    R: Send + Sync + std::fmt::Debug + 'static,
8465{
8466    fn from(
8467        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
8468    ) -> Self {
8469        match err {
8470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8473                source: err.into(),
8474            }),
8475        }
8476    }
8477}
8478impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
8479    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
8480        match err {
8481            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
8482        }
8483    }
8484}
8485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
8486where
8487    R: Send + Sync + std::fmt::Debug + 'static,
8488{
8489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
8490        match err {
8491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8494                source: err.into(),
8495            }),
8496        }
8497    }
8498}
8499impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
8500    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
8501        match err {
8502            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8503        }
8504    }
8505}
8506impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
8507where
8508    R: Send + Sync + std::fmt::Debug + 'static,
8509{
8510    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
8511        match err {
8512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8515                source: err.into(),
8516            }),
8517        }
8518    }
8519}
8520impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
8521    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
8522        match err {
8523            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
8524        }
8525    }
8526}
8527impl<R>
8528    From<
8529        ::aws_smithy_runtime_api::client::result::SdkError<
8530            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8531            R,
8532        >,
8533    > for Error
8534where
8535    R: Send + Sync + std::fmt::Debug + 'static,
8536{
8537    fn from(
8538        err: ::aws_smithy_runtime_api::client::result::SdkError<
8539            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8540            R,
8541        >,
8542    ) -> Self {
8543        match err {
8544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8547                source: err.into(),
8548            }),
8549        }
8550    }
8551}
8552impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
8553    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
8554        match err {
8555            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
8556                Error::Unhandled(inner)
8557            }
8558        }
8559    }
8560}
8561impl<R>
8562    From<
8563        ::aws_smithy_runtime_api::client::result::SdkError<
8564            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8565            R,
8566        >,
8567    > for Error
8568where
8569    R: Send + Sync + std::fmt::Debug + 'static,
8570{
8571    fn from(
8572        err: ::aws_smithy_runtime_api::client::result::SdkError<
8573            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8574            R,
8575        >,
8576    ) -> Self {
8577        match err {
8578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8581                source: err.into(),
8582            }),
8583        }
8584    }
8585}
8586impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
8587    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
8588        match err {
8589            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
8590                Error::Unhandled(inner)
8591            }
8592        }
8593    }
8594}
8595impl<R>
8596    From<
8597        ::aws_smithy_runtime_api::client::result::SdkError<
8598            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8599            R,
8600        >,
8601    > for Error
8602where
8603    R: Send + Sync + std::fmt::Debug + 'static,
8604{
8605    fn from(
8606        err: ::aws_smithy_runtime_api::client::result::SdkError<
8607            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8608            R,
8609        >,
8610    ) -> Self {
8611        match err {
8612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8615                source: err.into(),
8616            }),
8617        }
8618    }
8619}
8620impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
8621    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
8622        match err {
8623            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
8624        }
8625    }
8626}
8627impl<R>
8628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
8629    for Error
8630where
8631    R: Send + Sync + std::fmt::Debug + 'static,
8632{
8633    fn from(
8634        err: ::aws_smithy_runtime_api::client::result::SdkError<
8635            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
8636            R,
8637        >,
8638    ) -> Self {
8639        match err {
8640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8643                source: err.into(),
8644            }),
8645        }
8646    }
8647}
8648impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
8649    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
8650        match err {
8651            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
8652        }
8653    }
8654}
8655impl<R>
8656    From<
8657        ::aws_smithy_runtime_api::client::result::SdkError<
8658            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8659            R,
8660        >,
8661    > for Error
8662where
8663    R: Send + Sync + std::fmt::Debug + 'static,
8664{
8665    fn from(
8666        err: ::aws_smithy_runtime_api::client::result::SdkError<
8667            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8668            R,
8669        >,
8670    ) -> Self {
8671        match err {
8672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8675                source: err.into(),
8676            }),
8677        }
8678    }
8679}
8680impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
8681    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
8682        match err {
8683            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
8684                Error::Unhandled(inner)
8685            }
8686        }
8687    }
8688}
8689impl<R>
8690    From<
8691        ::aws_smithy_runtime_api::client::result::SdkError<
8692            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8693            R,
8694        >,
8695    > for Error
8696where
8697    R: Send + Sync + std::fmt::Debug + 'static,
8698{
8699    fn from(
8700        err: ::aws_smithy_runtime_api::client::result::SdkError<
8701            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8702            R,
8703        >,
8704    ) -> Self {
8705        match err {
8706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8709                source: err.into(),
8710            }),
8711        }
8712    }
8713}
8714impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
8715    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
8716        match err {
8717            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
8718                Error::Unhandled(inner)
8719            }
8720        }
8721    }
8722}
8723impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
8724    for Error
8725where
8726    R: Send + Sync + std::fmt::Debug + 'static,
8727{
8728    fn from(
8729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
8730    ) -> Self {
8731        match err {
8732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8735                source: err.into(),
8736            }),
8737        }
8738    }
8739}
8740impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
8741    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
8742        match err {
8743            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
8744        }
8745    }
8746}
8747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
8748where
8749    R: Send + Sync + std::fmt::Debug + 'static,
8750{
8751    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
8752        match err {
8753            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8754            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8755                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8756                source: err.into(),
8757            }),
8758        }
8759    }
8760}
8761impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
8762    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
8763        match err {
8764            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
8765        }
8766    }
8767}
8768impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
8769    for Error
8770where
8771    R: Send + Sync + std::fmt::Debug + 'static,
8772{
8773    fn from(
8774        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
8775    ) -> Self {
8776        match err {
8777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8780                source: err.into(),
8781            }),
8782        }
8783    }
8784}
8785impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
8786    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
8787        match err {
8788            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
8789        }
8790    }
8791}
8792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
8793where
8794    R: Send + Sync + std::fmt::Debug + 'static,
8795{
8796    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
8797        match err {
8798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8801                source: err.into(),
8802            }),
8803        }
8804    }
8805}
8806impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
8807    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
8808        match err {
8809            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8810        }
8811    }
8812}
8813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
8814    for Error
8815where
8816    R: Send + Sync + std::fmt::Debug + 'static,
8817{
8818    fn from(
8819        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
8820    ) -> Self {
8821        match err {
8822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8825                source: err.into(),
8826            }),
8827        }
8828    }
8829}
8830impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
8831    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
8832        match err {
8833            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8834        }
8835    }
8836}
8837impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
8838    for Error
8839where
8840    R: Send + Sync + std::fmt::Debug + 'static,
8841{
8842    fn from(
8843        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
8844    ) -> Self {
8845        match err {
8846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8849                source: err.into(),
8850            }),
8851        }
8852    }
8853}
8854impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
8855    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
8856        match err {
8857            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8858        }
8859    }
8860}
8861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
8862where
8863    R: Send + Sync + std::fmt::Debug + 'static,
8864{
8865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
8866        match err {
8867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8870                source: err.into(),
8871            }),
8872        }
8873    }
8874}
8875impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
8876    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
8877        match err {
8878            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
8879        }
8880    }
8881}
8882impl<R>
8883    From<
8884        ::aws_smithy_runtime_api::client::result::SdkError<
8885            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8886            R,
8887        >,
8888    > for Error
8889where
8890    R: Send + Sync + std::fmt::Debug + 'static,
8891{
8892    fn from(
8893        err: ::aws_smithy_runtime_api::client::result::SdkError<
8894            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8895            R,
8896        >,
8897    ) -> Self {
8898        match err {
8899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8902                source: err.into(),
8903            }),
8904        }
8905    }
8906}
8907impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
8908    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
8909        match err {
8910            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
8911        }
8912    }
8913}
8914impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
8915    for Error
8916where
8917    R: Send + Sync + std::fmt::Debug + 'static,
8918{
8919    fn from(
8920        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
8921    ) -> Self {
8922        match err {
8923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8926                source: err.into(),
8927            }),
8928        }
8929    }
8930}
8931impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
8932    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
8933        match err {
8934            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8935        }
8936    }
8937}
8938impl<R>
8939    From<
8940        ::aws_smithy_runtime_api::client::result::SdkError<
8941            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8942            R,
8943        >,
8944    > for Error
8945where
8946    R: Send + Sync + std::fmt::Debug + 'static,
8947{
8948    fn from(
8949        err: ::aws_smithy_runtime_api::client::result::SdkError<
8950            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8951            R,
8952        >,
8953    ) -> Self {
8954        match err {
8955            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8956            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8957                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8958                source: err.into(),
8959            }),
8960        }
8961    }
8962}
8963impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
8964    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
8965        match err {
8966            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
8967                Error::Unhandled(inner)
8968            }
8969        }
8970    }
8971}
8972impl<R>
8973    From<
8974        ::aws_smithy_runtime_api::client::result::SdkError<
8975            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
8976            R,
8977        >,
8978    > for Error
8979where
8980    R: Send + Sync + std::fmt::Debug + 'static,
8981{
8982    fn from(
8983        err: ::aws_smithy_runtime_api::client::result::SdkError<
8984            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
8985            R,
8986        >,
8987    ) -> Self {
8988        match err {
8989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8992                source: err.into(),
8993            }),
8994        }
8995    }
8996}
8997impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
8998    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
8999        match err {
9000            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9001                Error::Unhandled(inner)
9002            }
9003        }
9004    }
9005}
9006impl<R>
9007    From<
9008        ::aws_smithy_runtime_api::client::result::SdkError<
9009            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9010            R,
9011        >,
9012    > for Error
9013where
9014    R: Send + Sync + std::fmt::Debug + 'static,
9015{
9016    fn from(
9017        err: ::aws_smithy_runtime_api::client::result::SdkError<
9018            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9019            R,
9020        >,
9021    ) -> Self {
9022        match err {
9023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9026                source: err.into(),
9027            }),
9028        }
9029    }
9030}
9031impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9032    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9033        match err {
9034            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9035                Error::Unhandled(inner)
9036            }
9037        }
9038    }
9039}
9040impl<R>
9041    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9042    for Error
9043where
9044    R: Send + Sync + std::fmt::Debug + 'static,
9045{
9046    fn from(
9047        err: ::aws_smithy_runtime_api::client::result::SdkError<
9048            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9049            R,
9050        >,
9051    ) -> Self {
9052        match err {
9053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9056                source: err.into(),
9057            }),
9058        }
9059    }
9060}
9061impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9062    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9063        match err {
9064            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9065        }
9066    }
9067}
9068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9069    for Error
9070where
9071    R: Send + Sync + std::fmt::Debug + 'static,
9072{
9073    fn from(
9074        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9075    ) -> Self {
9076        match err {
9077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9080                source: err.into(),
9081            }),
9082        }
9083    }
9084}
9085impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9086    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9087        match err {
9088            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9089        }
9090    }
9091}
9092impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9093where
9094    R: Send + Sync + std::fmt::Debug + 'static,
9095{
9096    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9097        match err {
9098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9101                source: err.into(),
9102            }),
9103        }
9104    }
9105}
9106impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9107    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9108        match err {
9109            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9110        }
9111    }
9112}
9113impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9114where
9115    R: Send + Sync + std::fmt::Debug + 'static,
9116{
9117    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9118        match err {
9119            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9120            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9121                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9122                source: err.into(),
9123            }),
9124        }
9125    }
9126}
9127impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9128    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9129        match err {
9130            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9131        }
9132    }
9133}
9134impl<R>
9135    From<
9136        ::aws_smithy_runtime_api::client::result::SdkError<
9137            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9138            R,
9139        >,
9140    > for Error
9141where
9142    R: Send + Sync + std::fmt::Debug + 'static,
9143{
9144    fn from(
9145        err: ::aws_smithy_runtime_api::client::result::SdkError<
9146            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9147            R,
9148        >,
9149    ) -> Self {
9150        match err {
9151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9154                source: err.into(),
9155            }),
9156        }
9157    }
9158}
9159impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9160    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9161        match err {
9162            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9163                Error::Unhandled(inner)
9164            }
9165        }
9166    }
9167}
9168impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
9169    for Error
9170where
9171    R: Send + Sync + std::fmt::Debug + 'static,
9172{
9173    fn from(
9174        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9175    ) -> Self {
9176        match err {
9177            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9178            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9179                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9180                source: err.into(),
9181            }),
9182        }
9183    }
9184}
9185impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9186    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9187        match err {
9188            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9189        }
9190    }
9191}
9192impl<R>
9193    From<
9194        ::aws_smithy_runtime_api::client::result::SdkError<
9195            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9196            R,
9197        >,
9198    > for Error
9199where
9200    R: Send + Sync + std::fmt::Debug + 'static,
9201{
9202    fn from(
9203        err: ::aws_smithy_runtime_api::client::result::SdkError<
9204            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9205            R,
9206        >,
9207    ) -> Self {
9208        match err {
9209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9212                source: err.into(),
9213            }),
9214        }
9215    }
9216}
9217impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9218    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9219        match err {
9220            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9221        }
9222    }
9223}
9224impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9225    for Error
9226where
9227    R: Send + Sync + std::fmt::Debug + 'static,
9228{
9229    fn from(
9230        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
9231    ) -> Self {
9232        match err {
9233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9236                source: err.into(),
9237            }),
9238        }
9239    }
9240}
9241impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9242    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9243        match err {
9244            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9245        }
9246    }
9247}
9248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9249where
9250    R: Send + Sync + std::fmt::Debug + 'static,
9251{
9252    fn from(
9253        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9254    ) -> Self {
9255        match err {
9256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9259                source: err.into(),
9260            }),
9261        }
9262    }
9263}
9264impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9265    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9266        match err {
9267            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9268        }
9269    }
9270}
9271impl<R>
9272    From<
9273        ::aws_smithy_runtime_api::client::result::SdkError<
9274            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9275            R,
9276        >,
9277    > for Error
9278where
9279    R: Send + Sync + std::fmt::Debug + 'static,
9280{
9281    fn from(
9282        err: ::aws_smithy_runtime_api::client::result::SdkError<
9283            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9284            R,
9285        >,
9286    ) -> Self {
9287        match err {
9288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9291                source: err.into(),
9292            }),
9293        }
9294    }
9295}
9296impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9297    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9298        match err {
9299            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9300                Error::Unhandled(inner)
9301            }
9302        }
9303    }
9304}
9305impl<R>
9306    From<
9307        ::aws_smithy_runtime_api::client::result::SdkError<
9308            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9309            R,
9310        >,
9311    > for Error
9312where
9313    R: Send + Sync + std::fmt::Debug + 'static,
9314{
9315    fn from(
9316        err: ::aws_smithy_runtime_api::client::result::SdkError<
9317            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9318            R,
9319        >,
9320    ) -> Self {
9321        match err {
9322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9325                source: err.into(),
9326            }),
9327        }
9328    }
9329}
9330impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
9331    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
9332        match err {
9333            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
9334                Error::Unhandled(inner)
9335            }
9336        }
9337    }
9338}
9339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
9340    for Error
9341where
9342    R: Send + Sync + std::fmt::Debug + 'static,
9343{
9344    fn from(
9345        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
9346    ) -> Self {
9347        match err {
9348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9351                source: err.into(),
9352            }),
9353        }
9354    }
9355}
9356impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
9357    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
9358        match err {
9359            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9360        }
9361    }
9362}
9363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
9364where
9365    R: Send + Sync + std::fmt::Debug + 'static,
9366{
9367    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
9368        match err {
9369            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9370            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9371                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9372                source: err.into(),
9373            }),
9374        }
9375    }
9376}
9377impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
9378    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
9379        match err {
9380            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9381        }
9382    }
9383}
9384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
9385    for Error
9386where
9387    R: Send + Sync + std::fmt::Debug + 'static,
9388{
9389    fn from(
9390        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
9391    ) -> Self {
9392        match err {
9393            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9394            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9395                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9396                source: err.into(),
9397            }),
9398        }
9399    }
9400}
9401impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
9402    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
9403        match err {
9404            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
9405        }
9406    }
9407}
9408impl<R>
9409    From<
9410        ::aws_smithy_runtime_api::client::result::SdkError<
9411            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9412            R,
9413        >,
9414    > for Error
9415where
9416    R: Send + Sync + std::fmt::Debug + 'static,
9417{
9418    fn from(
9419        err: ::aws_smithy_runtime_api::client::result::SdkError<
9420            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9421            R,
9422        >,
9423    ) -> Self {
9424        match err {
9425            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9426            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9427                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9428                source: err.into(),
9429            }),
9430        }
9431    }
9432}
9433impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
9434    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
9435        match err {
9436            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
9437        }
9438    }
9439}
9440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
9441    for Error
9442where
9443    R: Send + Sync + std::fmt::Debug + 'static,
9444{
9445    fn from(
9446        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
9447    ) -> Self {
9448        match err {
9449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9452                source: err.into(),
9453            }),
9454        }
9455    }
9456}
9457impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
9458    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
9459        match err {
9460            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9461        }
9462    }
9463}
9464impl<R>
9465    From<
9466        ::aws_smithy_runtime_api::client::result::SdkError<
9467            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9468            R,
9469        >,
9470    > for Error
9471where
9472    R: Send + Sync + std::fmt::Debug + 'static,
9473{
9474    fn from(
9475        err: ::aws_smithy_runtime_api::client::result::SdkError<
9476            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9477            R,
9478        >,
9479    ) -> Self {
9480        match err {
9481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9484                source: err.into(),
9485            }),
9486        }
9487    }
9488}
9489impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
9490    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
9491        match err {
9492            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9493        }
9494    }
9495}
9496impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
9497    for Error
9498where
9499    R: Send + Sync + std::fmt::Debug + 'static,
9500{
9501    fn from(
9502        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
9503    ) -> Self {
9504        match err {
9505            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9506            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9507                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9508                source: err.into(),
9509            }),
9510        }
9511    }
9512}
9513impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
9514    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
9515        match err {
9516            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9517        }
9518    }
9519}
9520impl<R>
9521    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
9522    for Error
9523where
9524    R: Send + Sync + std::fmt::Debug + 'static,
9525{
9526    fn from(
9527        err: ::aws_smithy_runtime_api::client::result::SdkError<
9528            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
9529            R,
9530        >,
9531    ) -> Self {
9532        match err {
9533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9536                source: err.into(),
9537            }),
9538        }
9539    }
9540}
9541impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
9542    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
9543        match err {
9544            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9545        }
9546    }
9547}
9548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
9549    for Error
9550where
9551    R: Send + Sync + std::fmt::Debug + 'static,
9552{
9553    fn from(
9554        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
9555    ) -> Self {
9556        match err {
9557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9560                source: err.into(),
9561            }),
9562        }
9563    }
9564}
9565impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
9566    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
9567        match err {
9568            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9569        }
9570    }
9571}
9572impl<R>
9573    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
9574    for Error
9575where
9576    R: Send + Sync + std::fmt::Debug + 'static,
9577{
9578    fn from(
9579        err: ::aws_smithy_runtime_api::client::result::SdkError<
9580            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
9581            R,
9582        >,
9583    ) -> Self {
9584        match err {
9585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9588                source: err.into(),
9589            }),
9590        }
9591    }
9592}
9593impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
9594    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
9595        match err {
9596            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9597        }
9598    }
9599}
9600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
9601    for Error
9602where
9603    R: Send + Sync + std::fmt::Debug + 'static,
9604{
9605    fn from(
9606        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
9607    ) -> Self {
9608        match err {
9609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9612                source: err.into(),
9613            }),
9614        }
9615    }
9616}
9617impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
9618    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
9619        match err {
9620            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
9621        }
9622    }
9623}
9624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
9625where
9626    R: Send + Sync + std::fmt::Debug + 'static,
9627{
9628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
9629        match err {
9630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9633                source: err.into(),
9634            }),
9635        }
9636    }
9637}
9638impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
9639    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
9640        match err {
9641            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
9642        }
9643    }
9644}
9645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
9646where
9647    R: Send + Sync + std::fmt::Debug + 'static,
9648{
9649    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
9650        match err {
9651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9654                source: err.into(),
9655            }),
9656        }
9657    }
9658}
9659impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
9660    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
9661        match err {
9662            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
9663        }
9664    }
9665}
9666impl<R>
9667    From<
9668        ::aws_smithy_runtime_api::client::result::SdkError<
9669            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9670            R,
9671        >,
9672    > for Error
9673where
9674    R: Send + Sync + std::fmt::Debug + 'static,
9675{
9676    fn from(
9677        err: ::aws_smithy_runtime_api::client::result::SdkError<
9678            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9679            R,
9680        >,
9681    ) -> Self {
9682        match err {
9683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9686                source: err.into(),
9687            }),
9688        }
9689    }
9690}
9691impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
9692    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
9693        match err {
9694            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
9695                Error::Unhandled(inner)
9696            }
9697        }
9698    }
9699}
9700impl<R>
9701    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
9702    for Error
9703where
9704    R: Send + Sync + std::fmt::Debug + 'static,
9705{
9706    fn from(
9707        err: ::aws_smithy_runtime_api::client::result::SdkError<
9708            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
9709            R,
9710        >,
9711    ) -> Self {
9712        match err {
9713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9716                source: err.into(),
9717            }),
9718        }
9719    }
9720}
9721impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
9722    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
9723        match err {
9724            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
9725        }
9726    }
9727}
9728impl<R>
9729    From<
9730        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
9731    > for Error
9732where
9733    R: Send + Sync + std::fmt::Debug + 'static,
9734{
9735    fn from(
9736        err: ::aws_smithy_runtime_api::client::result::SdkError<
9737            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
9738            R,
9739        >,
9740    ) -> Self {
9741        match err {
9742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9745                source: err.into(),
9746            }),
9747        }
9748    }
9749}
9750impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
9751    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
9752        match err {
9753            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
9754        }
9755    }
9756}
9757impl<R>
9758    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
9759    for Error
9760where
9761    R: Send + Sync + std::fmt::Debug + 'static,
9762{
9763    fn from(
9764        err: ::aws_smithy_runtime_api::client::result::SdkError<
9765            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
9766            R,
9767        >,
9768    ) -> Self {
9769        match err {
9770            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9771            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9772                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9773                source: err.into(),
9774            }),
9775        }
9776    }
9777}
9778impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
9779    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
9780        match err {
9781            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
9782        }
9783    }
9784}
9785impl<R>
9786    From<
9787        ::aws_smithy_runtime_api::client::result::SdkError<
9788            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9789            R,
9790        >,
9791    > for Error
9792where
9793    R: Send + Sync + std::fmt::Debug + 'static,
9794{
9795    fn from(
9796        err: ::aws_smithy_runtime_api::client::result::SdkError<
9797            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9798            R,
9799        >,
9800    ) -> Self {
9801        match err {
9802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9805                source: err.into(),
9806            }),
9807        }
9808    }
9809}
9810impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
9811    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
9812        match err {
9813            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
9814                Error::Unhandled(inner)
9815            }
9816        }
9817    }
9818}
9819impl<R>
9820    From<
9821        ::aws_smithy_runtime_api::client::result::SdkError<
9822            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9823            R,
9824        >,
9825    > for Error
9826where
9827    R: Send + Sync + std::fmt::Debug + 'static,
9828{
9829    fn from(
9830        err: ::aws_smithy_runtime_api::client::result::SdkError<
9831            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9832            R,
9833        >,
9834    ) -> Self {
9835        match err {
9836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9839                source: err.into(),
9840            }),
9841        }
9842    }
9843}
9844impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
9845    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
9846        match err {
9847            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
9848                Error::Unhandled(inner)
9849            }
9850        }
9851    }
9852}
9853impl<R>
9854    From<
9855        ::aws_smithy_runtime_api::client::result::SdkError<
9856            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9857            R,
9858        >,
9859    > for Error
9860where
9861    R: Send + Sync + std::fmt::Debug + 'static,
9862{
9863    fn from(
9864        err: ::aws_smithy_runtime_api::client::result::SdkError<
9865            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9866            R,
9867        >,
9868    ) -> Self {
9869        match err {
9870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9873                source: err.into(),
9874            }),
9875        }
9876    }
9877}
9878impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
9879    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
9880        match err {
9881            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
9882        }
9883    }
9884}
9885impl<R>
9886    From<
9887        ::aws_smithy_runtime_api::client::result::SdkError<
9888            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
9889            R,
9890        >,
9891    > for Error
9892where
9893    R: Send + Sync + std::fmt::Debug + 'static,
9894{
9895    fn from(
9896        err: ::aws_smithy_runtime_api::client::result::SdkError<
9897            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
9898            R,
9899        >,
9900    ) -> Self {
9901        match err {
9902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9905                source: err.into(),
9906            }),
9907        }
9908    }
9909}
9910impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
9911    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
9912        match err {
9913            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
9914                Error::Unhandled(inner)
9915            }
9916        }
9917    }
9918}
9919impl<R>
9920    From<
9921        ::aws_smithy_runtime_api::client::result::SdkError<
9922            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9923            R,
9924        >,
9925    > for Error
9926where
9927    R: Send + Sync + std::fmt::Debug + 'static,
9928{
9929    fn from(
9930        err: ::aws_smithy_runtime_api::client::result::SdkError<
9931            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9932            R,
9933        >,
9934    ) -> Self {
9935        match err {
9936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9939                source: err.into(),
9940            }),
9941        }
9942    }
9943}
9944impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
9945    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
9946        match err {
9947            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
9948                Error::Unhandled(inner)
9949            }
9950        }
9951    }
9952}
9953impl<R>
9954    From<
9955        ::aws_smithy_runtime_api::client::result::SdkError<
9956            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
9957            R,
9958        >,
9959    > for Error
9960where
9961    R: Send + Sync + std::fmt::Debug + 'static,
9962{
9963    fn from(
9964        err: ::aws_smithy_runtime_api::client::result::SdkError<
9965            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
9966            R,
9967        >,
9968    ) -> Self {
9969        match err {
9970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9973                source: err.into(),
9974            }),
9975        }
9976    }
9977}
9978impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
9979    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
9980        match err {
9981            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
9982                Error::Unhandled(inner)
9983            }
9984        }
9985    }
9986}
9987impl<R>
9988    From<
9989        ::aws_smithy_runtime_api::client::result::SdkError<
9990            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
9991            R,
9992        >,
9993    > for Error
9994where
9995    R: Send + Sync + std::fmt::Debug + 'static,
9996{
9997    fn from(
9998        err: ::aws_smithy_runtime_api::client::result::SdkError<
9999            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10000            R,
10001        >,
10002    ) -> Self {
10003        match err {
10004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10007                source: err.into(),
10008            }),
10009        }
10010    }
10011}
10012impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10013    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10014        match err {
10015            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10016                inner,
10017            ) => Error::Unhandled(inner),
10018        }
10019    }
10020}
10021impl<R>
10022    From<
10023        ::aws_smithy_runtime_api::client::result::SdkError<
10024            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10025            R,
10026        >,
10027    > for Error
10028where
10029    R: Send + Sync + std::fmt::Debug + 'static,
10030{
10031    fn from(
10032        err: ::aws_smithy_runtime_api::client::result::SdkError<
10033            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10034            R,
10035        >,
10036    ) -> Self {
10037        match err {
10038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10041                source: err.into(),
10042            }),
10043        }
10044    }
10045}
10046impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10047    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10048        match err {
10049            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10050                Error::Unhandled(inner)
10051            }
10052        }
10053    }
10054}
10055impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10056    for Error
10057where
10058    R: Send + Sync + std::fmt::Debug + 'static,
10059{
10060    fn from(
10061        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10062    ) -> Self {
10063        match err {
10064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10067                source: err.into(),
10068            }),
10069        }
10070    }
10071}
10072impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10073    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10074        match err {
10075            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10076        }
10077    }
10078}
10079impl<R>
10080    From<
10081        ::aws_smithy_runtime_api::client::result::SdkError<
10082            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10083            R,
10084        >,
10085    > for Error
10086where
10087    R: Send + Sync + std::fmt::Debug + 'static,
10088{
10089    fn from(
10090        err: ::aws_smithy_runtime_api::client::result::SdkError<
10091            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10092            R,
10093        >,
10094    ) -> Self {
10095        match err {
10096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10099                source: err.into(),
10100            }),
10101        }
10102    }
10103}
10104impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10105    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10106        match err {
10107            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10108                Error::Unhandled(inner)
10109            }
10110        }
10111    }
10112}
10113impl<R>
10114    From<
10115        ::aws_smithy_runtime_api::client::result::SdkError<
10116            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10117            R,
10118        >,
10119    > for Error
10120where
10121    R: Send + Sync + std::fmt::Debug + 'static,
10122{
10123    fn from(
10124        err: ::aws_smithy_runtime_api::client::result::SdkError<
10125            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10126            R,
10127        >,
10128    ) -> Self {
10129        match err {
10130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10133                source: err.into(),
10134            }),
10135        }
10136    }
10137}
10138impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10139    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10140        match err {
10141            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10142                Error::Unhandled(inner)
10143            }
10144        }
10145    }
10146}
10147impl<R>
10148    From<
10149        ::aws_smithy_runtime_api::client::result::SdkError<
10150            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10151            R,
10152        >,
10153    > for Error
10154where
10155    R: Send + Sync + std::fmt::Debug + 'static,
10156{
10157    fn from(
10158        err: ::aws_smithy_runtime_api::client::result::SdkError<
10159            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10160            R,
10161        >,
10162    ) -> Self {
10163        match err {
10164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10167                source: err.into(),
10168            }),
10169        }
10170    }
10171}
10172impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10173    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10174        match err {
10175            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10176        }
10177    }
10178}
10179impl<R>
10180    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10181    for Error
10182where
10183    R: Send + Sync + std::fmt::Debug + 'static,
10184{
10185    fn from(
10186        err: ::aws_smithy_runtime_api::client::result::SdkError<
10187            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10188            R,
10189        >,
10190    ) -> Self {
10191        match err {
10192            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10193            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10194                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10195                source: err.into(),
10196            }),
10197        }
10198    }
10199}
10200impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10201    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10202        match err {
10203            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10204        }
10205    }
10206}
10207impl<R>
10208    From<
10209        ::aws_smithy_runtime_api::client::result::SdkError<
10210            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10211            R,
10212        >,
10213    > for Error
10214where
10215    R: Send + Sync + std::fmt::Debug + 'static,
10216{
10217    fn from(
10218        err: ::aws_smithy_runtime_api::client::result::SdkError<
10219            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10220            R,
10221        >,
10222    ) -> Self {
10223        match err {
10224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10227                source: err.into(),
10228            }),
10229        }
10230    }
10231}
10232impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10233    for Error
10234{
10235    fn from(
10236        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10237    ) -> Self {
10238        match err {
10239            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10240        }
10241    }
10242}
10243impl<R>
10244    From<
10245        ::aws_smithy_runtime_api::client::result::SdkError<
10246            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10247            R,
10248        >,
10249    > for Error
10250where
10251    R: Send + Sync + std::fmt::Debug + 'static,
10252{
10253    fn from(
10254        err: ::aws_smithy_runtime_api::client::result::SdkError<
10255            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10256            R,
10257        >,
10258    ) -> Self {
10259        match err {
10260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10263                source: err.into(),
10264            }),
10265        }
10266    }
10267}
10268impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10269    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10270        match err {
10271            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10272        }
10273    }
10274}
10275impl<R>
10276    From<
10277        ::aws_smithy_runtime_api::client::result::SdkError<
10278            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10279            R,
10280        >,
10281    > for Error
10282where
10283    R: Send + Sync + std::fmt::Debug + 'static,
10284{
10285    fn from(
10286        err: ::aws_smithy_runtime_api::client::result::SdkError<
10287            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10288            R,
10289        >,
10290    ) -> Self {
10291        match err {
10292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10295                source: err.into(),
10296            }),
10297        }
10298    }
10299}
10300impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10301    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10302        match err {
10303            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10304                Error::Unhandled(inner)
10305            }
10306        }
10307    }
10308}
10309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
10310    for Error
10311where
10312    R: Send + Sync + std::fmt::Debug + 'static,
10313{
10314    fn from(
10315        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
10316    ) -> Self {
10317        match err {
10318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10321                source: err.into(),
10322            }),
10323        }
10324    }
10325}
10326impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
10327    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
10328        match err {
10329            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10330        }
10331    }
10332}
10333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
10334where
10335    R: Send + Sync + std::fmt::Debug + 'static,
10336{
10337    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
10338        match err {
10339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10342                source: err.into(),
10343            }),
10344        }
10345    }
10346}
10347impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
10348    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
10349        match err {
10350            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
10351        }
10352    }
10353}
10354impl<R>
10355    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
10356    for Error
10357where
10358    R: Send + Sync + std::fmt::Debug + 'static,
10359{
10360    fn from(
10361        err: ::aws_smithy_runtime_api::client::result::SdkError<
10362            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
10363            R,
10364        >,
10365    ) -> Self {
10366        match err {
10367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10370                source: err.into(),
10371            }),
10372        }
10373    }
10374}
10375impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
10376    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
10377        match err {
10378            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
10379        }
10380    }
10381}
10382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
10383where
10384    R: Send + Sync + std::fmt::Debug + 'static,
10385{
10386    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
10387        match err {
10388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10391                source: err.into(),
10392            }),
10393        }
10394    }
10395}
10396impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
10397    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
10398        match err {
10399            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
10400        }
10401    }
10402}
10403impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
10404where
10405    R: Send + Sync + std::fmt::Debug + 'static,
10406{
10407    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
10408        match err {
10409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10412                source: err.into(),
10413            }),
10414        }
10415    }
10416}
10417impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
10418    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
10419        match err {
10420            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10421        }
10422    }
10423}
10424impl<R>
10425    From<
10426        ::aws_smithy_runtime_api::client::result::SdkError<
10427            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10428            R,
10429        >,
10430    > for Error
10431where
10432    R: Send + Sync + std::fmt::Debug + 'static,
10433{
10434    fn from(
10435        err: ::aws_smithy_runtime_api::client::result::SdkError<
10436            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10437            R,
10438        >,
10439    ) -> Self {
10440        match err {
10441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10444                source: err.into(),
10445            }),
10446        }
10447    }
10448}
10449impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
10450    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
10451        match err {
10452            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
10453                Error::Unhandled(inner)
10454            }
10455        }
10456    }
10457}
10458impl<R>
10459    From<
10460        ::aws_smithy_runtime_api::client::result::SdkError<
10461            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10462            R,
10463        >,
10464    > for Error
10465where
10466    R: Send + Sync + std::fmt::Debug + 'static,
10467{
10468    fn from(
10469        err: ::aws_smithy_runtime_api::client::result::SdkError<
10470            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10471            R,
10472        >,
10473    ) -> Self {
10474        match err {
10475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10478                source: err.into(),
10479            }),
10480        }
10481    }
10482}
10483impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
10484    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
10485        match err {
10486            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
10487                Error::Unhandled(inner)
10488            }
10489        }
10490    }
10491}
10492impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
10493    for Error
10494where
10495    R: Send + Sync + std::fmt::Debug + 'static,
10496{
10497    fn from(
10498        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
10499    ) -> Self {
10500        match err {
10501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10504                source: err.into(),
10505            }),
10506        }
10507    }
10508}
10509impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
10510    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
10511        match err {
10512            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
10513        }
10514    }
10515}
10516impl<R>
10517    From<
10518        ::aws_smithy_runtime_api::client::result::SdkError<
10519            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10520            R,
10521        >,
10522    > for Error
10523where
10524    R: Send + Sync + std::fmt::Debug + 'static,
10525{
10526    fn from(
10527        err: ::aws_smithy_runtime_api::client::result::SdkError<
10528            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10529            R,
10530        >,
10531    ) -> Self {
10532        match err {
10533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10536                source: err.into(),
10537            }),
10538        }
10539    }
10540}
10541impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
10542    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
10543        match err {
10544            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
10545                Error::Unhandled(inner)
10546            }
10547        }
10548    }
10549}
10550impl<R>
10551    From<
10552        ::aws_smithy_runtime_api::client::result::SdkError<
10553            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10554            R,
10555        >,
10556    > for Error
10557where
10558    R: Send + Sync + std::fmt::Debug + 'static,
10559{
10560    fn from(
10561        err: ::aws_smithy_runtime_api::client::result::SdkError<
10562            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10563            R,
10564        >,
10565    ) -> Self {
10566        match err {
10567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10570                source: err.into(),
10571            }),
10572        }
10573    }
10574}
10575impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
10576    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
10577        match err {
10578            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
10579        }
10580    }
10581}
10582impl<R>
10583    From<
10584        ::aws_smithy_runtime_api::client::result::SdkError<
10585            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10586            R,
10587        >,
10588    > for Error
10589where
10590    R: Send + Sync + std::fmt::Debug + 'static,
10591{
10592    fn from(
10593        err: ::aws_smithy_runtime_api::client::result::SdkError<
10594            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10595            R,
10596        >,
10597    ) -> Self {
10598        match err {
10599            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10600            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10601                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10602                source: err.into(),
10603            }),
10604        }
10605    }
10606}
10607impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
10608    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
10609        match err {
10610            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
10611                Error::Unhandled(inner)
10612            }
10613        }
10614    }
10615}
10616impl<R>
10617    From<
10618        ::aws_smithy_runtime_api::client::result::SdkError<
10619            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10620            R,
10621        >,
10622    > for Error
10623where
10624    R: Send + Sync + std::fmt::Debug + 'static,
10625{
10626    fn from(
10627        err: ::aws_smithy_runtime_api::client::result::SdkError<
10628            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10629            R,
10630        >,
10631    ) -> Self {
10632        match err {
10633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10636                source: err.into(),
10637            }),
10638        }
10639    }
10640}
10641impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
10642    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
10643        match err {
10644            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10645        }
10646    }
10647}
10648impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
10649where
10650    R: Send + Sync + std::fmt::Debug + 'static,
10651{
10652    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
10653        match err {
10654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10657                source: err.into(),
10658            }),
10659        }
10660    }
10661}
10662impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
10663    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
10664        match err {
10665            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10666        }
10667    }
10668}
10669impl<R>
10670    From<
10671        ::aws_smithy_runtime_api::client::result::SdkError<
10672            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10673            R,
10674        >,
10675    > for Error
10676where
10677    R: Send + Sync + std::fmt::Debug + 'static,
10678{
10679    fn from(
10680        err: ::aws_smithy_runtime_api::client::result::SdkError<
10681            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10682            R,
10683        >,
10684    ) -> Self {
10685        match err {
10686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10689                source: err.into(),
10690            }),
10691        }
10692    }
10693}
10694impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
10695    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
10696        match err {
10697            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
10698                Error::Unhandled(inner)
10699            }
10700        }
10701    }
10702}
10703impl<R>
10704    From<
10705        ::aws_smithy_runtime_api::client::result::SdkError<
10706            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10707            R,
10708        >,
10709    > for Error
10710where
10711    R: Send + Sync + std::fmt::Debug + 'static,
10712{
10713    fn from(
10714        err: ::aws_smithy_runtime_api::client::result::SdkError<
10715            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10716            R,
10717        >,
10718    ) -> Self {
10719        match err {
10720            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10721            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10722                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10723                source: err.into(),
10724            }),
10725        }
10726    }
10727}
10728impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
10729    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
10730        match err {
10731            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
10732                Error::Unhandled(inner)
10733            }
10734        }
10735    }
10736}
10737impl<R>
10738    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
10739    for Error
10740where
10741    R: Send + Sync + std::fmt::Debug + 'static,
10742{
10743    fn from(
10744        err: ::aws_smithy_runtime_api::client::result::SdkError<
10745            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
10746            R,
10747        >,
10748    ) -> Self {
10749        match err {
10750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10753                source: err.into(),
10754            }),
10755        }
10756    }
10757}
10758impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
10759    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
10760        match err {
10761            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
10762        }
10763    }
10764}
10765impl<R>
10766    From<
10767        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
10768    > for Error
10769where
10770    R: Send + Sync + std::fmt::Debug + 'static,
10771{
10772    fn from(
10773        err: ::aws_smithy_runtime_api::client::result::SdkError<
10774            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
10775            R,
10776        >,
10777    ) -> Self {
10778        match err {
10779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10782                source: err.into(),
10783            }),
10784        }
10785    }
10786}
10787impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
10788    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
10789        match err {
10790            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10791        }
10792    }
10793}
10794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
10795where
10796    R: Send + Sync + std::fmt::Debug + 'static,
10797{
10798    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
10799        match err {
10800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10803                source: err.into(),
10804            }),
10805        }
10806    }
10807}
10808impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
10809    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
10810        match err {
10811            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
10812        }
10813    }
10814}
10815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
10816where
10817    R: Send + Sync + std::fmt::Debug + 'static,
10818{
10819    fn from(
10820        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
10821    ) -> Self {
10822        match err {
10823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10826                source: err.into(),
10827            }),
10828        }
10829    }
10830}
10831impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
10832    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
10833        match err {
10834            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10835        }
10836    }
10837}
10838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
10839where
10840    R: Send + Sync + std::fmt::Debug + 'static,
10841{
10842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> 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_vpn_gateways::DescribeVpnGatewaysError> for Error {
10853    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
10854        match err {
10855            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10856        }
10857    }
10858}
10859impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
10860where
10861    R: Send + Sync + std::fmt::Debug + 'static,
10862{
10863    fn from(
10864        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
10865    ) -> Self {
10866        match err {
10867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10870                source: err.into(),
10871            }),
10872        }
10873    }
10874}
10875impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
10876    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
10877        match err {
10878            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
10879        }
10880    }
10881}
10882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
10883where
10884    R: Send + Sync + std::fmt::Debug + 'static,
10885{
10886    fn from(
10887        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
10888    ) -> Self {
10889        match err {
10890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10893                source: err.into(),
10894            }),
10895        }
10896    }
10897}
10898impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
10899    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
10900        match err {
10901            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
10902        }
10903    }
10904}
10905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
10906where
10907    R: Send + Sync + std::fmt::Debug + 'static,
10908{
10909    fn from(
10910        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
10911    ) -> Self {
10912        match err {
10913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10916                source: err.into(),
10917            }),
10918        }
10919    }
10920}
10921impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
10922    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
10923        match err {
10924            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
10925        }
10926    }
10927}
10928impl<R>
10929    From<
10930        ::aws_smithy_runtime_api::client::result::SdkError<
10931            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10932            R,
10933        >,
10934    > for Error
10935where
10936    R: Send + Sync + std::fmt::Debug + 'static,
10937{
10938    fn from(
10939        err: ::aws_smithy_runtime_api::client::result::SdkError<
10940            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10941            R,
10942        >,
10943    ) -> Self {
10944        match err {
10945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10948                source: err.into(),
10949            }),
10950        }
10951    }
10952}
10953impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
10954    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
10955        match err {
10956            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
10957                Error::Unhandled(inner)
10958            }
10959        }
10960    }
10961}
10962impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
10963where
10964    R: Send + Sync + std::fmt::Debug + 'static,
10965{
10966    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
10967        match err {
10968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10971                source: err.into(),
10972            }),
10973        }
10974    }
10975}
10976impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
10977    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
10978        match err {
10979            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
10980        }
10981    }
10982}
10983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
10984where
10985    R: Send + Sync + std::fmt::Debug + 'static,
10986{
10987    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
10988        match err {
10989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10992                source: err.into(),
10993            }),
10994        }
10995    }
10996}
10997impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
10998    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
10999        match err {
11000            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11001        }
11002    }
11003}
11004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11005where
11006    R: Send + Sync + std::fmt::Debug + 'static,
11007{
11008    fn from(
11009        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11010    ) -> Self {
11011        match err {
11012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11015                source: err.into(),
11016            }),
11017        }
11018    }
11019}
11020impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11021    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11022        match err {
11023            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11024        }
11025    }
11026}
11027impl<R>
11028    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11029    for Error
11030where
11031    R: Send + Sync + std::fmt::Debug + 'static,
11032{
11033    fn from(
11034        err: ::aws_smithy_runtime_api::client::result::SdkError<
11035            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
11036            R,
11037        >,
11038    ) -> Self {
11039        match err {
11040            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11041            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11042                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11043                source: err.into(),
11044            }),
11045        }
11046    }
11047}
11048impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
11049    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
11050        match err {
11051            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11052        }
11053    }
11054}
11055impl<R>
11056    From<
11057        ::aws_smithy_runtime_api::client::result::SdkError<
11058            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11059            R,
11060        >,
11061    > for Error
11062where
11063    R: Send + Sync + std::fmt::Debug + 'static,
11064{
11065    fn from(
11066        err: ::aws_smithy_runtime_api::client::result::SdkError<
11067            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11068            R,
11069        >,
11070    ) -> Self {
11071        match err {
11072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11075                source: err.into(),
11076            }),
11077        }
11078    }
11079}
11080impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11081    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11082        match err {
11083            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11084                inner,
11085            ) => Error::Unhandled(inner),
11086        }
11087    }
11088}
11089impl<R>
11090    From<
11091        ::aws_smithy_runtime_api::client::result::SdkError<
11092            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11093            R,
11094        >,
11095    > for Error
11096where
11097    R: Send + Sync + std::fmt::Debug + 'static,
11098{
11099    fn from(
11100        err: ::aws_smithy_runtime_api::client::result::SdkError<
11101            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11102            R,
11103        >,
11104    ) -> Self {
11105        match err {
11106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11109                source: err.into(),
11110            }),
11111        }
11112    }
11113}
11114impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11115    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11116        match err {
11117            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11118        }
11119    }
11120}
11121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11122where
11123    R: Send + Sync + std::fmt::Debug + 'static,
11124{
11125    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11126        match err {
11127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11130                source: err.into(),
11131            }),
11132        }
11133    }
11134}
11135impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11136    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11137        match err {
11138            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11139        }
11140    }
11141}
11142impl<R>
11143    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11144    for Error
11145where
11146    R: Send + Sync + std::fmt::Debug + 'static,
11147{
11148    fn from(
11149        err: ::aws_smithy_runtime_api::client::result::SdkError<
11150            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11151            R,
11152        >,
11153    ) -> Self {
11154        match err {
11155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11158                source: err.into(),
11159            }),
11160        }
11161    }
11162}
11163impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11164    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11165        match err {
11166            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11167        }
11168    }
11169}
11170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11171where
11172    R: Send + Sync + std::fmt::Debug + 'static,
11173{
11174    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11175        match err {
11176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11179                source: err.into(),
11180            }),
11181        }
11182    }
11183}
11184impl From<crate::operation::disable_image::DisableImageError> for Error {
11185    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11186        match err {
11187            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11188        }
11189    }
11190}
11191impl<R>
11192    From<
11193        ::aws_smithy_runtime_api::client::result::SdkError<
11194            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11195            R,
11196        >,
11197    > for Error
11198where
11199    R: Send + Sync + std::fmt::Debug + 'static,
11200{
11201    fn from(
11202        err: ::aws_smithy_runtime_api::client::result::SdkError<
11203            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11204            R,
11205        >,
11206    ) -> Self {
11207        match err {
11208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11211                source: err.into(),
11212            }),
11213        }
11214    }
11215}
11216impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11217    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11218        match err {
11219            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11220        }
11221    }
11222}
11223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11224    for Error
11225where
11226    R: Send + Sync + std::fmt::Debug + 'static,
11227{
11228    fn from(
11229        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11230    ) -> Self {
11231        match err {
11232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11235                source: err.into(),
11236            }),
11237        }
11238    }
11239}
11240impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11241    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11242        match err {
11243            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11244        }
11245    }
11246}
11247impl<R>
11248    From<
11249        ::aws_smithy_runtime_api::client::result::SdkError<
11250            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11251            R,
11252        >,
11253    > for Error
11254where
11255    R: Send + Sync + std::fmt::Debug + 'static,
11256{
11257    fn from(
11258        err: ::aws_smithy_runtime_api::client::result::SdkError<
11259            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11260            R,
11261        >,
11262    ) -> Self {
11263        match err {
11264            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11265            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11266                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11267                source: err.into(),
11268            }),
11269        }
11270    }
11271}
11272impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
11273    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
11274        match err {
11275            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
11276                Error::Unhandled(inner)
11277            }
11278        }
11279    }
11280}
11281impl<R>
11282    From<
11283        ::aws_smithy_runtime_api::client::result::SdkError<
11284            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11285            R,
11286        >,
11287    > for Error
11288where
11289    R: Send + Sync + std::fmt::Debug + 'static,
11290{
11291    fn from(
11292        err: ::aws_smithy_runtime_api::client::result::SdkError<
11293            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11294            R,
11295        >,
11296    ) -> Self {
11297        match err {
11298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11301                source: err.into(),
11302            }),
11303        }
11304    }
11305}
11306impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
11307    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
11308        match err {
11309            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11310                Error::Unhandled(inner)
11311            }
11312        }
11313    }
11314}
11315impl<R>
11316    From<
11317        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
11318    > for Error
11319where
11320    R: Send + Sync + std::fmt::Debug + 'static,
11321{
11322    fn from(
11323        err: ::aws_smithy_runtime_api::client::result::SdkError<
11324            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
11325            R,
11326        >,
11327    ) -> Self {
11328        match err {
11329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11332                source: err.into(),
11333            }),
11334        }
11335    }
11336}
11337impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
11338    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
11339        match err {
11340            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
11341        }
11342    }
11343}
11344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
11345    for Error
11346where
11347    R: Send + Sync + std::fmt::Debug + 'static,
11348{
11349    fn from(
11350        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
11351    ) -> Self {
11352        match err {
11353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11356                source: err.into(),
11357            }),
11358        }
11359    }
11360}
11361impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
11362    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
11363        match err {
11364            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
11365        }
11366    }
11367}
11368impl<R>
11369    From<
11370        ::aws_smithy_runtime_api::client::result::SdkError<
11371            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11372            R,
11373        >,
11374    > for Error
11375where
11376    R: Send + Sync + std::fmt::Debug + 'static,
11377{
11378    fn from(
11379        err: ::aws_smithy_runtime_api::client::result::SdkError<
11380            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11381            R,
11382        >,
11383    ) -> Self {
11384        match err {
11385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11388                source: err.into(),
11389            }),
11390        }
11391    }
11392}
11393impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
11394    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
11395        match err {
11396            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
11397                Error::Unhandled(inner)
11398            }
11399        }
11400    }
11401}
11402impl<R>
11403    From<
11404        ::aws_smithy_runtime_api::client::result::SdkError<
11405            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11406            R,
11407        >,
11408    > for Error
11409where
11410    R: Send + Sync + std::fmt::Debug + 'static,
11411{
11412    fn from(
11413        err: ::aws_smithy_runtime_api::client::result::SdkError<
11414            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11415            R,
11416        >,
11417    ) -> Self {
11418        match err {
11419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11422                source: err.into(),
11423            }),
11424        }
11425    }
11426}
11427impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
11428    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
11429        match err {
11430            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
11431                Error::Unhandled(inner)
11432            }
11433        }
11434    }
11435}
11436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
11437    for Error
11438where
11439    R: Send + Sync + std::fmt::Debug + 'static,
11440{
11441    fn from(
11442        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
11443    ) -> Self {
11444        match err {
11445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11448                source: err.into(),
11449            }),
11450        }
11451    }
11452}
11453impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
11454    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
11455        match err {
11456            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
11457        }
11458    }
11459}
11460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
11461where
11462    R: Send + Sync + std::fmt::Debug + 'static,
11463{
11464    fn from(
11465        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
11466    ) -> Self {
11467        match err {
11468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11471                source: err.into(),
11472            }),
11473        }
11474    }
11475}
11476impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
11477    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
11478        match err {
11479            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11480        }
11481    }
11482}
11483impl<R>
11484    From<
11485        ::aws_smithy_runtime_api::client::result::SdkError<
11486            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11487            R,
11488        >,
11489    > for Error
11490where
11491    R: Send + Sync + std::fmt::Debug + 'static,
11492{
11493    fn from(
11494        err: ::aws_smithy_runtime_api::client::result::SdkError<
11495            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11496            R,
11497        >,
11498    ) -> Self {
11499        match err {
11500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11503                source: err.into(),
11504            }),
11505        }
11506    }
11507}
11508impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
11509    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
11510        match err {
11511            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
11512        }
11513    }
11514}
11515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
11516where
11517    R: Send + Sync + std::fmt::Debug + 'static,
11518{
11519    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
11520        match err {
11521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11524                source: err.into(),
11525            }),
11526        }
11527    }
11528}
11529impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
11530    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
11531        match err {
11532            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
11533        }
11534    }
11535}
11536impl<R>
11537    From<
11538        ::aws_smithy_runtime_api::client::result::SdkError<
11539            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11540            R,
11541        >,
11542    > for Error
11543where
11544    R: Send + Sync + std::fmt::Debug + 'static,
11545{
11546    fn from(
11547        err: ::aws_smithy_runtime_api::client::result::SdkError<
11548            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11549            R,
11550        >,
11551    ) -> Self {
11552        match err {
11553            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11554            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11555                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11556                source: err.into(),
11557            }),
11558        }
11559    }
11560}
11561impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
11562    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
11563        match err {
11564            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
11565                Error::Unhandled(inner)
11566            }
11567        }
11568    }
11569}
11570impl<R>
11571    From<
11572        ::aws_smithy_runtime_api::client::result::SdkError<
11573            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11574            R,
11575        >,
11576    > for Error
11577where
11578    R: Send + Sync + std::fmt::Debug + 'static,
11579{
11580    fn from(
11581        err: ::aws_smithy_runtime_api::client::result::SdkError<
11582            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11583            R,
11584        >,
11585    ) -> Self {
11586        match err {
11587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11590                source: err.into(),
11591            }),
11592        }
11593    }
11594}
11595impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
11596    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
11597        match err {
11598            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
11599                Error::Unhandled(inner)
11600            }
11601        }
11602    }
11603}
11604impl<R>
11605    From<
11606        ::aws_smithy_runtime_api::client::result::SdkError<
11607            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11608            R,
11609        >,
11610    > for Error
11611where
11612    R: Send + Sync + std::fmt::Debug + 'static,
11613{
11614    fn from(
11615        err: ::aws_smithy_runtime_api::client::result::SdkError<
11616            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11617            R,
11618        >,
11619    ) -> Self {
11620        match err {
11621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11624                source: err.into(),
11625            }),
11626        }
11627    }
11628}
11629impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
11630    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
11631        match err {
11632            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
11633                Error::Unhandled(inner)
11634            }
11635        }
11636    }
11637}
11638impl<R>
11639    From<
11640        ::aws_smithy_runtime_api::client::result::SdkError<
11641            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11642            R,
11643        >,
11644    > for Error
11645where
11646    R: Send + Sync + std::fmt::Debug + 'static,
11647{
11648    fn from(
11649        err: ::aws_smithy_runtime_api::client::result::SdkError<
11650            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11651            R,
11652        >,
11653    ) -> Self {
11654        match err {
11655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11658                source: err.into(),
11659            }),
11660        }
11661    }
11662}
11663impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
11664    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
11665        match err {
11666            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
11667        }
11668    }
11669}
11670impl<R>
11671    From<
11672        ::aws_smithy_runtime_api::client::result::SdkError<
11673            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11674            R,
11675        >,
11676    > for Error
11677where
11678    R: Send + Sync + std::fmt::Debug + 'static,
11679{
11680    fn from(
11681        err: ::aws_smithy_runtime_api::client::result::SdkError<
11682            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11683            R,
11684        >,
11685    ) -> Self {
11686        match err {
11687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11690                source: err.into(),
11691            }),
11692        }
11693    }
11694}
11695impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
11696    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
11697        match err {
11698            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
11699        }
11700    }
11701}
11702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
11703where
11704    R: Send + Sync + std::fmt::Debug + 'static,
11705{
11706    fn from(
11707        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
11708    ) -> Self {
11709        match err {
11710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11713                source: err.into(),
11714            }),
11715        }
11716    }
11717}
11718impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
11719    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
11720        match err {
11721            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
11722        }
11723    }
11724}
11725impl<R>
11726    From<
11727        ::aws_smithy_runtime_api::client::result::SdkError<
11728            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11729            R,
11730        >,
11731    > for Error
11732where
11733    R: Send + Sync + std::fmt::Debug + 'static,
11734{
11735    fn from(
11736        err: ::aws_smithy_runtime_api::client::result::SdkError<
11737            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11738            R,
11739        >,
11740    ) -> Self {
11741        match err {
11742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11745                source: err.into(),
11746            }),
11747        }
11748    }
11749}
11750impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
11751    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
11752        match err {
11753            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
11754                Error::Unhandled(inner)
11755            }
11756        }
11757    }
11758}
11759impl<R>
11760    From<
11761        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
11762    > for Error
11763where
11764    R: Send + Sync + std::fmt::Debug + 'static,
11765{
11766    fn from(
11767        err: ::aws_smithy_runtime_api::client::result::SdkError<
11768            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
11769            R,
11770        >,
11771    ) -> Self {
11772        match err {
11773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11776                source: err.into(),
11777            }),
11778        }
11779    }
11780}
11781impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
11782    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
11783        match err {
11784            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
11785        }
11786    }
11787}
11788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
11789    for Error
11790where
11791    R: Send + Sync + std::fmt::Debug + 'static,
11792{
11793    fn from(
11794        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
11795    ) -> Self {
11796        match err {
11797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11800                source: err.into(),
11801            }),
11802        }
11803    }
11804}
11805impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
11806    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
11807        match err {
11808            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
11809        }
11810    }
11811}
11812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
11813where
11814    R: Send + Sync + std::fmt::Debug + 'static,
11815{
11816    fn from(
11817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
11818    ) -> Self {
11819        match err {
11820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11823                source: err.into(),
11824            }),
11825        }
11826    }
11827}
11828impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
11829    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
11830        match err {
11831            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
11832        }
11833    }
11834}
11835impl<R>
11836    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
11837    for Error
11838where
11839    R: Send + Sync + std::fmt::Debug + 'static,
11840{
11841    fn from(
11842        err: ::aws_smithy_runtime_api::client::result::SdkError<
11843            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
11844            R,
11845        >,
11846    ) -> Self {
11847        match err {
11848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11851                source: err.into(),
11852            }),
11853        }
11854    }
11855}
11856impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
11857    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
11858        match err {
11859            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
11860        }
11861    }
11862}
11863impl<R>
11864    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
11865    for Error
11866where
11867    R: Send + Sync + std::fmt::Debug + 'static,
11868{
11869    fn from(
11870        err: ::aws_smithy_runtime_api::client::result::SdkError<
11871            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
11872            R,
11873        >,
11874    ) -> Self {
11875        match err {
11876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11879                source: err.into(),
11880            }),
11881        }
11882    }
11883}
11884impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
11885    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
11886        match err {
11887            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
11888        }
11889    }
11890}
11891impl<R>
11892    From<
11893        ::aws_smithy_runtime_api::client::result::SdkError<
11894            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11895            R,
11896        >,
11897    > for Error
11898where
11899    R: Send + Sync + std::fmt::Debug + 'static,
11900{
11901    fn from(
11902        err: ::aws_smithy_runtime_api::client::result::SdkError<
11903            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11904            R,
11905        >,
11906    ) -> Self {
11907        match err {
11908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11911                source: err.into(),
11912            }),
11913        }
11914    }
11915}
11916impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
11917    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
11918        match err {
11919            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
11920                Error::Unhandled(inner)
11921            }
11922        }
11923    }
11924}
11925impl<R>
11926    From<
11927        ::aws_smithy_runtime_api::client::result::SdkError<
11928            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11929            R,
11930        >,
11931    > for Error
11932where
11933    R: Send + Sync + std::fmt::Debug + 'static,
11934{
11935    fn from(
11936        err: ::aws_smithy_runtime_api::client::result::SdkError<
11937            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11938            R,
11939        >,
11940    ) -> Self {
11941        match err {
11942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11945                source: err.into(),
11946            }),
11947        }
11948    }
11949}
11950impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
11951    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
11952        match err {
11953            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
11954                Error::Unhandled(inner)
11955            }
11956        }
11957    }
11958}
11959impl<R>
11960    From<
11961        ::aws_smithy_runtime_api::client::result::SdkError<
11962            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
11963            R,
11964        >,
11965    > for Error
11966where
11967    R: Send + Sync + std::fmt::Debug + 'static,
11968{
11969    fn from(
11970        err: ::aws_smithy_runtime_api::client::result::SdkError<
11971            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
11972            R,
11973        >,
11974    ) -> Self {
11975        match err {
11976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11979                source: err.into(),
11980            }),
11981        }
11982    }
11983}
11984impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
11985    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
11986        match err {
11987            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
11988                Error::Unhandled(inner)
11989            }
11990        }
11991    }
11992}
11993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
11994    for Error
11995where
11996    R: Send + Sync + std::fmt::Debug + 'static,
11997{
11998    fn from(
11999        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
12000    ) -> Self {
12001        match err {
12002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12005                source: err.into(),
12006            }),
12007        }
12008    }
12009}
12010impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
12011    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
12012        match err {
12013            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12014        }
12015    }
12016}
12017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
12018    for Error
12019where
12020    R: Send + Sync + std::fmt::Debug + 'static,
12021{
12022    fn from(
12023        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
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::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
12035    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
12036        match err {
12037            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12038        }
12039    }
12040}
12041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
12042where
12043    R: Send + Sync + std::fmt::Debug + 'static,
12044{
12045    fn from(
12046        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
12047    ) -> Self {
12048        match err {
12049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12052                source: err.into(),
12053            }),
12054        }
12055    }
12056}
12057impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
12058    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
12059        match err {
12060            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12061        }
12062    }
12063}
12064impl<R>
12065    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
12066    for Error
12067where
12068    R: Send + Sync + std::fmt::Debug + 'static,
12069{
12070    fn from(
12071        err: ::aws_smithy_runtime_api::client::result::SdkError<
12072            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
12073            R,
12074        >,
12075    ) -> Self {
12076        match err {
12077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12080                source: err.into(),
12081            }),
12082        }
12083    }
12084}
12085impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
12086    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
12087        match err {
12088            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12089        }
12090    }
12091}
12092impl<R>
12093    From<
12094        ::aws_smithy_runtime_api::client::result::SdkError<
12095            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12096            R,
12097        >,
12098    > for Error
12099where
12100    R: Send + Sync + std::fmt::Debug + 'static,
12101{
12102    fn from(
12103        err: ::aws_smithy_runtime_api::client::result::SdkError<
12104            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12105            R,
12106        >,
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::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12118    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12119        match err {
12120            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12121                inner,
12122            ) => Error::Unhandled(inner),
12123        }
12124    }
12125}
12126impl<R>
12127    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12128    for Error
12129where
12130    R: Send + Sync + std::fmt::Debug + 'static,
12131{
12132    fn from(
12133        err: ::aws_smithy_runtime_api::client::result::SdkError<
12134            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12135            R,
12136        >,
12137    ) -> Self {
12138        match err {
12139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12142                source: err.into(),
12143            }),
12144        }
12145    }
12146}
12147impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12148    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12149        match err {
12150            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12151        }
12152    }
12153}
12154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12155where
12156    R: Send + Sync + std::fmt::Debug + 'static,
12157{
12158    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12159        match err {
12160            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12161            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12162                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12163                source: err.into(),
12164            }),
12165        }
12166    }
12167}
12168impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12169    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12170        match err {
12171            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12172        }
12173    }
12174}
12175impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12176    for Error
12177where
12178    R: Send + Sync + std::fmt::Debug + 'static,
12179{
12180    fn from(
12181        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
12182    ) -> Self {
12183        match err {
12184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12187                source: err.into(),
12188            }),
12189        }
12190    }
12191}
12192impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
12193    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
12194        match err {
12195            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12196        }
12197    }
12198}
12199impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
12200where
12201    R: Send + Sync + std::fmt::Debug + 'static,
12202{
12203    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
12204        match err {
12205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12208                source: err.into(),
12209            }),
12210        }
12211    }
12212}
12213impl From<crate::operation::enable_image::EnableImageError> for Error {
12214    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
12215        match err {
12216            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
12217        }
12218    }
12219}
12220impl<R>
12221    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
12222    for Error
12223where
12224    R: Send + Sync + std::fmt::Debug + 'static,
12225{
12226    fn from(
12227        err: ::aws_smithy_runtime_api::client::result::SdkError<
12228            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
12229            R,
12230        >,
12231    ) -> Self {
12232        match err {
12233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12236                source: err.into(),
12237            }),
12238        }
12239    }
12240}
12241impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
12242    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
12243        match err {
12244            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12245        }
12246    }
12247}
12248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
12249where
12250    R: Send + Sync + std::fmt::Debug + 'static,
12251{
12252    fn from(
12253        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
12254    ) -> Self {
12255        match err {
12256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12259                source: err.into(),
12260            }),
12261        }
12262    }
12263}
12264impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
12265    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
12266        match err {
12267            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12268        }
12269    }
12270}
12271impl<R>
12272    From<
12273        ::aws_smithy_runtime_api::client::result::SdkError<
12274            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12275            R,
12276        >,
12277    > for Error
12278where
12279    R: Send + Sync + std::fmt::Debug + 'static,
12280{
12281    fn from(
12282        err: ::aws_smithy_runtime_api::client::result::SdkError<
12283            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12284            R,
12285        >,
12286    ) -> Self {
12287        match err {
12288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12291                source: err.into(),
12292            }),
12293        }
12294    }
12295}
12296impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
12297    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
12298        match err {
12299            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
12300                Error::Unhandled(inner)
12301            }
12302        }
12303    }
12304}
12305impl<R>
12306    From<
12307        ::aws_smithy_runtime_api::client::result::SdkError<
12308            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12309            R,
12310        >,
12311    > for Error
12312where
12313    R: Send + Sync + std::fmt::Debug + 'static,
12314{
12315    fn from(
12316        err: ::aws_smithy_runtime_api::client::result::SdkError<
12317            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12318            R,
12319        >,
12320    ) -> Self {
12321        match err {
12322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12325                source: err.into(),
12326            }),
12327        }
12328    }
12329}
12330impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
12331    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
12332        match err {
12333            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12334                Error::Unhandled(inner)
12335            }
12336        }
12337    }
12338}
12339impl<R>
12340    From<
12341        ::aws_smithy_runtime_api::client::result::SdkError<
12342            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12343            R,
12344        >,
12345    > for Error
12346where
12347    R: Send + Sync + std::fmt::Debug + 'static,
12348{
12349    fn from(
12350        err: ::aws_smithy_runtime_api::client::result::SdkError<
12351            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12352            R,
12353        >,
12354    ) -> Self {
12355        match err {
12356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12359                source: err.into(),
12360            }),
12361        }
12362    }
12363}
12364impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
12365    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
12366        match err {
12367            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
12368                inner,
12369            ) => Error::Unhandled(inner),
12370        }
12371    }
12372}
12373impl<R>
12374    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
12375    for Error
12376where
12377    R: Send + Sync + std::fmt::Debug + 'static,
12378{
12379    fn from(
12380        err: ::aws_smithy_runtime_api::client::result::SdkError<
12381            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
12382            R,
12383        >,
12384    ) -> Self {
12385        match err {
12386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12389                source: err.into(),
12390            }),
12391        }
12392    }
12393}
12394impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
12395    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
12396        match err {
12397            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12398        }
12399    }
12400}
12401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
12402    for Error
12403where
12404    R: Send + Sync + std::fmt::Debug + 'static,
12405{
12406    fn from(
12407        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
12408    ) -> Self {
12409        match err {
12410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12413                source: err.into(),
12414            }),
12415        }
12416    }
12417}
12418impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
12419    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
12420        match err {
12421            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12422        }
12423    }
12424}
12425impl<R>
12426    From<
12427        ::aws_smithy_runtime_api::client::result::SdkError<
12428            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12429            R,
12430        >,
12431    > for Error
12432where
12433    R: Send + Sync + std::fmt::Debug + 'static,
12434{
12435    fn from(
12436        err: ::aws_smithy_runtime_api::client::result::SdkError<
12437            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12438            R,
12439        >,
12440    ) -> Self {
12441        match err {
12442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12445                source: err.into(),
12446            }),
12447        }
12448    }
12449}
12450impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
12451    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
12452        match err {
12453            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12454        }
12455    }
12456}
12457impl<R>
12458    From<
12459        ::aws_smithy_runtime_api::client::result::SdkError<
12460            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12461            R,
12462        >,
12463    > for Error
12464where
12465    R: Send + Sync + std::fmt::Debug + 'static,
12466{
12467    fn from(
12468        err: ::aws_smithy_runtime_api::client::result::SdkError<
12469            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12470            R,
12471        >,
12472    ) -> Self {
12473        match err {
12474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12477                source: err.into(),
12478            }),
12479        }
12480    }
12481}
12482impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
12483    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
12484        match err {
12485            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12486                Error::Unhandled(inner)
12487            }
12488        }
12489    }
12490}
12491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
12492    for Error
12493where
12494    R: Send + Sync + std::fmt::Debug + 'static,
12495{
12496    fn from(
12497        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
12498    ) -> Self {
12499        match err {
12500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12503                source: err.into(),
12504            }),
12505        }
12506    }
12507}
12508impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
12509    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
12510        match err {
12511            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12512        }
12513    }
12514}
12515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
12516where
12517    R: Send + Sync + std::fmt::Debug + 'static,
12518{
12519    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
12520        match err {
12521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12524                source: err.into(),
12525            }),
12526        }
12527    }
12528}
12529impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
12530    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
12531        match err {
12532            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
12533        }
12534    }
12535}
12536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
12537where
12538    R: Send + Sync + std::fmt::Debug + 'static,
12539{
12540    fn from(
12541        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
12542    ) -> Self {
12543        match err {
12544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12547                source: err.into(),
12548            }),
12549        }
12550    }
12551}
12552impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
12553    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
12554        match err {
12555            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12556        }
12557    }
12558}
12559impl<R>
12560    From<
12561        ::aws_smithy_runtime_api::client::result::SdkError<
12562            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12563            R,
12564        >,
12565    > for Error
12566where
12567    R: Send + Sync + std::fmt::Debug + 'static,
12568{
12569    fn from(
12570        err: ::aws_smithy_runtime_api::client::result::SdkError<
12571            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12572            R,
12573        >,
12574    ) -> Self {
12575        match err {
12576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12579                source: err.into(),
12580            }),
12581        }
12582    }
12583}
12584impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
12585    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
12586        match err {
12587            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12588        }
12589    }
12590}
12591impl<R>
12592    From<
12593        ::aws_smithy_runtime_api::client::result::SdkError<
12594            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12595            R,
12596        >,
12597    > for Error
12598where
12599    R: Send + Sync + std::fmt::Debug + 'static,
12600{
12601    fn from(
12602        err: ::aws_smithy_runtime_api::client::result::SdkError<
12603            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12604            R,
12605        >,
12606    ) -> Self {
12607        match err {
12608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12611                source: err.into(),
12612            }),
12613        }
12614    }
12615}
12616impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
12617    fn from(
12618        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12619    ) -> Self {
12620        match err {
12621            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
12622        }
12623    }
12624}
12625impl<R>
12626    From<
12627        ::aws_smithy_runtime_api::client::result::SdkError<
12628            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12629            R,
12630        >,
12631    > for Error
12632where
12633    R: Send + Sync + std::fmt::Debug + 'static,
12634{
12635    fn from(
12636        err: ::aws_smithy_runtime_api::client::result::SdkError<
12637            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12638            R,
12639        >,
12640    ) -> Self {
12641        match err {
12642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12645                source: err.into(),
12646            }),
12647        }
12648    }
12649}
12650impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
12651    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
12652        match err {
12653            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
12654                Error::Unhandled(inner)
12655            }
12656        }
12657    }
12658}
12659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
12660where
12661    R: Send + Sync + std::fmt::Debug + 'static,
12662{
12663    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
12664        match err {
12665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12668                source: err.into(),
12669            }),
12670        }
12671    }
12672}
12673impl From<crate::operation::export_image::ExportImageError> for Error {
12674    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
12675        match err {
12676            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
12677        }
12678    }
12679}
12680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
12681    for Error
12682where
12683    R: Send + Sync + std::fmt::Debug + 'static,
12684{
12685    fn from(
12686        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
12687    ) -> Self {
12688        match err {
12689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12692                source: err.into(),
12693            }),
12694        }
12695    }
12696}
12697impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
12698    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
12699        match err {
12700            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
12701        }
12702    }
12703}
12704impl<R>
12705    From<
12706        ::aws_smithy_runtime_api::client::result::SdkError<
12707            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12708            R,
12709        >,
12710    > for Error
12711where
12712    R: Send + Sync + std::fmt::Debug + 'static,
12713{
12714    fn from(
12715        err: ::aws_smithy_runtime_api::client::result::SdkError<
12716            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12717            R,
12718        >,
12719    ) -> Self {
12720        match err {
12721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12724                source: err.into(),
12725            }),
12726        }
12727    }
12728}
12729impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
12730    fn from(
12731        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12732    ) -> Self {
12733        match err {
12734            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
12735        }
12736    }
12737}
12738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
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<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
12745    ) -> Self {
12746        match err {
12747            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12748            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12749                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12750                source: err.into(),
12751            }),
12752        }
12753    }
12754}
12755impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
12756    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
12757        match err {
12758            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
12759        }
12760    }
12761}
12762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
12763    for Error
12764where
12765    R: Send + Sync + std::fmt::Debug + 'static,
12766{
12767    fn from(
12768        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
12769    ) -> Self {
12770        match err {
12771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12774                source: err.into(),
12775            }),
12776        }
12777    }
12778}
12779impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
12780    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
12781        match err {
12782            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12783        }
12784    }
12785}
12786impl<R>
12787    From<
12788        ::aws_smithy_runtime_api::client::result::SdkError<
12789            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12790            R,
12791        >,
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::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
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::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
12812    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
12813        match err {
12814            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
12815                Error::Unhandled(inner)
12816            }
12817        }
12818    }
12819}
12820impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
12821    for Error
12822where
12823    R: Send + Sync + std::fmt::Debug + 'static,
12824{
12825    fn from(
12826        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
12827    ) -> Self {
12828        match err {
12829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12832                source: err.into(),
12833            }),
12834        }
12835    }
12836}
12837impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
12838    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
12839        match err {
12840            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12841        }
12842    }
12843}
12844impl<R>
12845    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
12846    for Error
12847where
12848    R: Send + Sync + std::fmt::Debug + 'static,
12849{
12850    fn from(
12851        err: ::aws_smithy_runtime_api::client::result::SdkError<
12852            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
12853            R,
12854        >,
12855    ) -> Self {
12856        match err {
12857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12860                source: err.into(),
12861            }),
12862        }
12863    }
12864}
12865impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
12866    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
12867        match err {
12868            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
12869        }
12870    }
12871}
12872impl<R>
12873    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
12874    for Error
12875where
12876    R: Send + Sync + std::fmt::Debug + 'static,
12877{
12878    fn from(
12879        err: ::aws_smithy_runtime_api::client::result::SdkError<
12880            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
12881            R,
12882        >,
12883    ) -> Self {
12884        match err {
12885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12888                source: err.into(),
12889            }),
12890        }
12891    }
12892}
12893impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
12894    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
12895        match err {
12896            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
12897        }
12898    }
12899}
12900impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
12901where
12902    R: Send + Sync + std::fmt::Debug + 'static,
12903{
12904    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
12905        match err {
12906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12909                source: err.into(),
12910            }),
12911        }
12912    }
12913}
12914impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
12915    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
12916        match err {
12917            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
12918        }
12919    }
12920}
12921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
12922where
12923    R: Send + Sync + std::fmt::Debug + 'static,
12924{
12925    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
12926        match err {
12927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12930                source: err.into(),
12931            }),
12932        }
12933    }
12934}
12935impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
12936    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
12937        match err {
12938            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
12939        }
12940    }
12941}
12942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
12943where
12944    R: Send + Sync + std::fmt::Debug + 'static,
12945{
12946    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
12947        match err {
12948            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12949            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12950                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12951                source: err.into(),
12952            }),
12953        }
12954    }
12955}
12956impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
12957    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
12958        match err {
12959            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
12960        }
12961    }
12962}
12963impl<R>
12964    From<
12965        ::aws_smithy_runtime_api::client::result::SdkError<
12966            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
12967            R,
12968        >,
12969    > for Error
12970where
12971    R: Send + Sync + std::fmt::Debug + 'static,
12972{
12973    fn from(
12974        err: ::aws_smithy_runtime_api::client::result::SdkError<
12975            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
12976            R,
12977        >,
12978    ) -> Self {
12979        match err {
12980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12983                source: err.into(),
12984            }),
12985        }
12986    }
12987}
12988impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
12989    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
12990        match err {
12991            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
12992                Error::Unhandled(inner)
12993            }
12994        }
12995    }
12996}
12997impl<R>
12998    From<
12999        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
13000    > for Error
13001where
13002    R: Send + Sync + std::fmt::Debug + 'static,
13003{
13004    fn from(
13005        err: ::aws_smithy_runtime_api::client::result::SdkError<
13006            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
13007            R,
13008        >,
13009    ) -> Self {
13010        match err {
13011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13014                source: err.into(),
13015            }),
13016        }
13017    }
13018}
13019impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
13020    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
13021        match err {
13022            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
13023        }
13024    }
13025}
13026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
13027    for Error
13028where
13029    R: Send + Sync + std::fmt::Debug + 'static,
13030{
13031    fn from(
13032        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
13033    ) -> Self {
13034        match err {
13035            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13036            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13037                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13038                source: err.into(),
13039            }),
13040        }
13041    }
13042}
13043impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
13044    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
13045        match err {
13046            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
13047        }
13048    }
13049}
13050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
13051    for Error
13052where
13053    R: Send + Sync + std::fmt::Debug + 'static,
13054{
13055    fn from(
13056        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
13057    ) -> Self {
13058        match err {
13059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13062                source: err.into(),
13063            }),
13064        }
13065    }
13066}
13067impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
13068    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
13069        match err {
13070            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13071        }
13072    }
13073}
13074impl<R>
13075    From<
13076        ::aws_smithy_runtime_api::client::result::SdkError<
13077            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13078            R,
13079        >,
13080    > for Error
13081where
13082    R: Send + Sync + std::fmt::Debug + 'static,
13083{
13084    fn from(
13085        err: ::aws_smithy_runtime_api::client::result::SdkError<
13086            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13087            R,
13088        >,
13089    ) -> Self {
13090        match err {
13091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13094                source: err.into(),
13095            }),
13096        }
13097    }
13098}
13099impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
13100    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
13101        match err {
13102            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
13103        }
13104    }
13105}
13106impl<R>
13107    From<
13108        ::aws_smithy_runtime_api::client::result::SdkError<
13109            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13110            R,
13111        >,
13112    > for Error
13113where
13114    R: Send + Sync + std::fmt::Debug + 'static,
13115{
13116    fn from(
13117        err: ::aws_smithy_runtime_api::client::result::SdkError<
13118            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13119            R,
13120        >,
13121    ) -> Self {
13122        match err {
13123            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13124            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13125                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13126                source: err.into(),
13127            }),
13128        }
13129    }
13130}
13131impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
13132    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
13133        match err {
13134            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13135        }
13136    }
13137}
13138impl<R>
13139    From<
13140        ::aws_smithy_runtime_api::client::result::SdkError<
13141            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13142            R,
13143        >,
13144    > for Error
13145where
13146    R: Send + Sync + std::fmt::Debug + 'static,
13147{
13148    fn from(
13149        err: ::aws_smithy_runtime_api::client::result::SdkError<
13150            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13151            R,
13152        >,
13153    ) -> Self {
13154        match err {
13155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13158                source: err.into(),
13159            }),
13160        }
13161    }
13162}
13163impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
13164    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
13165        match err {
13166            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
13167                Error::Unhandled(inner)
13168            }
13169        }
13170    }
13171}
13172impl<R>
13173    From<
13174        ::aws_smithy_runtime_api::client::result::SdkError<
13175            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13176            R,
13177        >,
13178    > for Error
13179where
13180    R: Send + Sync + std::fmt::Debug + 'static,
13181{
13182    fn from(
13183        err: ::aws_smithy_runtime_api::client::result::SdkError<
13184            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13185            R,
13186        >,
13187    ) -> Self {
13188        match err {
13189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13192                source: err.into(),
13193            }),
13194        }
13195    }
13196}
13197impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
13198    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
13199        match err {
13200            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
13201        }
13202    }
13203}
13204impl<R>
13205    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
13206    for Error
13207where
13208    R: Send + Sync + std::fmt::Debug + 'static,
13209{
13210    fn from(
13211        err: ::aws_smithy_runtime_api::client::result::SdkError<
13212            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
13213            R,
13214        >,
13215    ) -> Self {
13216        match err {
13217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13220                source: err.into(),
13221            }),
13222        }
13223    }
13224}
13225impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
13226    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
13227        match err {
13228            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
13229        }
13230    }
13231}
13232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
13233where
13234    R: Send + Sync + std::fmt::Debug + 'static,
13235{
13236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
13237        match err {
13238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13241                source: err.into(),
13242            }),
13243        }
13244    }
13245}
13246impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
13247    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
13248        match err {
13249            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
13250        }
13251    }
13252}
13253impl<R>
13254    From<
13255        ::aws_smithy_runtime_api::client::result::SdkError<
13256            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13257            R,
13258        >,
13259    > for Error
13260where
13261    R: Send + Sync + std::fmt::Debug + 'static,
13262{
13263    fn from(
13264        err: ::aws_smithy_runtime_api::client::result::SdkError<
13265            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13266            R,
13267        >,
13268    ) -> Self {
13269        match err {
13270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13273                source: err.into(),
13274            }),
13275        }
13276    }
13277}
13278impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
13279    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
13280        match err {
13281            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
13282                Error::Unhandled(inner)
13283            }
13284        }
13285    }
13286}
13287impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
13288where
13289    R: Send + Sync + std::fmt::Debug + 'static,
13290{
13291    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
13292        match err {
13293            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13294            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13295                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13296                source: err.into(),
13297            }),
13298        }
13299    }
13300}
13301impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
13302    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
13303        match err {
13304            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
13305        }
13306    }
13307}
13308impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
13309where
13310    R: Send + Sync + std::fmt::Debug + 'static,
13311{
13312    fn from(
13313        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
13314    ) -> Self {
13315        match err {
13316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13319                source: err.into(),
13320            }),
13321        }
13322    }
13323}
13324impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
13325    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
13326        match err {
13327            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
13328        }
13329    }
13330}
13331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
13332    for Error
13333where
13334    R: Send + Sync + std::fmt::Debug + 'static,
13335{
13336    fn from(
13337        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
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::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
13349    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
13350        match err {
13351            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
13352        }
13353    }
13354}
13355impl<R>
13356    From<
13357        ::aws_smithy_runtime_api::client::result::SdkError<
13358            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13359            R,
13360        >,
13361    > for Error
13362where
13363    R: Send + Sync + std::fmt::Debug + 'static,
13364{
13365    fn from(
13366        err: ::aws_smithy_runtime_api::client::result::SdkError<
13367            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13368            R,
13369        >,
13370    ) -> Self {
13371        match err {
13372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13375                source: err.into(),
13376            }),
13377        }
13378    }
13379}
13380impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
13381    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
13382        match err {
13383            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
13384                Error::Unhandled(inner)
13385            }
13386        }
13387    }
13388}
13389impl<R>
13390    From<
13391        ::aws_smithy_runtime_api::client::result::SdkError<
13392            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13393            R,
13394        >,
13395    > for Error
13396where
13397    R: Send + Sync + std::fmt::Debug + 'static,
13398{
13399    fn from(
13400        err: ::aws_smithy_runtime_api::client::result::SdkError<
13401            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13402            R,
13403        >,
13404    ) -> Self {
13405        match err {
13406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13409                source: err.into(),
13410            }),
13411        }
13412    }
13413}
13414impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
13415    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
13416        match err {
13417            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13418        }
13419    }
13420}
13421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
13422    for Error
13423where
13424    R: Send + Sync + std::fmt::Debug + 'static,
13425{
13426    fn from(
13427        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
13428    ) -> Self {
13429        match err {
13430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13433                source: err.into(),
13434            }),
13435        }
13436    }
13437}
13438impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
13439    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
13440        match err {
13441            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
13442        }
13443    }
13444}
13445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
13446where
13447    R: Send + Sync + std::fmt::Debug + 'static,
13448{
13449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
13450        match err {
13451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13454                source: err.into(),
13455            }),
13456        }
13457    }
13458}
13459impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
13460    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
13461        match err {
13462            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13463        }
13464    }
13465}
13466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
13467where
13468    R: Send + Sync + std::fmt::Debug + 'static,
13469{
13470    fn from(
13471        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
13472    ) -> Self {
13473        match err {
13474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13477                source: err.into(),
13478            }),
13479        }
13480    }
13481}
13482impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
13483    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
13484        match err {
13485            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13486        }
13487    }
13488}
13489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
13490where
13491    R: Send + Sync + std::fmt::Debug + 'static,
13492{
13493    fn from(
13494        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
13495    ) -> Self {
13496        match err {
13497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13500                source: err.into(),
13501            }),
13502        }
13503    }
13504}
13505impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
13506    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
13507        match err {
13508            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
13509        }
13510    }
13511}
13512impl<R>
13513    From<
13514        ::aws_smithy_runtime_api::client::result::SdkError<
13515            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13516            R,
13517        >,
13518    > for Error
13519where
13520    R: Send + Sync + std::fmt::Debug + 'static,
13521{
13522    fn from(
13523        err: ::aws_smithy_runtime_api::client::result::SdkError<
13524            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13525            R,
13526        >,
13527    ) -> Self {
13528        match err {
13529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13532                source: err.into(),
13533            }),
13534        }
13535    }
13536}
13537impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
13538    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
13539        match err {
13540            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
13541                Error::Unhandled(inner)
13542            }
13543        }
13544    }
13545}
13546impl<R>
13547    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
13548    for Error
13549where
13550    R: Send + Sync + std::fmt::Debug + 'static,
13551{
13552    fn from(
13553        err: ::aws_smithy_runtime_api::client::result::SdkError<
13554            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
13555            R,
13556        >,
13557    ) -> Self {
13558        match err {
13559            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13560            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13561                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13562                source: err.into(),
13563            }),
13564        }
13565    }
13566}
13567impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
13568    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
13569        match err {
13570            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
13571        }
13572    }
13573}
13574impl<R>
13575    From<
13576        ::aws_smithy_runtime_api::client::result::SdkError<
13577            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13578            R,
13579        >,
13580    > for Error
13581where
13582    R: Send + Sync + std::fmt::Debug + 'static,
13583{
13584    fn from(
13585        err: ::aws_smithy_runtime_api::client::result::SdkError<
13586            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13587            R,
13588        >,
13589    ) -> Self {
13590        match err {
13591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13594                source: err.into(),
13595            }),
13596        }
13597    }
13598}
13599impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
13600    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
13601        match err {
13602            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
13603                inner,
13604            ) => Error::Unhandled(inner),
13605        }
13606    }
13607}
13608impl<R>
13609    From<
13610        ::aws_smithy_runtime_api::client::result::SdkError<
13611            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13612            R,
13613        >,
13614    > for Error
13615where
13616    R: Send + Sync + std::fmt::Debug + 'static,
13617{
13618    fn from(
13619        err: ::aws_smithy_runtime_api::client::result::SdkError<
13620            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13621            R,
13622        >,
13623    ) -> Self {
13624        match err {
13625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13628                source: err.into(),
13629            }),
13630        }
13631    }
13632}
13633impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
13634    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
13635        match err {
13636            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
13637                Error::Unhandled(inner)
13638            }
13639        }
13640    }
13641}
13642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
13643where
13644    R: Send + Sync + std::fmt::Debug + 'static,
13645{
13646    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
13647        match err {
13648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13651                source: err.into(),
13652            }),
13653        }
13654    }
13655}
13656impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
13657    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
13658        match err {
13659            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
13660        }
13661    }
13662}
13663impl<R>
13664    From<
13665        ::aws_smithy_runtime_api::client::result::SdkError<
13666            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13667            R,
13668        >,
13669    > for Error
13670where
13671    R: Send + Sync + std::fmt::Debug + 'static,
13672{
13673    fn from(
13674        err: ::aws_smithy_runtime_api::client::result::SdkError<
13675            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13676            R,
13677        >,
13678    ) -> Self {
13679        match err {
13680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13683                source: err.into(),
13684            }),
13685        }
13686    }
13687}
13688impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
13689    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
13690        match err {
13691            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
13692                Error::Unhandled(inner)
13693            }
13694        }
13695    }
13696}
13697impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
13698    for Error
13699where
13700    R: Send + Sync + std::fmt::Debug + 'static,
13701{
13702    fn from(
13703        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
13704    ) -> Self {
13705        match err {
13706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13709                source: err.into(),
13710            }),
13711        }
13712    }
13713}
13714impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
13715    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
13716        match err {
13717            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
13718        }
13719    }
13720}
13721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
13722    for Error
13723where
13724    R: Send + Sync + std::fmt::Debug + 'static,
13725{
13726    fn from(
13727        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
13728    ) -> Self {
13729        match err {
13730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13733                source: err.into(),
13734            }),
13735        }
13736    }
13737}
13738impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
13739    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
13740        match err {
13741            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
13742        }
13743    }
13744}
13745impl<R>
13746    From<
13747        ::aws_smithy_runtime_api::client::result::SdkError<
13748            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13749            R,
13750        >,
13751    > for Error
13752where
13753    R: Send + Sync + std::fmt::Debug + 'static,
13754{
13755    fn from(
13756        err: ::aws_smithy_runtime_api::client::result::SdkError<
13757            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13758            R,
13759        >,
13760    ) -> Self {
13761        match err {
13762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13765                source: err.into(),
13766            }),
13767        }
13768    }
13769}
13770impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
13771    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
13772        match err {
13773            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
13774        }
13775    }
13776}
13777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
13778    for Error
13779where
13780    R: Send + Sync + std::fmt::Debug + 'static,
13781{
13782    fn from(
13783        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
13784    ) -> Self {
13785        match err {
13786            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13787            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13788                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13789                source: err.into(),
13790            }),
13791        }
13792    }
13793}
13794impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
13795    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
13796        match err {
13797            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
13798        }
13799    }
13800}
13801impl<R>
13802    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
13803    for Error
13804where
13805    R: Send + Sync + std::fmt::Debug + 'static,
13806{
13807    fn from(
13808        err: ::aws_smithy_runtime_api::client::result::SdkError<
13809            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
13810            R,
13811        >,
13812    ) -> Self {
13813        match err {
13814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13817                source: err.into(),
13818            }),
13819        }
13820    }
13821}
13822impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
13823    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
13824        match err {
13825            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
13826        }
13827    }
13828}
13829impl<R>
13830    From<
13831        ::aws_smithy_runtime_api::client::result::SdkError<
13832            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13833            R,
13834        >,
13835    > for Error
13836where
13837    R: Send + Sync + std::fmt::Debug + 'static,
13838{
13839    fn from(
13840        err: ::aws_smithy_runtime_api::client::result::SdkError<
13841            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13842            R,
13843        >,
13844    ) -> Self {
13845        match err {
13846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13849                source: err.into(),
13850            }),
13851        }
13852    }
13853}
13854impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
13855    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
13856        match err {
13857            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
13858                Error::Unhandled(inner)
13859            }
13860        }
13861    }
13862}
13863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
13864    for Error
13865where
13866    R: Send + Sync + std::fmt::Debug + 'static,
13867{
13868    fn from(
13869        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
13870    ) -> Self {
13871        match err {
13872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13875                source: err.into(),
13876            }),
13877        }
13878    }
13879}
13880impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
13881    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
13882        match err {
13883            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
13884        }
13885    }
13886}
13887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
13888    for Error
13889where
13890    R: Send + Sync + std::fmt::Debug + 'static,
13891{
13892    fn from(
13893        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
13894    ) -> Self {
13895        match err {
13896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13899                source: err.into(),
13900            }),
13901        }
13902    }
13903}
13904impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
13905    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
13906        match err {
13907            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
13908        }
13909    }
13910}
13911impl<R>
13912    From<
13913        ::aws_smithy_runtime_api::client::result::SdkError<
13914            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13915            R,
13916        >,
13917    > for Error
13918where
13919    R: Send + Sync + std::fmt::Debug + 'static,
13920{
13921    fn from(
13922        err: ::aws_smithy_runtime_api::client::result::SdkError<
13923            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13924            R,
13925        >,
13926    ) -> Self {
13927        match err {
13928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13931                source: err.into(),
13932            }),
13933        }
13934    }
13935}
13936impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
13937    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
13938        match err {
13939            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
13940                Error::Unhandled(inner)
13941            }
13942        }
13943    }
13944}
13945impl<R>
13946    From<
13947        ::aws_smithy_runtime_api::client::result::SdkError<
13948            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
13949            R,
13950        >,
13951    > for Error
13952where
13953    R: Send + Sync + std::fmt::Debug + 'static,
13954{
13955    fn from(
13956        err: ::aws_smithy_runtime_api::client::result::SdkError<
13957            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
13958            R,
13959        >,
13960    ) -> Self {
13961        match err {
13962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13965                source: err.into(),
13966            }),
13967        }
13968    }
13969}
13970impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
13971    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
13972        match err {
13973            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
13974                inner,
13975            ) => Error::Unhandled(inner),
13976        }
13977    }
13978}
13979impl<R>
13980    From<
13981        ::aws_smithy_runtime_api::client::result::SdkError<
13982            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
13983            R,
13984        >,
13985    > for Error
13986where
13987    R: Send + Sync + std::fmt::Debug + 'static,
13988{
13989    fn from(
13990        err: ::aws_smithy_runtime_api::client::result::SdkError<
13991            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
13992            R,
13993        >,
13994    ) -> Self {
13995        match err {
13996            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13997            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13998                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13999                source: err.into(),
14000            }),
14001        }
14002    }
14003}
14004impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
14005    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
14006        match err {
14007            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
14008                Error::Unhandled(inner)
14009            }
14010        }
14011    }
14012}
14013impl<R>
14014    From<
14015        ::aws_smithy_runtime_api::client::result::SdkError<
14016            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14017            R,
14018        >,
14019    > for Error
14020where
14021    R: Send + Sync + std::fmt::Debug + 'static,
14022{
14023    fn from(
14024        err: ::aws_smithy_runtime_api::client::result::SdkError<
14025            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14026            R,
14027        >,
14028    ) -> Self {
14029        match err {
14030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14033                source: err.into(),
14034            }),
14035        }
14036    }
14037}
14038impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
14039    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
14040        match err {
14041            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
14042                Error::Unhandled(inner)
14043            }
14044        }
14045    }
14046}
14047impl<R>
14048    From<
14049        ::aws_smithy_runtime_api::client::result::SdkError<
14050            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14051            R,
14052        >,
14053    > for Error
14054where
14055    R: Send + Sync + std::fmt::Debug + 'static,
14056{
14057    fn from(
14058        err: ::aws_smithy_runtime_api::client::result::SdkError<
14059            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14060            R,
14061        >,
14062    ) -> Self {
14063        match err {
14064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14067                source: err.into(),
14068            }),
14069        }
14070    }
14071}
14072impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
14073    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
14074        match err {
14075            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
14076                Error::Unhandled(inner)
14077            }
14078        }
14079    }
14080}
14081impl<R>
14082    From<
14083        ::aws_smithy_runtime_api::client::result::SdkError<
14084            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14085            R,
14086        >,
14087    > for Error
14088where
14089    R: Send + Sync + std::fmt::Debug + 'static,
14090{
14091    fn from(
14092        err: ::aws_smithy_runtime_api::client::result::SdkError<
14093            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14094            R,
14095        >,
14096    ) -> Self {
14097        match err {
14098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14101                source: err.into(),
14102            }),
14103        }
14104    }
14105}
14106impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
14107    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
14108        match err {
14109            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
14110                Error::Unhandled(inner)
14111            }
14112        }
14113    }
14114}
14115impl<R>
14116    From<
14117        ::aws_smithy_runtime_api::client::result::SdkError<
14118            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14119            R,
14120        >,
14121    > for Error
14122where
14123    R: Send + Sync + std::fmt::Debug + 'static,
14124{
14125    fn from(
14126        err: ::aws_smithy_runtime_api::client::result::SdkError<
14127            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14128            R,
14129        >,
14130    ) -> Self {
14131        match err {
14132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14135                source: err.into(),
14136            }),
14137        }
14138    }
14139}
14140impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
14141    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
14142        match err {
14143            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
14144                Error::Unhandled(inner)
14145            }
14146        }
14147    }
14148}
14149impl<R>
14150    From<
14151        ::aws_smithy_runtime_api::client::result::SdkError<
14152            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14153            R,
14154        >,
14155    > for Error
14156where
14157    R: Send + Sync + std::fmt::Debug + 'static,
14158{
14159    fn from(
14160        err: ::aws_smithy_runtime_api::client::result::SdkError<
14161            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14162            R,
14163        >,
14164    ) -> Self {
14165        match err {
14166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14169                source: err.into(),
14170            }),
14171        }
14172    }
14173}
14174impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
14175    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
14176        match err {
14177            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14178        }
14179    }
14180}
14181impl<R>
14182    From<
14183        ::aws_smithy_runtime_api::client::result::SdkError<
14184            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14185            R,
14186        >,
14187    > for Error
14188where
14189    R: Send + Sync + std::fmt::Debug + 'static,
14190{
14191    fn from(
14192        err: ::aws_smithy_runtime_api::client::result::SdkError<
14193            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14194            R,
14195        >,
14196    ) -> Self {
14197        match err {
14198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14201                source: err.into(),
14202            }),
14203        }
14204    }
14205}
14206impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
14207    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
14208        match err {
14209            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
14210                Error::Unhandled(inner)
14211            }
14212        }
14213    }
14214}
14215impl<R>
14216    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
14217    for Error
14218where
14219    R: Send + Sync + std::fmt::Debug + 'static,
14220{
14221    fn from(
14222        err: ::aws_smithy_runtime_api::client::result::SdkError<
14223            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
14224            R,
14225        >,
14226    ) -> Self {
14227        match err {
14228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14231                source: err.into(),
14232            }),
14233        }
14234    }
14235}
14236impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
14237    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
14238        match err {
14239            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14240        }
14241    }
14242}
14243impl<R>
14244    From<
14245        ::aws_smithy_runtime_api::client::result::SdkError<
14246            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14247            R,
14248        >,
14249    > for Error
14250where
14251    R: Send + Sync + std::fmt::Debug + 'static,
14252{
14253    fn from(
14254        err: ::aws_smithy_runtime_api::client::result::SdkError<
14255            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14256            R,
14257        >,
14258    ) -> 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_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
14269    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
14270        match err {
14271            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
14272                Error::Unhandled(inner)
14273            }
14274        }
14275    }
14276}
14277impl<R>
14278    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
14279    for Error
14280where
14281    R: Send + Sync + std::fmt::Debug + 'static,
14282{
14283    fn from(
14284        err: ::aws_smithy_runtime_api::client::result::SdkError<
14285            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
14286            R,
14287        >,
14288    ) -> Self {
14289        match err {
14290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14293                source: err.into(),
14294            }),
14295        }
14296    }
14297}
14298impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
14299    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
14300        match err {
14301            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
14302        }
14303    }
14304}
14305impl<R>
14306    From<
14307        ::aws_smithy_runtime_api::client::result::SdkError<
14308            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14309            R,
14310        >,
14311    > for Error
14312where
14313    R: Send + Sync + std::fmt::Debug + 'static,
14314{
14315    fn from(
14316        err: ::aws_smithy_runtime_api::client::result::SdkError<
14317            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14318            R,
14319        >,
14320    ) -> Self {
14321        match err {
14322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14325                source: err.into(),
14326            }),
14327        }
14328    }
14329}
14330impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
14331    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
14332        match err {
14333            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
14334        }
14335    }
14336}
14337impl<R>
14338    From<
14339        ::aws_smithy_runtime_api::client::result::SdkError<
14340            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14341            R,
14342        >,
14343    > for Error
14344where
14345    R: Send + Sync + std::fmt::Debug + 'static,
14346{
14347    fn from(
14348        err: ::aws_smithy_runtime_api::client::result::SdkError<
14349            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14350            R,
14351        >,
14352    ) -> Self {
14353        match err {
14354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14357                source: err.into(),
14358            }),
14359        }
14360    }
14361}
14362impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
14363    fn from(
14364        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14365    ) -> Self {
14366        match err {
14367            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
14368        }
14369    }
14370}
14371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
14372where
14373    R: Send + Sync + std::fmt::Debug + 'static,
14374{
14375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
14376        match err {
14377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14380                source: err.into(),
14381            }),
14382        }
14383    }
14384}
14385impl From<crate::operation::import_image::ImportImageError> for Error {
14386    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
14387        match err {
14388            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
14389        }
14390    }
14391}
14392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
14393where
14394    R: Send + Sync + std::fmt::Debug + 'static,
14395{
14396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
14397        match err {
14398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14401                source: err.into(),
14402            }),
14403        }
14404    }
14405}
14406impl From<crate::operation::import_instance::ImportInstanceError> for Error {
14407    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
14408        match err {
14409            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
14410        }
14411    }
14412}
14413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
14414where
14415    R: Send + Sync + std::fmt::Debug + 'static,
14416{
14417    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
14418        match err {
14419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14422                source: err.into(),
14423            }),
14424        }
14425    }
14426}
14427impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
14428    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
14429        match err {
14430            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
14431        }
14432    }
14433}
14434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
14435where
14436    R: Send + Sync + std::fmt::Debug + 'static,
14437{
14438    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
14439        match err {
14440            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14441            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14442                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14443                source: err.into(),
14444            }),
14445        }
14446    }
14447}
14448impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
14449    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
14450        match err {
14451            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14452        }
14453    }
14454}
14455impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
14456where
14457    R: Send + Sync + std::fmt::Debug + 'static,
14458{
14459    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
14460        match err {
14461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14464                source: err.into(),
14465            }),
14466        }
14467    }
14468}
14469impl From<crate::operation::import_volume::ImportVolumeError> for Error {
14470    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
14471        match err {
14472            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
14473        }
14474    }
14475}
14476impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
14477    for Error
14478where
14479    R: Send + Sync + std::fmt::Debug + 'static,
14480{
14481    fn from(
14482        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
14483    ) -> Self {
14484        match err {
14485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14488                source: err.into(),
14489            }),
14490        }
14491    }
14492}
14493impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
14494    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
14495        match err {
14496            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14497        }
14498    }
14499}
14500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
14501    for Error
14502where
14503    R: Send + Sync + std::fmt::Debug + 'static,
14504{
14505    fn from(
14506        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
14507    ) -> Self {
14508        match err {
14509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14512                source: err.into(),
14513            }),
14514        }
14515    }
14516}
14517impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
14518    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
14519        match err {
14520            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14521        }
14522    }
14523}
14524impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
14525where
14526    R: Send + Sync + std::fmt::Debug + 'static,
14527{
14528    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
14529        match err {
14530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14533                source: err.into(),
14534            }),
14535        }
14536    }
14537}
14538impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
14539    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
14540        match err {
14541            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14542        }
14543    }
14544}
14545impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
14546where
14547    R: Send + Sync + std::fmt::Debug + 'static,
14548{
14549    fn from(
14550        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
14551    ) -> Self {
14552        match err {
14553            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14554            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14555                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14556                source: err.into(),
14557            }),
14558        }
14559    }
14560}
14561impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
14562    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
14563        match err {
14564            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14565        }
14566    }
14567}
14568impl<R>
14569    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
14570    for Error
14571where
14572    R: Send + Sync + std::fmt::Debug + 'static,
14573{
14574    fn from(
14575        err: ::aws_smithy_runtime_api::client::result::SdkError<
14576            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
14577            R,
14578        >,
14579    ) -> Self {
14580        match err {
14581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14584                source: err.into(),
14585            }),
14586        }
14587    }
14588}
14589impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
14590    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
14591        match err {
14592            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
14593        }
14594    }
14595}
14596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
14597    for Error
14598where
14599    R: Send + Sync + std::fmt::Debug + 'static,
14600{
14601    fn from(
14602        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
14603    ) -> Self {
14604        match err {
14605            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14606            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14607                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14608                source: err.into(),
14609            }),
14610        }
14611    }
14612}
14613impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
14614    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
14615        match err {
14616            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14617        }
14618    }
14619}
14620impl<R>
14621    From<
14622        ::aws_smithy_runtime_api::client::result::SdkError<
14623            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14624            R,
14625        >,
14626    > for Error
14627where
14628    R: Send + Sync + std::fmt::Debug + 'static,
14629{
14630    fn from(
14631        err: ::aws_smithy_runtime_api::client::result::SdkError<
14632            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14633            R,
14634        >,
14635    ) -> Self {
14636        match err {
14637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14640                source: err.into(),
14641            }),
14642        }
14643    }
14644}
14645impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
14646    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
14647        match err {
14648            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
14649        }
14650    }
14651}
14652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
14653    for Error
14654where
14655    R: Send + Sync + std::fmt::Debug + 'static,
14656{
14657    fn from(
14658        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
14659    ) -> Self {
14660        match err {
14661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14664                source: err.into(),
14665            }),
14666        }
14667    }
14668}
14669impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
14670    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
14671        match err {
14672            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
14673        }
14674    }
14675}
14676impl<R>
14677    From<
14678        ::aws_smithy_runtime_api::client::result::SdkError<
14679            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14680            R,
14681        >,
14682    > for Error
14683where
14684    R: Send + Sync + std::fmt::Debug + 'static,
14685{
14686    fn from(
14687        err: ::aws_smithy_runtime_api::client::result::SdkError<
14688            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14689            R,
14690        >,
14691    ) -> Self {
14692        match err {
14693            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14694            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14695                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14696                source: err.into(),
14697            }),
14698        }
14699    }
14700}
14701impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
14702    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
14703        match err {
14704            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14705        }
14706    }
14707}
14708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
14709    for Error
14710where
14711    R: Send + Sync + std::fmt::Debug + 'static,
14712{
14713    fn from(
14714        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
14715    ) -> Self {
14716        match err {
14717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14720                source: err.into(),
14721            }),
14722        }
14723    }
14724}
14725impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
14726    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
14727        match err {
14728            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14729        }
14730    }
14731}
14732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
14733where
14734    R: Send + Sync + std::fmt::Debug + 'static,
14735{
14736    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
14737        match err {
14738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14741                source: err.into(),
14742            }),
14743        }
14744    }
14745}
14746impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
14747    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
14748        match err {
14749            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
14750        }
14751    }
14752}
14753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
14754    for Error
14755where
14756    R: Send + Sync + std::fmt::Debug + 'static,
14757{
14758    fn from(
14759        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
14760    ) -> Self {
14761        match err {
14762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14765                source: err.into(),
14766            }),
14767        }
14768    }
14769}
14770impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
14771    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
14772        match err {
14773            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14774        }
14775    }
14776}
14777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
14778where
14779    R: Send + Sync + std::fmt::Debug + 'static,
14780{
14781    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
14782        match err {
14783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14786                source: err.into(),
14787            }),
14788        }
14789    }
14790}
14791impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
14792    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
14793        match err {
14794            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
14795        }
14796    }
14797}
14798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
14799    for Error
14800where
14801    R: Send + Sync + std::fmt::Debug + 'static,
14802{
14803    fn from(
14804        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
14805    ) -> Self {
14806        match err {
14807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14810                source: err.into(),
14811            }),
14812        }
14813    }
14814}
14815impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
14816    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
14817        match err {
14818            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14819        }
14820    }
14821}
14822impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
14823where
14824    R: Send + Sync + std::fmt::Debug + 'static,
14825{
14826    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
14827        match err {
14828            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14829            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14830                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14831                source: err.into(),
14832            }),
14833        }
14834    }
14835}
14836impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
14837    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
14838        match err {
14839            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14840        }
14841    }
14842}
14843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
14844where
14845    R: Send + Sync + std::fmt::Debug + 'static,
14846{
14847    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
14848        match err {
14849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14852                source: err.into(),
14853            }),
14854        }
14855    }
14856}
14857impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
14858    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
14859        match err {
14860            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14861        }
14862    }
14863}
14864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
14865    for Error
14866where
14867    R: Send + Sync + std::fmt::Debug + 'static,
14868{
14869    fn from(
14870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
14871    ) -> Self {
14872        match err {
14873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14876                source: err.into(),
14877            }),
14878        }
14879    }
14880}
14881impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
14882    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
14883        match err {
14884            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14885        }
14886    }
14887}
14888impl<R>
14889    From<
14890        ::aws_smithy_runtime_api::client::result::SdkError<
14891            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
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::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
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::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
14914    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
14915        match err {
14916            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
14917                Error::Unhandled(inner)
14918            }
14919        }
14920    }
14921}
14922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
14923    for Error
14924where
14925    R: Send + Sync + std::fmt::Debug + 'static,
14926{
14927    fn from(
14928        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
14929    ) -> Self {
14930        match err {
14931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14934                source: err.into(),
14935            }),
14936        }
14937    }
14938}
14939impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
14940    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
14941        match err {
14942            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14943        }
14944    }
14945}
14946impl<R>
14947    From<
14948        ::aws_smithy_runtime_api::client::result::SdkError<
14949            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
14950            R,
14951        >,
14952    > for Error
14953where
14954    R: Send + Sync + std::fmt::Debug + 'static,
14955{
14956    fn from(
14957        err: ::aws_smithy_runtime_api::client::result::SdkError<
14958            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
14959            R,
14960        >,
14961    ) -> Self {
14962        match err {
14963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14966                source: err.into(),
14967            }),
14968        }
14969    }
14970}
14971impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
14972    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
14973        match err {
14974            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
14975                Error::Unhandled(inner)
14976            }
14977        }
14978    }
14979}
14980impl<R>
14981    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
14982    for Error
14983where
14984    R: Send + Sync + std::fmt::Debug + 'static,
14985{
14986    fn from(
14987        err: ::aws_smithy_runtime_api::client::result::SdkError<
14988            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
14989            R,
14990        >,
14991    ) -> Self {
14992        match err {
14993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14996                source: err.into(),
14997            }),
14998        }
14999    }
15000}
15001impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
15002    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
15003        match err {
15004            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
15005        }
15006    }
15007}
15008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
15009    for Error
15010where
15011    R: Send + Sync + std::fmt::Debug + 'static,
15012{
15013    fn from(
15014        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
15015    ) -> Self {
15016        match err {
15017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15020                source: err.into(),
15021            }),
15022        }
15023    }
15024}
15025impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
15026    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
15027        match err {
15028            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
15029        }
15030    }
15031}
15032impl<R>
15033    From<
15034        ::aws_smithy_runtime_api::client::result::SdkError<
15035            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15036            R,
15037        >,
15038    > for Error
15039where
15040    R: Send + Sync + std::fmt::Debug + 'static,
15041{
15042    fn from(
15043        err: ::aws_smithy_runtime_api::client::result::SdkError<
15044            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15045            R,
15046        >,
15047    ) -> Self {
15048        match err {
15049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15052                source: err.into(),
15053            }),
15054        }
15055    }
15056}
15057impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
15058    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
15059        match err {
15060            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15061        }
15062    }
15063}
15064impl<R>
15065    From<
15066        ::aws_smithy_runtime_api::client::result::SdkError<
15067            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15068            R,
15069        >,
15070    > for Error
15071where
15072    R: Send + Sync + std::fmt::Debug + 'static,
15073{
15074    fn from(
15075        err: ::aws_smithy_runtime_api::client::result::SdkError<
15076            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15077            R,
15078        >,
15079    ) -> Self {
15080        match err {
15081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15084                source: err.into(),
15085            }),
15086        }
15087    }
15088}
15089impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
15090    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
15091        match err {
15092            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
15093        }
15094    }
15095}
15096impl<R>
15097    From<
15098        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
15099    > for Error
15100where
15101    R: Send + Sync + std::fmt::Debug + 'static,
15102{
15103    fn from(
15104        err: ::aws_smithy_runtime_api::client::result::SdkError<
15105            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
15106            R,
15107        >,
15108    ) -> Self {
15109        match err {
15110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15113                source: err.into(),
15114            }),
15115        }
15116    }
15117}
15118impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
15119    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
15120        match err {
15121            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15122        }
15123    }
15124}
15125impl<R>
15126    From<
15127        ::aws_smithy_runtime_api::client::result::SdkError<
15128            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15129            R,
15130        >,
15131    > for Error
15132where
15133    R: Send + Sync + std::fmt::Debug + 'static,
15134{
15135    fn from(
15136        err: ::aws_smithy_runtime_api::client::result::SdkError<
15137            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15138            R,
15139        >,
15140    ) -> Self {
15141        match err {
15142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15145                source: err.into(),
15146            }),
15147        }
15148    }
15149}
15150impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
15151    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
15152        match err {
15153            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
15154                Error::Unhandled(inner)
15155            }
15156        }
15157    }
15158}
15159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
15160    for Error
15161where
15162    R: Send + Sync + std::fmt::Debug + 'static,
15163{
15164    fn from(
15165        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
15166    ) -> Self {
15167        match err {
15168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15171                source: err.into(),
15172            }),
15173        }
15174    }
15175}
15176impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
15177    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
15178        match err {
15179            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
15180        }
15181    }
15182}
15183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
15184where
15185    R: Send + Sync + std::fmt::Debug + 'static,
15186{
15187    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
15188        match err {
15189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15192                source: err.into(),
15193            }),
15194        }
15195    }
15196}
15197impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
15198    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
15199        match err {
15200            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
15201        }
15202    }
15203}
15204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
15205where
15206    R: Send + Sync + std::fmt::Debug + 'static,
15207{
15208    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
15209        match err {
15210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15213                source: err.into(),
15214            }),
15215        }
15216    }
15217}
15218impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
15219    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
15220        match err {
15221            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
15222        }
15223    }
15224}
15225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
15226    for Error
15227where
15228    R: Send + Sync + std::fmt::Debug + 'static,
15229{
15230    fn from(
15231        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
15232    ) -> Self {
15233        match err {
15234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15237                source: err.into(),
15238            }),
15239        }
15240    }
15241}
15242impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
15243    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
15244        match err {
15245            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
15246        }
15247    }
15248}
15249impl<R>
15250    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
15251    for Error
15252where
15253    R: Send + Sync + std::fmt::Debug + 'static,
15254{
15255    fn from(
15256        err: ::aws_smithy_runtime_api::client::result::SdkError<
15257            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
15258            R,
15259        >,
15260    ) -> Self {
15261        match err {
15262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15265                source: err.into(),
15266            }),
15267        }
15268    }
15269}
15270impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
15271    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
15272        match err {
15273            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
15274        }
15275    }
15276}
15277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
15278where
15279    R: Send + Sync + std::fmt::Debug + 'static,
15280{
15281    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
15282        match err {
15283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15286                source: err.into(),
15287            }),
15288        }
15289    }
15290}
15291impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
15292    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
15293        match err {
15294            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
15295        }
15296    }
15297}
15298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
15299where
15300    R: Send + Sync + std::fmt::Debug + 'static,
15301{
15302    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
15303        match err {
15304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15307                source: err.into(),
15308            }),
15309        }
15310    }
15311}
15312impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
15313    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
15314        match err {
15315            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
15316        }
15317    }
15318}
15319impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
15320    for Error
15321where
15322    R: Send + Sync + std::fmt::Debug + 'static,
15323{
15324    fn from(
15325        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
15326    ) -> 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::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
15337    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
15338        match err {
15339            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
15340        }
15341    }
15342}
15343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
15344    for Error
15345where
15346    R: Send + Sync + std::fmt::Debug + 'static,
15347{
15348    fn from(
15349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
15350    ) -> Self {
15351        match err {
15352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15355                source: err.into(),
15356            }),
15357        }
15358    }
15359}
15360impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
15361    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
15362        match err {
15363            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
15364        }
15365    }
15366}
15367impl<R>
15368    From<
15369        ::aws_smithy_runtime_api::client::result::SdkError<
15370            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15371            R,
15372        >,
15373    > for Error
15374where
15375    R: Send + Sync + std::fmt::Debug + 'static,
15376{
15377    fn from(
15378        err: ::aws_smithy_runtime_api::client::result::SdkError<
15379            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15380            R,
15381        >,
15382    ) -> Self {
15383        match err {
15384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15387                source: err.into(),
15388            }),
15389        }
15390    }
15391}
15392impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
15393    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
15394        match err {
15395            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15396        }
15397    }
15398}
15399impl<R>
15400    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
15401    for Error
15402where
15403    R: Send + Sync + std::fmt::Debug + 'static,
15404{
15405    fn from(
15406        err: ::aws_smithy_runtime_api::client::result::SdkError<
15407            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
15408            R,
15409        >,
15410    ) -> Self {
15411        match err {
15412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15415                source: err.into(),
15416            }),
15417        }
15418    }
15419}
15420impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
15421    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
15422        match err {
15423            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15424        }
15425    }
15426}
15427impl<R>
15428    From<
15429        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
15430    > for Error
15431where
15432    R: Send + Sync + std::fmt::Debug + 'static,
15433{
15434    fn from(
15435        err: ::aws_smithy_runtime_api::client::result::SdkError<
15436            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
15437            R,
15438        >,
15439    ) -> Self {
15440        match err {
15441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15444                source: err.into(),
15445            }),
15446        }
15447    }
15448}
15449impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
15450    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
15451        match err {
15452            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15453        }
15454    }
15455}
15456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
15457    for Error
15458where
15459    R: Send + Sync + std::fmt::Debug + 'static,
15460{
15461    fn from(
15462        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
15463    ) -> Self {
15464        match err {
15465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15468                source: err.into(),
15469            }),
15470        }
15471    }
15472}
15473impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
15474    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
15475        match err {
15476            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15477        }
15478    }
15479}
15480impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
15481where
15482    R: Send + Sync + std::fmt::Debug + 'static,
15483{
15484    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
15485        match err {
15486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15489                source: err.into(),
15490            }),
15491        }
15492    }
15493}
15494impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
15495    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
15496        match err {
15497            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
15498        }
15499    }
15500}
15501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
15502    for Error
15503where
15504    R: Send + Sync + std::fmt::Debug + 'static,
15505{
15506    fn from(
15507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
15508    ) -> Self {
15509        match err {
15510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15513                source: err.into(),
15514            }),
15515        }
15516    }
15517}
15518impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
15519    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
15520        match err {
15521            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
15522        }
15523    }
15524}
15525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
15526    for Error
15527where
15528    R: Send + Sync + std::fmt::Debug + 'static,
15529{
15530    fn from(
15531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
15532    ) -> Self {
15533        match err {
15534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15537                source: err.into(),
15538            }),
15539        }
15540    }
15541}
15542impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
15543    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
15544        match err {
15545            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15546        }
15547    }
15548}
15549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
15550where
15551    R: Send + Sync + std::fmt::Debug + 'static,
15552{
15553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
15554        match err {
15555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15558                source: err.into(),
15559            }),
15560        }
15561    }
15562}
15563impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
15564    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
15565        match err {
15566            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
15567        }
15568    }
15569}
15570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
15571    for Error
15572where
15573    R: Send + Sync + std::fmt::Debug + 'static,
15574{
15575    fn from(
15576        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
15577    ) -> Self {
15578        match err {
15579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15582                source: err.into(),
15583            }),
15584        }
15585    }
15586}
15587impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
15588    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
15589        match err {
15590            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
15591        }
15592    }
15593}
15594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
15595where
15596    R: Send + Sync + std::fmt::Debug + 'static,
15597{
15598    fn from(
15599        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
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_subnet_attribute::ModifySubnetAttributeError> for Error {
15611    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
15612        match err {
15613            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15614        }
15615    }
15616}
15617impl<R>
15618    From<
15619        ::aws_smithy_runtime_api::client::result::SdkError<
15620            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15621            R,
15622        >,
15623    > for Error
15624where
15625    R: Send + Sync + std::fmt::Debug + 'static,
15626{
15627    fn from(
15628        err: ::aws_smithy_runtime_api::client::result::SdkError<
15629            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15630            R,
15631        >,
15632    ) -> Self {
15633        match err {
15634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15637                source: err.into(),
15638            }),
15639        }
15640    }
15641}
15642impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
15643    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
15644        match err {
15645            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
15646                Error::Unhandled(inner)
15647            }
15648        }
15649    }
15650}
15651impl<R>
15652    From<
15653        ::aws_smithy_runtime_api::client::result::SdkError<
15654            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15655            R,
15656        >,
15657    > for Error
15658where
15659    R: Send + Sync + std::fmt::Debug + 'static,
15660{
15661    fn from(
15662        err: ::aws_smithy_runtime_api::client::result::SdkError<
15663            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15664            R,
15665        >,
15666    ) -> Self {
15667        match err {
15668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15671                source: err.into(),
15672            }),
15673        }
15674    }
15675}
15676impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
15677    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
15678        match err {
15679            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
15680        }
15681    }
15682}
15683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
15684    for Error
15685where
15686    R: Send + Sync + std::fmt::Debug + 'static,
15687{
15688    fn from(
15689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
15690    ) -> 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_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
15701    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
15702        match err {
15703            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
15704        }
15705    }
15706}
15707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
15708where
15709    R: Send + Sync + std::fmt::Debug + 'static,
15710{
15711    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
15712        match err {
15713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15716                source: err.into(),
15717            }),
15718        }
15719    }
15720}
15721impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
15722    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
15723        match err {
15724            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
15725        }
15726    }
15727}
15728impl<R>
15729    From<
15730        ::aws_smithy_runtime_api::client::result::SdkError<
15731            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15732            R,
15733        >,
15734    > for Error
15735where
15736    R: Send + Sync + std::fmt::Debug + 'static,
15737{
15738    fn from(
15739        err: ::aws_smithy_runtime_api::client::result::SdkError<
15740            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15741            R,
15742        >,
15743    ) -> Self {
15744        match err {
15745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15748                source: err.into(),
15749            }),
15750        }
15751    }
15752}
15753impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
15754    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
15755        match err {
15756            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
15757                Error::Unhandled(inner)
15758            }
15759        }
15760    }
15761}
15762impl<R>
15763    From<
15764        ::aws_smithy_runtime_api::client::result::SdkError<
15765            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15766            R,
15767        >,
15768    > for Error
15769where
15770    R: Send + Sync + std::fmt::Debug + 'static,
15771{
15772    fn from(
15773        err: ::aws_smithy_runtime_api::client::result::SdkError<
15774            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15775            R,
15776        >,
15777    ) -> Self {
15778        match err {
15779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15782                source: err.into(),
15783            }),
15784        }
15785    }
15786}
15787impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
15788    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
15789        match err {
15790            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
15791                Error::Unhandled(inner)
15792            }
15793        }
15794    }
15795}
15796impl<R>
15797    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
15798    for Error
15799where
15800    R: Send + Sync + std::fmt::Debug + 'static,
15801{
15802    fn from(
15803        err: ::aws_smithy_runtime_api::client::result::SdkError<
15804            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
15805            R,
15806        >,
15807    ) -> Self {
15808        match err {
15809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15812                source: err.into(),
15813            }),
15814        }
15815    }
15816}
15817impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
15818    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
15819        match err {
15820            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15821        }
15822    }
15823}
15824impl<R>
15825    From<
15826        ::aws_smithy_runtime_api::client::result::SdkError<
15827            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15828            R,
15829        >,
15830    > for Error
15831where
15832    R: Send + Sync + std::fmt::Debug + 'static,
15833{
15834    fn from(
15835        err: ::aws_smithy_runtime_api::client::result::SdkError<
15836            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15837            R,
15838        >,
15839    ) -> Self {
15840        match err {
15841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15844                source: err.into(),
15845            }),
15846        }
15847    }
15848}
15849impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
15850    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
15851        match err {
15852            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
15853                Error::Unhandled(inner)
15854            }
15855        }
15856    }
15857}
15858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
15859    for Error
15860where
15861    R: Send + Sync + std::fmt::Debug + 'static,
15862{
15863    fn from(
15864        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
15865    ) -> Self {
15866        match err {
15867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15870                source: err.into(),
15871            }),
15872        }
15873    }
15874}
15875impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
15876    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
15877        match err {
15878            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
15879        }
15880    }
15881}
15882impl<R>
15883    From<
15884        ::aws_smithy_runtime_api::client::result::SdkError<
15885            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15886            R,
15887        >,
15888    > for Error
15889where
15890    R: Send + Sync + std::fmt::Debug + 'static,
15891{
15892    fn from(
15893        err: ::aws_smithy_runtime_api::client::result::SdkError<
15894            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15895            R,
15896        >,
15897    ) -> Self {
15898        match err {
15899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15902                source: err.into(),
15903            }),
15904        }
15905    }
15906}
15907impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
15908    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
15909        match err {
15910            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15911        }
15912    }
15913}
15914impl<R>
15915    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
15916    for Error
15917where
15918    R: Send + Sync + std::fmt::Debug + 'static,
15919{
15920    fn from(
15921        err: ::aws_smithy_runtime_api::client::result::SdkError<
15922            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
15923            R,
15924        >,
15925    ) -> Self {
15926        match err {
15927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15930                source: err.into(),
15931            }),
15932        }
15933    }
15934}
15935impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
15936    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
15937        match err {
15938            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15939        }
15940    }
15941}
15942impl<R>
15943    From<
15944        ::aws_smithy_runtime_api::client::result::SdkError<
15945            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15946            R,
15947        >,
15948    > for Error
15949where
15950    R: Send + Sync + std::fmt::Debug + 'static,
15951{
15952    fn from(
15953        err: ::aws_smithy_runtime_api::client::result::SdkError<
15954            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15955            R,
15956        >,
15957    ) -> Self {
15958        match err {
15959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15962                source: err.into(),
15963            }),
15964        }
15965    }
15966}
15967impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
15968    fn from(
15969        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15970    ) -> Self {
15971        match err {
15972            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
15973        }
15974    }
15975}
15976impl<R>
15977    From<
15978        ::aws_smithy_runtime_api::client::result::SdkError<
15979            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
15980            R,
15981        >,
15982    > for Error
15983where
15984    R: Send + Sync + std::fmt::Debug + 'static,
15985{
15986    fn from(
15987        err: ::aws_smithy_runtime_api::client::result::SdkError<
15988            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
15989            R,
15990        >,
15991    ) -> Self {
15992        match err {
15993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15996                source: err.into(),
15997            }),
15998        }
15999    }
16000}
16001impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
16002    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
16003        match err {
16004            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
16005                Error::Unhandled(inner)
16006            }
16007        }
16008    }
16009}
16010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
16011where
16012    R: Send + Sync + std::fmt::Debug + 'static,
16013{
16014    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
16015        match err {
16016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16019                source: err.into(),
16020            }),
16021        }
16022    }
16023}
16024impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
16025    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
16026        match err {
16027            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
16028        }
16029    }
16030}
16031impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
16032where
16033    R: Send + Sync + std::fmt::Debug + 'static,
16034{
16035    fn from(
16036        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
16037    ) -> Self {
16038        match err {
16039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16042                source: err.into(),
16043            }),
16044        }
16045    }
16046}
16047impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
16048    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
16049        match err {
16050            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16051        }
16052    }
16053}
16054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
16055where
16056    R: Send + Sync + std::fmt::Debug + 'static,
16057{
16058    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
16059        match err {
16060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16063                source: err.into(),
16064            }),
16065        }
16066    }
16067}
16068impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
16069    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
16070        match err {
16071            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16072        }
16073    }
16074}
16075impl<R>
16076    From<
16077        ::aws_smithy_runtime_api::client::result::SdkError<
16078            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16079            R,
16080        >,
16081    > for Error
16082where
16083    R: Send + Sync + std::fmt::Debug + 'static,
16084{
16085    fn from(
16086        err: ::aws_smithy_runtime_api::client::result::SdkError<
16087            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16088            R,
16089        >,
16090    ) -> Self {
16091        match err {
16092            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16093            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16094                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16095                source: err.into(),
16096            }),
16097        }
16098    }
16099}
16100impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
16101    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
16102        match err {
16103            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
16104                Error::Unhandled(inner)
16105            }
16106        }
16107    }
16108}
16109impl<R>
16110    From<
16111        ::aws_smithy_runtime_api::client::result::SdkError<
16112            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16113            R,
16114        >,
16115    > for Error
16116where
16117    R: Send + Sync + std::fmt::Debug + 'static,
16118{
16119    fn from(
16120        err: ::aws_smithy_runtime_api::client::result::SdkError<
16121            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16122            R,
16123        >,
16124    ) -> Self {
16125        match err {
16126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16129                source: err.into(),
16130            }),
16131        }
16132    }
16133}
16134impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
16135    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
16136        match err {
16137            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
16138                Error::Unhandled(inner)
16139            }
16140        }
16141    }
16142}
16143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
16144where
16145    R: Send + Sync + std::fmt::Debug + 'static,
16146{
16147    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
16148        match err {
16149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16152                source: err.into(),
16153            }),
16154        }
16155    }
16156}
16157impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
16158    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
16159        match err {
16160            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16161        }
16162    }
16163}
16164impl<R>
16165    From<
16166        ::aws_smithy_runtime_api::client::result::SdkError<
16167            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16168            R,
16169        >,
16170    > for Error
16171where
16172    R: Send + Sync + std::fmt::Debug + 'static,
16173{
16174    fn from(
16175        err: ::aws_smithy_runtime_api::client::result::SdkError<
16176            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16177            R,
16178        >,
16179    ) -> Self {
16180        match err {
16181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16184                source: err.into(),
16185            }),
16186        }
16187    }
16188}
16189impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
16190    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
16191        match err {
16192            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
16193                Error::Unhandled(inner)
16194            }
16195        }
16196    }
16197}
16198impl<R>
16199    From<
16200        ::aws_smithy_runtime_api::client::result::SdkError<
16201            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16202            R,
16203        >,
16204    > for Error
16205where
16206    R: Send + Sync + std::fmt::Debug + 'static,
16207{
16208    fn from(
16209        err: ::aws_smithy_runtime_api::client::result::SdkError<
16210            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16211            R,
16212        >,
16213    ) -> Self {
16214        match err {
16215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16218                source: err.into(),
16219            }),
16220        }
16221    }
16222}
16223impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
16224    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
16225        match err {
16226            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
16227                Error::Unhandled(inner)
16228            }
16229        }
16230    }
16231}
16232impl<R>
16233    From<
16234        ::aws_smithy_runtime_api::client::result::SdkError<
16235            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16236            R,
16237        >,
16238    > for Error
16239where
16240    R: Send + Sync + std::fmt::Debug + 'static,
16241{
16242    fn from(
16243        err: ::aws_smithy_runtime_api::client::result::SdkError<
16244            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16245            R,
16246        >,
16247    ) -> Self {
16248        match err {
16249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16252                source: err.into(),
16253            }),
16254        }
16255    }
16256}
16257impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
16258    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
16259        match err {
16260            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
16261                inner,
16262            ) => Error::Unhandled(inner),
16263        }
16264    }
16265}
16266impl<R>
16267    From<
16268        ::aws_smithy_runtime_api::client::result::SdkError<
16269            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16270            R,
16271        >,
16272    > for Error
16273where
16274    R: Send + Sync + std::fmt::Debug + 'static,
16275{
16276    fn from(
16277        err: ::aws_smithy_runtime_api::client::result::SdkError<
16278            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16279            R,
16280        >,
16281    ) -> 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_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
16292    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
16293        match err {
16294            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
16295                Error::Unhandled(inner)
16296            }
16297        }
16298    }
16299}
16300impl<R>
16301    From<
16302        ::aws_smithy_runtime_api::client::result::SdkError<
16303            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16304            R,
16305        >,
16306    > for Error
16307where
16308    R: Send + Sync + std::fmt::Debug + 'static,
16309{
16310    fn from(
16311        err: ::aws_smithy_runtime_api::client::result::SdkError<
16312            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16313            R,
16314        >,
16315    ) -> Self {
16316        match err {
16317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16320                source: err.into(),
16321            }),
16322        }
16323    }
16324}
16325impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
16326    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
16327        match err {
16328            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
16329                Error::Unhandled(inner)
16330            }
16331        }
16332    }
16333}
16334impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
16335where
16336    R: Send + Sync + std::fmt::Debug + 'static,
16337{
16338    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
16339        match err {
16340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16343                source: err.into(),
16344            }),
16345        }
16346    }
16347}
16348impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
16349    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
16350        match err {
16351            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
16352        }
16353    }
16354}
16355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
16356where
16357    R: Send + Sync + std::fmt::Debug + 'static,
16358{
16359    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
16360        match err {
16361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16364                source: err.into(),
16365            }),
16366        }
16367    }
16368}
16369impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
16370    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
16371        match err {
16372            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16373        }
16374    }
16375}
16376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
16377    for Error
16378where
16379    R: Send + Sync + std::fmt::Debug + 'static,
16380{
16381    fn from(
16382        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
16383    ) -> Self {
16384        match err {
16385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16388                source: err.into(),
16389            }),
16390        }
16391    }
16392}
16393impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
16394    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
16395        match err {
16396            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16397        }
16398    }
16399}
16400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, 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<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
16407    ) -> Self {
16408        match err {
16409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16412                source: err.into(),
16413            }),
16414        }
16415    }
16416}
16417impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
16418    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
16419        match err {
16420            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
16421        }
16422    }
16423}
16424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
16425    for Error
16426where
16427    R: Send + Sync + std::fmt::Debug + 'static,
16428{
16429    fn from(
16430        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
16431    ) -> Self {
16432        match err {
16433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16436                source: err.into(),
16437            }),
16438        }
16439    }
16440}
16441impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
16442    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
16443        match err {
16444            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16445        }
16446    }
16447}
16448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
16449where
16450    R: Send + Sync + std::fmt::Debug + 'static,
16451{
16452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
16453        match err {
16454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16457                source: err.into(),
16458            }),
16459        }
16460    }
16461}
16462impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
16463    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
16464        match err {
16465            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16466        }
16467    }
16468}
16469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
16470where
16471    R: Send + Sync + std::fmt::Debug + 'static,
16472{
16473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
16474        match err {
16475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16478                source: err.into(),
16479            }),
16480        }
16481    }
16482}
16483impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
16484    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
16485        match err {
16486            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
16487        }
16488    }
16489}
16490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
16491where
16492    R: Send + Sync + std::fmt::Debug + 'static,
16493{
16494    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
16495        match err {
16496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16499                source: err.into(),
16500            }),
16501        }
16502    }
16503}
16504impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
16505    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
16506        match err {
16507            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
16508        }
16509    }
16510}
16511impl<R>
16512    From<
16513        ::aws_smithy_runtime_api::client::result::SdkError<
16514            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16515            R,
16516        >,
16517    > for Error
16518where
16519    R: Send + Sync + std::fmt::Debug + 'static,
16520{
16521    fn from(
16522        err: ::aws_smithy_runtime_api::client::result::SdkError<
16523            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16524            R,
16525        >,
16526    ) -> Self {
16527        match err {
16528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16531                source: err.into(),
16532            }),
16533        }
16534    }
16535}
16536impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
16537    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
16538        match err {
16539            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16540        }
16541    }
16542}
16543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
16544where
16545    R: Send + Sync + std::fmt::Debug + 'static,
16546{
16547    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
16548        match err {
16549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16552                source: err.into(),
16553            }),
16554        }
16555    }
16556}
16557impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
16558    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
16559        match err {
16560            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
16561        }
16562    }
16563}
16564impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
16565where
16566    R: Send + Sync + std::fmt::Debug + 'static,
16567{
16568    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
16569        match err {
16570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16573                source: err.into(),
16574            }),
16575        }
16576    }
16577}
16578impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
16579    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
16580        match err {
16581            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
16582        }
16583    }
16584}
16585impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
16586where
16587    R: Send + Sync + std::fmt::Debug + 'static,
16588{
16589    fn from(
16590        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
16591    ) -> Self {
16592        match err {
16593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16596                source: err.into(),
16597            }),
16598        }
16599    }
16600}
16601impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
16602    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
16603        match err {
16604            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16605        }
16606    }
16607}
16608impl<R>
16609    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
16610    for Error
16611where
16612    R: Send + Sync + std::fmt::Debug + 'static,
16613{
16614    fn from(
16615        err: ::aws_smithy_runtime_api::client::result::SdkError<
16616            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
16617            R,
16618        >,
16619    ) -> Self {
16620        match err {
16621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16624                source: err.into(),
16625            }),
16626        }
16627    }
16628}
16629impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
16630    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
16631        match err {
16632            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16633        }
16634    }
16635}
16636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
16637where
16638    R: Send + Sync + std::fmt::Debug + 'static,
16639{
16640    fn from(
16641        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
16642    ) -> Self {
16643        match err {
16644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16647                source: err.into(),
16648            }),
16649        }
16650    }
16651}
16652impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
16653    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
16654        match err {
16655            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
16656        }
16657    }
16658}
16659impl<R>
16660    From<
16661        ::aws_smithy_runtime_api::client::result::SdkError<
16662            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16663            R,
16664        >,
16665    > for Error
16666where
16667    R: Send + Sync + std::fmt::Debug + 'static,
16668{
16669    fn from(
16670        err: ::aws_smithy_runtime_api::client::result::SdkError<
16671            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16672            R,
16673        >,
16674    ) -> Self {
16675        match err {
16676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16679                source: err.into(),
16680            }),
16681        }
16682    }
16683}
16684impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
16685    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
16686        match err {
16687            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
16688        }
16689    }
16690}
16691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
16692    for Error
16693where
16694    R: Send + Sync + std::fmt::Debug + 'static,
16695{
16696    fn from(
16697        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
16698    ) -> Self {
16699        match err {
16700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16703                source: err.into(),
16704            }),
16705        }
16706    }
16707}
16708impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
16709    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
16710        match err {
16711            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
16712        }
16713    }
16714}
16715impl<R>
16716    From<
16717        ::aws_smithy_runtime_api::client::result::SdkError<
16718            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16719            R,
16720        >,
16721    > for Error
16722where
16723    R: Send + Sync + std::fmt::Debug + 'static,
16724{
16725    fn from(
16726        err: ::aws_smithy_runtime_api::client::result::SdkError<
16727            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16728            R,
16729        >,
16730    ) -> Self {
16731        match err {
16732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16735                source: err.into(),
16736            }),
16737        }
16738    }
16739}
16740impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
16741    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
16742        match err {
16743            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
16744                Error::Unhandled(inner)
16745            }
16746        }
16747    }
16748}
16749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
16750    for Error
16751where
16752    R: Send + Sync + std::fmt::Debug + 'static,
16753{
16754    fn from(
16755        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
16756    ) -> Self {
16757        match err {
16758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16761                source: err.into(),
16762            }),
16763        }
16764    }
16765}
16766impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
16767    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
16768        match err {
16769            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16770        }
16771    }
16772}
16773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
16774where
16775    R: Send + Sync + std::fmt::Debug + 'static,
16776{
16777    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> 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::reboot_instances::RebootInstancesError> for Error {
16788    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
16789        match err {
16790            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16791        }
16792    }
16793}
16794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
16795where
16796    R: Send + Sync + std::fmt::Debug + 'static,
16797{
16798    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
16799        match err {
16800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16803                source: err.into(),
16804            }),
16805        }
16806    }
16807}
16808impl From<crate::operation::register_image::RegisterImageError> for Error {
16809    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
16810        match err {
16811            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
16812        }
16813    }
16814}
16815impl<R>
16816    From<
16817        ::aws_smithy_runtime_api::client::result::SdkError<
16818            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16819            R,
16820        >,
16821    > for Error
16822where
16823    R: Send + Sync + std::fmt::Debug + 'static,
16824{
16825    fn from(
16826        err: ::aws_smithy_runtime_api::client::result::SdkError<
16827            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16828            R,
16829        >,
16830    ) -> Self {
16831        match err {
16832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16835                source: err.into(),
16836            }),
16837        }
16838    }
16839}
16840impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
16841    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
16842        match err {
16843            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
16844                Error::Unhandled(inner)
16845            }
16846        }
16847    }
16848}
16849impl<R>
16850    From<
16851        ::aws_smithy_runtime_api::client::result::SdkError<
16852            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16853            R,
16854        >,
16855    > for Error
16856where
16857    R: Send + Sync + std::fmt::Debug + 'static,
16858{
16859    fn from(
16860        err: ::aws_smithy_runtime_api::client::result::SdkError<
16861            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16862            R,
16863        >,
16864    ) -> Self {
16865        match err {
16866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16869                source: err.into(),
16870            }),
16871        }
16872    }
16873}
16874impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
16875    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
16876        match err {
16877            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
16878                inner,
16879            ) => Error::Unhandled(inner),
16880        }
16881    }
16882}
16883impl<R>
16884    From<
16885        ::aws_smithy_runtime_api::client::result::SdkError<
16886            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16887            R,
16888        >,
16889    > for Error
16890where
16891    R: Send + Sync + std::fmt::Debug + 'static,
16892{
16893    fn from(
16894        err: ::aws_smithy_runtime_api::client::result::SdkError<
16895            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16896            R,
16897        >,
16898    ) -> Self {
16899        match err {
16900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16903                source: err.into(),
16904            }),
16905        }
16906    }
16907}
16908impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
16909    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
16910        match err {
16911            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
16912                inner,
16913            ) => Error::Unhandled(inner),
16914        }
16915    }
16916}
16917impl<R>
16918    From<
16919        ::aws_smithy_runtime_api::client::result::SdkError<
16920            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16921            R,
16922        >,
16923    > for Error
16924where
16925    R: Send + Sync + std::fmt::Debug + 'static,
16926{
16927    fn from(
16928        err: ::aws_smithy_runtime_api::client::result::SdkError<
16929            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16930            R,
16931        >,
16932    ) -> Self {
16933        match err {
16934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16937                source: err.into(),
16938            }),
16939        }
16940    }
16941}
16942impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
16943    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
16944        match err {
16945            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
16946                Error::Unhandled(inner)
16947            }
16948        }
16949    }
16950}
16951impl<R>
16952    From<
16953        ::aws_smithy_runtime_api::client::result::SdkError<
16954            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16955            R,
16956        >,
16957    > for Error
16958where
16959    R: Send + Sync + std::fmt::Debug + 'static,
16960{
16961    fn from(
16962        err: ::aws_smithy_runtime_api::client::result::SdkError<
16963            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16964            R,
16965        >,
16966    ) -> Self {
16967        match err {
16968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16971                source: err.into(),
16972            }),
16973        }
16974    }
16975}
16976impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
16977    fn from(
16978        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16979    ) -> Self {
16980        match err {
16981            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
16982        }
16983    }
16984}
16985impl<R>
16986    From<
16987        ::aws_smithy_runtime_api::client::result::SdkError<
16988            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
16989            R,
16990        >,
16991    > for Error
16992where
16993    R: Send + Sync + std::fmt::Debug + 'static,
16994{
16995    fn from(
16996        err: ::aws_smithy_runtime_api::client::result::SdkError<
16997            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
16998            R,
16999        >,
17000    ) -> Self {
17001        match err {
17002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17005                source: err.into(),
17006            }),
17007        }
17008    }
17009}
17010impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
17011    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
17012        match err {
17013            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
17014                Error::Unhandled(inner)
17015            }
17016        }
17017    }
17018}
17019impl<R>
17020    From<
17021        ::aws_smithy_runtime_api::client::result::SdkError<
17022            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17023            R,
17024        >,
17025    > for Error
17026where
17027    R: Send + Sync + std::fmt::Debug + 'static,
17028{
17029    fn from(
17030        err: ::aws_smithy_runtime_api::client::result::SdkError<
17031            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17032            R,
17033        >,
17034    ) -> Self {
17035        match err {
17036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17039                source: err.into(),
17040            }),
17041        }
17042    }
17043}
17044impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
17045    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
17046        match err {
17047            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17048                Error::Unhandled(inner)
17049            }
17050        }
17051    }
17052}
17053impl<R>
17054    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
17055    for Error
17056where
17057    R: Send + Sync + std::fmt::Debug + 'static,
17058{
17059    fn from(
17060        err: ::aws_smithy_runtime_api::client::result::SdkError<
17061            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
17062            R,
17063        >,
17064    ) -> Self {
17065        match err {
17066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17069                source: err.into(),
17070            }),
17071        }
17072    }
17073}
17074impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
17075    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
17076        match err {
17077            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
17078        }
17079    }
17080}
17081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
17082    for Error
17083where
17084    R: Send + Sync + std::fmt::Debug + 'static,
17085{
17086    fn from(
17087        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
17088    ) -> Self {
17089        match err {
17090            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17091            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17092                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17093                source: err.into(),
17094            }),
17095        }
17096    }
17097}
17098impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
17099    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
17100        match err {
17101            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
17102        }
17103    }
17104}
17105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
17106where
17107    R: Send + Sync + std::fmt::Debug + 'static,
17108{
17109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
17110        match err {
17111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17114                source: err.into(),
17115            }),
17116        }
17117    }
17118}
17119impl From<crate::operation::release_address::ReleaseAddressError> for Error {
17120    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
17121        match err {
17122            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
17123        }
17124    }
17125}
17126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
17127where
17128    R: Send + Sync + std::fmt::Debug + 'static,
17129{
17130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
17131        match err {
17132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17135                source: err.into(),
17136            }),
17137        }
17138    }
17139}
17140impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
17141    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
17142        match err {
17143            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
17144        }
17145    }
17146}
17147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
17148    for Error
17149where
17150    R: Send + Sync + std::fmt::Debug + 'static,
17151{
17152    fn from(
17153        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
17154    ) -> Self {
17155        match err {
17156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17159                source: err.into(),
17160            }),
17161        }
17162    }
17163}
17164impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
17165    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
17166        match err {
17167            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
17168        }
17169    }
17170}
17171impl<R>
17172    From<
17173        ::aws_smithy_runtime_api::client::result::SdkError<
17174            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17175            R,
17176        >,
17177    > for Error
17178where
17179    R: Send + Sync + std::fmt::Debug + 'static,
17180{
17181    fn from(
17182        err: ::aws_smithy_runtime_api::client::result::SdkError<
17183            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17184            R,
17185        >,
17186    ) -> Self {
17187        match err {
17188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17191                source: err.into(),
17192            }),
17193        }
17194    }
17195}
17196impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
17197    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
17198        match err {
17199            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
17200                Error::Unhandled(inner)
17201            }
17202        }
17203    }
17204}
17205impl<R>
17206    From<
17207        ::aws_smithy_runtime_api::client::result::SdkError<
17208            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17209            R,
17210        >,
17211    > for Error
17212where
17213    R: Send + Sync + std::fmt::Debug + 'static,
17214{
17215    fn from(
17216        err: ::aws_smithy_runtime_api::client::result::SdkError<
17217            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17218            R,
17219        >,
17220    ) -> Self {
17221        match err {
17222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17225                source: err.into(),
17226            }),
17227        }
17228    }
17229}
17230impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
17231    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
17232        match err {
17233            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
17234                inner,
17235            ) => Error::Unhandled(inner),
17236        }
17237    }
17238}
17239impl<R>
17240    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
17241    for Error
17242where
17243    R: Send + Sync + std::fmt::Debug + 'static,
17244{
17245    fn from(
17246        err: ::aws_smithy_runtime_api::client::result::SdkError<
17247            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
17248            R,
17249        >,
17250    ) -> Self {
17251        match err {
17252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17255                source: err.into(),
17256            }),
17257        }
17258    }
17259}
17260impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
17261    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
17262        match err {
17263            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17264        }
17265    }
17266}
17267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
17268    for Error
17269where
17270    R: Send + Sync + std::fmt::Debug + 'static,
17271{
17272    fn from(
17273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
17274    ) -> Self {
17275        match err {
17276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17279                source: err.into(),
17280            }),
17281        }
17282    }
17283}
17284impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
17285    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
17286        match err {
17287            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
17288        }
17289    }
17290}
17291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
17292where
17293    R: Send + Sync + std::fmt::Debug + 'static,
17294{
17295    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
17296        match err {
17297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17300                source: err.into(),
17301            }),
17302        }
17303    }
17304}
17305impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
17306    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
17307        match err {
17308            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
17309        }
17310    }
17311}
17312impl<R>
17313    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
17314    for Error
17315where
17316    R: Send + Sync + std::fmt::Debug + 'static,
17317{
17318    fn from(
17319        err: ::aws_smithy_runtime_api::client::result::SdkError<
17320            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
17321            R,
17322        >,
17323    ) -> Self {
17324        match err {
17325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17328                source: err.into(),
17329            }),
17330        }
17331    }
17332}
17333impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
17334    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
17335        match err {
17336            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17337        }
17338    }
17339}
17340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
17341    for Error
17342where
17343    R: Send + Sync + std::fmt::Debug + 'static,
17344{
17345    fn from(
17346        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
17347    ) -> Self {
17348        match err {
17349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17352                source: err.into(),
17353            }),
17354        }
17355    }
17356}
17357impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
17358    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
17359        match err {
17360            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
17361        }
17362    }
17363}
17364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
17365where
17366    R: Send + Sync + std::fmt::Debug + 'static,
17367{
17368    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
17369        match err {
17370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17373                source: err.into(),
17374            }),
17375        }
17376    }
17377}
17378impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
17379    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
17380        match err {
17381            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
17382        }
17383    }
17384}
17385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
17386where
17387    R: Send + Sync + std::fmt::Debug + 'static,
17388{
17389    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
17390        match err {
17391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17394                source: err.into(),
17395            }),
17396        }
17397    }
17398}
17399impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
17400    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
17401        match err {
17402            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
17403        }
17404    }
17405}
17406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
17407where
17408    R: Send + Sync + std::fmt::Debug + 'static,
17409{
17410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
17411        match err {
17412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17415                source: err.into(),
17416            }),
17417        }
17418    }
17419}
17420impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
17421    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
17422        match err {
17423            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
17424        }
17425    }
17426}
17427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
17428where
17429    R: Send + Sync + std::fmt::Debug + 'static,
17430{
17431    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> 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::request_spot_instances::RequestSpotInstancesError> for Error {
17442    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
17443        match err {
17444            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17445        }
17446    }
17447}
17448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
17449where
17450    R: Send + Sync + std::fmt::Debug + 'static,
17451{
17452    fn from(
17453        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
17454    ) -> Self {
17455        match err {
17456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17459                source: err.into(),
17460            }),
17461        }
17462    }
17463}
17464impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
17465    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
17466        match err {
17467            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17468        }
17469    }
17470}
17471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
17472    for Error
17473where
17474    R: Send + Sync + std::fmt::Debug + 'static,
17475{
17476    fn from(
17477        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
17478    ) -> Self {
17479        match err {
17480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17483                source: err.into(),
17484            }),
17485        }
17486    }
17487}
17488impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
17489    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
17490        match err {
17491            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
17492        }
17493    }
17494}
17495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
17496    for Error
17497where
17498    R: Send + Sync + std::fmt::Debug + 'static,
17499{
17500    fn from(
17501        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
17502    ) -> Self {
17503        match err {
17504            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17505            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17506                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17507                source: err.into(),
17508            }),
17509        }
17510    }
17511}
17512impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
17513    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
17514        match err {
17515            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17516        }
17517    }
17518}
17519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
17520where
17521    R: Send + Sync + std::fmt::Debug + 'static,
17522{
17523    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
17524        match err {
17525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17528                source: err.into(),
17529            }),
17530        }
17531    }
17532}
17533impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
17534    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
17535        match err {
17536            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17537        }
17538    }
17539}
17540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
17541where
17542    R: Send + Sync + std::fmt::Debug + 'static,
17543{
17544    fn from(
17545        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
17546    ) -> Self {
17547        match err {
17548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17551                source: err.into(),
17552            }),
17553        }
17554    }
17555}
17556impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
17557    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
17558        match err {
17559            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17560        }
17561    }
17562}
17563impl<R>
17564    From<
17565        ::aws_smithy_runtime_api::client::result::SdkError<
17566            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17567            R,
17568        >,
17569    > for Error
17570where
17571    R: Send + Sync + std::fmt::Debug + 'static,
17572{
17573    fn from(
17574        err: ::aws_smithy_runtime_api::client::result::SdkError<
17575            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17576            R,
17577        >,
17578    ) -> Self {
17579        match err {
17580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17583                source: err.into(),
17584            }),
17585        }
17586    }
17587}
17588impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
17589    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
17590        match err {
17591            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17592        }
17593    }
17594}
17595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
17596where
17597    R: Send + Sync + std::fmt::Debug + 'static,
17598{
17599    fn from(
17600        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
17601    ) -> Self {
17602        match err {
17603            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17604            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17605                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17606                source: err.into(),
17607            }),
17608        }
17609    }
17610}
17611impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
17612    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
17613        match err {
17614            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17615        }
17616    }
17617}
17618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
17619    for Error
17620where
17621    R: Send + Sync + std::fmt::Debug + 'static,
17622{
17623    fn from(
17624        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
17625    ) -> Self {
17626        match err {
17627            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17628            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17629                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17630                source: err.into(),
17631            }),
17632        }
17633    }
17634}
17635impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
17636    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
17637        match err {
17638            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
17639        }
17640    }
17641}
17642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
17643    for Error
17644where
17645    R: Send + Sync + std::fmt::Debug + 'static,
17646{
17647    fn from(
17648        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
17649    ) -> Self {
17650        match err {
17651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17654                source: err.into(),
17655            }),
17656        }
17657    }
17658}
17659impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
17660    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
17661        match err {
17662            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17663        }
17664    }
17665}
17666impl<R>
17667    From<
17668        ::aws_smithy_runtime_api::client::result::SdkError<
17669            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17670            R,
17671        >,
17672    > for Error
17673where
17674    R: Send + Sync + std::fmt::Debug + 'static,
17675{
17676    fn from(
17677        err: ::aws_smithy_runtime_api::client::result::SdkError<
17678            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17679            R,
17680        >,
17681    ) -> Self {
17682        match err {
17683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17686                source: err.into(),
17687            }),
17688        }
17689    }
17690}
17691impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
17692    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
17693        match err {
17694            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
17695        }
17696    }
17697}
17698impl<R>
17699    From<
17700        ::aws_smithy_runtime_api::client::result::SdkError<
17701            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17702            R,
17703        >,
17704    > for Error
17705where
17706    R: Send + Sync + std::fmt::Debug + 'static,
17707{
17708    fn from(
17709        err: ::aws_smithy_runtime_api::client::result::SdkError<
17710            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17711            R,
17712        >,
17713    ) -> Self {
17714        match err {
17715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17718                source: err.into(),
17719            }),
17720        }
17721    }
17722}
17723impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
17724    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
17725        match err {
17726            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17727        }
17728    }
17729}
17730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
17731where
17732    R: Send + Sync + std::fmt::Debug + 'static,
17733{
17734    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
17735        match err {
17736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17739                source: err.into(),
17740            }),
17741        }
17742    }
17743}
17744impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
17745    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
17746        match err {
17747            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
17748        }
17749    }
17750}
17751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
17752    for Error
17753where
17754    R: Send + Sync + std::fmt::Debug + 'static,
17755{
17756    fn from(
17757        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
17758    ) -> Self {
17759        match err {
17760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17763                source: err.into(),
17764            }),
17765        }
17766    }
17767}
17768impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
17769    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
17770        match err {
17771            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
17772        }
17773    }
17774}
17775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
17776    for Error
17777where
17778    R: Send + Sync + std::fmt::Debug + 'static,
17779{
17780    fn from(
17781        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
17782    ) -> Self {
17783        match err {
17784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17787                source: err.into(),
17788            }),
17789        }
17790    }
17791}
17792impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
17793    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
17794        match err {
17795            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
17796        }
17797    }
17798}
17799impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
17800    for Error
17801where
17802    R: Send + Sync + std::fmt::Debug + 'static,
17803{
17804    fn from(
17805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
17806    ) -> Self {
17807        match err {
17808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17811                source: err.into(),
17812            }),
17813        }
17814    }
17815}
17816impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
17817    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
17818        match err {
17819            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
17820        }
17821    }
17822}
17823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
17824where
17825    R: Send + Sync + std::fmt::Debug + 'static,
17826{
17827    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
17828        match err {
17829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17832                source: err.into(),
17833            }),
17834        }
17835    }
17836}
17837impl From<crate::operation::run_instances::RunInstancesError> for Error {
17838    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
17839        match err {
17840            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17841        }
17842    }
17843}
17844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
17845where
17846    R: Send + Sync + std::fmt::Debug + 'static,
17847{
17848    fn from(
17849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
17850    ) -> Self {
17851        match err {
17852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17855                source: err.into(),
17856            }),
17857        }
17858    }
17859}
17860impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
17861    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
17862        match err {
17863            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17864        }
17865    }
17866}
17867impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
17868    for Error
17869where
17870    R: Send + Sync + std::fmt::Debug + 'static,
17871{
17872    fn from(
17873        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
17874    ) -> Self {
17875        match err {
17876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17879                source: err.into(),
17880            }),
17881        }
17882    }
17883}
17884impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
17885    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
17886        match err {
17887            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17888        }
17889    }
17890}
17891impl<R>
17892    From<
17893        ::aws_smithy_runtime_api::client::result::SdkError<
17894            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17895            R,
17896        >,
17897    > for Error
17898where
17899    R: Send + Sync + std::fmt::Debug + 'static,
17900{
17901    fn from(
17902        err: ::aws_smithy_runtime_api::client::result::SdkError<
17903            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17904            R,
17905        >,
17906    ) -> Self {
17907        match err {
17908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17911                source: err.into(),
17912            }),
17913        }
17914    }
17915}
17916impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
17917    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
17918        match err {
17919            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
17920                Error::Unhandled(inner)
17921            }
17922        }
17923    }
17924}
17925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
17926    for Error
17927where
17928    R: Send + Sync + std::fmt::Debug + 'static,
17929{
17930    fn from(
17931        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
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::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
17943    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
17944        match err {
17945            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17946        }
17947    }
17948}
17949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
17950    for Error
17951where
17952    R: Send + Sync + std::fmt::Debug + 'static,
17953{
17954    fn from(
17955        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
17956    ) -> Self {
17957        match err {
17958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17961                source: err.into(),
17962            }),
17963        }
17964    }
17965}
17966impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
17967    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
17968        match err {
17969            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
17970        }
17971    }
17972}
17973impl<R>
17974    From<
17975        ::aws_smithy_runtime_api::client::result::SdkError<
17976            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
17977            R,
17978        >,
17979    > for Error
17980where
17981    R: Send + Sync + std::fmt::Debug + 'static,
17982{
17983    fn from(
17984        err: ::aws_smithy_runtime_api::client::result::SdkError<
17985            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
17986            R,
17987        >,
17988    ) -> Self {
17989        match err {
17990            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17991            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17992                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17993                source: err.into(),
17994            }),
17995        }
17996    }
17997}
17998impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
17999    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
18000        match err {
18001            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
18002        }
18003    }
18004}
18005impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
18006where
18007    R: Send + Sync + std::fmt::Debug + 'static,
18008{
18009    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
18010        match err {
18011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18014                source: err.into(),
18015            }),
18016        }
18017    }
18018}
18019impl From<crate::operation::start_instances::StartInstancesError> for Error {
18020    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
18021        match err {
18022            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18023        }
18024    }
18025}
18026impl<R>
18027    From<
18028        ::aws_smithy_runtime_api::client::result::SdkError<
18029            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18030            R,
18031        >,
18032    > for Error
18033where
18034    R: Send + Sync + std::fmt::Debug + 'static,
18035{
18036    fn from(
18037        err: ::aws_smithy_runtime_api::client::result::SdkError<
18038            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18039            R,
18040        >,
18041    ) -> Self {
18042        match err {
18043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18046                source: err.into(),
18047            }),
18048        }
18049    }
18050}
18051impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
18052    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
18053        match err {
18054            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
18055                Error::Unhandled(inner)
18056            }
18057        }
18058    }
18059}
18060impl<R>
18061    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
18062    for Error
18063where
18064    R: Send + Sync + std::fmt::Debug + 'static,
18065{
18066    fn from(
18067        err: ::aws_smithy_runtime_api::client::result::SdkError<
18068            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
18069            R,
18070        >,
18071    ) -> Self {
18072        match err {
18073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18076                source: err.into(),
18077            }),
18078        }
18079    }
18080}
18081impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
18082    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
18083        match err {
18084            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
18085        }
18086    }
18087}
18088impl<R>
18089    From<
18090        ::aws_smithy_runtime_api::client::result::SdkError<
18091            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18092            R,
18093        >,
18094    > for Error
18095where
18096    R: Send + Sync + std::fmt::Debug + 'static,
18097{
18098    fn from(
18099        err: ::aws_smithy_runtime_api::client::result::SdkError<
18100            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18101            R,
18102        >,
18103    ) -> Self {
18104        match err {
18105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18108                source: err.into(),
18109            }),
18110        }
18111    }
18112}
18113impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
18114    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
18115        match err {
18116            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
18117                inner,
18118            ) => Error::Unhandled(inner),
18119        }
18120    }
18121}
18122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
18123where
18124    R: Send + Sync + std::fmt::Debug + 'static,
18125{
18126    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
18127        match err {
18128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18131                source: err.into(),
18132            }),
18133        }
18134    }
18135}
18136impl From<crate::operation::stop_instances::StopInstancesError> for Error {
18137    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
18138        match err {
18139            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18140        }
18141    }
18142}
18143impl<R>
18144    From<
18145        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
18146    > for Error
18147where
18148    R: Send + Sync + std::fmt::Debug + 'static,
18149{
18150    fn from(
18151        err: ::aws_smithy_runtime_api::client::result::SdkError<
18152            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
18153            R,
18154        >,
18155    ) -> Self {
18156        match err {
18157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18160                source: err.into(),
18161            }),
18162        }
18163    }
18164}
18165impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
18166    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
18167        match err {
18168            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18169        }
18170    }
18171}
18172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
18173where
18174    R: Send + Sync + std::fmt::Debug + 'static,
18175{
18176    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
18177        match err {
18178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18181                source: err.into(),
18182            }),
18183        }
18184    }
18185}
18186impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
18187    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
18188        match err {
18189            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18190        }
18191    }
18192}
18193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
18194where
18195    R: Send + Sync + std::fmt::Debug + 'static,
18196{
18197    fn from(
18198        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
18199    ) -> Self {
18200        match err {
18201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18204                source: err.into(),
18205            }),
18206        }
18207    }
18208}
18209impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
18210    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
18211        match err {
18212            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
18213        }
18214    }
18215}
18216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
18217    for Error
18218where
18219    R: Send + Sync + std::fmt::Debug + 'static,
18220{
18221    fn from(
18222        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
18223    ) -> Self {
18224        match err {
18225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18228                source: err.into(),
18229            }),
18230        }
18231    }
18232}
18233impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
18234    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
18235        match err {
18236            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
18237        }
18238    }
18239}
18240impl<R>
18241    From<
18242        ::aws_smithy_runtime_api::client::result::SdkError<
18243            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18244            R,
18245        >,
18246    > for Error
18247where
18248    R: Send + Sync + std::fmt::Debug + 'static,
18249{
18250    fn from(
18251        err: ::aws_smithy_runtime_api::client::result::SdkError<
18252            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18253            R,
18254        >,
18255    ) -> Self {
18256        match err {
18257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18260                source: err.into(),
18261            }),
18262        }
18263    }
18264}
18265impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
18266    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
18267        match err {
18268            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
18269                Error::Unhandled(inner)
18270            }
18271        }
18272    }
18273}
18274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
18275where
18276    R: Send + Sync + std::fmt::Debug + 'static,
18277{
18278    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
18279        match err {
18280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18283                source: err.into(),
18284            }),
18285        }
18286    }
18287}
18288impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
18289    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
18290        match err {
18291            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
18292        }
18293    }
18294}
18295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
18296where
18297    R: Send + Sync + std::fmt::Debug + 'static,
18298{
18299    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
18300        match err {
18301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18304                source: err.into(),
18305            }),
18306        }
18307    }
18308}
18309impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
18310    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
18311        match err {
18312            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18313        }
18314    }
18315}
18316impl<R>
18317    From<
18318        ::aws_smithy_runtime_api::client::result::SdkError<
18319            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18320            R,
18321        >,
18322    > for Error
18323where
18324    R: Send + Sync + std::fmt::Debug + 'static,
18325{
18326    fn from(
18327        err: ::aws_smithy_runtime_api::client::result::SdkError<
18328            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18329            R,
18330        >,
18331    ) -> Self {
18332        match err {
18333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18336                source: err.into(),
18337            }),
18338        }
18339    }
18340}
18341impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
18342    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
18343        match err {
18344            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
18345                Error::Unhandled(inner)
18346            }
18347        }
18348    }
18349}
18350impl<R>
18351    From<
18352        ::aws_smithy_runtime_api::client::result::SdkError<
18353            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18354            R,
18355        >,
18356    > for Error
18357where
18358    R: Send + Sync + std::fmt::Debug + 'static,
18359{
18360    fn from(
18361        err: ::aws_smithy_runtime_api::client::result::SdkError<
18362            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18363            R,
18364        >,
18365    ) -> Self {
18366        match err {
18367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18370                source: err.into(),
18371            }),
18372        }
18373    }
18374}
18375impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
18376    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
18377        match err {
18378            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
18379                Error::Unhandled(inner)
18380            }
18381        }
18382    }
18383}
18384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
18385where
18386    R: Send + Sync + std::fmt::Debug + 'static,
18387{
18388    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
18389        match err {
18390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18393                source: err.into(),
18394            }),
18395        }
18396    }
18397}
18398impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
18399    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
18400        match err {
18401            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18402        }
18403    }
18404}
18405impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
18406where
18407    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
18408    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
18409{
18410    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
18411        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18412            meta: ::std::default::Default::default(),
18413            source: err.into(),
18414        })
18415    }
18416}
18417impl ::std::error::Error for Error {
18418    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
18419        match self {
18420            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
18421        }
18422    }
18423}
18424impl ::aws_types::request_id::RequestId for Error {
18425    fn request_id(&self) -> Option<&str> {
18426        match self {
18427            Self::Unhandled(e) => e.meta.request_id(),
18428        }
18429    }
18430}