aws_sdk_mediaconnect/
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    /// <p>Exception raised by Elemental MediaConnect when adding the flow output. See the error message for the operation for more information on the cause of this exception.</p>
7    AddFlowOutputs420Exception(crate::types::error::AddFlowOutputs420Exception),
8    /// <p>This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.</p>
9    BadRequestException(crate::types::error::BadRequestException),
10    /// <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
11    ConflictException(crate::types::error::ConflictException),
12    /// <p>Exception raised by Elemental MediaConnect when creating the bridge. See the error message for the operation for more information on the cause of this exception.</p>
13    CreateBridge420Exception(crate::types::error::CreateBridge420Exception),
14    /// <p>Exception raised by Elemental MediaConnect when creating the flow. See the error message for the operation for more information on the cause of this exception.</p>
15    CreateFlow420Exception(crate::types::error::CreateFlow420Exception),
16    /// <p>Exception raised by Elemental MediaConnect when creating the gateway. See the error message for the operation for more information on the cause of this exception.</p>
17    CreateGateway420Exception(crate::types::error::CreateGateway420Exception),
18    /// <p>You do not have sufficient access to perform this action.</p>
19    ForbiddenException(crate::types::error::ForbiddenException),
20    /// <p>Exception raised by Elemental MediaConnect when granting the entitlement. See the error message for the operation for more information on the cause of this exception.</p>
21    GrantFlowEntitlements420Exception(crate::types::error::GrantFlowEntitlements420Exception),
22    /// <p>The server encountered an internal error and is unable to complete the request.</p>
23    InternalServerErrorException(crate::types::error::InternalServerErrorException),
24    /// <p>One or more of the resources in the request does not exist in the system.</p>
25    NotFoundException(crate::types::error::NotFoundException),
26    /// <p>The request to create a new router input would exceed the service quotas for the account.</p>
27    RouterInputServiceQuotaExceededException(crate::types::error::RouterInputServiceQuotaExceededException),
28    /// <p>The request to create a new router network interface would exceed the service quotas (limits) set for the account.</p>
29    RouterNetworkInterfaceServiceQuotaExceededException(crate::types::error::RouterNetworkInterfaceServiceQuotaExceededException),
30    /// <p>The request to create a new router output would exceed the service quotas (limits) set for the account.</p>
31    RouterOutputServiceQuotaExceededException(crate::types::error::RouterOutputServiceQuotaExceededException),
32    /// <p>The service is currently unavailable or busy.</p>
33    ServiceUnavailableException(crate::types::error::ServiceUnavailableException),
34    /// <p>The request was denied due to request throttling.</p>
35    TooManyRequestsException(crate::types::error::TooManyRequestsException),
36    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
37    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
38    variable wildcard pattern and check `.code()`:
39     \
40    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
41     \
42    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
43    Unhandled(crate::error::sealed_unhandled::Unhandled),
44}
45impl ::std::fmt::Display for Error {
46    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47        match self {
48            Error::AddFlowOutputs420Exception(inner) => inner.fmt(f),
49            Error::BadRequestException(inner) => inner.fmt(f),
50            Error::ConflictException(inner) => inner.fmt(f),
51            Error::CreateBridge420Exception(inner) => inner.fmt(f),
52            Error::CreateFlow420Exception(inner) => inner.fmt(f),
53            Error::CreateGateway420Exception(inner) => inner.fmt(f),
54            Error::ForbiddenException(inner) => inner.fmt(f),
55            Error::GrantFlowEntitlements420Exception(inner) => inner.fmt(f),
56            Error::InternalServerErrorException(inner) => inner.fmt(f),
57            Error::NotFoundException(inner) => inner.fmt(f),
58            Error::RouterInputServiceQuotaExceededException(inner) => inner.fmt(f),
59            Error::RouterNetworkInterfaceServiceQuotaExceededException(inner) => inner.fmt(f),
60            Error::RouterOutputServiceQuotaExceededException(inner) => inner.fmt(f),
61            Error::ServiceUnavailableException(inner) => inner.fmt(f),
62            Error::TooManyRequestsException(inner) => inner.fmt(f),
63            Error::Unhandled(_) => {
64                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
65                    write!(f, "unhandled error ({code})")
66                } else {
67                    f.write_str("unhandled error")
68                }
69            }
70        }
71    }
72}
73impl From<::aws_smithy_types::error::operation::BuildError> for Error {
74    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
75        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
76            source: value.into(),
77            meta: ::std::default::Default::default(),
78        })
79    }
80}
81impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
82    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
83        match self {
84            Self::AddFlowOutputs420Exception(inner) => inner.meta(),
85            Self::BadRequestException(inner) => inner.meta(),
86            Self::ConflictException(inner) => inner.meta(),
87            Self::CreateBridge420Exception(inner) => inner.meta(),
88            Self::CreateFlow420Exception(inner) => inner.meta(),
89            Self::CreateGateway420Exception(inner) => inner.meta(),
90            Self::ForbiddenException(inner) => inner.meta(),
91            Self::GrantFlowEntitlements420Exception(inner) => inner.meta(),
92            Self::InternalServerErrorException(inner) => inner.meta(),
93            Self::NotFoundException(inner) => inner.meta(),
94            Self::RouterInputServiceQuotaExceededException(inner) => inner.meta(),
95            Self::RouterNetworkInterfaceServiceQuotaExceededException(inner) => inner.meta(),
96            Self::RouterOutputServiceQuotaExceededException(inner) => inner.meta(),
97            Self::ServiceUnavailableException(inner) => inner.meta(),
98            Self::TooManyRequestsException(inner) => inner.meta(),
99            Self::Unhandled(inner) => &inner.meta,
100        }
101    }
102}
103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_bridge_outputs::AddBridgeOutputsError, R>> for Error
104where
105    R: Send + Sync + std::fmt::Debug + 'static,
106{
107    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_bridge_outputs::AddBridgeOutputsError, R>) -> Self {
108        match err {
109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
112                source: err.into(),
113            }),
114        }
115    }
116}
117impl From<crate::operation::add_bridge_outputs::AddBridgeOutputsError> for Error {
118    fn from(err: crate::operation::add_bridge_outputs::AddBridgeOutputsError) -> Self {
119        match err {
120            crate::operation::add_bridge_outputs::AddBridgeOutputsError::BadRequestException(inner) => Error::BadRequestException(inner),
121            crate::operation::add_bridge_outputs::AddBridgeOutputsError::ConflictException(inner) => Error::ConflictException(inner),
122            crate::operation::add_bridge_outputs::AddBridgeOutputsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
123            crate::operation::add_bridge_outputs::AddBridgeOutputsError::InternalServerErrorException(inner) => {
124                Error::InternalServerErrorException(inner)
125            }
126            crate::operation::add_bridge_outputs::AddBridgeOutputsError::NotFoundException(inner) => Error::NotFoundException(inner),
127            crate::operation::add_bridge_outputs::AddBridgeOutputsError::ServiceUnavailableException(inner) => {
128                Error::ServiceUnavailableException(inner)
129            }
130            crate::operation::add_bridge_outputs::AddBridgeOutputsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
131            crate::operation::add_bridge_outputs::AddBridgeOutputsError::Unhandled(inner) => Error::Unhandled(inner),
132        }
133    }
134}
135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_bridge_sources::AddBridgeSourcesError, R>> for Error
136where
137    R: Send + Sync + std::fmt::Debug + 'static,
138{
139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_bridge_sources::AddBridgeSourcesError, R>) -> Self {
140        match err {
141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
144                source: err.into(),
145            }),
146        }
147    }
148}
149impl From<crate::operation::add_bridge_sources::AddBridgeSourcesError> for Error {
150    fn from(err: crate::operation::add_bridge_sources::AddBridgeSourcesError) -> Self {
151        match err {
152            crate::operation::add_bridge_sources::AddBridgeSourcesError::BadRequestException(inner) => Error::BadRequestException(inner),
153            crate::operation::add_bridge_sources::AddBridgeSourcesError::ConflictException(inner) => Error::ConflictException(inner),
154            crate::operation::add_bridge_sources::AddBridgeSourcesError::ForbiddenException(inner) => Error::ForbiddenException(inner),
155            crate::operation::add_bridge_sources::AddBridgeSourcesError::InternalServerErrorException(inner) => {
156                Error::InternalServerErrorException(inner)
157            }
158            crate::operation::add_bridge_sources::AddBridgeSourcesError::NotFoundException(inner) => Error::NotFoundException(inner),
159            crate::operation::add_bridge_sources::AddBridgeSourcesError::ServiceUnavailableException(inner) => {
160                Error::ServiceUnavailableException(inner)
161            }
162            crate::operation::add_bridge_sources::AddBridgeSourcesError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
163            crate::operation::add_bridge_sources::AddBridgeSourcesError::Unhandled(inner) => Error::Unhandled(inner),
164        }
165    }
166}
167impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_media_streams::AddFlowMediaStreamsError, R>> for Error
168where
169    R: Send + Sync + std::fmt::Debug + 'static,
170{
171    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_media_streams::AddFlowMediaStreamsError, R>) -> Self {
172        match err {
173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
176                source: err.into(),
177            }),
178        }
179    }
180}
181impl From<crate::operation::add_flow_media_streams::AddFlowMediaStreamsError> for Error {
182    fn from(err: crate::operation::add_flow_media_streams::AddFlowMediaStreamsError) -> Self {
183        match err {
184            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::BadRequestException(inner) => Error::BadRequestException(inner),
185            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
186            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::InternalServerErrorException(inner) => {
187                Error::InternalServerErrorException(inner)
188            }
189            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::NotFoundException(inner) => Error::NotFoundException(inner),
190            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::ServiceUnavailableException(inner) => {
191                Error::ServiceUnavailableException(inner)
192            }
193            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::TooManyRequestsException(inner) => {
194                Error::TooManyRequestsException(inner)
195            }
196            crate::operation::add_flow_media_streams::AddFlowMediaStreamsError::Unhandled(inner) => Error::Unhandled(inner),
197        }
198    }
199}
200impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_outputs::AddFlowOutputsError, R>> for Error
201where
202    R: Send + Sync + std::fmt::Debug + 'static,
203{
204    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_outputs::AddFlowOutputsError, R>) -> Self {
205        match err {
206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
209                source: err.into(),
210            }),
211        }
212    }
213}
214impl From<crate::operation::add_flow_outputs::AddFlowOutputsError> for Error {
215    fn from(err: crate::operation::add_flow_outputs::AddFlowOutputsError) -> Self {
216        match err {
217            crate::operation::add_flow_outputs::AddFlowOutputsError::AddFlowOutputs420Exception(inner) => Error::AddFlowOutputs420Exception(inner),
218            crate::operation::add_flow_outputs::AddFlowOutputsError::BadRequestException(inner) => Error::BadRequestException(inner),
219            crate::operation::add_flow_outputs::AddFlowOutputsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
220            crate::operation::add_flow_outputs::AddFlowOutputsError::InternalServerErrorException(inner) => {
221                Error::InternalServerErrorException(inner)
222            }
223            crate::operation::add_flow_outputs::AddFlowOutputsError::NotFoundException(inner) => Error::NotFoundException(inner),
224            crate::operation::add_flow_outputs::AddFlowOutputsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
225            crate::operation::add_flow_outputs::AddFlowOutputsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
226            crate::operation::add_flow_outputs::AddFlowOutputsError::Unhandled(inner) => Error::Unhandled(inner),
227        }
228    }
229}
230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_sources::AddFlowSourcesError, R>> for Error
231where
232    R: Send + Sync + std::fmt::Debug + 'static,
233{
234    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_sources::AddFlowSourcesError, R>) -> Self {
235        match err {
236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
239                source: err.into(),
240            }),
241        }
242    }
243}
244impl From<crate::operation::add_flow_sources::AddFlowSourcesError> for Error {
245    fn from(err: crate::operation::add_flow_sources::AddFlowSourcesError) -> Self {
246        match err {
247            crate::operation::add_flow_sources::AddFlowSourcesError::BadRequestException(inner) => Error::BadRequestException(inner),
248            crate::operation::add_flow_sources::AddFlowSourcesError::ForbiddenException(inner) => Error::ForbiddenException(inner),
249            crate::operation::add_flow_sources::AddFlowSourcesError::InternalServerErrorException(inner) => {
250                Error::InternalServerErrorException(inner)
251            }
252            crate::operation::add_flow_sources::AddFlowSourcesError::NotFoundException(inner) => Error::NotFoundException(inner),
253            crate::operation::add_flow_sources::AddFlowSourcesError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
254            crate::operation::add_flow_sources::AddFlowSourcesError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
255            crate::operation::add_flow_sources::AddFlowSourcesError::Unhandled(inner) => Error::Unhandled(inner),
256        }
257    }
258}
259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError, R>> for Error
260where
261    R: Send + Sync + std::fmt::Debug + 'static,
262{
263    fn from(
264        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError, R>,
265    ) -> Self {
266        match err {
267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
270                source: err.into(),
271            }),
272        }
273    }
274}
275impl From<crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError> for Error {
276    fn from(err: crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError) -> Self {
277        match err {
278            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::BadRequestException(inner) => Error::BadRequestException(inner),
279            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::ForbiddenException(inner) => Error::ForbiddenException(inner),
280            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::InternalServerErrorException(inner) => {
281                Error::InternalServerErrorException(inner)
282            }
283            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::NotFoundException(inner) => Error::NotFoundException(inner),
284            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::ServiceUnavailableException(inner) => {
285                Error::ServiceUnavailableException(inner)
286            }
287            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::TooManyRequestsException(inner) => {
288                Error::TooManyRequestsException(inner)
289            }
290            crate::operation::add_flow_vpc_interfaces::AddFlowVpcInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
291        }
292    }
293}
294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_router_input::BatchGetRouterInputError, R>> for Error
295where
296    R: Send + Sync + std::fmt::Debug + 'static,
297{
298    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_router_input::BatchGetRouterInputError, R>) -> Self {
299        match err {
300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
303                source: err.into(),
304            }),
305        }
306    }
307}
308impl From<crate::operation::batch_get_router_input::BatchGetRouterInputError> for Error {
309    fn from(err: crate::operation::batch_get_router_input::BatchGetRouterInputError) -> Self {
310        match err {
311            crate::operation::batch_get_router_input::BatchGetRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
312            crate::operation::batch_get_router_input::BatchGetRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
313            crate::operation::batch_get_router_input::BatchGetRouterInputError::InternalServerErrorException(inner) => {
314                Error::InternalServerErrorException(inner)
315            }
316            crate::operation::batch_get_router_input::BatchGetRouterInputError::ServiceUnavailableException(inner) => {
317                Error::ServiceUnavailableException(inner)
318            }
319            crate::operation::batch_get_router_input::BatchGetRouterInputError::TooManyRequestsException(inner) => {
320                Error::TooManyRequestsException(inner)
321            }
322            crate::operation::batch_get_router_input::BatchGetRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
323        }
324    }
325}
326impl<R>
327    From<
328        ::aws_smithy_runtime_api::client::result::SdkError<
329            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError,
330            R,
331        >,
332    > for Error
333where
334    R: Send + Sync + std::fmt::Debug + 'static,
335{
336    fn from(
337        err: ::aws_smithy_runtime_api::client::result::SdkError<
338            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError,
339            R,
340        >,
341    ) -> Self {
342        match err {
343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
346                source: err.into(),
347            }),
348        }
349    }
350}
351impl From<crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError> for Error {
352    fn from(err: crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError) -> Self {
353        match err {
354            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError::BadRequestException(inner) => {
355                Error::BadRequestException(inner)
356            }
357            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError::ConflictException(inner) => {
358                Error::ConflictException(inner)
359            }
360            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError::InternalServerErrorException(inner) => {
361                Error::InternalServerErrorException(inner)
362            }
363            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError::ServiceUnavailableException(inner) => {
364                Error::ServiceUnavailableException(inner)
365            }
366            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError::TooManyRequestsException(inner) => {
367                Error::TooManyRequestsException(inner)
368            }
369            crate::operation::batch_get_router_network_interface::BatchGetRouterNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
370        }
371    }
372}
373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_router_output::BatchGetRouterOutputError, R>> for Error
374where
375    R: Send + Sync + std::fmt::Debug + 'static,
376{
377    fn from(
378        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_router_output::BatchGetRouterOutputError, R>,
379    ) -> Self {
380        match err {
381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
384                source: err.into(),
385            }),
386        }
387    }
388}
389impl From<crate::operation::batch_get_router_output::BatchGetRouterOutputError> for Error {
390    fn from(err: crate::operation::batch_get_router_output::BatchGetRouterOutputError) -> Self {
391        match err {
392            crate::operation::batch_get_router_output::BatchGetRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
393            crate::operation::batch_get_router_output::BatchGetRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
394            crate::operation::batch_get_router_output::BatchGetRouterOutputError::InternalServerErrorException(inner) => {
395                Error::InternalServerErrorException(inner)
396            }
397            crate::operation::batch_get_router_output::BatchGetRouterOutputError::ServiceUnavailableException(inner) => {
398                Error::ServiceUnavailableException(inner)
399            }
400            crate::operation::batch_get_router_output::BatchGetRouterOutputError::TooManyRequestsException(inner) => {
401                Error::TooManyRequestsException(inner)
402            }
403            crate::operation::batch_get_router_output::BatchGetRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
404        }
405    }
406}
407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_bridge::CreateBridgeError, R>> for Error
408where
409    R: Send + Sync + std::fmt::Debug + 'static,
410{
411    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_bridge::CreateBridgeError, R>) -> Self {
412        match err {
413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
416                source: err.into(),
417            }),
418        }
419    }
420}
421impl From<crate::operation::create_bridge::CreateBridgeError> for Error {
422    fn from(err: crate::operation::create_bridge::CreateBridgeError) -> Self {
423        match err {
424            crate::operation::create_bridge::CreateBridgeError::BadRequestException(inner) => Error::BadRequestException(inner),
425            crate::operation::create_bridge::CreateBridgeError::ConflictException(inner) => Error::ConflictException(inner),
426            crate::operation::create_bridge::CreateBridgeError::CreateBridge420Exception(inner) => Error::CreateBridge420Exception(inner),
427            crate::operation::create_bridge::CreateBridgeError::ForbiddenException(inner) => Error::ForbiddenException(inner),
428            crate::operation::create_bridge::CreateBridgeError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
429            crate::operation::create_bridge::CreateBridgeError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
430            crate::operation::create_bridge::CreateBridgeError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
431            crate::operation::create_bridge::CreateBridgeError::Unhandled(inner) => Error::Unhandled(inner),
432        }
433    }
434}
435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow::CreateFlowError, R>> for Error
436where
437    R: Send + Sync + std::fmt::Debug + 'static,
438{
439    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow::CreateFlowError, R>) -> Self {
440        match err {
441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
444                source: err.into(),
445            }),
446        }
447    }
448}
449impl From<crate::operation::create_flow::CreateFlowError> for Error {
450    fn from(err: crate::operation::create_flow::CreateFlowError) -> Self {
451        match err {
452            crate::operation::create_flow::CreateFlowError::BadRequestException(inner) => Error::BadRequestException(inner),
453            crate::operation::create_flow::CreateFlowError::CreateFlow420Exception(inner) => Error::CreateFlow420Exception(inner),
454            crate::operation::create_flow::CreateFlowError::ForbiddenException(inner) => Error::ForbiddenException(inner),
455            crate::operation::create_flow::CreateFlowError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
456            crate::operation::create_flow::CreateFlowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
457            crate::operation::create_flow::CreateFlowError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
458            crate::operation::create_flow::CreateFlowError::Unhandled(inner) => Error::Unhandled(inner),
459        }
460    }
461}
462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway::CreateGatewayError, R>> for Error
463where
464    R: Send + Sync + std::fmt::Debug + 'static,
465{
466    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_gateway::CreateGatewayError, R>) -> Self {
467        match err {
468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
471                source: err.into(),
472            }),
473        }
474    }
475}
476impl From<crate::operation::create_gateway::CreateGatewayError> for Error {
477    fn from(err: crate::operation::create_gateway::CreateGatewayError) -> Self {
478        match err {
479            crate::operation::create_gateway::CreateGatewayError::BadRequestException(inner) => Error::BadRequestException(inner),
480            crate::operation::create_gateway::CreateGatewayError::ConflictException(inner) => Error::ConflictException(inner),
481            crate::operation::create_gateway::CreateGatewayError::CreateGateway420Exception(inner) => Error::CreateGateway420Exception(inner),
482            crate::operation::create_gateway::CreateGatewayError::ForbiddenException(inner) => Error::ForbiddenException(inner),
483            crate::operation::create_gateway::CreateGatewayError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
484            crate::operation::create_gateway::CreateGatewayError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
485            crate::operation::create_gateway::CreateGatewayError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
486            crate::operation::create_gateway::CreateGatewayError::Unhandled(inner) => Error::Unhandled(inner),
487        }
488    }
489}
490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_router_input::CreateRouterInputError, R>> for Error
491where
492    R: Send + Sync + std::fmt::Debug + 'static,
493{
494    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_router_input::CreateRouterInputError, R>) -> Self {
495        match err {
496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
499                source: err.into(),
500            }),
501        }
502    }
503}
504impl From<crate::operation::create_router_input::CreateRouterInputError> for Error {
505    fn from(err: crate::operation::create_router_input::CreateRouterInputError) -> Self {
506        match err {
507            crate::operation::create_router_input::CreateRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
508            crate::operation::create_router_input::CreateRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
509            crate::operation::create_router_input::CreateRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
510            crate::operation::create_router_input::CreateRouterInputError::InternalServerErrorException(inner) => {
511                Error::InternalServerErrorException(inner)
512            }
513            crate::operation::create_router_input::CreateRouterInputError::RouterInputServiceQuotaExceededException(inner) => {
514                Error::RouterInputServiceQuotaExceededException(inner)
515            }
516            crate::operation::create_router_input::CreateRouterInputError::ServiceUnavailableException(inner) => {
517                Error::ServiceUnavailableException(inner)
518            }
519            crate::operation::create_router_input::CreateRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
520            crate::operation::create_router_input::CreateRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
521        }
522    }
523}
524impl<R>
525    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError, R>>
526    for Error
527where
528    R: Send + Sync + std::fmt::Debug + 'static,
529{
530    fn from(
531        err: ::aws_smithy_runtime_api::client::result::SdkError<
532            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError,
533            R,
534        >,
535    ) -> Self {
536        match err {
537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
540                source: err.into(),
541            }),
542        }
543    }
544}
545impl From<crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError> for Error {
546    fn from(err: crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError) -> Self {
547        match err {
548            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::BadRequestException(inner) => Error::BadRequestException(inner),
549            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::ConflictException(inner) => Error::ConflictException(inner),
550            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
551            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
552            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::RouterNetworkInterfaceServiceQuotaExceededException(inner) => Error::RouterNetworkInterfaceServiceQuotaExceededException(inner),
553            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
554            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
555            crate::operation::create_router_network_interface::CreateRouterNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
556        }
557    }
558}
559impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_router_output::CreateRouterOutputError, R>> for Error
560where
561    R: Send + Sync + std::fmt::Debug + 'static,
562{
563    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_router_output::CreateRouterOutputError, R>) -> Self {
564        match err {
565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
568                source: err.into(),
569            }),
570        }
571    }
572}
573impl From<crate::operation::create_router_output::CreateRouterOutputError> for Error {
574    fn from(err: crate::operation::create_router_output::CreateRouterOutputError) -> Self {
575        match err {
576            crate::operation::create_router_output::CreateRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
577            crate::operation::create_router_output::CreateRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
578            crate::operation::create_router_output::CreateRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
579            crate::operation::create_router_output::CreateRouterOutputError::InternalServerErrorException(inner) => {
580                Error::InternalServerErrorException(inner)
581            }
582            crate::operation::create_router_output::CreateRouterOutputError::RouterOutputServiceQuotaExceededException(inner) => {
583                Error::RouterOutputServiceQuotaExceededException(inner)
584            }
585            crate::operation::create_router_output::CreateRouterOutputError::ServiceUnavailableException(inner) => {
586                Error::ServiceUnavailableException(inner)
587            }
588            crate::operation::create_router_output::CreateRouterOutputError::TooManyRequestsException(inner) => {
589                Error::TooManyRequestsException(inner)
590            }
591            crate::operation::create_router_output::CreateRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
592        }
593    }
594}
595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_bridge::DeleteBridgeError, R>> for Error
596where
597    R: Send + Sync + std::fmt::Debug + 'static,
598{
599    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_bridge::DeleteBridgeError, R>) -> Self {
600        match err {
601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
604                source: err.into(),
605            }),
606        }
607    }
608}
609impl From<crate::operation::delete_bridge::DeleteBridgeError> for Error {
610    fn from(err: crate::operation::delete_bridge::DeleteBridgeError) -> Self {
611        match err {
612            crate::operation::delete_bridge::DeleteBridgeError::BadRequestException(inner) => Error::BadRequestException(inner),
613            crate::operation::delete_bridge::DeleteBridgeError::ConflictException(inner) => Error::ConflictException(inner),
614            crate::operation::delete_bridge::DeleteBridgeError::ForbiddenException(inner) => Error::ForbiddenException(inner),
615            crate::operation::delete_bridge::DeleteBridgeError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
616            crate::operation::delete_bridge::DeleteBridgeError::NotFoundException(inner) => Error::NotFoundException(inner),
617            crate::operation::delete_bridge::DeleteBridgeError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
618            crate::operation::delete_bridge::DeleteBridgeError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
619            crate::operation::delete_bridge::DeleteBridgeError::Unhandled(inner) => Error::Unhandled(inner),
620        }
621    }
622}
623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow::DeleteFlowError, R>> for Error
624where
625    R: Send + Sync + std::fmt::Debug + 'static,
626{
627    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow::DeleteFlowError, R>) -> Self {
628        match err {
629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
632                source: err.into(),
633            }),
634        }
635    }
636}
637impl From<crate::operation::delete_flow::DeleteFlowError> for Error {
638    fn from(err: crate::operation::delete_flow::DeleteFlowError) -> Self {
639        match err {
640            crate::operation::delete_flow::DeleteFlowError::BadRequestException(inner) => Error::BadRequestException(inner),
641            crate::operation::delete_flow::DeleteFlowError::ForbiddenException(inner) => Error::ForbiddenException(inner),
642            crate::operation::delete_flow::DeleteFlowError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
643            crate::operation::delete_flow::DeleteFlowError::NotFoundException(inner) => Error::NotFoundException(inner),
644            crate::operation::delete_flow::DeleteFlowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
645            crate::operation::delete_flow::DeleteFlowError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
646            crate::operation::delete_flow::DeleteFlowError::Unhandled(inner) => Error::Unhandled(inner),
647        }
648    }
649}
650impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway::DeleteGatewayError, R>> for Error
651where
652    R: Send + Sync + std::fmt::Debug + 'static,
653{
654    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_gateway::DeleteGatewayError, R>) -> Self {
655        match err {
656            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
657            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
658                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
659                source: err.into(),
660            }),
661        }
662    }
663}
664impl From<crate::operation::delete_gateway::DeleteGatewayError> for Error {
665    fn from(err: crate::operation::delete_gateway::DeleteGatewayError) -> Self {
666        match err {
667            crate::operation::delete_gateway::DeleteGatewayError::BadRequestException(inner) => Error::BadRequestException(inner),
668            crate::operation::delete_gateway::DeleteGatewayError::ConflictException(inner) => Error::ConflictException(inner),
669            crate::operation::delete_gateway::DeleteGatewayError::ForbiddenException(inner) => Error::ForbiddenException(inner),
670            crate::operation::delete_gateway::DeleteGatewayError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
671            crate::operation::delete_gateway::DeleteGatewayError::NotFoundException(inner) => Error::NotFoundException(inner),
672            crate::operation::delete_gateway::DeleteGatewayError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
673            crate::operation::delete_gateway::DeleteGatewayError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
674            crate::operation::delete_gateway::DeleteGatewayError::Unhandled(inner) => Error::Unhandled(inner),
675        }
676    }
677}
678impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_router_input::DeleteRouterInputError, R>> for Error
679where
680    R: Send + Sync + std::fmt::Debug + 'static,
681{
682    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_router_input::DeleteRouterInputError, R>) -> Self {
683        match err {
684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
687                source: err.into(),
688            }),
689        }
690    }
691}
692impl From<crate::operation::delete_router_input::DeleteRouterInputError> for Error {
693    fn from(err: crate::operation::delete_router_input::DeleteRouterInputError) -> Self {
694        match err {
695            crate::operation::delete_router_input::DeleteRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
696            crate::operation::delete_router_input::DeleteRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
697            crate::operation::delete_router_input::DeleteRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
698            crate::operation::delete_router_input::DeleteRouterInputError::InternalServerErrorException(inner) => {
699                Error::InternalServerErrorException(inner)
700            }
701            crate::operation::delete_router_input::DeleteRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
702            crate::operation::delete_router_input::DeleteRouterInputError::ServiceUnavailableException(inner) => {
703                Error::ServiceUnavailableException(inner)
704            }
705            crate::operation::delete_router_input::DeleteRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
706            crate::operation::delete_router_input::DeleteRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
707        }
708    }
709}
710impl<R>
711    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError, R>>
712    for Error
713where
714    R: Send + Sync + std::fmt::Debug + 'static,
715{
716    fn from(
717        err: ::aws_smithy_runtime_api::client::result::SdkError<
718            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError,
719            R,
720        >,
721    ) -> Self {
722        match err {
723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
726                source: err.into(),
727            }),
728        }
729    }
730}
731impl From<crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError> for Error {
732    fn from(err: crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError) -> Self {
733        match err {
734            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::BadRequestException(inner) => {
735                Error::BadRequestException(inner)
736            }
737            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::ConflictException(inner) => {
738                Error::ConflictException(inner)
739            }
740            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::ForbiddenException(inner) => {
741                Error::ForbiddenException(inner)
742            }
743            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::InternalServerErrorException(inner) => {
744                Error::InternalServerErrorException(inner)
745            }
746            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::NotFoundException(inner) => {
747                Error::NotFoundException(inner)
748            }
749            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::ServiceUnavailableException(inner) => {
750                Error::ServiceUnavailableException(inner)
751            }
752            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::TooManyRequestsException(inner) => {
753                Error::TooManyRequestsException(inner)
754            }
755            crate::operation::delete_router_network_interface::DeleteRouterNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
756        }
757    }
758}
759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_router_output::DeleteRouterOutputError, R>> for Error
760where
761    R: Send + Sync + std::fmt::Debug + 'static,
762{
763    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_router_output::DeleteRouterOutputError, R>) -> Self {
764        match err {
765            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
766            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
767                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
768                source: err.into(),
769            }),
770        }
771    }
772}
773impl From<crate::operation::delete_router_output::DeleteRouterOutputError> for Error {
774    fn from(err: crate::operation::delete_router_output::DeleteRouterOutputError) -> Self {
775        match err {
776            crate::operation::delete_router_output::DeleteRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
777            crate::operation::delete_router_output::DeleteRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
778            crate::operation::delete_router_output::DeleteRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
779            crate::operation::delete_router_output::DeleteRouterOutputError::InternalServerErrorException(inner) => {
780                Error::InternalServerErrorException(inner)
781            }
782            crate::operation::delete_router_output::DeleteRouterOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
783            crate::operation::delete_router_output::DeleteRouterOutputError::ServiceUnavailableException(inner) => {
784                Error::ServiceUnavailableException(inner)
785            }
786            crate::operation::delete_router_output::DeleteRouterOutputError::TooManyRequestsException(inner) => {
787                Error::TooManyRequestsException(inner)
788            }
789            crate::operation::delete_router_output::DeleteRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
790        }
791    }
792}
793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError, R>>
794    for Error
795where
796    R: Send + Sync + std::fmt::Debug + 'static,
797{
798    fn from(
799        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError, R>,
800    ) -> Self {
801        match err {
802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
805                source: err.into(),
806            }),
807        }
808    }
809}
810impl From<crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError> for Error {
811    fn from(err: crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError) -> Self {
812        match err {
813            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::BadRequestException(inner) => {
814                Error::BadRequestException(inner)
815            }
816            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::ConflictException(inner) => {
817                Error::ConflictException(inner)
818            }
819            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::ForbiddenException(inner) => {
820                Error::ForbiddenException(inner)
821            }
822            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::InternalServerErrorException(inner) => {
823                Error::InternalServerErrorException(inner)
824            }
825            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::NotFoundException(inner) => {
826                Error::NotFoundException(inner)
827            }
828            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::ServiceUnavailableException(inner) => {
829                Error::ServiceUnavailableException(inner)
830            }
831            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::TooManyRequestsException(inner) => {
832                Error::TooManyRequestsException(inner)
833            }
834            crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError::Unhandled(inner) => Error::Unhandled(inner),
835        }
836    }
837}
838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bridge::DescribeBridgeError, R>> for Error
839where
840    R: Send + Sync + std::fmt::Debug + 'static,
841{
842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bridge::DescribeBridgeError, R>) -> Self {
843        match err {
844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
847                source: err.into(),
848            }),
849        }
850    }
851}
852impl From<crate::operation::describe_bridge::DescribeBridgeError> for Error {
853    fn from(err: crate::operation::describe_bridge::DescribeBridgeError) -> Self {
854        match err {
855            crate::operation::describe_bridge::DescribeBridgeError::BadRequestException(inner) => Error::BadRequestException(inner),
856            crate::operation::describe_bridge::DescribeBridgeError::ConflictException(inner) => Error::ConflictException(inner),
857            crate::operation::describe_bridge::DescribeBridgeError::ForbiddenException(inner) => Error::ForbiddenException(inner),
858            crate::operation::describe_bridge::DescribeBridgeError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
859            crate::operation::describe_bridge::DescribeBridgeError::NotFoundException(inner) => Error::NotFoundException(inner),
860            crate::operation::describe_bridge::DescribeBridgeError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
861            crate::operation::describe_bridge::DescribeBridgeError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
862            crate::operation::describe_bridge::DescribeBridgeError::Unhandled(inner) => Error::Unhandled(inner),
863        }
864    }
865}
866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow::DescribeFlowError, R>> for Error
867where
868    R: Send + Sync + std::fmt::Debug + 'static,
869{
870    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow::DescribeFlowError, R>) -> Self {
871        match err {
872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
875                source: err.into(),
876            }),
877        }
878    }
879}
880impl From<crate::operation::describe_flow::DescribeFlowError> for Error {
881    fn from(err: crate::operation::describe_flow::DescribeFlowError) -> Self {
882        match err {
883            crate::operation::describe_flow::DescribeFlowError::BadRequestException(inner) => Error::BadRequestException(inner),
884            crate::operation::describe_flow::DescribeFlowError::ForbiddenException(inner) => Error::ForbiddenException(inner),
885            crate::operation::describe_flow::DescribeFlowError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
886            crate::operation::describe_flow::DescribeFlowError::NotFoundException(inner) => Error::NotFoundException(inner),
887            crate::operation::describe_flow::DescribeFlowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
888            crate::operation::describe_flow::DescribeFlowError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
889            crate::operation::describe_flow::DescribeFlowError::Unhandled(inner) => Error::Unhandled(inner),
890        }
891    }
892}
893impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError, R>>
894    for Error
895where
896    R: Send + Sync + std::fmt::Debug + 'static,
897{
898    fn from(
899        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError, R>,
900    ) -> Self {
901        match err {
902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
905                source: err.into(),
906            }),
907        }
908    }
909}
910impl From<crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError> for Error {
911    fn from(err: crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError) -> Self {
912        match err {
913            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::BadRequestException(inner) => {
914                Error::BadRequestException(inner)
915            }
916            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::ForbiddenException(inner) => {
917                Error::ForbiddenException(inner)
918            }
919            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::InternalServerErrorException(inner) => {
920                Error::InternalServerErrorException(inner)
921            }
922            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::NotFoundException(inner) => {
923                Error::NotFoundException(inner)
924            }
925            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::ServiceUnavailableException(inner) => {
926                Error::ServiceUnavailableException(inner)
927            }
928            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::TooManyRequestsException(inner) => {
929                Error::TooManyRequestsException(inner)
930            }
931            crate::operation::describe_flow_source_metadata::DescribeFlowSourceMetadataError::Unhandled(inner) => Error::Unhandled(inner),
932        }
933    }
934}
935impl<R>
936    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError, R>>
937    for Error
938where
939    R: Send + Sync + std::fmt::Debug + 'static,
940{
941    fn from(
942        err: ::aws_smithy_runtime_api::client::result::SdkError<
943            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError,
944            R,
945        >,
946    ) -> Self {
947        match err {
948            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
949            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
950                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
951                source: err.into(),
952            }),
953        }
954    }
955}
956impl From<crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError> for Error {
957    fn from(err: crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError) -> Self {
958        match err {
959            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::BadRequestException(inner) => {
960                Error::BadRequestException(inner)
961            }
962            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::ForbiddenException(inner) => {
963                Error::ForbiddenException(inner)
964            }
965            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::InternalServerErrorException(inner) => {
966                Error::InternalServerErrorException(inner)
967            }
968            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::NotFoundException(inner) => {
969                Error::NotFoundException(inner)
970            }
971            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::ServiceUnavailableException(inner) => {
972                Error::ServiceUnavailableException(inner)
973            }
974            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::TooManyRequestsException(inner) => {
975                Error::TooManyRequestsException(inner)
976            }
977            crate::operation::describe_flow_source_thumbnail::DescribeFlowSourceThumbnailError::Unhandled(inner) => Error::Unhandled(inner),
978        }
979    }
980}
981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_gateway::DescribeGatewayError, R>> for Error
982where
983    R: Send + Sync + std::fmt::Debug + 'static,
984{
985    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_gateway::DescribeGatewayError, R>) -> Self {
986        match err {
987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
990                source: err.into(),
991            }),
992        }
993    }
994}
995impl From<crate::operation::describe_gateway::DescribeGatewayError> for Error {
996    fn from(err: crate::operation::describe_gateway::DescribeGatewayError) -> Self {
997        match err {
998            crate::operation::describe_gateway::DescribeGatewayError::BadRequestException(inner) => Error::BadRequestException(inner),
999            crate::operation::describe_gateway::DescribeGatewayError::ConflictException(inner) => Error::ConflictException(inner),
1000            crate::operation::describe_gateway::DescribeGatewayError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1001            crate::operation::describe_gateway::DescribeGatewayError::InternalServerErrorException(inner) => {
1002                Error::InternalServerErrorException(inner)
1003            }
1004            crate::operation::describe_gateway::DescribeGatewayError::NotFoundException(inner) => Error::NotFoundException(inner),
1005            crate::operation::describe_gateway::DescribeGatewayError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1006            crate::operation::describe_gateway::DescribeGatewayError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1007            crate::operation::describe_gateway::DescribeGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1008        }
1009    }
1010}
1011impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_gateway_instance::DescribeGatewayInstanceError, R>>
1012    for Error
1013where
1014    R: Send + Sync + std::fmt::Debug + 'static,
1015{
1016    fn from(
1017        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_gateway_instance::DescribeGatewayInstanceError, R>,
1018    ) -> Self {
1019        match err {
1020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1023                source: err.into(),
1024            }),
1025        }
1026    }
1027}
1028impl From<crate::operation::describe_gateway_instance::DescribeGatewayInstanceError> for Error {
1029    fn from(err: crate::operation::describe_gateway_instance::DescribeGatewayInstanceError) -> Self {
1030        match err {
1031            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::BadRequestException(inner) => {
1032                Error::BadRequestException(inner)
1033            }
1034            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::ConflictException(inner) => Error::ConflictException(inner),
1035            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1036            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::InternalServerErrorException(inner) => {
1037                Error::InternalServerErrorException(inner)
1038            }
1039            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::NotFoundException(inner) => Error::NotFoundException(inner),
1040            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::ServiceUnavailableException(inner) => {
1041                Error::ServiceUnavailableException(inner)
1042            }
1043            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::TooManyRequestsException(inner) => {
1044                Error::TooManyRequestsException(inner)
1045            }
1046            crate::operation::describe_gateway_instance::DescribeGatewayInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1047        }
1048    }
1049}
1050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_offering::DescribeOfferingError, R>> for Error
1051where
1052    R: Send + Sync + std::fmt::Debug + 'static,
1053{
1054    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_offering::DescribeOfferingError, R>) -> Self {
1055        match err {
1056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1059                source: err.into(),
1060            }),
1061        }
1062    }
1063}
1064impl From<crate::operation::describe_offering::DescribeOfferingError> for Error {
1065    fn from(err: crate::operation::describe_offering::DescribeOfferingError) -> Self {
1066        match err {
1067            crate::operation::describe_offering::DescribeOfferingError::BadRequestException(inner) => Error::BadRequestException(inner),
1068            crate::operation::describe_offering::DescribeOfferingError::InternalServerErrorException(inner) => {
1069                Error::InternalServerErrorException(inner)
1070            }
1071            crate::operation::describe_offering::DescribeOfferingError::NotFoundException(inner) => Error::NotFoundException(inner),
1072            crate::operation::describe_offering::DescribeOfferingError::ServiceUnavailableException(inner) => {
1073                Error::ServiceUnavailableException(inner)
1074            }
1075            crate::operation::describe_offering::DescribeOfferingError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1076            crate::operation::describe_offering::DescribeOfferingError::Unhandled(inner) => Error::Unhandled(inner),
1077        }
1078    }
1079}
1080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reservation::DescribeReservationError, R>> for Error
1081where
1082    R: Send + Sync + std::fmt::Debug + 'static,
1083{
1084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reservation::DescribeReservationError, R>) -> Self {
1085        match err {
1086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1089                source: err.into(),
1090            }),
1091        }
1092    }
1093}
1094impl From<crate::operation::describe_reservation::DescribeReservationError> for Error {
1095    fn from(err: crate::operation::describe_reservation::DescribeReservationError) -> Self {
1096        match err {
1097            crate::operation::describe_reservation::DescribeReservationError::BadRequestException(inner) => Error::BadRequestException(inner),
1098            crate::operation::describe_reservation::DescribeReservationError::InternalServerErrorException(inner) => {
1099                Error::InternalServerErrorException(inner)
1100            }
1101            crate::operation::describe_reservation::DescribeReservationError::NotFoundException(inner) => Error::NotFoundException(inner),
1102            crate::operation::describe_reservation::DescribeReservationError::ServiceUnavailableException(inner) => {
1103                Error::ServiceUnavailableException(inner)
1104            }
1105            crate::operation::describe_reservation::DescribeReservationError::TooManyRequestsException(inner) => {
1106                Error::TooManyRequestsException(inner)
1107            }
1108            crate::operation::describe_reservation::DescribeReservationError::Unhandled(inner) => Error::Unhandled(inner),
1109        }
1110    }
1111}
1112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_input::GetRouterInputError, R>> for Error
1113where
1114    R: Send + Sync + std::fmt::Debug + 'static,
1115{
1116    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_input::GetRouterInputError, R>) -> Self {
1117        match err {
1118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1121                source: err.into(),
1122            }),
1123        }
1124    }
1125}
1126impl From<crate::operation::get_router_input::GetRouterInputError> for Error {
1127    fn from(err: crate::operation::get_router_input::GetRouterInputError) -> Self {
1128        match err {
1129            crate::operation::get_router_input::GetRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
1130            crate::operation::get_router_input::GetRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
1131            crate::operation::get_router_input::GetRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1132            crate::operation::get_router_input::GetRouterInputError::InternalServerErrorException(inner) => {
1133                Error::InternalServerErrorException(inner)
1134            }
1135            crate::operation::get_router_input::GetRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
1136            crate::operation::get_router_input::GetRouterInputError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1137            crate::operation::get_router_input::GetRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1138            crate::operation::get_router_input::GetRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
1139        }
1140    }
1141}
1142impl<R>
1143    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError, R>>
1144    for Error
1145where
1146    R: Send + Sync + std::fmt::Debug + 'static,
1147{
1148    fn from(
1149        err: ::aws_smithy_runtime_api::client::result::SdkError<
1150            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError,
1151            R,
1152        >,
1153    ) -> Self {
1154        match err {
1155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1158                source: err.into(),
1159            }),
1160        }
1161    }
1162}
1163impl From<crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError> for Error {
1164    fn from(err: crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError) -> Self {
1165        match err {
1166            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::BadRequestException(inner) => {
1167                Error::BadRequestException(inner)
1168            }
1169            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::ForbiddenException(inner) => {
1170                Error::ForbiddenException(inner)
1171            }
1172            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::InternalServerErrorException(inner) => {
1173                Error::InternalServerErrorException(inner)
1174            }
1175            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::NotFoundException(inner) => {
1176                Error::NotFoundException(inner)
1177            }
1178            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::ServiceUnavailableException(inner) => {
1179                Error::ServiceUnavailableException(inner)
1180            }
1181            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::TooManyRequestsException(inner) => {
1182                Error::TooManyRequestsException(inner)
1183            }
1184            crate::operation::get_router_input_source_metadata::GetRouterInputSourceMetadataError::Unhandled(inner) => Error::Unhandled(inner),
1185        }
1186    }
1187}
1188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError, R>>
1189    for Error
1190where
1191    R: Send + Sync + std::fmt::Debug + 'static,
1192{
1193    fn from(
1194        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError, R>,
1195    ) -> Self {
1196        match err {
1197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1200                source: err.into(),
1201            }),
1202        }
1203    }
1204}
1205impl From<crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError> for Error {
1206    fn from(err: crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError) -> Self {
1207        match err {
1208            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::BadRequestException(inner) => {
1209                Error::BadRequestException(inner)
1210            }
1211            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1212            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::InternalServerErrorException(inner) => {
1213                Error::InternalServerErrorException(inner)
1214            }
1215            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::NotFoundException(inner) => Error::NotFoundException(inner),
1216            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::ServiceUnavailableException(inner) => {
1217                Error::ServiceUnavailableException(inner)
1218            }
1219            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::TooManyRequestsException(inner) => {
1220                Error::TooManyRequestsException(inner)
1221            }
1222            crate::operation::get_router_input_thumbnail::GetRouterInputThumbnailError::Unhandled(inner) => Error::Unhandled(inner),
1223        }
1224    }
1225}
1226impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError, R>>
1227    for Error
1228where
1229    R: Send + Sync + std::fmt::Debug + 'static,
1230{
1231    fn from(
1232        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError, R>,
1233    ) -> Self {
1234        match err {
1235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1238                source: err.into(),
1239            }),
1240        }
1241    }
1242}
1243impl From<crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError> for Error {
1244    fn from(err: crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError) -> Self {
1245        match err {
1246            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::BadRequestException(inner) => {
1247                Error::BadRequestException(inner)
1248            }
1249            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::ConflictException(inner) => {
1250                Error::ConflictException(inner)
1251            }
1252            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::ForbiddenException(inner) => {
1253                Error::ForbiddenException(inner)
1254            }
1255            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::InternalServerErrorException(inner) => {
1256                Error::InternalServerErrorException(inner)
1257            }
1258            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::NotFoundException(inner) => {
1259                Error::NotFoundException(inner)
1260            }
1261            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::ServiceUnavailableException(inner) => {
1262                Error::ServiceUnavailableException(inner)
1263            }
1264            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::TooManyRequestsException(inner) => {
1265                Error::TooManyRequestsException(inner)
1266            }
1267            crate::operation::get_router_network_interface::GetRouterNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1268        }
1269    }
1270}
1271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_output::GetRouterOutputError, R>> for Error
1272where
1273    R: Send + Sync + std::fmt::Debug + 'static,
1274{
1275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_router_output::GetRouterOutputError, R>) -> Self {
1276        match err {
1277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1280                source: err.into(),
1281            }),
1282        }
1283    }
1284}
1285impl From<crate::operation::get_router_output::GetRouterOutputError> for Error {
1286    fn from(err: crate::operation::get_router_output::GetRouterOutputError) -> Self {
1287        match err {
1288            crate::operation::get_router_output::GetRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
1289            crate::operation::get_router_output::GetRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
1290            crate::operation::get_router_output::GetRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1291            crate::operation::get_router_output::GetRouterOutputError::InternalServerErrorException(inner) => {
1292                Error::InternalServerErrorException(inner)
1293            }
1294            crate::operation::get_router_output::GetRouterOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
1295            crate::operation::get_router_output::GetRouterOutputError::ServiceUnavailableException(inner) => {
1296                Error::ServiceUnavailableException(inner)
1297            }
1298            crate::operation::get_router_output::GetRouterOutputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1299            crate::operation::get_router_output::GetRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
1300        }
1301    }
1302}
1303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError, R>> for Error
1304where
1305    R: Send + Sync + std::fmt::Debug + 'static,
1306{
1307    fn from(
1308        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError, R>,
1309    ) -> Self {
1310        match err {
1311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1314                source: err.into(),
1315            }),
1316        }
1317    }
1318}
1319impl From<crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError> for Error {
1320    fn from(err: crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError) -> Self {
1321        match err {
1322            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::BadRequestException(inner) => Error::BadRequestException(inner),
1323            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1324            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::GrantFlowEntitlements420Exception(inner) => {
1325                Error::GrantFlowEntitlements420Exception(inner)
1326            }
1327            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::InternalServerErrorException(inner) => {
1328                Error::InternalServerErrorException(inner)
1329            }
1330            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::NotFoundException(inner) => Error::NotFoundException(inner),
1331            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::ServiceUnavailableException(inner) => {
1332                Error::ServiceUnavailableException(inner)
1333            }
1334            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::TooManyRequestsException(inner) => {
1335                Error::TooManyRequestsException(inner)
1336            }
1337            crate::operation::grant_flow_entitlements::GrantFlowEntitlementsError::Unhandled(inner) => Error::Unhandled(inner),
1338        }
1339    }
1340}
1341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_bridges::ListBridgesError, R>> for Error
1342where
1343    R: Send + Sync + std::fmt::Debug + 'static,
1344{
1345    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_bridges::ListBridgesError, R>) -> Self {
1346        match err {
1347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1350                source: err.into(),
1351            }),
1352        }
1353    }
1354}
1355impl From<crate::operation::list_bridges::ListBridgesError> for Error {
1356    fn from(err: crate::operation::list_bridges::ListBridgesError) -> Self {
1357        match err {
1358            crate::operation::list_bridges::ListBridgesError::BadRequestException(inner) => Error::BadRequestException(inner),
1359            crate::operation::list_bridges::ListBridgesError::ConflictException(inner) => Error::ConflictException(inner),
1360            crate::operation::list_bridges::ListBridgesError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1361            crate::operation::list_bridges::ListBridgesError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1362            crate::operation::list_bridges::ListBridgesError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1363            crate::operation::list_bridges::ListBridgesError::Unhandled(inner) => Error::Unhandled(inner),
1364        }
1365    }
1366}
1367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entitlements::ListEntitlementsError, R>> for Error
1368where
1369    R: Send + Sync + std::fmt::Debug + 'static,
1370{
1371    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entitlements::ListEntitlementsError, R>) -> Self {
1372        match err {
1373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1376                source: err.into(),
1377            }),
1378        }
1379    }
1380}
1381impl From<crate::operation::list_entitlements::ListEntitlementsError> for Error {
1382    fn from(err: crate::operation::list_entitlements::ListEntitlementsError) -> Self {
1383        match err {
1384            crate::operation::list_entitlements::ListEntitlementsError::BadRequestException(inner) => Error::BadRequestException(inner),
1385            crate::operation::list_entitlements::ListEntitlementsError::InternalServerErrorException(inner) => {
1386                Error::InternalServerErrorException(inner)
1387            }
1388            crate::operation::list_entitlements::ListEntitlementsError::ServiceUnavailableException(inner) => {
1389                Error::ServiceUnavailableException(inner)
1390            }
1391            crate::operation::list_entitlements::ListEntitlementsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1392            crate::operation::list_entitlements::ListEntitlementsError::Unhandled(inner) => Error::Unhandled(inner),
1393        }
1394    }
1395}
1396impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flows::ListFlowsError, R>> for Error
1397where
1398    R: Send + Sync + std::fmt::Debug + 'static,
1399{
1400    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_flows::ListFlowsError, R>) -> Self {
1401        match err {
1402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1405                source: err.into(),
1406            }),
1407        }
1408    }
1409}
1410impl From<crate::operation::list_flows::ListFlowsError> for Error {
1411    fn from(err: crate::operation::list_flows::ListFlowsError) -> Self {
1412        match err {
1413            crate::operation::list_flows::ListFlowsError::BadRequestException(inner) => Error::BadRequestException(inner),
1414            crate::operation::list_flows::ListFlowsError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1415            crate::operation::list_flows::ListFlowsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1416            crate::operation::list_flows::ListFlowsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1417            crate::operation::list_flows::ListFlowsError::Unhandled(inner) => Error::Unhandled(inner),
1418        }
1419    }
1420}
1421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateway_instances::ListGatewayInstancesError, R>> for Error
1422where
1423    R: Send + Sync + std::fmt::Debug + 'static,
1424{
1425    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateway_instances::ListGatewayInstancesError, R>) -> Self {
1426        match err {
1427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1430                source: err.into(),
1431            }),
1432        }
1433    }
1434}
1435impl From<crate::operation::list_gateway_instances::ListGatewayInstancesError> for Error {
1436    fn from(err: crate::operation::list_gateway_instances::ListGatewayInstancesError) -> Self {
1437        match err {
1438            crate::operation::list_gateway_instances::ListGatewayInstancesError::BadRequestException(inner) => Error::BadRequestException(inner),
1439            crate::operation::list_gateway_instances::ListGatewayInstancesError::ConflictException(inner) => Error::ConflictException(inner),
1440            crate::operation::list_gateway_instances::ListGatewayInstancesError::InternalServerErrorException(inner) => {
1441                Error::InternalServerErrorException(inner)
1442            }
1443            crate::operation::list_gateway_instances::ListGatewayInstancesError::ServiceUnavailableException(inner) => {
1444                Error::ServiceUnavailableException(inner)
1445            }
1446            crate::operation::list_gateway_instances::ListGatewayInstancesError::TooManyRequestsException(inner) => {
1447                Error::TooManyRequestsException(inner)
1448            }
1449            crate::operation::list_gateway_instances::ListGatewayInstancesError::Unhandled(inner) => Error::Unhandled(inner),
1450        }
1451    }
1452}
1453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateways::ListGatewaysError, R>> for Error
1454where
1455    R: Send + Sync + std::fmt::Debug + 'static,
1456{
1457    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gateways::ListGatewaysError, R>) -> Self {
1458        match err {
1459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1462                source: err.into(),
1463            }),
1464        }
1465    }
1466}
1467impl From<crate::operation::list_gateways::ListGatewaysError> for Error {
1468    fn from(err: crate::operation::list_gateways::ListGatewaysError) -> Self {
1469        match err {
1470            crate::operation::list_gateways::ListGatewaysError::BadRequestException(inner) => Error::BadRequestException(inner),
1471            crate::operation::list_gateways::ListGatewaysError::ConflictException(inner) => Error::ConflictException(inner),
1472            crate::operation::list_gateways::ListGatewaysError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1473            crate::operation::list_gateways::ListGatewaysError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1474            crate::operation::list_gateways::ListGatewaysError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1475            crate::operation::list_gateways::ListGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
1476        }
1477    }
1478}
1479impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_offerings::ListOfferingsError, R>> for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_offerings::ListOfferingsError, R>) -> Self {
1484        match err {
1485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1488                source: err.into(),
1489            }),
1490        }
1491    }
1492}
1493impl From<crate::operation::list_offerings::ListOfferingsError> for Error {
1494    fn from(err: crate::operation::list_offerings::ListOfferingsError) -> Self {
1495        match err {
1496            crate::operation::list_offerings::ListOfferingsError::BadRequestException(inner) => Error::BadRequestException(inner),
1497            crate::operation::list_offerings::ListOfferingsError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1498            crate::operation::list_offerings::ListOfferingsError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
1499            crate::operation::list_offerings::ListOfferingsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1500            crate::operation::list_offerings::ListOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
1501        }
1502    }
1503}
1504impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reservations::ListReservationsError, R>> for Error
1505where
1506    R: Send + Sync + std::fmt::Debug + 'static,
1507{
1508    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_reservations::ListReservationsError, R>) -> Self {
1509        match err {
1510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1513                source: err.into(),
1514            }),
1515        }
1516    }
1517}
1518impl From<crate::operation::list_reservations::ListReservationsError> for Error {
1519    fn from(err: crate::operation::list_reservations::ListReservationsError) -> Self {
1520        match err {
1521            crate::operation::list_reservations::ListReservationsError::BadRequestException(inner) => Error::BadRequestException(inner),
1522            crate::operation::list_reservations::ListReservationsError::InternalServerErrorException(inner) => {
1523                Error::InternalServerErrorException(inner)
1524            }
1525            crate::operation::list_reservations::ListReservationsError::ServiceUnavailableException(inner) => {
1526                Error::ServiceUnavailableException(inner)
1527            }
1528            crate::operation::list_reservations::ListReservationsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1529            crate::operation::list_reservations::ListReservationsError::Unhandled(inner) => Error::Unhandled(inner),
1530        }
1531    }
1532}
1533impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_router_inputs::ListRouterInputsError, R>> for Error
1534where
1535    R: Send + Sync + std::fmt::Debug + 'static,
1536{
1537    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_router_inputs::ListRouterInputsError, R>) -> Self {
1538        match err {
1539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1542                source: err.into(),
1543            }),
1544        }
1545    }
1546}
1547impl From<crate::operation::list_router_inputs::ListRouterInputsError> for Error {
1548    fn from(err: crate::operation::list_router_inputs::ListRouterInputsError) -> Self {
1549        match err {
1550            crate::operation::list_router_inputs::ListRouterInputsError::BadRequestException(inner) => Error::BadRequestException(inner),
1551            crate::operation::list_router_inputs::ListRouterInputsError::ConflictException(inner) => Error::ConflictException(inner),
1552            crate::operation::list_router_inputs::ListRouterInputsError::InternalServerErrorException(inner) => {
1553                Error::InternalServerErrorException(inner)
1554            }
1555            crate::operation::list_router_inputs::ListRouterInputsError::ServiceUnavailableException(inner) => {
1556                Error::ServiceUnavailableException(inner)
1557            }
1558            crate::operation::list_router_inputs::ListRouterInputsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1559            crate::operation::list_router_inputs::ListRouterInputsError::Unhandled(inner) => Error::Unhandled(inner),
1560        }
1561    }
1562}
1563impl<R>
1564    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError, R>>
1565    for Error
1566where
1567    R: Send + Sync + std::fmt::Debug + 'static,
1568{
1569    fn from(
1570        err: ::aws_smithy_runtime_api::client::result::SdkError<
1571            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError,
1572            R,
1573        >,
1574    ) -> 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::list_router_network_interfaces::ListRouterNetworkInterfacesError> for Error {
1585    fn from(err: crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError) -> Self {
1586        match err {
1587            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError::BadRequestException(inner) => {
1588                Error::BadRequestException(inner)
1589            }
1590            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError::ConflictException(inner) => {
1591                Error::ConflictException(inner)
1592            }
1593            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError::InternalServerErrorException(inner) => {
1594                Error::InternalServerErrorException(inner)
1595            }
1596            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError::ServiceUnavailableException(inner) => {
1597                Error::ServiceUnavailableException(inner)
1598            }
1599            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError::TooManyRequestsException(inner) => {
1600                Error::TooManyRequestsException(inner)
1601            }
1602            crate::operation::list_router_network_interfaces::ListRouterNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
1603        }
1604    }
1605}
1606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_router_outputs::ListRouterOutputsError, R>> for Error
1607where
1608    R: Send + Sync + std::fmt::Debug + 'static,
1609{
1610    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_router_outputs::ListRouterOutputsError, R>) -> Self {
1611        match err {
1612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1615                source: err.into(),
1616            }),
1617        }
1618    }
1619}
1620impl From<crate::operation::list_router_outputs::ListRouterOutputsError> for Error {
1621    fn from(err: crate::operation::list_router_outputs::ListRouterOutputsError) -> Self {
1622        match err {
1623            crate::operation::list_router_outputs::ListRouterOutputsError::BadRequestException(inner) => Error::BadRequestException(inner),
1624            crate::operation::list_router_outputs::ListRouterOutputsError::ConflictException(inner) => Error::ConflictException(inner),
1625            crate::operation::list_router_outputs::ListRouterOutputsError::InternalServerErrorException(inner) => {
1626                Error::InternalServerErrorException(inner)
1627            }
1628            crate::operation::list_router_outputs::ListRouterOutputsError::ServiceUnavailableException(inner) => {
1629                Error::ServiceUnavailableException(inner)
1630            }
1631            crate::operation::list_router_outputs::ListRouterOutputsError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1632            crate::operation::list_router_outputs::ListRouterOutputsError::Unhandled(inner) => Error::Unhandled(inner),
1633        }
1634    }
1635}
1636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError, R>>
1637    for Error
1638where
1639    R: Send + Sync + std::fmt::Debug + 'static,
1640{
1641    fn from(
1642        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError, R>,
1643    ) -> Self {
1644        match err {
1645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1648                source: err.into(),
1649            }),
1650        }
1651    }
1652}
1653impl From<crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError> for Error {
1654    fn from(err: crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError) -> Self {
1655        match err {
1656            crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError::BadRequestException(inner) => {
1657                Error::BadRequestException(inner)
1658            }
1659            crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError::InternalServerErrorException(inner) => {
1660                Error::InternalServerErrorException(inner)
1661            }
1662            crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError::NotFoundException(inner) => {
1663                Error::NotFoundException(inner)
1664            }
1665            crate::operation::list_tags_for_global_resource::ListTagsForGlobalResourceError::Unhandled(inner) => Error::Unhandled(inner),
1666        }
1667    }
1668}
1669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1670where
1671    R: Send + Sync + std::fmt::Debug + 'static,
1672{
1673    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1674        match err {
1675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1678                source: err.into(),
1679            }),
1680        }
1681    }
1682}
1683impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1684    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1685        match err {
1686            crate::operation::list_tags_for_resource::ListTagsForResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
1687            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerErrorException(inner) => {
1688                Error::InternalServerErrorException(inner)
1689            }
1690            crate::operation::list_tags_for_resource::ListTagsForResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
1691            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1692        }
1693    }
1694}
1695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_offering::PurchaseOfferingError, R>> for Error
1696where
1697    R: Send + Sync + std::fmt::Debug + 'static,
1698{
1699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_offering::PurchaseOfferingError, R>) -> Self {
1700        match err {
1701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1704                source: err.into(),
1705            }),
1706        }
1707    }
1708}
1709impl From<crate::operation::purchase_offering::PurchaseOfferingError> for Error {
1710    fn from(err: crate::operation::purchase_offering::PurchaseOfferingError) -> Self {
1711        match err {
1712            crate::operation::purchase_offering::PurchaseOfferingError::BadRequestException(inner) => Error::BadRequestException(inner),
1713            crate::operation::purchase_offering::PurchaseOfferingError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1714            crate::operation::purchase_offering::PurchaseOfferingError::InternalServerErrorException(inner) => {
1715                Error::InternalServerErrorException(inner)
1716            }
1717            crate::operation::purchase_offering::PurchaseOfferingError::NotFoundException(inner) => Error::NotFoundException(inner),
1718            crate::operation::purchase_offering::PurchaseOfferingError::ServiceUnavailableException(inner) => {
1719                Error::ServiceUnavailableException(inner)
1720            }
1721            crate::operation::purchase_offering::PurchaseOfferingError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1722            crate::operation::purchase_offering::PurchaseOfferingError::Unhandled(inner) => Error::Unhandled(inner),
1723        }
1724    }
1725}
1726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_bridge_output::RemoveBridgeOutputError, R>> for Error
1727where
1728    R: Send + Sync + std::fmt::Debug + 'static,
1729{
1730    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_bridge_output::RemoveBridgeOutputError, R>) -> 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::remove_bridge_output::RemoveBridgeOutputError> for Error {
1741    fn from(err: crate::operation::remove_bridge_output::RemoveBridgeOutputError) -> Self {
1742        match err {
1743            crate::operation::remove_bridge_output::RemoveBridgeOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
1744            crate::operation::remove_bridge_output::RemoveBridgeOutputError::ConflictException(inner) => Error::ConflictException(inner),
1745            crate::operation::remove_bridge_output::RemoveBridgeOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1746            crate::operation::remove_bridge_output::RemoveBridgeOutputError::InternalServerErrorException(inner) => {
1747                Error::InternalServerErrorException(inner)
1748            }
1749            crate::operation::remove_bridge_output::RemoveBridgeOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
1750            crate::operation::remove_bridge_output::RemoveBridgeOutputError::ServiceUnavailableException(inner) => {
1751                Error::ServiceUnavailableException(inner)
1752            }
1753            crate::operation::remove_bridge_output::RemoveBridgeOutputError::TooManyRequestsException(inner) => {
1754                Error::TooManyRequestsException(inner)
1755            }
1756            crate::operation::remove_bridge_output::RemoveBridgeOutputError::Unhandled(inner) => Error::Unhandled(inner),
1757        }
1758    }
1759}
1760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_bridge_source::RemoveBridgeSourceError, R>> for Error
1761where
1762    R: Send + Sync + std::fmt::Debug + 'static,
1763{
1764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_bridge_source::RemoveBridgeSourceError, R>) -> Self {
1765        match err {
1766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1769                source: err.into(),
1770            }),
1771        }
1772    }
1773}
1774impl From<crate::operation::remove_bridge_source::RemoveBridgeSourceError> for Error {
1775    fn from(err: crate::operation::remove_bridge_source::RemoveBridgeSourceError) -> Self {
1776        match err {
1777            crate::operation::remove_bridge_source::RemoveBridgeSourceError::BadRequestException(inner) => Error::BadRequestException(inner),
1778            crate::operation::remove_bridge_source::RemoveBridgeSourceError::ConflictException(inner) => Error::ConflictException(inner),
1779            crate::operation::remove_bridge_source::RemoveBridgeSourceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1780            crate::operation::remove_bridge_source::RemoveBridgeSourceError::InternalServerErrorException(inner) => {
1781                Error::InternalServerErrorException(inner)
1782            }
1783            crate::operation::remove_bridge_source::RemoveBridgeSourceError::NotFoundException(inner) => Error::NotFoundException(inner),
1784            crate::operation::remove_bridge_source::RemoveBridgeSourceError::ServiceUnavailableException(inner) => {
1785                Error::ServiceUnavailableException(inner)
1786            }
1787            crate::operation::remove_bridge_source::RemoveBridgeSourceError::TooManyRequestsException(inner) => {
1788                Error::TooManyRequestsException(inner)
1789            }
1790            crate::operation::remove_bridge_source::RemoveBridgeSourceError::Unhandled(inner) => Error::Unhandled(inner),
1791        }
1792    }
1793}
1794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError, R>> for Error
1795where
1796    R: Send + Sync + std::fmt::Debug + 'static,
1797{
1798    fn from(
1799        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError, R>,
1800    ) -> Self {
1801        match err {
1802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1805                source: err.into(),
1806            }),
1807        }
1808    }
1809}
1810impl From<crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError> for Error {
1811    fn from(err: crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError) -> Self {
1812        match err {
1813            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::BadRequestException(inner) => Error::BadRequestException(inner),
1814            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1815            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::InternalServerErrorException(inner) => {
1816                Error::InternalServerErrorException(inner)
1817            }
1818            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::NotFoundException(inner) => Error::NotFoundException(inner),
1819            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::ServiceUnavailableException(inner) => {
1820                Error::ServiceUnavailableException(inner)
1821            }
1822            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::TooManyRequestsException(inner) => {
1823                Error::TooManyRequestsException(inner)
1824            }
1825            crate::operation::remove_flow_media_stream::RemoveFlowMediaStreamError::Unhandled(inner) => Error::Unhandled(inner),
1826        }
1827    }
1828}
1829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_output::RemoveFlowOutputError, R>> for Error
1830where
1831    R: Send + Sync + std::fmt::Debug + 'static,
1832{
1833    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_output::RemoveFlowOutputError, R>) -> Self {
1834        match err {
1835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1838                source: err.into(),
1839            }),
1840        }
1841    }
1842}
1843impl From<crate::operation::remove_flow_output::RemoveFlowOutputError> for Error {
1844    fn from(err: crate::operation::remove_flow_output::RemoveFlowOutputError) -> Self {
1845        match err {
1846            crate::operation::remove_flow_output::RemoveFlowOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
1847            crate::operation::remove_flow_output::RemoveFlowOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1848            crate::operation::remove_flow_output::RemoveFlowOutputError::InternalServerErrorException(inner) => {
1849                Error::InternalServerErrorException(inner)
1850            }
1851            crate::operation::remove_flow_output::RemoveFlowOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
1852            crate::operation::remove_flow_output::RemoveFlowOutputError::ServiceUnavailableException(inner) => {
1853                Error::ServiceUnavailableException(inner)
1854            }
1855            crate::operation::remove_flow_output::RemoveFlowOutputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1856            crate::operation::remove_flow_output::RemoveFlowOutputError::Unhandled(inner) => Error::Unhandled(inner),
1857        }
1858    }
1859}
1860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_source::RemoveFlowSourceError, R>> for Error
1861where
1862    R: Send + Sync + std::fmt::Debug + 'static,
1863{
1864    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_source::RemoveFlowSourceError, R>) -> Self {
1865        match err {
1866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1869                source: err.into(),
1870            }),
1871        }
1872    }
1873}
1874impl From<crate::operation::remove_flow_source::RemoveFlowSourceError> for Error {
1875    fn from(err: crate::operation::remove_flow_source::RemoveFlowSourceError) -> Self {
1876        match err {
1877            crate::operation::remove_flow_source::RemoveFlowSourceError::BadRequestException(inner) => Error::BadRequestException(inner),
1878            crate::operation::remove_flow_source::RemoveFlowSourceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1879            crate::operation::remove_flow_source::RemoveFlowSourceError::InternalServerErrorException(inner) => {
1880                Error::InternalServerErrorException(inner)
1881            }
1882            crate::operation::remove_flow_source::RemoveFlowSourceError::NotFoundException(inner) => Error::NotFoundException(inner),
1883            crate::operation::remove_flow_source::RemoveFlowSourceError::ServiceUnavailableException(inner) => {
1884                Error::ServiceUnavailableException(inner)
1885            }
1886            crate::operation::remove_flow_source::RemoveFlowSourceError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
1887            crate::operation::remove_flow_source::RemoveFlowSourceError::Unhandled(inner) => Error::Unhandled(inner),
1888        }
1889    }
1890}
1891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError, R>>
1892    for Error
1893where
1894    R: Send + Sync + std::fmt::Debug + 'static,
1895{
1896    fn from(
1897        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError, R>,
1898    ) -> Self {
1899        match err {
1900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1903                source: err.into(),
1904            }),
1905        }
1906    }
1907}
1908impl From<crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError> for Error {
1909    fn from(err: crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError) -> Self {
1910        match err {
1911            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::BadRequestException(inner) => Error::BadRequestException(inner),
1912            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1913            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::InternalServerErrorException(inner) => {
1914                Error::InternalServerErrorException(inner)
1915            }
1916            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::NotFoundException(inner) => Error::NotFoundException(inner),
1917            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::ServiceUnavailableException(inner) => {
1918                Error::ServiceUnavailableException(inner)
1919            }
1920            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::TooManyRequestsException(inner) => {
1921                Error::TooManyRequestsException(inner)
1922            }
1923            crate::operation::remove_flow_vpc_interface::RemoveFlowVpcInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1924        }
1925    }
1926}
1927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restart_router_input::RestartRouterInputError, R>> for Error
1928where
1929    R: Send + Sync + std::fmt::Debug + 'static,
1930{
1931    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restart_router_input::RestartRouterInputError, R>) -> Self {
1932        match err {
1933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1936                source: err.into(),
1937            }),
1938        }
1939    }
1940}
1941impl From<crate::operation::restart_router_input::RestartRouterInputError> for Error {
1942    fn from(err: crate::operation::restart_router_input::RestartRouterInputError) -> Self {
1943        match err {
1944            crate::operation::restart_router_input::RestartRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
1945            crate::operation::restart_router_input::RestartRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
1946            crate::operation::restart_router_input::RestartRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1947            crate::operation::restart_router_input::RestartRouterInputError::InternalServerErrorException(inner) => {
1948                Error::InternalServerErrorException(inner)
1949            }
1950            crate::operation::restart_router_input::RestartRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
1951            crate::operation::restart_router_input::RestartRouterInputError::ServiceUnavailableException(inner) => {
1952                Error::ServiceUnavailableException(inner)
1953            }
1954            crate::operation::restart_router_input::RestartRouterInputError::TooManyRequestsException(inner) => {
1955                Error::TooManyRequestsException(inner)
1956            }
1957            crate::operation::restart_router_input::RestartRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
1958        }
1959    }
1960}
1961impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restart_router_output::RestartRouterOutputError, R>> for Error
1962where
1963    R: Send + Sync + std::fmt::Debug + 'static,
1964{
1965    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restart_router_output::RestartRouterOutputError, R>) -> Self {
1966        match err {
1967            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1968            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1969                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1970                source: err.into(),
1971            }),
1972        }
1973    }
1974}
1975impl From<crate::operation::restart_router_output::RestartRouterOutputError> for Error {
1976    fn from(err: crate::operation::restart_router_output::RestartRouterOutputError) -> Self {
1977        match err {
1978            crate::operation::restart_router_output::RestartRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
1979            crate::operation::restart_router_output::RestartRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
1980            crate::operation::restart_router_output::RestartRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
1981            crate::operation::restart_router_output::RestartRouterOutputError::InternalServerErrorException(inner) => {
1982                Error::InternalServerErrorException(inner)
1983            }
1984            crate::operation::restart_router_output::RestartRouterOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
1985            crate::operation::restart_router_output::RestartRouterOutputError::ServiceUnavailableException(inner) => {
1986                Error::ServiceUnavailableException(inner)
1987            }
1988            crate::operation::restart_router_output::RestartRouterOutputError::TooManyRequestsException(inner) => {
1989                Error::TooManyRequestsException(inner)
1990            }
1991            crate::operation::restart_router_output::RestartRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
1992        }
1993    }
1994}
1995impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError, R>> for Error
1996where
1997    R: Send + Sync + std::fmt::Debug + 'static,
1998{
1999    fn from(
2000        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError, R>,
2001    ) -> Self {
2002        match err {
2003            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2004            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2005                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2006                source: err.into(),
2007            }),
2008        }
2009    }
2010}
2011impl From<crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError> for Error {
2012    fn from(err: crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError) -> Self {
2013        match err {
2014            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::BadRequestException(inner) => Error::BadRequestException(inner),
2015            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2016            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::InternalServerErrorException(inner) => {
2017                Error::InternalServerErrorException(inner)
2018            }
2019            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::NotFoundException(inner) => Error::NotFoundException(inner),
2020            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::ServiceUnavailableException(inner) => {
2021                Error::ServiceUnavailableException(inner)
2022            }
2023            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::TooManyRequestsException(inner) => {
2024                Error::TooManyRequestsException(inner)
2025            }
2026            crate::operation::revoke_flow_entitlement::RevokeFlowEntitlementError::Unhandled(inner) => Error::Unhandled(inner),
2027        }
2028    }
2029}
2030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_flow::StartFlowError, R>> for Error
2031where
2032    R: Send + Sync + std::fmt::Debug + 'static,
2033{
2034    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_flow::StartFlowError, R>) -> Self {
2035        match err {
2036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2039                source: err.into(),
2040            }),
2041        }
2042    }
2043}
2044impl From<crate::operation::start_flow::StartFlowError> for Error {
2045    fn from(err: crate::operation::start_flow::StartFlowError) -> Self {
2046        match err {
2047            crate::operation::start_flow::StartFlowError::BadRequestException(inner) => Error::BadRequestException(inner),
2048            crate::operation::start_flow::StartFlowError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2049            crate::operation::start_flow::StartFlowError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2050            crate::operation::start_flow::StartFlowError::NotFoundException(inner) => Error::NotFoundException(inner),
2051            crate::operation::start_flow::StartFlowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2052            crate::operation::start_flow::StartFlowError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2053            crate::operation::start_flow::StartFlowError::Unhandled(inner) => Error::Unhandled(inner),
2054        }
2055    }
2056}
2057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_router_input::StartRouterInputError, R>> for Error
2058where
2059    R: Send + Sync + std::fmt::Debug + 'static,
2060{
2061    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_router_input::StartRouterInputError, R>) -> Self {
2062        match err {
2063            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2064            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2065                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2066                source: err.into(),
2067            }),
2068        }
2069    }
2070}
2071impl From<crate::operation::start_router_input::StartRouterInputError> for Error {
2072    fn from(err: crate::operation::start_router_input::StartRouterInputError) -> Self {
2073        match err {
2074            crate::operation::start_router_input::StartRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
2075            crate::operation::start_router_input::StartRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
2076            crate::operation::start_router_input::StartRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2077            crate::operation::start_router_input::StartRouterInputError::InternalServerErrorException(inner) => {
2078                Error::InternalServerErrorException(inner)
2079            }
2080            crate::operation::start_router_input::StartRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
2081            crate::operation::start_router_input::StartRouterInputError::ServiceUnavailableException(inner) => {
2082                Error::ServiceUnavailableException(inner)
2083            }
2084            crate::operation::start_router_input::StartRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2085            crate::operation::start_router_input::StartRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
2086        }
2087    }
2088}
2089impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_router_output::StartRouterOutputError, R>> for Error
2090where
2091    R: Send + Sync + std::fmt::Debug + 'static,
2092{
2093    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_router_output::StartRouterOutputError, R>) -> Self {
2094        match err {
2095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2098                source: err.into(),
2099            }),
2100        }
2101    }
2102}
2103impl From<crate::operation::start_router_output::StartRouterOutputError> for Error {
2104    fn from(err: crate::operation::start_router_output::StartRouterOutputError) -> Self {
2105        match err {
2106            crate::operation::start_router_output::StartRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
2107            crate::operation::start_router_output::StartRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
2108            crate::operation::start_router_output::StartRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2109            crate::operation::start_router_output::StartRouterOutputError::InternalServerErrorException(inner) => {
2110                Error::InternalServerErrorException(inner)
2111            }
2112            crate::operation::start_router_output::StartRouterOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
2113            crate::operation::start_router_output::StartRouterOutputError::ServiceUnavailableException(inner) => {
2114                Error::ServiceUnavailableException(inner)
2115            }
2116            crate::operation::start_router_output::StartRouterOutputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2117            crate::operation::start_router_output::StartRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
2118        }
2119    }
2120}
2121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_flow::StopFlowError, R>> for Error
2122where
2123    R: Send + Sync + std::fmt::Debug + 'static,
2124{
2125    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_flow::StopFlowError, R>) -> Self {
2126        match err {
2127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2130                source: err.into(),
2131            }),
2132        }
2133    }
2134}
2135impl From<crate::operation::stop_flow::StopFlowError> for Error {
2136    fn from(err: crate::operation::stop_flow::StopFlowError) -> Self {
2137        match err {
2138            crate::operation::stop_flow::StopFlowError::BadRequestException(inner) => Error::BadRequestException(inner),
2139            crate::operation::stop_flow::StopFlowError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2140            crate::operation::stop_flow::StopFlowError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2141            crate::operation::stop_flow::StopFlowError::NotFoundException(inner) => Error::NotFoundException(inner),
2142            crate::operation::stop_flow::StopFlowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2143            crate::operation::stop_flow::StopFlowError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2144            crate::operation::stop_flow::StopFlowError::Unhandled(inner) => Error::Unhandled(inner),
2145        }
2146    }
2147}
2148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_router_input::StopRouterInputError, 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::stop_router_input::StopRouterInputError, 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::stop_router_input::StopRouterInputError> for Error {
2163    fn from(err: crate::operation::stop_router_input::StopRouterInputError) -> Self {
2164        match err {
2165            crate::operation::stop_router_input::StopRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
2166            crate::operation::stop_router_input::StopRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
2167            crate::operation::stop_router_input::StopRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2168            crate::operation::stop_router_input::StopRouterInputError::InternalServerErrorException(inner) => {
2169                Error::InternalServerErrorException(inner)
2170            }
2171            crate::operation::stop_router_input::StopRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
2172            crate::operation::stop_router_input::StopRouterInputError::ServiceUnavailableException(inner) => {
2173                Error::ServiceUnavailableException(inner)
2174            }
2175            crate::operation::stop_router_input::StopRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2176            crate::operation::stop_router_input::StopRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
2177        }
2178    }
2179}
2180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_router_output::StopRouterOutputError, R>> for Error
2181where
2182    R: Send + Sync + std::fmt::Debug + 'static,
2183{
2184    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_router_output::StopRouterOutputError, R>) -> 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::stop_router_output::StopRouterOutputError> for Error {
2195    fn from(err: crate::operation::stop_router_output::StopRouterOutputError) -> Self {
2196        match err {
2197            crate::operation::stop_router_output::StopRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
2198            crate::operation::stop_router_output::StopRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
2199            crate::operation::stop_router_output::StopRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2200            crate::operation::stop_router_output::StopRouterOutputError::InternalServerErrorException(inner) => {
2201                Error::InternalServerErrorException(inner)
2202            }
2203            crate::operation::stop_router_output::StopRouterOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
2204            crate::operation::stop_router_output::StopRouterOutputError::ServiceUnavailableException(inner) => {
2205                Error::ServiceUnavailableException(inner)
2206            }
2207            crate::operation::stop_router_output::StopRouterOutputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2208            crate::operation::stop_router_output::StopRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
2209        }
2210    }
2211}
2212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_global_resource::TagGlobalResourceError, R>> for Error
2213where
2214    R: Send + Sync + std::fmt::Debug + 'static,
2215{
2216    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_global_resource::TagGlobalResourceError, R>) -> Self {
2217        match err {
2218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2221                source: err.into(),
2222            }),
2223        }
2224    }
2225}
2226impl From<crate::operation::tag_global_resource::TagGlobalResourceError> for Error {
2227    fn from(err: crate::operation::tag_global_resource::TagGlobalResourceError) -> Self {
2228        match err {
2229            crate::operation::tag_global_resource::TagGlobalResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
2230            crate::operation::tag_global_resource::TagGlobalResourceError::InternalServerErrorException(inner) => {
2231                Error::InternalServerErrorException(inner)
2232            }
2233            crate::operation::tag_global_resource::TagGlobalResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
2234            crate::operation::tag_global_resource::TagGlobalResourceError::Unhandled(inner) => Error::Unhandled(inner),
2235        }
2236    }
2237}
2238impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
2239where
2240    R: Send + Sync + std::fmt::Debug + 'static,
2241{
2242    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
2243        match err {
2244            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2245            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2246                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2247                source: err.into(),
2248            }),
2249        }
2250    }
2251}
2252impl From<crate::operation::tag_resource::TagResourceError> for Error {
2253    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
2254        match err {
2255            crate::operation::tag_resource::TagResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
2256            crate::operation::tag_resource::TagResourceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2257            crate::operation::tag_resource::TagResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
2258            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2259        }
2260    }
2261}
2262impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::take_router_input::TakeRouterInputError, R>> for Error
2263where
2264    R: Send + Sync + std::fmt::Debug + 'static,
2265{
2266    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::take_router_input::TakeRouterInputError, R>) -> Self {
2267        match err {
2268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2271                source: err.into(),
2272            }),
2273        }
2274    }
2275}
2276impl From<crate::operation::take_router_input::TakeRouterInputError> for Error {
2277    fn from(err: crate::operation::take_router_input::TakeRouterInputError) -> Self {
2278        match err {
2279            crate::operation::take_router_input::TakeRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
2280            crate::operation::take_router_input::TakeRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
2281            crate::operation::take_router_input::TakeRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2282            crate::operation::take_router_input::TakeRouterInputError::InternalServerErrorException(inner) => {
2283                Error::InternalServerErrorException(inner)
2284            }
2285            crate::operation::take_router_input::TakeRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
2286            crate::operation::take_router_input::TakeRouterInputError::ServiceUnavailableException(inner) => {
2287                Error::ServiceUnavailableException(inner)
2288            }
2289            crate::operation::take_router_input::TakeRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2290            crate::operation::take_router_input::TakeRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
2291        }
2292    }
2293}
2294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_global_resource::UntagGlobalResourceError, 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::untag_global_resource::UntagGlobalResourceError, 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::untag_global_resource::UntagGlobalResourceError> for Error {
2309    fn from(err: crate::operation::untag_global_resource::UntagGlobalResourceError) -> Self {
2310        match err {
2311            crate::operation::untag_global_resource::UntagGlobalResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
2312            crate::operation::untag_global_resource::UntagGlobalResourceError::InternalServerErrorException(inner) => {
2313                Error::InternalServerErrorException(inner)
2314            }
2315            crate::operation::untag_global_resource::UntagGlobalResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
2316            crate::operation::untag_global_resource::UntagGlobalResourceError::Unhandled(inner) => Error::Unhandled(inner),
2317        }
2318    }
2319}
2320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
2321where
2322    R: Send + Sync + std::fmt::Debug + 'static,
2323{
2324    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
2325        match err {
2326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2329                source: err.into(),
2330            }),
2331        }
2332    }
2333}
2334impl From<crate::operation::untag_resource::UntagResourceError> for Error {
2335    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
2336        match err {
2337            crate::operation::untag_resource::UntagResourceError::BadRequestException(inner) => Error::BadRequestException(inner),
2338            crate::operation::untag_resource::UntagResourceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2339            crate::operation::untag_resource::UntagResourceError::NotFoundException(inner) => Error::NotFoundException(inner),
2340            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2341        }
2342    }
2343}
2344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge::UpdateBridgeError, R>> for Error
2345where
2346    R: Send + Sync + std::fmt::Debug + 'static,
2347{
2348    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge::UpdateBridgeError, R>) -> Self {
2349        match err {
2350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2353                source: err.into(),
2354            }),
2355        }
2356    }
2357}
2358impl From<crate::operation::update_bridge::UpdateBridgeError> for Error {
2359    fn from(err: crate::operation::update_bridge::UpdateBridgeError) -> Self {
2360        match err {
2361            crate::operation::update_bridge::UpdateBridgeError::BadRequestException(inner) => Error::BadRequestException(inner),
2362            crate::operation::update_bridge::UpdateBridgeError::ConflictException(inner) => Error::ConflictException(inner),
2363            crate::operation::update_bridge::UpdateBridgeError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2364            crate::operation::update_bridge::UpdateBridgeError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2365            crate::operation::update_bridge::UpdateBridgeError::NotFoundException(inner) => Error::NotFoundException(inner),
2366            crate::operation::update_bridge::UpdateBridgeError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2367            crate::operation::update_bridge::UpdateBridgeError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2368            crate::operation::update_bridge::UpdateBridgeError::Unhandled(inner) => Error::Unhandled(inner),
2369        }
2370    }
2371}
2372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge_output::UpdateBridgeOutputError, R>> for Error
2373where
2374    R: Send + Sync + std::fmt::Debug + 'static,
2375{
2376    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge_output::UpdateBridgeOutputError, R>) -> Self {
2377        match err {
2378            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2379            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2380                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2381                source: err.into(),
2382            }),
2383        }
2384    }
2385}
2386impl From<crate::operation::update_bridge_output::UpdateBridgeOutputError> for Error {
2387    fn from(err: crate::operation::update_bridge_output::UpdateBridgeOutputError) -> Self {
2388        match err {
2389            crate::operation::update_bridge_output::UpdateBridgeOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
2390            crate::operation::update_bridge_output::UpdateBridgeOutputError::ConflictException(inner) => Error::ConflictException(inner),
2391            crate::operation::update_bridge_output::UpdateBridgeOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2392            crate::operation::update_bridge_output::UpdateBridgeOutputError::InternalServerErrorException(inner) => {
2393                Error::InternalServerErrorException(inner)
2394            }
2395            crate::operation::update_bridge_output::UpdateBridgeOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
2396            crate::operation::update_bridge_output::UpdateBridgeOutputError::ServiceUnavailableException(inner) => {
2397                Error::ServiceUnavailableException(inner)
2398            }
2399            crate::operation::update_bridge_output::UpdateBridgeOutputError::TooManyRequestsException(inner) => {
2400                Error::TooManyRequestsException(inner)
2401            }
2402            crate::operation::update_bridge_output::UpdateBridgeOutputError::Unhandled(inner) => Error::Unhandled(inner),
2403        }
2404    }
2405}
2406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge_source::UpdateBridgeSourceError, R>> for Error
2407where
2408    R: Send + Sync + std::fmt::Debug + 'static,
2409{
2410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge_source::UpdateBridgeSourceError, R>) -> Self {
2411        match err {
2412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2415                source: err.into(),
2416            }),
2417        }
2418    }
2419}
2420impl From<crate::operation::update_bridge_source::UpdateBridgeSourceError> for Error {
2421    fn from(err: crate::operation::update_bridge_source::UpdateBridgeSourceError) -> Self {
2422        match err {
2423            crate::operation::update_bridge_source::UpdateBridgeSourceError::BadRequestException(inner) => Error::BadRequestException(inner),
2424            crate::operation::update_bridge_source::UpdateBridgeSourceError::ConflictException(inner) => Error::ConflictException(inner),
2425            crate::operation::update_bridge_source::UpdateBridgeSourceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2426            crate::operation::update_bridge_source::UpdateBridgeSourceError::InternalServerErrorException(inner) => {
2427                Error::InternalServerErrorException(inner)
2428            }
2429            crate::operation::update_bridge_source::UpdateBridgeSourceError::NotFoundException(inner) => Error::NotFoundException(inner),
2430            crate::operation::update_bridge_source::UpdateBridgeSourceError::ServiceUnavailableException(inner) => {
2431                Error::ServiceUnavailableException(inner)
2432            }
2433            crate::operation::update_bridge_source::UpdateBridgeSourceError::TooManyRequestsException(inner) => {
2434                Error::TooManyRequestsException(inner)
2435            }
2436            crate::operation::update_bridge_source::UpdateBridgeSourceError::Unhandled(inner) => Error::Unhandled(inner),
2437        }
2438    }
2439}
2440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge_state::UpdateBridgeStateError, R>> for Error
2441where
2442    R: Send + Sync + std::fmt::Debug + 'static,
2443{
2444    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_bridge_state::UpdateBridgeStateError, R>) -> Self {
2445        match err {
2446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2449                source: err.into(),
2450            }),
2451        }
2452    }
2453}
2454impl From<crate::operation::update_bridge_state::UpdateBridgeStateError> for Error {
2455    fn from(err: crate::operation::update_bridge_state::UpdateBridgeStateError) -> Self {
2456        match err {
2457            crate::operation::update_bridge_state::UpdateBridgeStateError::BadRequestException(inner) => Error::BadRequestException(inner),
2458            crate::operation::update_bridge_state::UpdateBridgeStateError::ConflictException(inner) => Error::ConflictException(inner),
2459            crate::operation::update_bridge_state::UpdateBridgeStateError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2460            crate::operation::update_bridge_state::UpdateBridgeStateError::InternalServerErrorException(inner) => {
2461                Error::InternalServerErrorException(inner)
2462            }
2463            crate::operation::update_bridge_state::UpdateBridgeStateError::NotFoundException(inner) => Error::NotFoundException(inner),
2464            crate::operation::update_bridge_state::UpdateBridgeStateError::ServiceUnavailableException(inner) => {
2465                Error::ServiceUnavailableException(inner)
2466            }
2467            crate::operation::update_bridge_state::UpdateBridgeStateError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2468            crate::operation::update_bridge_state::UpdateBridgeStateError::Unhandled(inner) => Error::Unhandled(inner),
2469        }
2470    }
2471}
2472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow::UpdateFlowError, R>> for Error
2473where
2474    R: Send + Sync + std::fmt::Debug + 'static,
2475{
2476    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow::UpdateFlowError, R>) -> Self {
2477        match err {
2478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2481                source: err.into(),
2482            }),
2483        }
2484    }
2485}
2486impl From<crate::operation::update_flow::UpdateFlowError> for Error {
2487    fn from(err: crate::operation::update_flow::UpdateFlowError) -> Self {
2488        match err {
2489            crate::operation::update_flow::UpdateFlowError::BadRequestException(inner) => Error::BadRequestException(inner),
2490            crate::operation::update_flow::UpdateFlowError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2491            crate::operation::update_flow::UpdateFlowError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
2492            crate::operation::update_flow::UpdateFlowError::NotFoundException(inner) => Error::NotFoundException(inner),
2493            crate::operation::update_flow::UpdateFlowError::ServiceUnavailableException(inner) => Error::ServiceUnavailableException(inner),
2494            crate::operation::update_flow::UpdateFlowError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2495            crate::operation::update_flow::UpdateFlowError::Unhandled(inner) => Error::Unhandled(inner),
2496        }
2497    }
2498}
2499impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_entitlement::UpdateFlowEntitlementError, R>> for Error
2500where
2501    R: Send + Sync + std::fmt::Debug + 'static,
2502{
2503    fn from(
2504        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_entitlement::UpdateFlowEntitlementError, R>,
2505    ) -> Self {
2506        match err {
2507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2510                source: err.into(),
2511            }),
2512        }
2513    }
2514}
2515impl From<crate::operation::update_flow_entitlement::UpdateFlowEntitlementError> for Error {
2516    fn from(err: crate::operation::update_flow_entitlement::UpdateFlowEntitlementError) -> Self {
2517        match err {
2518            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::BadRequestException(inner) => Error::BadRequestException(inner),
2519            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2520            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::InternalServerErrorException(inner) => {
2521                Error::InternalServerErrorException(inner)
2522            }
2523            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::NotFoundException(inner) => Error::NotFoundException(inner),
2524            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::ServiceUnavailableException(inner) => {
2525                Error::ServiceUnavailableException(inner)
2526            }
2527            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::TooManyRequestsException(inner) => {
2528                Error::TooManyRequestsException(inner)
2529            }
2530            crate::operation::update_flow_entitlement::UpdateFlowEntitlementError::Unhandled(inner) => Error::Unhandled(inner),
2531        }
2532    }
2533}
2534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError, R>> for Error
2535where
2536    R: Send + Sync + std::fmt::Debug + 'static,
2537{
2538    fn from(
2539        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError, R>,
2540    ) -> Self {
2541        match err {
2542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2545                source: err.into(),
2546            }),
2547        }
2548    }
2549}
2550impl From<crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError> for Error {
2551    fn from(err: crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError) -> Self {
2552        match err {
2553            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::BadRequestException(inner) => Error::BadRequestException(inner),
2554            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2555            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::InternalServerErrorException(inner) => {
2556                Error::InternalServerErrorException(inner)
2557            }
2558            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::NotFoundException(inner) => Error::NotFoundException(inner),
2559            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::ServiceUnavailableException(inner) => {
2560                Error::ServiceUnavailableException(inner)
2561            }
2562            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::TooManyRequestsException(inner) => {
2563                Error::TooManyRequestsException(inner)
2564            }
2565            crate::operation::update_flow_media_stream::UpdateFlowMediaStreamError::Unhandled(inner) => Error::Unhandled(inner),
2566        }
2567    }
2568}
2569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_output::UpdateFlowOutputError, R>> for Error
2570where
2571    R: Send + Sync + std::fmt::Debug + 'static,
2572{
2573    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_output::UpdateFlowOutputError, R>) -> Self {
2574        match err {
2575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2578                source: err.into(),
2579            }),
2580        }
2581    }
2582}
2583impl From<crate::operation::update_flow_output::UpdateFlowOutputError> for Error {
2584    fn from(err: crate::operation::update_flow_output::UpdateFlowOutputError) -> Self {
2585        match err {
2586            crate::operation::update_flow_output::UpdateFlowOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
2587            crate::operation::update_flow_output::UpdateFlowOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2588            crate::operation::update_flow_output::UpdateFlowOutputError::InternalServerErrorException(inner) => {
2589                Error::InternalServerErrorException(inner)
2590            }
2591            crate::operation::update_flow_output::UpdateFlowOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
2592            crate::operation::update_flow_output::UpdateFlowOutputError::ServiceUnavailableException(inner) => {
2593                Error::ServiceUnavailableException(inner)
2594            }
2595            crate::operation::update_flow_output::UpdateFlowOutputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2596            crate::operation::update_flow_output::UpdateFlowOutputError::Unhandled(inner) => Error::Unhandled(inner),
2597        }
2598    }
2599}
2600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_source::UpdateFlowSourceError, R>> for Error
2601where
2602    R: Send + Sync + std::fmt::Debug + 'static,
2603{
2604    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_flow_source::UpdateFlowSourceError, R>) -> Self {
2605        match err {
2606            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2607            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2608                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2609                source: err.into(),
2610            }),
2611        }
2612    }
2613}
2614impl From<crate::operation::update_flow_source::UpdateFlowSourceError> for Error {
2615    fn from(err: crate::operation::update_flow_source::UpdateFlowSourceError) -> Self {
2616        match err {
2617            crate::operation::update_flow_source::UpdateFlowSourceError::BadRequestException(inner) => Error::BadRequestException(inner),
2618            crate::operation::update_flow_source::UpdateFlowSourceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2619            crate::operation::update_flow_source::UpdateFlowSourceError::InternalServerErrorException(inner) => {
2620                Error::InternalServerErrorException(inner)
2621            }
2622            crate::operation::update_flow_source::UpdateFlowSourceError::NotFoundException(inner) => Error::NotFoundException(inner),
2623            crate::operation::update_flow_source::UpdateFlowSourceError::ServiceUnavailableException(inner) => {
2624                Error::ServiceUnavailableException(inner)
2625            }
2626            crate::operation::update_flow_source::UpdateFlowSourceError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2627            crate::operation::update_flow_source::UpdateFlowSourceError::Unhandled(inner) => Error::Unhandled(inner),
2628        }
2629    }
2630}
2631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway_instance::UpdateGatewayInstanceError, R>> for Error
2632where
2633    R: Send + Sync + std::fmt::Debug + 'static,
2634{
2635    fn from(
2636        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_gateway_instance::UpdateGatewayInstanceError, R>,
2637    ) -> Self {
2638        match err {
2639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2642                source: err.into(),
2643            }),
2644        }
2645    }
2646}
2647impl From<crate::operation::update_gateway_instance::UpdateGatewayInstanceError> for Error {
2648    fn from(err: crate::operation::update_gateway_instance::UpdateGatewayInstanceError) -> Self {
2649        match err {
2650            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::BadRequestException(inner) => Error::BadRequestException(inner),
2651            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::ConflictException(inner) => Error::ConflictException(inner),
2652            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2653            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::InternalServerErrorException(inner) => {
2654                Error::InternalServerErrorException(inner)
2655            }
2656            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::NotFoundException(inner) => Error::NotFoundException(inner),
2657            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::ServiceUnavailableException(inner) => {
2658                Error::ServiceUnavailableException(inner)
2659            }
2660            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::TooManyRequestsException(inner) => {
2661                Error::TooManyRequestsException(inner)
2662            }
2663            crate::operation::update_gateway_instance::UpdateGatewayInstanceError::Unhandled(inner) => Error::Unhandled(inner),
2664        }
2665    }
2666}
2667impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_router_input::UpdateRouterInputError, R>> for Error
2668where
2669    R: Send + Sync + std::fmt::Debug + 'static,
2670{
2671    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_router_input::UpdateRouterInputError, R>) -> Self {
2672        match err {
2673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2676                source: err.into(),
2677            }),
2678        }
2679    }
2680}
2681impl From<crate::operation::update_router_input::UpdateRouterInputError> for Error {
2682    fn from(err: crate::operation::update_router_input::UpdateRouterInputError) -> Self {
2683        match err {
2684            crate::operation::update_router_input::UpdateRouterInputError::BadRequestException(inner) => Error::BadRequestException(inner),
2685            crate::operation::update_router_input::UpdateRouterInputError::ConflictException(inner) => Error::ConflictException(inner),
2686            crate::operation::update_router_input::UpdateRouterInputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2687            crate::operation::update_router_input::UpdateRouterInputError::InternalServerErrorException(inner) => {
2688                Error::InternalServerErrorException(inner)
2689            }
2690            crate::operation::update_router_input::UpdateRouterInputError::NotFoundException(inner) => Error::NotFoundException(inner),
2691            crate::operation::update_router_input::UpdateRouterInputError::ServiceUnavailableException(inner) => {
2692                Error::ServiceUnavailableException(inner)
2693            }
2694            crate::operation::update_router_input::UpdateRouterInputError::TooManyRequestsException(inner) => Error::TooManyRequestsException(inner),
2695            crate::operation::update_router_input::UpdateRouterInputError::Unhandled(inner) => Error::Unhandled(inner),
2696        }
2697    }
2698}
2699impl<R>
2700    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError, R>>
2701    for Error
2702where
2703    R: Send + Sync + std::fmt::Debug + 'static,
2704{
2705    fn from(
2706        err: ::aws_smithy_runtime_api::client::result::SdkError<
2707            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError,
2708            R,
2709        >,
2710    ) -> Self {
2711        match err {
2712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2715                source: err.into(),
2716            }),
2717        }
2718    }
2719}
2720impl From<crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError> for Error {
2721    fn from(err: crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError) -> Self {
2722        match err {
2723            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::BadRequestException(inner) => {
2724                Error::BadRequestException(inner)
2725            }
2726            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::ConflictException(inner) => {
2727                Error::ConflictException(inner)
2728            }
2729            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::ForbiddenException(inner) => {
2730                Error::ForbiddenException(inner)
2731            }
2732            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::InternalServerErrorException(inner) => {
2733                Error::InternalServerErrorException(inner)
2734            }
2735            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::ServiceUnavailableException(inner) => {
2736                Error::ServiceUnavailableException(inner)
2737            }
2738            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::TooManyRequestsException(inner) => {
2739                Error::TooManyRequestsException(inner)
2740            }
2741            crate::operation::update_router_network_interface::UpdateRouterNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2742        }
2743    }
2744}
2745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_router_output::UpdateRouterOutputError, R>> for Error
2746where
2747    R: Send + Sync + std::fmt::Debug + 'static,
2748{
2749    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_router_output::UpdateRouterOutputError, R>) -> Self {
2750        match err {
2751            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2752            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2753                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2754                source: err.into(),
2755            }),
2756        }
2757    }
2758}
2759impl From<crate::operation::update_router_output::UpdateRouterOutputError> for Error {
2760    fn from(err: crate::operation::update_router_output::UpdateRouterOutputError) -> Self {
2761        match err {
2762            crate::operation::update_router_output::UpdateRouterOutputError::BadRequestException(inner) => Error::BadRequestException(inner),
2763            crate::operation::update_router_output::UpdateRouterOutputError::ConflictException(inner) => Error::ConflictException(inner),
2764            crate::operation::update_router_output::UpdateRouterOutputError::ForbiddenException(inner) => Error::ForbiddenException(inner),
2765            crate::operation::update_router_output::UpdateRouterOutputError::InternalServerErrorException(inner) => {
2766                Error::InternalServerErrorException(inner)
2767            }
2768            crate::operation::update_router_output::UpdateRouterOutputError::NotFoundException(inner) => Error::NotFoundException(inner),
2769            crate::operation::update_router_output::UpdateRouterOutputError::ServiceUnavailableException(inner) => {
2770                Error::ServiceUnavailableException(inner)
2771            }
2772            crate::operation::update_router_output::UpdateRouterOutputError::TooManyRequestsException(inner) => {
2773                Error::TooManyRequestsException(inner)
2774            }
2775            crate::operation::update_router_output::UpdateRouterOutputError::Unhandled(inner) => Error::Unhandled(inner),
2776        }
2777    }
2778}
2779impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
2780where
2781    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
2782    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
2783{
2784    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
2785        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2786            meta: ::std::default::Default::default(),
2787            source: err.into(),
2788        })
2789    }
2790}
2791impl ::std::error::Error for Error {
2792    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2793        match self {
2794            Error::AddFlowOutputs420Exception(inner) => inner.source(),
2795            Error::BadRequestException(inner) => inner.source(),
2796            Error::ConflictException(inner) => inner.source(),
2797            Error::CreateBridge420Exception(inner) => inner.source(),
2798            Error::CreateFlow420Exception(inner) => inner.source(),
2799            Error::CreateGateway420Exception(inner) => inner.source(),
2800            Error::ForbiddenException(inner) => inner.source(),
2801            Error::GrantFlowEntitlements420Exception(inner) => inner.source(),
2802            Error::InternalServerErrorException(inner) => inner.source(),
2803            Error::NotFoundException(inner) => inner.source(),
2804            Error::RouterInputServiceQuotaExceededException(inner) => inner.source(),
2805            Error::RouterNetworkInterfaceServiceQuotaExceededException(inner) => inner.source(),
2806            Error::RouterOutputServiceQuotaExceededException(inner) => inner.source(),
2807            Error::ServiceUnavailableException(inner) => inner.source(),
2808            Error::TooManyRequestsException(inner) => inner.source(),
2809            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2810        }
2811    }
2812}
2813impl ::aws_types::request_id::RequestId for Error {
2814    fn request_id(&self) -> Option<&str> {
2815        match self {
2816            Self::AddFlowOutputs420Exception(e) => e.request_id(),
2817            Self::BadRequestException(e) => e.request_id(),
2818            Self::ConflictException(e) => e.request_id(),
2819            Self::CreateBridge420Exception(e) => e.request_id(),
2820            Self::CreateFlow420Exception(e) => e.request_id(),
2821            Self::CreateGateway420Exception(e) => e.request_id(),
2822            Self::ForbiddenException(e) => e.request_id(),
2823            Self::GrantFlowEntitlements420Exception(e) => e.request_id(),
2824            Self::InternalServerErrorException(e) => e.request_id(),
2825            Self::NotFoundException(e) => e.request_id(),
2826            Self::RouterInputServiceQuotaExceededException(e) => e.request_id(),
2827            Self::RouterNetworkInterfaceServiceQuotaExceededException(e) => e.request_id(),
2828            Self::RouterOutputServiceQuotaExceededException(e) => e.request_id(),
2829            Self::ServiceUnavailableException(e) => e.request_id(),
2830            Self::TooManyRequestsException(e) => e.request_id(),
2831            Self::Unhandled(e) => e.meta.request_id(),
2832        }
2833    }
2834}