aws_sdk_workspacesweb/
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>Access is denied.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>There is a conflict.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>There is an internal server error.</p>
11    InternalServerException(crate::types::error::InternalServerException),
12    /// <p>The resource cannot be found.</p>
13    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
14    /// <p>The service quota has been exceeded.</p>
15    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
16    /// <p>There is a throttling error.</p>
17    ThrottlingException(crate::types::error::ThrottlingException),
18    /// <p>There are too many tags.</p>
19    TooManyTagsException(crate::types::error::TooManyTagsException),
20    /// <p>There is a validation error.</p>
21    ValidationException(crate::types::error::ValidationException),
22    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
23    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
24    variable wildcard pattern and check `.code()`:
25     \
26    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
27     \
28    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
29    Unhandled(crate::error::sealed_unhandled::Unhandled),
30}
31impl ::std::fmt::Display for Error {
32    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33        match self {
34            Error::AccessDeniedException(inner) => inner.fmt(f),
35            Error::ConflictException(inner) => inner.fmt(f),
36            Error::InternalServerException(inner) => inner.fmt(f),
37            Error::ResourceNotFoundException(inner) => inner.fmt(f),
38            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
39            Error::ThrottlingException(inner) => inner.fmt(f),
40            Error::TooManyTagsException(inner) => inner.fmt(f),
41            Error::ValidationException(inner) => inner.fmt(f),
42            Error::Unhandled(_) => {
43                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
44                    write!(f, "unhandled error ({code})")
45                } else {
46                    f.write_str("unhandled error")
47                }
48            }
49        }
50    }
51}
52impl From<::aws_smithy_types::error::operation::BuildError> for Error {
53    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
54        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
55            source: value.into(),
56            meta: ::std::default::Default::default(),
57        })
58    }
59}
60impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
61    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
62        match self {
63            Self::AccessDeniedException(inner) => inner.meta(),
64            Self::ConflictException(inner) => inner.meta(),
65            Self::InternalServerException(inner) => inner.meta(),
66            Self::ResourceNotFoundException(inner) => inner.meta(),
67            Self::ServiceQuotaExceededException(inner) => inner.meta(),
68            Self::ThrottlingException(inner) => inner.meta(),
69            Self::TooManyTagsException(inner) => inner.meta(),
70            Self::ValidationException(inner) => inner.meta(),
71            Self::Unhandled(inner) => &inner.meta,
72        }
73    }
74}
75impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_browser_settings::AssociateBrowserSettingsError, R>>
76    for Error
77where
78    R: Send + Sync + std::fmt::Debug + 'static,
79{
80    fn from(
81        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_browser_settings::AssociateBrowserSettingsError, R>,
82    ) -> Self {
83        match err {
84            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
85            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
86                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
87                source: err.into(),
88            }),
89        }
90    }
91}
92impl From<crate::operation::associate_browser_settings::AssociateBrowserSettingsError> for Error {
93    fn from(err: crate::operation::associate_browser_settings::AssociateBrowserSettingsError) -> Self {
94        match err {
95            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::AccessDeniedException(inner) => {
96                Error::AccessDeniedException(inner)
97            }
98            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
99            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::InternalServerException(inner) => {
100                Error::InternalServerException(inner)
101            }
102            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::ResourceNotFoundException(inner) => {
103                Error::ResourceNotFoundException(inner)
104            }
105            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::ThrottlingException(inner) => {
106                Error::ThrottlingException(inner)
107            }
108            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::ValidationException(inner) => {
109                Error::ValidationException(inner)
110            }
111            crate::operation::associate_browser_settings::AssociateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
112        }
113    }
114}
115impl<R>
116    From<
117        ::aws_smithy_runtime_api::client::result::SdkError<
118            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError,
119            R,
120        >,
121    > for Error
122where
123    R: Send + Sync + std::fmt::Debug + 'static,
124{
125    fn from(
126        err: ::aws_smithy_runtime_api::client::result::SdkError<
127            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError,
128            R,
129        >,
130    ) -> Self {
131        match err {
132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
135                source: err.into(),
136            }),
137        }
138    }
139}
140impl From<crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError> for Error {
141    fn from(err: crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError) -> Self {
142        match err {
143            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::AccessDeniedException(inner) => {
144                Error::AccessDeniedException(inner)
145            }
146            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::ConflictException(inner) => {
147                Error::ConflictException(inner)
148            }
149            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::InternalServerException(inner) => {
150                Error::InternalServerException(inner)
151            }
152            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
153                Error::ResourceNotFoundException(inner)
154            }
155            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::ThrottlingException(inner) => {
156                Error::ThrottlingException(inner)
157            }
158            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::ValidationException(inner) => {
159                Error::ValidationException(inner)
160            }
161            crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
162        }
163    }
164}
165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError, R>>
166    for Error
167where
168    R: Send + Sync + std::fmt::Debug + 'static,
169{
170    fn from(
171        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError, R>,
172    ) -> Self {
173        match err {
174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
177                source: err.into(),
178            }),
179        }
180    }
181}
182impl From<crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError> for Error {
183    fn from(err: crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError) -> Self {
184        match err {
185            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::AccessDeniedException(inner) => {
186                Error::AccessDeniedException(inner)
187            }
188            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::ConflictException(inner) => {
189                Error::ConflictException(inner)
190            }
191            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::InternalServerException(inner) => {
192                Error::InternalServerException(inner)
193            }
194            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::ResourceNotFoundException(inner) => {
195                Error::ResourceNotFoundException(inner)
196            }
197            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::ThrottlingException(inner) => {
198                Error::ThrottlingException(inner)
199            }
200            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::ValidationException(inner) => {
201                Error::ValidationException(inner)
202            }
203            crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
204        }
205    }
206}
207impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_network_settings::AssociateNetworkSettingsError, R>>
208    for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_network_settings::AssociateNetworkSettingsError, R>,
214    ) -> Self {
215        match err {
216            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
217            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
218                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
219                source: err.into(),
220            }),
221        }
222    }
223}
224impl From<crate::operation::associate_network_settings::AssociateNetworkSettingsError> for Error {
225    fn from(err: crate::operation::associate_network_settings::AssociateNetworkSettingsError) -> Self {
226        match err {
227            crate::operation::associate_network_settings::AssociateNetworkSettingsError::AccessDeniedException(inner) => {
228                Error::AccessDeniedException(inner)
229            }
230            crate::operation::associate_network_settings::AssociateNetworkSettingsError::ConflictException(inner) => Error::ConflictException(inner),
231            crate::operation::associate_network_settings::AssociateNetworkSettingsError::InternalServerException(inner) => {
232                Error::InternalServerException(inner)
233            }
234            crate::operation::associate_network_settings::AssociateNetworkSettingsError::ResourceNotFoundException(inner) => {
235                Error::ResourceNotFoundException(inner)
236            }
237            crate::operation::associate_network_settings::AssociateNetworkSettingsError::ThrottlingException(inner) => {
238                Error::ThrottlingException(inner)
239            }
240            crate::operation::associate_network_settings::AssociateNetworkSettingsError::ValidationException(inner) => {
241                Error::ValidationException(inner)
242            }
243            crate::operation::associate_network_settings::AssociateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
244        }
245    }
246}
247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trust_store::AssociateTrustStoreError, R>> for Error
248where
249    R: Send + Sync + std::fmt::Debug + 'static,
250{
251    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trust_store::AssociateTrustStoreError, R>) -> Self {
252        match err {
253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
256                source: err.into(),
257            }),
258        }
259    }
260}
261impl From<crate::operation::associate_trust_store::AssociateTrustStoreError> for Error {
262    fn from(err: crate::operation::associate_trust_store::AssociateTrustStoreError) -> Self {
263        match err {
264            crate::operation::associate_trust_store::AssociateTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
265            crate::operation::associate_trust_store::AssociateTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
266            crate::operation::associate_trust_store::AssociateTrustStoreError::InternalServerException(inner) => {
267                Error::InternalServerException(inner)
268            }
269            crate::operation::associate_trust_store::AssociateTrustStoreError::ResourceNotFoundException(inner) => {
270                Error::ResourceNotFoundException(inner)
271            }
272            crate::operation::associate_trust_store::AssociateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
273            crate::operation::associate_trust_store::AssociateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
274            crate::operation::associate_trust_store::AssociateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
275        }
276    }
277}
278impl<R>
279    From<
280        ::aws_smithy_runtime_api::client::result::SdkError<
281            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError,
282            R,
283        >,
284    > for Error
285where
286    R: Send + Sync + std::fmt::Debug + 'static,
287{
288    fn from(
289        err: ::aws_smithy_runtime_api::client::result::SdkError<
290            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError,
291            R,
292        >,
293    ) -> Self {
294        match err {
295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
298                source: err.into(),
299            }),
300        }
301    }
302}
303impl From<crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError> for Error {
304    fn from(err: crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError) -> Self {
305        match err {
306            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
307                Error::AccessDeniedException(inner)
308            }
309            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ConflictException(inner) => {
310                Error::ConflictException(inner)
311            }
312            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::InternalServerException(inner) => {
313                Error::InternalServerException(inner)
314            }
315            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ResourceNotFoundException(inner) => {
316                Error::ResourceNotFoundException(inner)
317            }
318            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
319                Error::ThrottlingException(inner)
320            }
321            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ValidationException(inner) => {
322                Error::ValidationException(inner)
323            }
324            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::Unhandled(inner) => {
325                Error::Unhandled(inner)
326            }
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_user_settings::AssociateUserSettingsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(
335        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_user_settings::AssociateUserSettingsError, R>,
336    ) -> Self {
337        match err {
338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
341                source: err.into(),
342            }),
343        }
344    }
345}
346impl From<crate::operation::associate_user_settings::AssociateUserSettingsError> for Error {
347    fn from(err: crate::operation::associate_user_settings::AssociateUserSettingsError) -> Self {
348        match err {
349            crate::operation::associate_user_settings::AssociateUserSettingsError::AccessDeniedException(inner) => {
350                Error::AccessDeniedException(inner)
351            }
352            crate::operation::associate_user_settings::AssociateUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
353            crate::operation::associate_user_settings::AssociateUserSettingsError::InternalServerException(inner) => {
354                Error::InternalServerException(inner)
355            }
356            crate::operation::associate_user_settings::AssociateUserSettingsError::ResourceNotFoundException(inner) => {
357                Error::ResourceNotFoundException(inner)
358            }
359            crate::operation::associate_user_settings::AssociateUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
360            crate::operation::associate_user_settings::AssociateUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
361            crate::operation::associate_user_settings::AssociateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
362        }
363    }
364}
365impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser_settings::CreateBrowserSettingsError, R>> for Error
366where
367    R: Send + Sync + std::fmt::Debug + 'static,
368{
369    fn from(
370        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser_settings::CreateBrowserSettingsError, R>,
371    ) -> Self {
372        match err {
373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
376                source: err.into(),
377            }),
378        }
379    }
380}
381impl From<crate::operation::create_browser_settings::CreateBrowserSettingsError> for Error {
382    fn from(err: crate::operation::create_browser_settings::CreateBrowserSettingsError) -> Self {
383        match err {
384            crate::operation::create_browser_settings::CreateBrowserSettingsError::AccessDeniedException(inner) => {
385                Error::AccessDeniedException(inner)
386            }
387            crate::operation::create_browser_settings::CreateBrowserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
388            crate::operation::create_browser_settings::CreateBrowserSettingsError::InternalServerException(inner) => {
389                Error::InternalServerException(inner)
390            }
391            crate::operation::create_browser_settings::CreateBrowserSettingsError::ResourceNotFoundException(inner) => {
392                Error::ResourceNotFoundException(inner)
393            }
394            crate::operation::create_browser_settings::CreateBrowserSettingsError::ServiceQuotaExceededException(inner) => {
395                Error::ServiceQuotaExceededException(inner)
396            }
397            crate::operation::create_browser_settings::CreateBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
398            crate::operation::create_browser_settings::CreateBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
399            crate::operation::create_browser_settings::CreateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
400        }
401    }
402}
403impl<R>
404    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError, R>>
405    for Error
406where
407    R: Send + Sync + std::fmt::Debug + 'static,
408{
409    fn from(
410        err: ::aws_smithy_runtime_api::client::result::SdkError<
411            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError,
412            R,
413        >,
414    ) -> Self {
415        match err {
416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
419                source: err.into(),
420            }),
421        }
422    }
423}
424impl From<crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError> for Error {
425    fn from(err: crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError) -> Self {
426        match err {
427            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::AccessDeniedException(inner) => {
428                Error::AccessDeniedException(inner)
429            }
430            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ConflictException(inner) => {
431                Error::ConflictException(inner)
432            }
433            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::InternalServerException(inner) => {
434                Error::InternalServerException(inner)
435            }
436            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
437                Error::ResourceNotFoundException(inner)
438            }
439            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ServiceQuotaExceededException(inner) => {
440                Error::ServiceQuotaExceededException(inner)
441            }
442            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ThrottlingException(inner) => {
443                Error::ThrottlingException(inner)
444            }
445            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ValidationException(inner) => {
446                Error::ValidationException(inner)
447            }
448            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
449        }
450    }
451}
452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_identity_provider::CreateIdentityProviderError, R>> for Error
453where
454    R: Send + Sync + std::fmt::Debug + 'static,
455{
456    fn from(
457        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_identity_provider::CreateIdentityProviderError, R>,
458    ) -> Self {
459        match err {
460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
463                source: err.into(),
464            }),
465        }
466    }
467}
468impl From<crate::operation::create_identity_provider::CreateIdentityProviderError> for Error {
469    fn from(err: crate::operation::create_identity_provider::CreateIdentityProviderError) -> Self {
470        match err {
471            crate::operation::create_identity_provider::CreateIdentityProviderError::AccessDeniedException(inner) => {
472                Error::AccessDeniedException(inner)
473            }
474            crate::operation::create_identity_provider::CreateIdentityProviderError::ConflictException(inner) => Error::ConflictException(inner),
475            crate::operation::create_identity_provider::CreateIdentityProviderError::InternalServerException(inner) => {
476                Error::InternalServerException(inner)
477            }
478            crate::operation::create_identity_provider::CreateIdentityProviderError::ResourceNotFoundException(inner) => {
479                Error::ResourceNotFoundException(inner)
480            }
481            crate::operation::create_identity_provider::CreateIdentityProviderError::ServiceQuotaExceededException(inner) => {
482                Error::ServiceQuotaExceededException(inner)
483            }
484            crate::operation::create_identity_provider::CreateIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
485            crate::operation::create_identity_provider::CreateIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
486            crate::operation::create_identity_provider::CreateIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
487        }
488    }
489}
490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ip_access_settings::CreateIpAccessSettingsError, R>>
491    for Error
492where
493    R: Send + Sync + std::fmt::Debug + 'static,
494{
495    fn from(
496        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ip_access_settings::CreateIpAccessSettingsError, R>,
497    ) -> Self {
498        match err {
499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
502                source: err.into(),
503            }),
504        }
505    }
506}
507impl From<crate::operation::create_ip_access_settings::CreateIpAccessSettingsError> for Error {
508    fn from(err: crate::operation::create_ip_access_settings::CreateIpAccessSettingsError) -> Self {
509        match err {
510            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::AccessDeniedException(inner) => {
511                Error::AccessDeniedException(inner)
512            }
513            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ConflictException(inner) => Error::ConflictException(inner),
514            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::InternalServerException(inner) => {
515                Error::InternalServerException(inner)
516            }
517            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ServiceQuotaExceededException(inner) => {
518                Error::ServiceQuotaExceededException(inner)
519            }
520            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
521            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
522            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
523        }
524    }
525}
526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_settings::CreateNetworkSettingsError, R>> for Error
527where
528    R: Send + Sync + std::fmt::Debug + 'static,
529{
530    fn from(
531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_settings::CreateNetworkSettingsError, R>,
532    ) -> Self {
533        match err {
534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
537                source: err.into(),
538            }),
539        }
540    }
541}
542impl From<crate::operation::create_network_settings::CreateNetworkSettingsError> for Error {
543    fn from(err: crate::operation::create_network_settings::CreateNetworkSettingsError) -> Self {
544        match err {
545            crate::operation::create_network_settings::CreateNetworkSettingsError::AccessDeniedException(inner) => {
546                Error::AccessDeniedException(inner)
547            }
548            crate::operation::create_network_settings::CreateNetworkSettingsError::ConflictException(inner) => Error::ConflictException(inner),
549            crate::operation::create_network_settings::CreateNetworkSettingsError::InternalServerException(inner) => {
550                Error::InternalServerException(inner)
551            }
552            crate::operation::create_network_settings::CreateNetworkSettingsError::ServiceQuotaExceededException(inner) => {
553                Error::ServiceQuotaExceededException(inner)
554            }
555            crate::operation::create_network_settings::CreateNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
556            crate::operation::create_network_settings::CreateNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
557            crate::operation::create_network_settings::CreateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
558        }
559    }
560}
561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_portal::CreatePortalError, R>> for Error
562where
563    R: Send + Sync + std::fmt::Debug + 'static,
564{
565    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_portal::CreatePortalError, R>) -> Self {
566        match err {
567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
570                source: err.into(),
571            }),
572        }
573    }
574}
575impl From<crate::operation::create_portal::CreatePortalError> for Error {
576    fn from(err: crate::operation::create_portal::CreatePortalError) -> Self {
577        match err {
578            crate::operation::create_portal::CreatePortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
579            crate::operation::create_portal::CreatePortalError::ConflictException(inner) => Error::ConflictException(inner),
580            crate::operation::create_portal::CreatePortalError::InternalServerException(inner) => Error::InternalServerException(inner),
581            crate::operation::create_portal::CreatePortalError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
582            crate::operation::create_portal::CreatePortalError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
583            crate::operation::create_portal::CreatePortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
584            crate::operation::create_portal::CreatePortalError::ValidationException(inner) => Error::ValidationException(inner),
585            crate::operation::create_portal::CreatePortalError::Unhandled(inner) => Error::Unhandled(inner),
586        }
587    }
588}
589impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trust_store::CreateTrustStoreError, R>> for Error
590where
591    R: Send + Sync + std::fmt::Debug + 'static,
592{
593    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trust_store::CreateTrustStoreError, R>) -> Self {
594        match err {
595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
598                source: err.into(),
599            }),
600        }
601    }
602}
603impl From<crate::operation::create_trust_store::CreateTrustStoreError> for Error {
604    fn from(err: crate::operation::create_trust_store::CreateTrustStoreError) -> Self {
605        match err {
606            crate::operation::create_trust_store::CreateTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
607            crate::operation::create_trust_store::CreateTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
608            crate::operation::create_trust_store::CreateTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
609            crate::operation::create_trust_store::CreateTrustStoreError::ServiceQuotaExceededException(inner) => {
610                Error::ServiceQuotaExceededException(inner)
611            }
612            crate::operation::create_trust_store::CreateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
613            crate::operation::create_trust_store::CreateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
614            crate::operation::create_trust_store::CreateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
615        }
616    }
617}
618impl<R>
619    From<
620        ::aws_smithy_runtime_api::client::result::SdkError<
621            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError,
622            R,
623        >,
624    > for Error
625where
626    R: Send + Sync + std::fmt::Debug + 'static,
627{
628    fn from(
629        err: ::aws_smithy_runtime_api::client::result::SdkError<
630            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError,
631            R,
632        >,
633    ) -> Self {
634        match err {
635            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
636            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
637                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
638                source: err.into(),
639            }),
640        }
641    }
642}
643impl From<crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError> for Error {
644    fn from(err: crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError) -> Self {
645        match err {
646            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
647                Error::AccessDeniedException(inner)
648            }
649            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ConflictException(inner) => {
650                Error::ConflictException(inner)
651            }
652            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::InternalServerException(inner) => {
653                Error::InternalServerException(inner)
654            }
655            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ServiceQuotaExceededException(inner) => {
656                Error::ServiceQuotaExceededException(inner)
657            }
658            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
659                Error::ThrottlingException(inner)
660            }
661            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ValidationException(inner) => {
662                Error::ValidationException(inner)
663            }
664            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
665        }
666    }
667}
668impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_settings::CreateUserSettingsError, R>> for Error
669where
670    R: Send + Sync + std::fmt::Debug + 'static,
671{
672    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_settings::CreateUserSettingsError, R>) -> Self {
673        match err {
674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
677                source: err.into(),
678            }),
679        }
680    }
681}
682impl From<crate::operation::create_user_settings::CreateUserSettingsError> for Error {
683    fn from(err: crate::operation::create_user_settings::CreateUserSettingsError) -> Self {
684        match err {
685            crate::operation::create_user_settings::CreateUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
686            crate::operation::create_user_settings::CreateUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
687            crate::operation::create_user_settings::CreateUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
688            crate::operation::create_user_settings::CreateUserSettingsError::ServiceQuotaExceededException(inner) => {
689                Error::ServiceQuotaExceededException(inner)
690            }
691            crate::operation::create_user_settings::CreateUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
692            crate::operation::create_user_settings::CreateUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
693            crate::operation::create_user_settings::CreateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
694        }
695    }
696}
697impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser_settings::DeleteBrowserSettingsError, R>> for Error
698where
699    R: Send + Sync + std::fmt::Debug + 'static,
700{
701    fn from(
702        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser_settings::DeleteBrowserSettingsError, R>,
703    ) -> Self {
704        match err {
705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
708                source: err.into(),
709            }),
710        }
711    }
712}
713impl From<crate::operation::delete_browser_settings::DeleteBrowserSettingsError> for Error {
714    fn from(err: crate::operation::delete_browser_settings::DeleteBrowserSettingsError) -> Self {
715        match err {
716            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::AccessDeniedException(inner) => {
717                Error::AccessDeniedException(inner)
718            }
719            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
720            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::InternalServerException(inner) => {
721                Error::InternalServerException(inner)
722            }
723            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
724            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
725            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
726        }
727    }
728}
729impl<R>
730    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError, R>>
731    for Error
732where
733    R: Send + Sync + std::fmt::Debug + 'static,
734{
735    fn from(
736        err: ::aws_smithy_runtime_api::client::result::SdkError<
737            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError,
738            R,
739        >,
740    ) -> Self {
741        match err {
742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
745                source: err.into(),
746            }),
747        }
748    }
749}
750impl From<crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError> for Error {
751    fn from(err: crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError) -> Self {
752        match err {
753            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::AccessDeniedException(inner) => {
754                Error::AccessDeniedException(inner)
755            }
756            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::ConflictException(inner) => {
757                Error::ConflictException(inner)
758            }
759            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::InternalServerException(inner) => {
760                Error::InternalServerException(inner)
761            }
762            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::ThrottlingException(inner) => {
763                Error::ThrottlingException(inner)
764            }
765            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::ValidationException(inner) => {
766                Error::ValidationException(inner)
767            }
768            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
769        }
770    }
771}
772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_identity_provider::DeleteIdentityProviderError, R>> for Error
773where
774    R: Send + Sync + std::fmt::Debug + 'static,
775{
776    fn from(
777        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_identity_provider::DeleteIdentityProviderError, R>,
778    ) -> Self {
779        match err {
780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
783                source: err.into(),
784            }),
785        }
786    }
787}
788impl From<crate::operation::delete_identity_provider::DeleteIdentityProviderError> for Error {
789    fn from(err: crate::operation::delete_identity_provider::DeleteIdentityProviderError) -> Self {
790        match err {
791            crate::operation::delete_identity_provider::DeleteIdentityProviderError::AccessDeniedException(inner) => {
792                Error::AccessDeniedException(inner)
793            }
794            crate::operation::delete_identity_provider::DeleteIdentityProviderError::ConflictException(inner) => Error::ConflictException(inner),
795            crate::operation::delete_identity_provider::DeleteIdentityProviderError::InternalServerException(inner) => {
796                Error::InternalServerException(inner)
797            }
798            crate::operation::delete_identity_provider::DeleteIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
799            crate::operation::delete_identity_provider::DeleteIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
800            crate::operation::delete_identity_provider::DeleteIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
801        }
802    }
803}
804impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError, R>>
805    for Error
806where
807    R: Send + Sync + std::fmt::Debug + 'static,
808{
809    fn from(
810        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError, R>,
811    ) -> Self {
812        match err {
813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
816                source: err.into(),
817            }),
818        }
819    }
820}
821impl From<crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError> for Error {
822    fn from(err: crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError) -> Self {
823        match err {
824            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::AccessDeniedException(inner) => {
825                Error::AccessDeniedException(inner)
826            }
827            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::ConflictException(inner) => Error::ConflictException(inner),
828            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::InternalServerException(inner) => {
829                Error::InternalServerException(inner)
830            }
831            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
832            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
833            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
834        }
835    }
836}
837impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_settings::DeleteNetworkSettingsError, R>> for Error
838where
839    R: Send + Sync + std::fmt::Debug + 'static,
840{
841    fn from(
842        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_settings::DeleteNetworkSettingsError, R>,
843    ) -> Self {
844        match err {
845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
848                source: err.into(),
849            }),
850        }
851    }
852}
853impl From<crate::operation::delete_network_settings::DeleteNetworkSettingsError> for Error {
854    fn from(err: crate::operation::delete_network_settings::DeleteNetworkSettingsError) -> Self {
855        match err {
856            crate::operation::delete_network_settings::DeleteNetworkSettingsError::AccessDeniedException(inner) => {
857                Error::AccessDeniedException(inner)
858            }
859            crate::operation::delete_network_settings::DeleteNetworkSettingsError::ConflictException(inner) => Error::ConflictException(inner),
860            crate::operation::delete_network_settings::DeleteNetworkSettingsError::InternalServerException(inner) => {
861                Error::InternalServerException(inner)
862            }
863            crate::operation::delete_network_settings::DeleteNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
864            crate::operation::delete_network_settings::DeleteNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
865            crate::operation::delete_network_settings::DeleteNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
866        }
867    }
868}
869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_portal::DeletePortalError, R>> for Error
870where
871    R: Send + Sync + std::fmt::Debug + 'static,
872{
873    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_portal::DeletePortalError, R>) -> Self {
874        match err {
875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
878                source: err.into(),
879            }),
880        }
881    }
882}
883impl From<crate::operation::delete_portal::DeletePortalError> for Error {
884    fn from(err: crate::operation::delete_portal::DeletePortalError) -> Self {
885        match err {
886            crate::operation::delete_portal::DeletePortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
887            crate::operation::delete_portal::DeletePortalError::ConflictException(inner) => Error::ConflictException(inner),
888            crate::operation::delete_portal::DeletePortalError::InternalServerException(inner) => Error::InternalServerException(inner),
889            crate::operation::delete_portal::DeletePortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
890            crate::operation::delete_portal::DeletePortalError::ValidationException(inner) => Error::ValidationException(inner),
891            crate::operation::delete_portal::DeletePortalError::Unhandled(inner) => Error::Unhandled(inner),
892        }
893    }
894}
895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trust_store::DeleteTrustStoreError, R>> for Error
896where
897    R: Send + Sync + std::fmt::Debug + 'static,
898{
899    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trust_store::DeleteTrustStoreError, R>) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::delete_trust_store::DeleteTrustStoreError> for Error {
910    fn from(err: crate::operation::delete_trust_store::DeleteTrustStoreError) -> Self {
911        match err {
912            crate::operation::delete_trust_store::DeleteTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
913            crate::operation::delete_trust_store::DeleteTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
914            crate::operation::delete_trust_store::DeleteTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
915            crate::operation::delete_trust_store::DeleteTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
916            crate::operation::delete_trust_store::DeleteTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
917            crate::operation::delete_trust_store::DeleteTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
918        }
919    }
920}
921impl<R>
922    From<
923        ::aws_smithy_runtime_api::client::result::SdkError<
924            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError,
925            R,
926        >,
927    > for Error
928where
929    R: Send + Sync + std::fmt::Debug + 'static,
930{
931    fn from(
932        err: ::aws_smithy_runtime_api::client::result::SdkError<
933            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError,
934            R,
935        >,
936    ) -> Self {
937        match err {
938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
941                source: err.into(),
942            }),
943        }
944    }
945}
946impl From<crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError> for Error {
947    fn from(err: crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError) -> Self {
948        match err {
949            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
950                Error::AccessDeniedException(inner)
951            }
952            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::ConflictException(inner) => {
953                Error::ConflictException(inner)
954            }
955            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::InternalServerException(inner) => {
956                Error::InternalServerException(inner)
957            }
958            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::ThrottlingException(inner) => {
959                Error::ThrottlingException(inner)
960            }
961            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::ValidationException(inner) => {
962                Error::ValidationException(inner)
963            }
964            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
965        }
966    }
967}
968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_settings::DeleteUserSettingsError, R>> for Error
969where
970    R: Send + Sync + std::fmt::Debug + 'static,
971{
972    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_settings::DeleteUserSettingsError, R>) -> Self {
973        match err {
974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
977                source: err.into(),
978            }),
979        }
980    }
981}
982impl From<crate::operation::delete_user_settings::DeleteUserSettingsError> for Error {
983    fn from(err: crate::operation::delete_user_settings::DeleteUserSettingsError) -> Self {
984        match err {
985            crate::operation::delete_user_settings::DeleteUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
986            crate::operation::delete_user_settings::DeleteUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
987            crate::operation::delete_user_settings::DeleteUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
988            crate::operation::delete_user_settings::DeleteUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
989            crate::operation::delete_user_settings::DeleteUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
990            crate::operation::delete_user_settings::DeleteUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
991        }
992    }
993}
994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError, R>>
995    for Error
996where
997    R: Send + Sync + std::fmt::Debug + 'static,
998{
999    fn from(
1000        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError, R>,
1001    ) -> Self {
1002        match err {
1003            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1004            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1005                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1006                source: err.into(),
1007            }),
1008        }
1009    }
1010}
1011impl From<crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError> for Error {
1012    fn from(err: crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError) -> Self {
1013        match err {
1014            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::AccessDeniedException(inner) => {
1015                Error::AccessDeniedException(inner)
1016            }
1017            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ConflictException(inner) => {
1018                Error::ConflictException(inner)
1019            }
1020            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::InternalServerException(inner) => {
1021                Error::InternalServerException(inner)
1022            }
1023            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ResourceNotFoundException(inner) => {
1024                Error::ResourceNotFoundException(inner)
1025            }
1026            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ThrottlingException(inner) => {
1027                Error::ThrottlingException(inner)
1028            }
1029            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ValidationException(inner) => {
1030                Error::ValidationException(inner)
1031            }
1032            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1033        }
1034    }
1035}
1036impl<R>
1037    From<
1038        ::aws_smithy_runtime_api::client::result::SdkError<
1039            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError,
1040            R,
1041        >,
1042    > for Error
1043where
1044    R: Send + Sync + std::fmt::Debug + 'static,
1045{
1046    fn from(
1047        err: ::aws_smithy_runtime_api::client::result::SdkError<
1048            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError,
1049            R,
1050        >,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError> for Error {
1062    fn from(err: crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError) -> Self {
1063        match err {
1064            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::AccessDeniedException(inner) => {
1065                Error::AccessDeniedException(inner)
1066            }
1067            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ConflictException(inner) => {
1068                Error::ConflictException(inner)
1069            }
1070            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::InternalServerException(inner) => {
1071                Error::InternalServerException(inner)
1072            }
1073            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
1074                Error::ResourceNotFoundException(inner)
1075            }
1076            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ThrottlingException(inner) => {
1077                Error::ThrottlingException(inner)
1078            }
1079            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ValidationException(inner) => {
1080                Error::ValidationException(inner)
1081            }
1082            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::Unhandled(inner) => {
1083                Error::Unhandled(inner)
1084            }
1085        }
1086    }
1087}
1088impl<R>
1089    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError, R>>
1090    for Error
1091where
1092    R: Send + Sync + std::fmt::Debug + 'static,
1093{
1094    fn from(
1095        err: ::aws_smithy_runtime_api::client::result::SdkError<
1096            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError,
1097            R,
1098        >,
1099    ) -> Self {
1100        match err {
1101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1104                source: err.into(),
1105            }),
1106        }
1107    }
1108}
1109impl From<crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError> for Error {
1110    fn from(err: crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError) -> Self {
1111        match err {
1112            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::AccessDeniedException(inner) => {
1113                Error::AccessDeniedException(inner)
1114            }
1115            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ConflictException(inner) => {
1116                Error::ConflictException(inner)
1117            }
1118            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::InternalServerException(inner) => {
1119                Error::InternalServerException(inner)
1120            }
1121            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ResourceNotFoundException(inner) => {
1122                Error::ResourceNotFoundException(inner)
1123            }
1124            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ThrottlingException(inner) => {
1125                Error::ThrottlingException(inner)
1126            }
1127            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ValidationException(inner) => {
1128                Error::ValidationException(inner)
1129            }
1130            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1131        }
1132    }
1133}
1134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError, R>>
1135    for Error
1136where
1137    R: Send + Sync + std::fmt::Debug + 'static,
1138{
1139    fn from(
1140        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError, R>,
1141    ) -> Self {
1142        match err {
1143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1146                source: err.into(),
1147            }),
1148        }
1149    }
1150}
1151impl From<crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError> for Error {
1152    fn from(err: crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError) -> Self {
1153        match err {
1154            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::AccessDeniedException(inner) => {
1155                Error::AccessDeniedException(inner)
1156            }
1157            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ConflictException(inner) => {
1158                Error::ConflictException(inner)
1159            }
1160            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::InternalServerException(inner) => {
1161                Error::InternalServerException(inner)
1162            }
1163            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ResourceNotFoundException(inner) => {
1164                Error::ResourceNotFoundException(inner)
1165            }
1166            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ThrottlingException(inner) => {
1167                Error::ThrottlingException(inner)
1168            }
1169            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ValidationException(inner) => {
1170                Error::ValidationException(inner)
1171            }
1172            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1173        }
1174    }
1175}
1176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trust_store::DisassociateTrustStoreError, R>> for Error
1177where
1178    R: Send + Sync + std::fmt::Debug + 'static,
1179{
1180    fn from(
1181        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trust_store::DisassociateTrustStoreError, R>,
1182    ) -> Self {
1183        match err {
1184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1187                source: err.into(),
1188            }),
1189        }
1190    }
1191}
1192impl From<crate::operation::disassociate_trust_store::DisassociateTrustStoreError> for Error {
1193    fn from(err: crate::operation::disassociate_trust_store::DisassociateTrustStoreError) -> Self {
1194        match err {
1195            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::AccessDeniedException(inner) => {
1196                Error::AccessDeniedException(inner)
1197            }
1198            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
1199            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::InternalServerException(inner) => {
1200                Error::InternalServerException(inner)
1201            }
1202            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ResourceNotFoundException(inner) => {
1203                Error::ResourceNotFoundException(inner)
1204            }
1205            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1206            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
1207            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
1208        }
1209    }
1210}
1211impl<R>
1212    From<
1213        ::aws_smithy_runtime_api::client::result::SdkError<
1214            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError,
1215            R,
1216        >,
1217    > for Error
1218where
1219    R: Send + Sync + std::fmt::Debug + 'static,
1220{
1221    fn from(
1222        err: ::aws_smithy_runtime_api::client::result::SdkError<
1223            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError,
1224            R,
1225        >,
1226    ) -> Self {
1227        match err {
1228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1231                source: err.into(),
1232            }),
1233        }
1234    }
1235}
1236impl From<crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError> for Error {
1237    fn from(err: crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError) -> Self {
1238        match err {
1239            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
1240                Error::AccessDeniedException(inner)
1241            }
1242            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ConflictException(inner) => {
1243                Error::ConflictException(inner)
1244            }
1245            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::InternalServerException(
1246                inner,
1247            ) => Error::InternalServerException(inner),
1248            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ResourceNotFoundException(
1249                inner,
1250            ) => Error::ResourceNotFoundException(inner),
1251            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
1252                Error::ThrottlingException(inner)
1253            }
1254            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ValidationException(inner) => {
1255                Error::ValidationException(inner)
1256            }
1257            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::Unhandled(inner) => {
1258                Error::Unhandled(inner)
1259            }
1260        }
1261    }
1262}
1263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_user_settings::DisassociateUserSettingsError, R>>
1264    for Error
1265where
1266    R: Send + Sync + std::fmt::Debug + 'static,
1267{
1268    fn from(
1269        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_user_settings::DisassociateUserSettingsError, R>,
1270    ) -> Self {
1271        match err {
1272            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1273            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1274                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1275                source: err.into(),
1276            }),
1277        }
1278    }
1279}
1280impl From<crate::operation::disassociate_user_settings::DisassociateUserSettingsError> for Error {
1281    fn from(err: crate::operation::disassociate_user_settings::DisassociateUserSettingsError) -> Self {
1282        match err {
1283            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::AccessDeniedException(inner) => {
1284                Error::AccessDeniedException(inner)
1285            }
1286            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
1287            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::InternalServerException(inner) => {
1288                Error::InternalServerException(inner)
1289            }
1290            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ResourceNotFoundException(inner) => {
1291                Error::ResourceNotFoundException(inner)
1292            }
1293            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ThrottlingException(inner) => {
1294                Error::ThrottlingException(inner)
1295            }
1296            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ValidationException(inner) => {
1297                Error::ValidationException(inner)
1298            }
1299            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1300        }
1301    }
1302}
1303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::expire_session::ExpireSessionError, R>> for Error
1304where
1305    R: Send + Sync + std::fmt::Debug + 'static,
1306{
1307    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::expire_session::ExpireSessionError, R>) -> Self {
1308        match err {
1309            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1310            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1311                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1312                source: err.into(),
1313            }),
1314        }
1315    }
1316}
1317impl From<crate::operation::expire_session::ExpireSessionError> for Error {
1318    fn from(err: crate::operation::expire_session::ExpireSessionError) -> Self {
1319        match err {
1320            crate::operation::expire_session::ExpireSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1321            crate::operation::expire_session::ExpireSessionError::InternalServerException(inner) => Error::InternalServerException(inner),
1322            crate::operation::expire_session::ExpireSessionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1323            crate::operation::expire_session::ExpireSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1324            crate::operation::expire_session::ExpireSessionError::ValidationException(inner) => Error::ValidationException(inner),
1325            crate::operation::expire_session::ExpireSessionError::Unhandled(inner) => Error::Unhandled(inner),
1326        }
1327    }
1328}
1329impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser_settings::GetBrowserSettingsError, R>> for Error
1330where
1331    R: Send + Sync + std::fmt::Debug + 'static,
1332{
1333    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser_settings::GetBrowserSettingsError, R>) -> Self {
1334        match err {
1335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1338                source: err.into(),
1339            }),
1340        }
1341    }
1342}
1343impl From<crate::operation::get_browser_settings::GetBrowserSettingsError> for Error {
1344    fn from(err: crate::operation::get_browser_settings::GetBrowserSettingsError) -> Self {
1345        match err {
1346            crate::operation::get_browser_settings::GetBrowserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1347            crate::operation::get_browser_settings::GetBrowserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1348            crate::operation::get_browser_settings::GetBrowserSettingsError::ResourceNotFoundException(inner) => {
1349                Error::ResourceNotFoundException(inner)
1350            }
1351            crate::operation::get_browser_settings::GetBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1352            crate::operation::get_browser_settings::GetBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1353            crate::operation::get_browser_settings::GetBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1354        }
1355    }
1356}
1357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_protection_settings::GetDataProtectionSettingsError, R>>
1358    for Error
1359where
1360    R: Send + Sync + std::fmt::Debug + 'static,
1361{
1362    fn from(
1363        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_protection_settings::GetDataProtectionSettingsError, R>,
1364    ) -> Self {
1365        match err {
1366            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1367            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1368                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1369                source: err.into(),
1370            }),
1371        }
1372    }
1373}
1374impl From<crate::operation::get_data_protection_settings::GetDataProtectionSettingsError> for Error {
1375    fn from(err: crate::operation::get_data_protection_settings::GetDataProtectionSettingsError) -> Self {
1376        match err {
1377            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::AccessDeniedException(inner) => {
1378                Error::AccessDeniedException(inner)
1379            }
1380            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::InternalServerException(inner) => {
1381                Error::InternalServerException(inner)
1382            }
1383            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::ResourceNotFoundException(inner) => {
1384                Error::ResourceNotFoundException(inner)
1385            }
1386            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::ThrottlingException(inner) => {
1387                Error::ThrottlingException(inner)
1388            }
1389            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::ValidationException(inner) => {
1390                Error::ValidationException(inner)
1391            }
1392            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1393        }
1394    }
1395}
1396impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_identity_provider::GetIdentityProviderError, 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::get_identity_provider::GetIdentityProviderError, 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::get_identity_provider::GetIdentityProviderError> for Error {
1411    fn from(err: crate::operation::get_identity_provider::GetIdentityProviderError) -> Self {
1412        match err {
1413            crate::operation::get_identity_provider::GetIdentityProviderError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1414            crate::operation::get_identity_provider::GetIdentityProviderError::InternalServerException(inner) => {
1415                Error::InternalServerException(inner)
1416            }
1417            crate::operation::get_identity_provider::GetIdentityProviderError::ResourceNotFoundException(inner) => {
1418                Error::ResourceNotFoundException(inner)
1419            }
1420            crate::operation::get_identity_provider::GetIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1421            crate::operation::get_identity_provider::GetIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
1422            crate::operation::get_identity_provider::GetIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
1423        }
1424    }
1425}
1426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ip_access_settings::GetIpAccessSettingsError, R>> for Error
1427where
1428    R: Send + Sync + std::fmt::Debug + 'static,
1429{
1430    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ip_access_settings::GetIpAccessSettingsError, R>) -> Self {
1431        match err {
1432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1435                source: err.into(),
1436            }),
1437        }
1438    }
1439}
1440impl From<crate::operation::get_ip_access_settings::GetIpAccessSettingsError> for Error {
1441    fn from(err: crate::operation::get_ip_access_settings::GetIpAccessSettingsError) -> Self {
1442        match err {
1443            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1444            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::InternalServerException(inner) => {
1445                Error::InternalServerException(inner)
1446            }
1447            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::ResourceNotFoundException(inner) => {
1448                Error::ResourceNotFoundException(inner)
1449            }
1450            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1451            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1452            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1453        }
1454    }
1455}
1456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_network_settings::GetNetworkSettingsError, R>> for Error
1457where
1458    R: Send + Sync + std::fmt::Debug + 'static,
1459{
1460    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_network_settings::GetNetworkSettingsError, R>) -> Self {
1461        match err {
1462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1465                source: err.into(),
1466            }),
1467        }
1468    }
1469}
1470impl From<crate::operation::get_network_settings::GetNetworkSettingsError> for Error {
1471    fn from(err: crate::operation::get_network_settings::GetNetworkSettingsError) -> Self {
1472        match err {
1473            crate::operation::get_network_settings::GetNetworkSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1474            crate::operation::get_network_settings::GetNetworkSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1475            crate::operation::get_network_settings::GetNetworkSettingsError::ResourceNotFoundException(inner) => {
1476                Error::ResourceNotFoundException(inner)
1477            }
1478            crate::operation::get_network_settings::GetNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1479            crate::operation::get_network_settings::GetNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1480            crate::operation::get_network_settings::GetNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1481        }
1482    }
1483}
1484impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_portal::GetPortalError, R>> for Error
1485where
1486    R: Send + Sync + std::fmt::Debug + 'static,
1487{
1488    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_portal::GetPortalError, R>) -> Self {
1489        match err {
1490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1493                source: err.into(),
1494            }),
1495        }
1496    }
1497}
1498impl From<crate::operation::get_portal::GetPortalError> for Error {
1499    fn from(err: crate::operation::get_portal::GetPortalError) -> Self {
1500        match err {
1501            crate::operation::get_portal::GetPortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1502            crate::operation::get_portal::GetPortalError::InternalServerException(inner) => Error::InternalServerException(inner),
1503            crate::operation::get_portal::GetPortalError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1504            crate::operation::get_portal::GetPortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1505            crate::operation::get_portal::GetPortalError::ValidationException(inner) => Error::ValidationException(inner),
1506            crate::operation::get_portal::GetPortalError::Unhandled(inner) => Error::Unhandled(inner),
1507        }
1508    }
1509}
1510impl<R>
1511    From<
1512        ::aws_smithy_runtime_api::client::result::SdkError<
1513            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError,
1514            R,
1515        >,
1516    > for Error
1517where
1518    R: Send + Sync + std::fmt::Debug + 'static,
1519{
1520    fn from(
1521        err: ::aws_smithy_runtime_api::client::result::SdkError<
1522            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError,
1523            R,
1524        >,
1525    ) -> Self {
1526        match err {
1527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1530                source: err.into(),
1531            }),
1532        }
1533    }
1534}
1535impl From<crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError> for Error {
1536    fn from(err: crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError) -> Self {
1537        match err {
1538            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::AccessDeniedException(inner) => {
1539                Error::AccessDeniedException(inner)
1540            }
1541            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::InternalServerException(inner) => {
1542                Error::InternalServerException(inner)
1543            }
1544            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::ResourceNotFoundException(inner) => {
1545                Error::ResourceNotFoundException(inner)
1546            }
1547            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::ThrottlingException(inner) => {
1548                Error::ThrottlingException(inner)
1549            }
1550            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::ValidationException(inner) => {
1551                Error::ValidationException(inner)
1552            }
1553            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::Unhandled(inner) => {
1554                Error::Unhandled(inner)
1555            }
1556        }
1557    }
1558}
1559impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
1560where
1561    R: Send + Sync + std::fmt::Debug + 'static,
1562{
1563    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
1564        match err {
1565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1568                source: err.into(),
1569            }),
1570        }
1571    }
1572}
1573impl From<crate::operation::get_session::GetSessionError> for Error {
1574    fn from(err: crate::operation::get_session::GetSessionError) -> Self {
1575        match err {
1576            crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1577            crate::operation::get_session::GetSessionError::InternalServerException(inner) => Error::InternalServerException(inner),
1578            crate::operation::get_session::GetSessionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1579            crate::operation::get_session::GetSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1580            crate::operation::get_session::GetSessionError::ValidationException(inner) => Error::ValidationException(inner),
1581            crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
1582        }
1583    }
1584}
1585impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store::GetTrustStoreError, R>> for Error
1586where
1587    R: Send + Sync + std::fmt::Debug + 'static,
1588{
1589    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store::GetTrustStoreError, R>) -> Self {
1590        match err {
1591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1594                source: err.into(),
1595            }),
1596        }
1597    }
1598}
1599impl From<crate::operation::get_trust_store::GetTrustStoreError> for Error {
1600    fn from(err: crate::operation::get_trust_store::GetTrustStoreError) -> Self {
1601        match err {
1602            crate::operation::get_trust_store::GetTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1603            crate::operation::get_trust_store::GetTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1604            crate::operation::get_trust_store::GetTrustStoreError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1605            crate::operation::get_trust_store::GetTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1606            crate::operation::get_trust_store::GetTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
1607            crate::operation::get_trust_store::GetTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
1608        }
1609    }
1610}
1611impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError, R>>
1612    for Error
1613where
1614    R: Send + Sync + std::fmt::Debug + 'static,
1615{
1616    fn from(
1617        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError, R>,
1618    ) -> Self {
1619        match err {
1620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1623                source: err.into(),
1624            }),
1625        }
1626    }
1627}
1628impl From<crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError> for Error {
1629    fn from(err: crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError) -> Self {
1630        match err {
1631            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::AccessDeniedException(inner) => {
1632                Error::AccessDeniedException(inner)
1633            }
1634            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::InternalServerException(inner) => {
1635                Error::InternalServerException(inner)
1636            }
1637            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::ResourceNotFoundException(inner) => {
1638                Error::ResourceNotFoundException(inner)
1639            }
1640            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::ThrottlingException(inner) => {
1641                Error::ThrottlingException(inner)
1642            }
1643            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::ValidationException(inner) => {
1644                Error::ValidationException(inner)
1645            }
1646            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::Unhandled(inner) => Error::Unhandled(inner),
1647        }
1648    }
1649}
1650impl<R>
1651    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError, R>>
1652    for Error
1653where
1654    R: Send + Sync + std::fmt::Debug + 'static,
1655{
1656    fn from(
1657        err: ::aws_smithy_runtime_api::client::result::SdkError<
1658            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError,
1659            R,
1660        >,
1661    ) -> Self {
1662        match err {
1663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1666                source: err.into(),
1667            }),
1668        }
1669    }
1670}
1671impl From<crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError> for Error {
1672    fn from(err: crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError) -> Self {
1673        match err {
1674            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
1675                Error::AccessDeniedException(inner)
1676            }
1677            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::InternalServerException(inner) => {
1678                Error::InternalServerException(inner)
1679            }
1680            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::ResourceNotFoundException(inner) => {
1681                Error::ResourceNotFoundException(inner)
1682            }
1683            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::ThrottlingException(inner) => {
1684                Error::ThrottlingException(inner)
1685            }
1686            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::ValidationException(inner) => {
1687                Error::ValidationException(inner)
1688            }
1689            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1690        }
1691    }
1692}
1693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_settings::GetUserSettingsError, R>> for Error
1694where
1695    R: Send + Sync + std::fmt::Debug + 'static,
1696{
1697    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_settings::GetUserSettingsError, R>) -> Self {
1698        match err {
1699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1702                source: err.into(),
1703            }),
1704        }
1705    }
1706}
1707impl From<crate::operation::get_user_settings::GetUserSettingsError> for Error {
1708    fn from(err: crate::operation::get_user_settings::GetUserSettingsError) -> Self {
1709        match err {
1710            crate::operation::get_user_settings::GetUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1711            crate::operation::get_user_settings::GetUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1712            crate::operation::get_user_settings::GetUserSettingsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1713            crate::operation::get_user_settings::GetUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1714            crate::operation::get_user_settings::GetUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1715            crate::operation::get_user_settings::GetUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1716        }
1717    }
1718}
1719impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browser_settings::ListBrowserSettingsError, R>> for Error
1720where
1721    R: Send + Sync + std::fmt::Debug + 'static,
1722{
1723    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browser_settings::ListBrowserSettingsError, R>) -> Self {
1724        match err {
1725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1728                source: err.into(),
1729            }),
1730        }
1731    }
1732}
1733impl From<crate::operation::list_browser_settings::ListBrowserSettingsError> for Error {
1734    fn from(err: crate::operation::list_browser_settings::ListBrowserSettingsError) -> Self {
1735        match err {
1736            crate::operation::list_browser_settings::ListBrowserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1737            crate::operation::list_browser_settings::ListBrowserSettingsError::InternalServerException(inner) => {
1738                Error::InternalServerException(inner)
1739            }
1740            crate::operation::list_browser_settings::ListBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1741            crate::operation::list_browser_settings::ListBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1742            crate::operation::list_browser_settings::ListBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1743        }
1744    }
1745}
1746impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_protection_settings::ListDataProtectionSettingsError, R>>
1747    for Error
1748where
1749    R: Send + Sync + std::fmt::Debug + 'static,
1750{
1751    fn from(
1752        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_protection_settings::ListDataProtectionSettingsError, R>,
1753    ) -> Self {
1754        match err {
1755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1758                source: err.into(),
1759            }),
1760        }
1761    }
1762}
1763impl From<crate::operation::list_data_protection_settings::ListDataProtectionSettingsError> for Error {
1764    fn from(err: crate::operation::list_data_protection_settings::ListDataProtectionSettingsError) -> Self {
1765        match err {
1766            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::AccessDeniedException(inner) => {
1767                Error::AccessDeniedException(inner)
1768            }
1769            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::InternalServerException(inner) => {
1770                Error::InternalServerException(inner)
1771            }
1772            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::ThrottlingException(inner) => {
1773                Error::ThrottlingException(inner)
1774            }
1775            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::ValidationException(inner) => {
1776                Error::ValidationException(inner)
1777            }
1778            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1779        }
1780    }
1781}
1782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_identity_providers::ListIdentityProvidersError, R>> for Error
1783where
1784    R: Send + Sync + std::fmt::Debug + 'static,
1785{
1786    fn from(
1787        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_identity_providers::ListIdentityProvidersError, R>,
1788    ) -> Self {
1789        match err {
1790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1793                source: err.into(),
1794            }),
1795        }
1796    }
1797}
1798impl From<crate::operation::list_identity_providers::ListIdentityProvidersError> for Error {
1799    fn from(err: crate::operation::list_identity_providers::ListIdentityProvidersError) -> Self {
1800        match err {
1801            crate::operation::list_identity_providers::ListIdentityProvidersError::AccessDeniedException(inner) => {
1802                Error::AccessDeniedException(inner)
1803            }
1804            crate::operation::list_identity_providers::ListIdentityProvidersError::InternalServerException(inner) => {
1805                Error::InternalServerException(inner)
1806            }
1807            crate::operation::list_identity_providers::ListIdentityProvidersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1808            crate::operation::list_identity_providers::ListIdentityProvidersError::ValidationException(inner) => Error::ValidationException(inner),
1809            crate::operation::list_identity_providers::ListIdentityProvidersError::Unhandled(inner) => Error::Unhandled(inner),
1810        }
1811    }
1812}
1813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ip_access_settings::ListIpAccessSettingsError, R>> for Error
1814where
1815    R: Send + Sync + std::fmt::Debug + 'static,
1816{
1817    fn from(
1818        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ip_access_settings::ListIpAccessSettingsError, R>,
1819    ) -> Self {
1820        match err {
1821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1824                source: err.into(),
1825            }),
1826        }
1827    }
1828}
1829impl From<crate::operation::list_ip_access_settings::ListIpAccessSettingsError> for Error {
1830    fn from(err: crate::operation::list_ip_access_settings::ListIpAccessSettingsError) -> Self {
1831        match err {
1832            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1833            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::InternalServerException(inner) => {
1834                Error::InternalServerException(inner)
1835            }
1836            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1837            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1838            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1839        }
1840    }
1841}
1842impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_network_settings::ListNetworkSettingsError, R>> for Error
1843where
1844    R: Send + Sync + std::fmt::Debug + 'static,
1845{
1846    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_network_settings::ListNetworkSettingsError, R>) -> Self {
1847        match err {
1848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1851                source: err.into(),
1852            }),
1853        }
1854    }
1855}
1856impl From<crate::operation::list_network_settings::ListNetworkSettingsError> for Error {
1857    fn from(err: crate::operation::list_network_settings::ListNetworkSettingsError) -> Self {
1858        match err {
1859            crate::operation::list_network_settings::ListNetworkSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1860            crate::operation::list_network_settings::ListNetworkSettingsError::InternalServerException(inner) => {
1861                Error::InternalServerException(inner)
1862            }
1863            crate::operation::list_network_settings::ListNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1864            crate::operation::list_network_settings::ListNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1865            crate::operation::list_network_settings::ListNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1866        }
1867    }
1868}
1869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_portals::ListPortalsError, R>> for Error
1870where
1871    R: Send + Sync + std::fmt::Debug + 'static,
1872{
1873    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_portals::ListPortalsError, R>) -> Self {
1874        match err {
1875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1878                source: err.into(),
1879            }),
1880        }
1881    }
1882}
1883impl From<crate::operation::list_portals::ListPortalsError> for Error {
1884    fn from(err: crate::operation::list_portals::ListPortalsError) -> Self {
1885        match err {
1886            crate::operation::list_portals::ListPortalsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1887            crate::operation::list_portals::ListPortalsError::InternalServerException(inner) => Error::InternalServerException(inner),
1888            crate::operation::list_portals::ListPortalsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1889            crate::operation::list_portals::ListPortalsError::ValidationException(inner) => Error::ValidationException(inner),
1890            crate::operation::list_portals::ListPortalsError::Unhandled(inner) => Error::Unhandled(inner),
1891        }
1892    }
1893}
1894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
1895where
1896    R: Send + Sync + std::fmt::Debug + 'static,
1897{
1898    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> 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::list_sessions::ListSessionsError> for Error {
1909    fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
1910        match err {
1911            crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1912            crate::operation::list_sessions::ListSessionsError::InternalServerException(inner) => Error::InternalServerException(inner),
1913            crate::operation::list_sessions::ListSessionsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1914            crate::operation::list_sessions::ListSessionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1915            crate::operation::list_sessions::ListSessionsError::ValidationException(inner) => Error::ValidationException(inner),
1916            crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
1917        }
1918    }
1919}
1920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1921where
1922    R: Send + Sync + std::fmt::Debug + 'static,
1923{
1924    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1925        match err {
1926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1929                source: err.into(),
1930            }),
1931        }
1932    }
1933}
1934impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1935    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1936        match err {
1937            crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1938            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
1939                Error::InternalServerException(inner)
1940            }
1941            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
1942                Error::ResourceNotFoundException(inner)
1943            }
1944            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1945            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
1946            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1947        }
1948    }
1949}
1950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError, R>>
1951    for Error
1952where
1953    R: Send + Sync + std::fmt::Debug + 'static,
1954{
1955    fn from(
1956        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError, R>,
1957    ) -> Self {
1958        match err {
1959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1962                source: err.into(),
1963            }),
1964        }
1965    }
1966}
1967impl From<crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError> for Error {
1968    fn from(err: crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError) -> Self {
1969        match err {
1970            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::AccessDeniedException(inner) => {
1971                Error::AccessDeniedException(inner)
1972            }
1973            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::InternalServerException(inner) => {
1974                Error::InternalServerException(inner)
1975            }
1976            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::ResourceNotFoundException(inner) => {
1977                Error::ResourceNotFoundException(inner)
1978            }
1979            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::ThrottlingException(inner) => {
1980                Error::ThrottlingException(inner)
1981            }
1982            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::ValidationException(inner) => {
1983                Error::ValidationException(inner)
1984            }
1985            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::Unhandled(inner) => Error::Unhandled(inner),
1986        }
1987    }
1988}
1989impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_stores::ListTrustStoresError, R>> for Error
1990where
1991    R: Send + Sync + std::fmt::Debug + 'static,
1992{
1993    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_stores::ListTrustStoresError, R>) -> Self {
1994        match err {
1995            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1996            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1997                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1998                source: err.into(),
1999            }),
2000        }
2001    }
2002}
2003impl From<crate::operation::list_trust_stores::ListTrustStoresError> for Error {
2004    fn from(err: crate::operation::list_trust_stores::ListTrustStoresError) -> Self {
2005        match err {
2006            crate::operation::list_trust_stores::ListTrustStoresError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2007            crate::operation::list_trust_stores::ListTrustStoresError::InternalServerException(inner) => Error::InternalServerException(inner),
2008            crate::operation::list_trust_stores::ListTrustStoresError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2009            crate::operation::list_trust_stores::ListTrustStoresError::ValidationException(inner) => Error::ValidationException(inner),
2010            crate::operation::list_trust_stores::ListTrustStoresError::Unhandled(inner) => Error::Unhandled(inner),
2011        }
2012    }
2013}
2014impl<R>
2015    From<
2016        ::aws_smithy_runtime_api::client::result::SdkError<
2017            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError,
2018            R,
2019        >,
2020    > for Error
2021where
2022    R: Send + Sync + std::fmt::Debug + 'static,
2023{
2024    fn from(
2025        err: ::aws_smithy_runtime_api::client::result::SdkError<
2026            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError,
2027            R,
2028        >,
2029    ) -> Self {
2030        match err {
2031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2034                source: err.into(),
2035            }),
2036        }
2037    }
2038}
2039impl From<crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError> for Error {
2040    fn from(err: crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError) -> Self {
2041        match err {
2042            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
2043                Error::AccessDeniedException(inner)
2044            }
2045            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::InternalServerException(inner) => {
2046                Error::InternalServerException(inner)
2047            }
2048            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::ThrottlingException(inner) => {
2049                Error::ThrottlingException(inner)
2050            }
2051            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::ValidationException(inner) => {
2052                Error::ValidationException(inner)
2053            }
2054            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2055        }
2056    }
2057}
2058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_settings::ListUserSettingsError, R>> for Error
2059where
2060    R: Send + Sync + std::fmt::Debug + 'static,
2061{
2062    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_settings::ListUserSettingsError, R>) -> Self {
2063        match err {
2064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2067                source: err.into(),
2068            }),
2069        }
2070    }
2071}
2072impl From<crate::operation::list_user_settings::ListUserSettingsError> for Error {
2073    fn from(err: crate::operation::list_user_settings::ListUserSettingsError) -> Self {
2074        match err {
2075            crate::operation::list_user_settings::ListUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2076            crate::operation::list_user_settings::ListUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
2077            crate::operation::list_user_settings::ListUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2078            crate::operation::list_user_settings::ListUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2079            crate::operation::list_user_settings::ListUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2080        }
2081    }
2082}
2083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
2084where
2085    R: Send + Sync + std::fmt::Debug + 'static,
2086{
2087    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
2088        match err {
2089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2092                source: err.into(),
2093            }),
2094        }
2095    }
2096}
2097impl From<crate::operation::tag_resource::TagResourceError> for Error {
2098    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
2099        match err {
2100            crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2101            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
2102            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2103            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2104            crate::operation::tag_resource::TagResourceError::TooManyTagsException(inner) => Error::TooManyTagsException(inner),
2105            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
2106            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2107        }
2108    }
2109}
2110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
2111where
2112    R: Send + Sync + std::fmt::Debug + 'static,
2113{
2114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
2115        match err {
2116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2119                source: err.into(),
2120            }),
2121        }
2122    }
2123}
2124impl From<crate::operation::untag_resource::UntagResourceError> for Error {
2125    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
2126        match err {
2127            crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2128            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
2129            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2130            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2131            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
2132            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2133        }
2134    }
2135}
2136impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_browser_settings::UpdateBrowserSettingsError, R>> for Error
2137where
2138    R: Send + Sync + std::fmt::Debug + 'static,
2139{
2140    fn from(
2141        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_browser_settings::UpdateBrowserSettingsError, R>,
2142    ) -> Self {
2143        match err {
2144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2147                source: err.into(),
2148            }),
2149        }
2150    }
2151}
2152impl From<crate::operation::update_browser_settings::UpdateBrowserSettingsError> for Error {
2153    fn from(err: crate::operation::update_browser_settings::UpdateBrowserSettingsError) -> Self {
2154        match err {
2155            crate::operation::update_browser_settings::UpdateBrowserSettingsError::AccessDeniedException(inner) => {
2156                Error::AccessDeniedException(inner)
2157            }
2158            crate::operation::update_browser_settings::UpdateBrowserSettingsError::InternalServerException(inner) => {
2159                Error::InternalServerException(inner)
2160            }
2161            crate::operation::update_browser_settings::UpdateBrowserSettingsError::ResourceNotFoundException(inner) => {
2162                Error::ResourceNotFoundException(inner)
2163            }
2164            crate::operation::update_browser_settings::UpdateBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2165            crate::operation::update_browser_settings::UpdateBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2166            crate::operation::update_browser_settings::UpdateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2167        }
2168    }
2169}
2170impl<R>
2171    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError, R>>
2172    for Error
2173where
2174    R: Send + Sync + std::fmt::Debug + 'static,
2175{
2176    fn from(
2177        err: ::aws_smithy_runtime_api::client::result::SdkError<
2178            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError,
2179            R,
2180        >,
2181    ) -> Self {
2182        match err {
2183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2186                source: err.into(),
2187            }),
2188        }
2189    }
2190}
2191impl From<crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError> for Error {
2192    fn from(err: crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError) -> Self {
2193        match err {
2194            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::AccessDeniedException(inner) => {
2195                Error::AccessDeniedException(inner)
2196            }
2197            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::InternalServerException(inner) => {
2198                Error::InternalServerException(inner)
2199            }
2200            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
2201                Error::ResourceNotFoundException(inner)
2202            }
2203            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::ThrottlingException(inner) => {
2204                Error::ThrottlingException(inner)
2205            }
2206            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::ValidationException(inner) => {
2207                Error::ValidationException(inner)
2208            }
2209            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2210        }
2211    }
2212}
2213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_identity_provider::UpdateIdentityProviderError, R>> for Error
2214where
2215    R: Send + Sync + std::fmt::Debug + 'static,
2216{
2217    fn from(
2218        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_identity_provider::UpdateIdentityProviderError, R>,
2219    ) -> Self {
2220        match err {
2221            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2222            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2223                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2224                source: err.into(),
2225            }),
2226        }
2227    }
2228}
2229impl From<crate::operation::update_identity_provider::UpdateIdentityProviderError> for Error {
2230    fn from(err: crate::operation::update_identity_provider::UpdateIdentityProviderError) -> Self {
2231        match err {
2232            crate::operation::update_identity_provider::UpdateIdentityProviderError::AccessDeniedException(inner) => {
2233                Error::AccessDeniedException(inner)
2234            }
2235            crate::operation::update_identity_provider::UpdateIdentityProviderError::InternalServerException(inner) => {
2236                Error::InternalServerException(inner)
2237            }
2238            crate::operation::update_identity_provider::UpdateIdentityProviderError::ResourceNotFoundException(inner) => {
2239                Error::ResourceNotFoundException(inner)
2240            }
2241            crate::operation::update_identity_provider::UpdateIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2242            crate::operation::update_identity_provider::UpdateIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
2243            crate::operation::update_identity_provider::UpdateIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
2244        }
2245    }
2246}
2247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError, R>>
2248    for Error
2249where
2250    R: Send + Sync + std::fmt::Debug + 'static,
2251{
2252    fn from(
2253        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError, R>,
2254    ) -> Self {
2255        match err {
2256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2259                source: err.into(),
2260            }),
2261        }
2262    }
2263}
2264impl From<crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError> for Error {
2265    fn from(err: crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError) -> Self {
2266        match err {
2267            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::AccessDeniedException(inner) => {
2268                Error::AccessDeniedException(inner)
2269            }
2270            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::InternalServerException(inner) => {
2271                Error::InternalServerException(inner)
2272            }
2273            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::ResourceNotFoundException(inner) => {
2274                Error::ResourceNotFoundException(inner)
2275            }
2276            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2277            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2278            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2279        }
2280    }
2281}
2282impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_network_settings::UpdateNetworkSettingsError, R>> for Error
2283where
2284    R: Send + Sync + std::fmt::Debug + 'static,
2285{
2286    fn from(
2287        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_network_settings::UpdateNetworkSettingsError, R>,
2288    ) -> Self {
2289        match err {
2290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2293                source: err.into(),
2294            }),
2295        }
2296    }
2297}
2298impl From<crate::operation::update_network_settings::UpdateNetworkSettingsError> for Error {
2299    fn from(err: crate::operation::update_network_settings::UpdateNetworkSettingsError) -> Self {
2300        match err {
2301            crate::operation::update_network_settings::UpdateNetworkSettingsError::AccessDeniedException(inner) => {
2302                Error::AccessDeniedException(inner)
2303            }
2304            crate::operation::update_network_settings::UpdateNetworkSettingsError::InternalServerException(inner) => {
2305                Error::InternalServerException(inner)
2306            }
2307            crate::operation::update_network_settings::UpdateNetworkSettingsError::ResourceNotFoundException(inner) => {
2308                Error::ResourceNotFoundException(inner)
2309            }
2310            crate::operation::update_network_settings::UpdateNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2311            crate::operation::update_network_settings::UpdateNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2312            crate::operation::update_network_settings::UpdateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2313        }
2314    }
2315}
2316impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_portal::UpdatePortalError, R>> for Error
2317where
2318    R: Send + Sync + std::fmt::Debug + 'static,
2319{
2320    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_portal::UpdatePortalError, R>) -> Self {
2321        match err {
2322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2325                source: err.into(),
2326            }),
2327        }
2328    }
2329}
2330impl From<crate::operation::update_portal::UpdatePortalError> for Error {
2331    fn from(err: crate::operation::update_portal::UpdatePortalError) -> Self {
2332        match err {
2333            crate::operation::update_portal::UpdatePortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2334            crate::operation::update_portal::UpdatePortalError::ConflictException(inner) => Error::ConflictException(inner),
2335            crate::operation::update_portal::UpdatePortalError::InternalServerException(inner) => Error::InternalServerException(inner),
2336            crate::operation::update_portal::UpdatePortalError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2337            crate::operation::update_portal::UpdatePortalError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2338            crate::operation::update_portal::UpdatePortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2339            crate::operation::update_portal::UpdatePortalError::ValidationException(inner) => Error::ValidationException(inner),
2340            crate::operation::update_portal::UpdatePortalError::Unhandled(inner) => Error::Unhandled(inner),
2341        }
2342    }
2343}
2344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trust_store::UpdateTrustStoreError, 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_trust_store::UpdateTrustStoreError, 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_trust_store::UpdateTrustStoreError> for Error {
2359    fn from(err: crate::operation::update_trust_store::UpdateTrustStoreError) -> Self {
2360        match err {
2361            crate::operation::update_trust_store::UpdateTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2362            crate::operation::update_trust_store::UpdateTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
2363            crate::operation::update_trust_store::UpdateTrustStoreError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2364            crate::operation::update_trust_store::UpdateTrustStoreError::ServiceQuotaExceededException(inner) => {
2365                Error::ServiceQuotaExceededException(inner)
2366            }
2367            crate::operation::update_trust_store::UpdateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2368            crate::operation::update_trust_store::UpdateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
2369            crate::operation::update_trust_store::UpdateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
2370        }
2371    }
2372}
2373impl<R>
2374    From<
2375        ::aws_smithy_runtime_api::client::result::SdkError<
2376            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError,
2377            R,
2378        >,
2379    > for Error
2380where
2381    R: Send + Sync + std::fmt::Debug + 'static,
2382{
2383    fn from(
2384        err: ::aws_smithy_runtime_api::client::result::SdkError<
2385            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError,
2386            R,
2387        >,
2388    ) -> Self {
2389        match err {
2390            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2391            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2392                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2393                source: err.into(),
2394            }),
2395        }
2396    }
2397}
2398impl From<crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError> for Error {
2399    fn from(err: crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError) -> Self {
2400        match err {
2401            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
2402                Error::AccessDeniedException(inner)
2403            }
2404            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::InternalServerException(inner) => {
2405                Error::InternalServerException(inner)
2406            }
2407            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::ResourceNotFoundException(inner) => {
2408                Error::ResourceNotFoundException(inner)
2409            }
2410            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
2411                Error::ThrottlingException(inner)
2412            }
2413            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::ValidationException(inner) => {
2414                Error::ValidationException(inner)
2415            }
2416            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2417        }
2418    }
2419}
2420impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_settings::UpdateUserSettingsError, R>> for Error
2421where
2422    R: Send + Sync + std::fmt::Debug + 'static,
2423{
2424    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_settings::UpdateUserSettingsError, R>) -> Self {
2425        match err {
2426            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2427            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2428                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2429                source: err.into(),
2430            }),
2431        }
2432    }
2433}
2434impl From<crate::operation::update_user_settings::UpdateUserSettingsError> for Error {
2435    fn from(err: crate::operation::update_user_settings::UpdateUserSettingsError) -> Self {
2436        match err {
2437            crate::operation::update_user_settings::UpdateUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2438            crate::operation::update_user_settings::UpdateUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
2439            crate::operation::update_user_settings::UpdateUserSettingsError::ResourceNotFoundException(inner) => {
2440                Error::ResourceNotFoundException(inner)
2441            }
2442            crate::operation::update_user_settings::UpdateUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2443            crate::operation::update_user_settings::UpdateUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2444            crate::operation::update_user_settings::UpdateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2445        }
2446    }
2447}
2448impl ::std::error::Error for Error {
2449    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2450        match self {
2451            Error::AccessDeniedException(inner) => inner.source(),
2452            Error::ConflictException(inner) => inner.source(),
2453            Error::InternalServerException(inner) => inner.source(),
2454            Error::ResourceNotFoundException(inner) => inner.source(),
2455            Error::ServiceQuotaExceededException(inner) => inner.source(),
2456            Error::ThrottlingException(inner) => inner.source(),
2457            Error::TooManyTagsException(inner) => inner.source(),
2458            Error::ValidationException(inner) => inner.source(),
2459            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2460        }
2461    }
2462}
2463impl ::aws_types::request_id::RequestId for Error {
2464    fn request_id(&self) -> Option<&str> {
2465        match self {
2466            Self::AccessDeniedException(e) => e.request_id(),
2467            Self::ConflictException(e) => e.request_id(),
2468            Self::InternalServerException(e) => e.request_id(),
2469            Self::ResourceNotFoundException(e) => e.request_id(),
2470            Self::ServiceQuotaExceededException(e) => e.request_id(),
2471            Self::ThrottlingException(e) => e.request_id(),
2472            Self::TooManyTagsException(e) => e.request_id(),
2473            Self::ValidationException(e) => e.request_id(),
2474            Self::Unhandled(e) => e.meta.request_id(),
2475        }
2476    }
2477}