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_session_logger::AssociateSessionLoggerError, R>> for Error
248where
249    R: Send + Sync + std::fmt::Debug + 'static,
250{
251    fn from(
252        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_session_logger::AssociateSessionLoggerError, R>,
253    ) -> Self {
254        match err {
255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
258                source: err.into(),
259            }),
260        }
261    }
262}
263impl From<crate::operation::associate_session_logger::AssociateSessionLoggerError> for Error {
264    fn from(err: crate::operation::associate_session_logger::AssociateSessionLoggerError) -> Self {
265        match err {
266            crate::operation::associate_session_logger::AssociateSessionLoggerError::AccessDeniedException(inner) => {
267                Error::AccessDeniedException(inner)
268            }
269            crate::operation::associate_session_logger::AssociateSessionLoggerError::ConflictException(inner) => Error::ConflictException(inner),
270            crate::operation::associate_session_logger::AssociateSessionLoggerError::InternalServerException(inner) => {
271                Error::InternalServerException(inner)
272            }
273            crate::operation::associate_session_logger::AssociateSessionLoggerError::ResourceNotFoundException(inner) => {
274                Error::ResourceNotFoundException(inner)
275            }
276            crate::operation::associate_session_logger::AssociateSessionLoggerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
277            crate::operation::associate_session_logger::AssociateSessionLoggerError::ValidationException(inner) => Error::ValidationException(inner),
278            crate::operation::associate_session_logger::AssociateSessionLoggerError::Unhandled(inner) => Error::Unhandled(inner),
279        }
280    }
281}
282impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trust_store::AssociateTrustStoreError, R>> for Error
283where
284    R: Send + Sync + std::fmt::Debug + 'static,
285{
286    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trust_store::AssociateTrustStoreError, R>) -> Self {
287        match err {
288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
291                source: err.into(),
292            }),
293        }
294    }
295}
296impl From<crate::operation::associate_trust_store::AssociateTrustStoreError> for Error {
297    fn from(err: crate::operation::associate_trust_store::AssociateTrustStoreError) -> Self {
298        match err {
299            crate::operation::associate_trust_store::AssociateTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
300            crate::operation::associate_trust_store::AssociateTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
301            crate::operation::associate_trust_store::AssociateTrustStoreError::InternalServerException(inner) => {
302                Error::InternalServerException(inner)
303            }
304            crate::operation::associate_trust_store::AssociateTrustStoreError::ResourceNotFoundException(inner) => {
305                Error::ResourceNotFoundException(inner)
306            }
307            crate::operation::associate_trust_store::AssociateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
308            crate::operation::associate_trust_store::AssociateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
309            crate::operation::associate_trust_store::AssociateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
310        }
311    }
312}
313impl<R>
314    From<
315        ::aws_smithy_runtime_api::client::result::SdkError<
316            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError,
317            R,
318        >,
319    > for Error
320where
321    R: Send + Sync + std::fmt::Debug + 'static,
322{
323    fn from(
324        err: ::aws_smithy_runtime_api::client::result::SdkError<
325            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError,
326            R,
327        >,
328    ) -> Self {
329        match err {
330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
333                source: err.into(),
334            }),
335        }
336    }
337}
338impl From<crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError> for Error {
339    fn from(err: crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError) -> Self {
340        match err {
341            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
342                Error::AccessDeniedException(inner)
343            }
344            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ConflictException(inner) => {
345                Error::ConflictException(inner)
346            }
347            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::InternalServerException(inner) => {
348                Error::InternalServerException(inner)
349            }
350            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ResourceNotFoundException(inner) => {
351                Error::ResourceNotFoundException(inner)
352            }
353            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
354                Error::ThrottlingException(inner)
355            }
356            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::ValidationException(inner) => {
357                Error::ValidationException(inner)
358            }
359            crate::operation::associate_user_access_logging_settings::AssociateUserAccessLoggingSettingsError::Unhandled(inner) => {
360                Error::Unhandled(inner)
361            }
362        }
363    }
364}
365impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_user_settings::AssociateUserSettingsError, 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::associate_user_settings::AssociateUserSettingsError, 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::associate_user_settings::AssociateUserSettingsError> for Error {
382    fn from(err: crate::operation::associate_user_settings::AssociateUserSettingsError) -> Self {
383        match err {
384            crate::operation::associate_user_settings::AssociateUserSettingsError::AccessDeniedException(inner) => {
385                Error::AccessDeniedException(inner)
386            }
387            crate::operation::associate_user_settings::AssociateUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
388            crate::operation::associate_user_settings::AssociateUserSettingsError::InternalServerException(inner) => {
389                Error::InternalServerException(inner)
390            }
391            crate::operation::associate_user_settings::AssociateUserSettingsError::ResourceNotFoundException(inner) => {
392                Error::ResourceNotFoundException(inner)
393            }
394            crate::operation::associate_user_settings::AssociateUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
395            crate::operation::associate_user_settings::AssociateUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
396            crate::operation::associate_user_settings::AssociateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
397        }
398    }
399}
400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser_settings::CreateBrowserSettingsError, R>> for Error
401where
402    R: Send + Sync + std::fmt::Debug + 'static,
403{
404    fn from(
405        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_browser_settings::CreateBrowserSettingsError, R>,
406    ) -> Self {
407        match err {
408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
411                source: err.into(),
412            }),
413        }
414    }
415}
416impl From<crate::operation::create_browser_settings::CreateBrowserSettingsError> for Error {
417    fn from(err: crate::operation::create_browser_settings::CreateBrowserSettingsError) -> Self {
418        match err {
419            crate::operation::create_browser_settings::CreateBrowserSettingsError::AccessDeniedException(inner) => {
420                Error::AccessDeniedException(inner)
421            }
422            crate::operation::create_browser_settings::CreateBrowserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
423            crate::operation::create_browser_settings::CreateBrowserSettingsError::InternalServerException(inner) => {
424                Error::InternalServerException(inner)
425            }
426            crate::operation::create_browser_settings::CreateBrowserSettingsError::ResourceNotFoundException(inner) => {
427                Error::ResourceNotFoundException(inner)
428            }
429            crate::operation::create_browser_settings::CreateBrowserSettingsError::ServiceQuotaExceededException(inner) => {
430                Error::ServiceQuotaExceededException(inner)
431            }
432            crate::operation::create_browser_settings::CreateBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
433            crate::operation::create_browser_settings::CreateBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
434            crate::operation::create_browser_settings::CreateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
435        }
436    }
437}
438impl<R>
439    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError, R>>
440    for Error
441where
442    R: Send + Sync + std::fmt::Debug + 'static,
443{
444    fn from(
445        err: ::aws_smithy_runtime_api::client::result::SdkError<
446            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError,
447            R,
448        >,
449    ) -> Self {
450        match err {
451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
454                source: err.into(),
455            }),
456        }
457    }
458}
459impl From<crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError> for Error {
460    fn from(err: crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError) -> Self {
461        match err {
462            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::AccessDeniedException(inner) => {
463                Error::AccessDeniedException(inner)
464            }
465            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ConflictException(inner) => {
466                Error::ConflictException(inner)
467            }
468            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::InternalServerException(inner) => {
469                Error::InternalServerException(inner)
470            }
471            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
472                Error::ResourceNotFoundException(inner)
473            }
474            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ServiceQuotaExceededException(inner) => {
475                Error::ServiceQuotaExceededException(inner)
476            }
477            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ThrottlingException(inner) => {
478                Error::ThrottlingException(inner)
479            }
480            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::ValidationException(inner) => {
481                Error::ValidationException(inner)
482            }
483            crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
484        }
485    }
486}
487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_identity_provider::CreateIdentityProviderError, R>> for Error
488where
489    R: Send + Sync + std::fmt::Debug + 'static,
490{
491    fn from(
492        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_identity_provider::CreateIdentityProviderError, R>,
493    ) -> Self {
494        match err {
495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
498                source: err.into(),
499            }),
500        }
501    }
502}
503impl From<crate::operation::create_identity_provider::CreateIdentityProviderError> for Error {
504    fn from(err: crate::operation::create_identity_provider::CreateIdentityProviderError) -> Self {
505        match err {
506            crate::operation::create_identity_provider::CreateIdentityProviderError::AccessDeniedException(inner) => {
507                Error::AccessDeniedException(inner)
508            }
509            crate::operation::create_identity_provider::CreateIdentityProviderError::ConflictException(inner) => Error::ConflictException(inner),
510            crate::operation::create_identity_provider::CreateIdentityProviderError::InternalServerException(inner) => {
511                Error::InternalServerException(inner)
512            }
513            crate::operation::create_identity_provider::CreateIdentityProviderError::ResourceNotFoundException(inner) => {
514                Error::ResourceNotFoundException(inner)
515            }
516            crate::operation::create_identity_provider::CreateIdentityProviderError::ServiceQuotaExceededException(inner) => {
517                Error::ServiceQuotaExceededException(inner)
518            }
519            crate::operation::create_identity_provider::CreateIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
520            crate::operation::create_identity_provider::CreateIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
521            crate::operation::create_identity_provider::CreateIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
522        }
523    }
524}
525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ip_access_settings::CreateIpAccessSettingsError, R>>
526    for Error
527where
528    R: Send + Sync + std::fmt::Debug + 'static,
529{
530    fn from(
531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ip_access_settings::CreateIpAccessSettingsError, 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_ip_access_settings::CreateIpAccessSettingsError> for Error {
543    fn from(err: crate::operation::create_ip_access_settings::CreateIpAccessSettingsError) -> Self {
544        match err {
545            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::AccessDeniedException(inner) => {
546                Error::AccessDeniedException(inner)
547            }
548            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ConflictException(inner) => Error::ConflictException(inner),
549            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::InternalServerException(inner) => {
550                Error::InternalServerException(inner)
551            }
552            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ServiceQuotaExceededException(inner) => {
553                Error::ServiceQuotaExceededException(inner)
554            }
555            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
556            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
557            crate::operation::create_ip_access_settings::CreateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
558        }
559    }
560}
561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_settings::CreateNetworkSettingsError, R>> for Error
562where
563    R: Send + Sync + std::fmt::Debug + 'static,
564{
565    fn from(
566        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_settings::CreateNetworkSettingsError, R>,
567    ) -> Self {
568        match err {
569            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
570            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
571                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
572                source: err.into(),
573            }),
574        }
575    }
576}
577impl From<crate::operation::create_network_settings::CreateNetworkSettingsError> for Error {
578    fn from(err: crate::operation::create_network_settings::CreateNetworkSettingsError) -> Self {
579        match err {
580            crate::operation::create_network_settings::CreateNetworkSettingsError::AccessDeniedException(inner) => {
581                Error::AccessDeniedException(inner)
582            }
583            crate::operation::create_network_settings::CreateNetworkSettingsError::ConflictException(inner) => Error::ConflictException(inner),
584            crate::operation::create_network_settings::CreateNetworkSettingsError::InternalServerException(inner) => {
585                Error::InternalServerException(inner)
586            }
587            crate::operation::create_network_settings::CreateNetworkSettingsError::ServiceQuotaExceededException(inner) => {
588                Error::ServiceQuotaExceededException(inner)
589            }
590            crate::operation::create_network_settings::CreateNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
591            crate::operation::create_network_settings::CreateNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
592            crate::operation::create_network_settings::CreateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
593        }
594    }
595}
596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_portal::CreatePortalError, R>> for Error
597where
598    R: Send + Sync + std::fmt::Debug + 'static,
599{
600    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_portal::CreatePortalError, R>) -> Self {
601        match err {
602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
605                source: err.into(),
606            }),
607        }
608    }
609}
610impl From<crate::operation::create_portal::CreatePortalError> for Error {
611    fn from(err: crate::operation::create_portal::CreatePortalError) -> Self {
612        match err {
613            crate::operation::create_portal::CreatePortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
614            crate::operation::create_portal::CreatePortalError::ConflictException(inner) => Error::ConflictException(inner),
615            crate::operation::create_portal::CreatePortalError::InternalServerException(inner) => Error::InternalServerException(inner),
616            crate::operation::create_portal::CreatePortalError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
617            crate::operation::create_portal::CreatePortalError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
618            crate::operation::create_portal::CreatePortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
619            crate::operation::create_portal::CreatePortalError::ValidationException(inner) => Error::ValidationException(inner),
620            crate::operation::create_portal::CreatePortalError::Unhandled(inner) => Error::Unhandled(inner),
621        }
622    }
623}
624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session_logger::CreateSessionLoggerError, R>> for Error
625where
626    R: Send + Sync + std::fmt::Debug + 'static,
627{
628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session_logger::CreateSessionLoggerError, R>) -> Self {
629        match err {
630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
633                source: err.into(),
634            }),
635        }
636    }
637}
638impl From<crate::operation::create_session_logger::CreateSessionLoggerError> for Error {
639    fn from(err: crate::operation::create_session_logger::CreateSessionLoggerError) -> Self {
640        match err {
641            crate::operation::create_session_logger::CreateSessionLoggerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
642            crate::operation::create_session_logger::CreateSessionLoggerError::ConflictException(inner) => Error::ConflictException(inner),
643            crate::operation::create_session_logger::CreateSessionLoggerError::InternalServerException(inner) => {
644                Error::InternalServerException(inner)
645            }
646            crate::operation::create_session_logger::CreateSessionLoggerError::ServiceQuotaExceededException(inner) => {
647                Error::ServiceQuotaExceededException(inner)
648            }
649            crate::operation::create_session_logger::CreateSessionLoggerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
650            crate::operation::create_session_logger::CreateSessionLoggerError::ValidationException(inner) => Error::ValidationException(inner),
651            crate::operation::create_session_logger::CreateSessionLoggerError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trust_store::CreateTrustStoreError, R>> for Error
656where
657    R: Send + Sync + std::fmt::Debug + 'static,
658{
659    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trust_store::CreateTrustStoreError, R>) -> Self {
660        match err {
661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
664                source: err.into(),
665            }),
666        }
667    }
668}
669impl From<crate::operation::create_trust_store::CreateTrustStoreError> for Error {
670    fn from(err: crate::operation::create_trust_store::CreateTrustStoreError) -> Self {
671        match err {
672            crate::operation::create_trust_store::CreateTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
673            crate::operation::create_trust_store::CreateTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
674            crate::operation::create_trust_store::CreateTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
675            crate::operation::create_trust_store::CreateTrustStoreError::ServiceQuotaExceededException(inner) => {
676                Error::ServiceQuotaExceededException(inner)
677            }
678            crate::operation::create_trust_store::CreateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
679            crate::operation::create_trust_store::CreateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
680            crate::operation::create_trust_store::CreateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
681        }
682    }
683}
684impl<R>
685    From<
686        ::aws_smithy_runtime_api::client::result::SdkError<
687            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError,
688            R,
689        >,
690    > for Error
691where
692    R: Send + Sync + std::fmt::Debug + 'static,
693{
694    fn from(
695        err: ::aws_smithy_runtime_api::client::result::SdkError<
696            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError,
697            R,
698        >,
699    ) -> Self {
700        match err {
701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
704                source: err.into(),
705            }),
706        }
707    }
708}
709impl From<crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError> for Error {
710    fn from(err: crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError) -> Self {
711        match err {
712            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
713                Error::AccessDeniedException(inner)
714            }
715            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ConflictException(inner) => {
716                Error::ConflictException(inner)
717            }
718            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::InternalServerException(inner) => {
719                Error::InternalServerException(inner)
720            }
721            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ServiceQuotaExceededException(inner) => {
722                Error::ServiceQuotaExceededException(inner)
723            }
724            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
725                Error::ThrottlingException(inner)
726            }
727            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::ValidationException(inner) => {
728                Error::ValidationException(inner)
729            }
730            crate::operation::create_user_access_logging_settings::CreateUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
731        }
732    }
733}
734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_settings::CreateUserSettingsError, R>> for Error
735where
736    R: Send + Sync + std::fmt::Debug + 'static,
737{
738    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_settings::CreateUserSettingsError, R>) -> Self {
739        match err {
740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
743                source: err.into(),
744            }),
745        }
746    }
747}
748impl From<crate::operation::create_user_settings::CreateUserSettingsError> for Error {
749    fn from(err: crate::operation::create_user_settings::CreateUserSettingsError) -> Self {
750        match err {
751            crate::operation::create_user_settings::CreateUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
752            crate::operation::create_user_settings::CreateUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
753            crate::operation::create_user_settings::CreateUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
754            crate::operation::create_user_settings::CreateUserSettingsError::ResourceNotFoundException(inner) => {
755                Error::ResourceNotFoundException(inner)
756            }
757            crate::operation::create_user_settings::CreateUserSettingsError::ServiceQuotaExceededException(inner) => {
758                Error::ServiceQuotaExceededException(inner)
759            }
760            crate::operation::create_user_settings::CreateUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
761            crate::operation::create_user_settings::CreateUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
762            crate::operation::create_user_settings::CreateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
763        }
764    }
765}
766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser_settings::DeleteBrowserSettingsError, R>> for Error
767where
768    R: Send + Sync + std::fmt::Debug + 'static,
769{
770    fn from(
771        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_browser_settings::DeleteBrowserSettingsError, R>,
772    ) -> Self {
773        match err {
774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
777                source: err.into(),
778            }),
779        }
780    }
781}
782impl From<crate::operation::delete_browser_settings::DeleteBrowserSettingsError> for Error {
783    fn from(err: crate::operation::delete_browser_settings::DeleteBrowserSettingsError) -> Self {
784        match err {
785            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::AccessDeniedException(inner) => {
786                Error::AccessDeniedException(inner)
787            }
788            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
789            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::InternalServerException(inner) => {
790                Error::InternalServerException(inner)
791            }
792            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
793            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
794            crate::operation::delete_browser_settings::DeleteBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
795        }
796    }
797}
798impl<R>
799    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError, R>>
800    for Error
801where
802    R: Send + Sync + std::fmt::Debug + 'static,
803{
804    fn from(
805        err: ::aws_smithy_runtime_api::client::result::SdkError<
806            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError,
807            R,
808        >,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError> for Error {
820    fn from(err: crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError) -> Self {
821        match err {
822            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::AccessDeniedException(inner) => {
823                Error::AccessDeniedException(inner)
824            }
825            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::ConflictException(inner) => {
826                Error::ConflictException(inner)
827            }
828            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::InternalServerException(inner) => {
829                Error::InternalServerException(inner)
830            }
831            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::ThrottlingException(inner) => {
832                Error::ThrottlingException(inner)
833            }
834            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::ValidationException(inner) => {
835                Error::ValidationException(inner)
836            }
837            crate::operation::delete_data_protection_settings::DeleteDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
838        }
839    }
840}
841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_identity_provider::DeleteIdentityProviderError, R>> for Error
842where
843    R: Send + Sync + std::fmt::Debug + 'static,
844{
845    fn from(
846        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_identity_provider::DeleteIdentityProviderError, R>,
847    ) -> Self {
848        match err {
849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
852                source: err.into(),
853            }),
854        }
855    }
856}
857impl From<crate::operation::delete_identity_provider::DeleteIdentityProviderError> for Error {
858    fn from(err: crate::operation::delete_identity_provider::DeleteIdentityProviderError) -> Self {
859        match err {
860            crate::operation::delete_identity_provider::DeleteIdentityProviderError::AccessDeniedException(inner) => {
861                Error::AccessDeniedException(inner)
862            }
863            crate::operation::delete_identity_provider::DeleteIdentityProviderError::ConflictException(inner) => Error::ConflictException(inner),
864            crate::operation::delete_identity_provider::DeleteIdentityProviderError::InternalServerException(inner) => {
865                Error::InternalServerException(inner)
866            }
867            crate::operation::delete_identity_provider::DeleteIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
868            crate::operation::delete_identity_provider::DeleteIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
869            crate::operation::delete_identity_provider::DeleteIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
870        }
871    }
872}
873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError, R>>
874    for Error
875where
876    R: Send + Sync + std::fmt::Debug + 'static,
877{
878    fn from(
879        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError, R>,
880    ) -> Self {
881        match err {
882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
885                source: err.into(),
886            }),
887        }
888    }
889}
890impl From<crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError> for Error {
891    fn from(err: crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError) -> Self {
892        match err {
893            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::AccessDeniedException(inner) => {
894                Error::AccessDeniedException(inner)
895            }
896            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::ConflictException(inner) => Error::ConflictException(inner),
897            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::InternalServerException(inner) => {
898                Error::InternalServerException(inner)
899            }
900            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
901            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
902            crate::operation::delete_ip_access_settings::DeleteIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
903        }
904    }
905}
906impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_settings::DeleteNetworkSettingsError, R>> for Error
907where
908    R: Send + Sync + std::fmt::Debug + 'static,
909{
910    fn from(
911        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_settings::DeleteNetworkSettingsError, R>,
912    ) -> Self {
913        match err {
914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
917                source: err.into(),
918            }),
919        }
920    }
921}
922impl From<crate::operation::delete_network_settings::DeleteNetworkSettingsError> for Error {
923    fn from(err: crate::operation::delete_network_settings::DeleteNetworkSettingsError) -> Self {
924        match err {
925            crate::operation::delete_network_settings::DeleteNetworkSettingsError::AccessDeniedException(inner) => {
926                Error::AccessDeniedException(inner)
927            }
928            crate::operation::delete_network_settings::DeleteNetworkSettingsError::ConflictException(inner) => Error::ConflictException(inner),
929            crate::operation::delete_network_settings::DeleteNetworkSettingsError::InternalServerException(inner) => {
930                Error::InternalServerException(inner)
931            }
932            crate::operation::delete_network_settings::DeleteNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
933            crate::operation::delete_network_settings::DeleteNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
934            crate::operation::delete_network_settings::DeleteNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
935        }
936    }
937}
938impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_portal::DeletePortalError, R>> for Error
939where
940    R: Send + Sync + std::fmt::Debug + 'static,
941{
942    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_portal::DeletePortalError, R>) -> Self {
943        match err {
944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
947                source: err.into(),
948            }),
949        }
950    }
951}
952impl From<crate::operation::delete_portal::DeletePortalError> for Error {
953    fn from(err: crate::operation::delete_portal::DeletePortalError) -> Self {
954        match err {
955            crate::operation::delete_portal::DeletePortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
956            crate::operation::delete_portal::DeletePortalError::ConflictException(inner) => Error::ConflictException(inner),
957            crate::operation::delete_portal::DeletePortalError::InternalServerException(inner) => Error::InternalServerException(inner),
958            crate::operation::delete_portal::DeletePortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
959            crate::operation::delete_portal::DeletePortalError::ValidationException(inner) => Error::ValidationException(inner),
960            crate::operation::delete_portal::DeletePortalError::Unhandled(inner) => Error::Unhandled(inner),
961        }
962    }
963}
964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session_logger::DeleteSessionLoggerError, R>> for Error
965where
966    R: Send + Sync + std::fmt::Debug + 'static,
967{
968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session_logger::DeleteSessionLoggerError, R>) -> Self {
969        match err {
970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
973                source: err.into(),
974            }),
975        }
976    }
977}
978impl From<crate::operation::delete_session_logger::DeleteSessionLoggerError> for Error {
979    fn from(err: crate::operation::delete_session_logger::DeleteSessionLoggerError) -> Self {
980        match err {
981            crate::operation::delete_session_logger::DeleteSessionLoggerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
982            crate::operation::delete_session_logger::DeleteSessionLoggerError::ConflictException(inner) => Error::ConflictException(inner),
983            crate::operation::delete_session_logger::DeleteSessionLoggerError::InternalServerException(inner) => {
984                Error::InternalServerException(inner)
985            }
986            crate::operation::delete_session_logger::DeleteSessionLoggerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
987            crate::operation::delete_session_logger::DeleteSessionLoggerError::ValidationException(inner) => Error::ValidationException(inner),
988            crate::operation::delete_session_logger::DeleteSessionLoggerError::Unhandled(inner) => Error::Unhandled(inner),
989        }
990    }
991}
992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trust_store::DeleteTrustStoreError, R>> for Error
993where
994    R: Send + Sync + std::fmt::Debug + 'static,
995{
996    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trust_store::DeleteTrustStoreError, R>) -> Self {
997        match err {
998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1001                source: err.into(),
1002            }),
1003        }
1004    }
1005}
1006impl From<crate::operation::delete_trust_store::DeleteTrustStoreError> for Error {
1007    fn from(err: crate::operation::delete_trust_store::DeleteTrustStoreError) -> Self {
1008        match err {
1009            crate::operation::delete_trust_store::DeleteTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1010            crate::operation::delete_trust_store::DeleteTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
1011            crate::operation::delete_trust_store::DeleteTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1012            crate::operation::delete_trust_store::DeleteTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1013            crate::operation::delete_trust_store::DeleteTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
1014            crate::operation::delete_trust_store::DeleteTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
1015        }
1016    }
1017}
1018impl<R>
1019    From<
1020        ::aws_smithy_runtime_api::client::result::SdkError<
1021            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError,
1022            R,
1023        >,
1024    > for Error
1025where
1026    R: Send + Sync + std::fmt::Debug + 'static,
1027{
1028    fn from(
1029        err: ::aws_smithy_runtime_api::client::result::SdkError<
1030            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError,
1031            R,
1032        >,
1033    ) -> Self {
1034        match err {
1035            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1036            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1037                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1038                source: err.into(),
1039            }),
1040        }
1041    }
1042}
1043impl From<crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError> for Error {
1044    fn from(err: crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError) -> Self {
1045        match err {
1046            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
1047                Error::AccessDeniedException(inner)
1048            }
1049            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::ConflictException(inner) => {
1050                Error::ConflictException(inner)
1051            }
1052            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::InternalServerException(inner) => {
1053                Error::InternalServerException(inner)
1054            }
1055            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::ThrottlingException(inner) => {
1056                Error::ThrottlingException(inner)
1057            }
1058            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::ValidationException(inner) => {
1059                Error::ValidationException(inner)
1060            }
1061            crate::operation::delete_user_access_logging_settings::DeleteUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1062        }
1063    }
1064}
1065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_settings::DeleteUserSettingsError, R>> for Error
1066where
1067    R: Send + Sync + std::fmt::Debug + 'static,
1068{
1069    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_settings::DeleteUserSettingsError, R>) -> Self {
1070        match err {
1071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1074                source: err.into(),
1075            }),
1076        }
1077    }
1078}
1079impl From<crate::operation::delete_user_settings::DeleteUserSettingsError> for Error {
1080    fn from(err: crate::operation::delete_user_settings::DeleteUserSettingsError) -> Self {
1081        match err {
1082            crate::operation::delete_user_settings::DeleteUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1083            crate::operation::delete_user_settings::DeleteUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
1084            crate::operation::delete_user_settings::DeleteUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1085            crate::operation::delete_user_settings::DeleteUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1086            crate::operation::delete_user_settings::DeleteUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1087            crate::operation::delete_user_settings::DeleteUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1088        }
1089    }
1090}
1091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError, R>>
1092    for Error
1093where
1094    R: Send + Sync + std::fmt::Debug + 'static,
1095{
1096    fn from(
1097        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError, R>,
1098    ) -> Self {
1099        match err {
1100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1103                source: err.into(),
1104            }),
1105        }
1106    }
1107}
1108impl From<crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError> for Error {
1109    fn from(err: crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError) -> Self {
1110        match err {
1111            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::AccessDeniedException(inner) => {
1112                Error::AccessDeniedException(inner)
1113            }
1114            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ConflictException(inner) => {
1115                Error::ConflictException(inner)
1116            }
1117            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::InternalServerException(inner) => {
1118                Error::InternalServerException(inner)
1119            }
1120            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ResourceNotFoundException(inner) => {
1121                Error::ResourceNotFoundException(inner)
1122            }
1123            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ThrottlingException(inner) => {
1124                Error::ThrottlingException(inner)
1125            }
1126            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::ValidationException(inner) => {
1127                Error::ValidationException(inner)
1128            }
1129            crate::operation::disassociate_browser_settings::DisassociateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1130        }
1131    }
1132}
1133impl<R>
1134    From<
1135        ::aws_smithy_runtime_api::client::result::SdkError<
1136            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError,
1137            R,
1138        >,
1139    > for Error
1140where
1141    R: Send + Sync + std::fmt::Debug + 'static,
1142{
1143    fn from(
1144        err: ::aws_smithy_runtime_api::client::result::SdkError<
1145            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError,
1146            R,
1147        >,
1148    ) -> Self {
1149        match err {
1150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1153                source: err.into(),
1154            }),
1155        }
1156    }
1157}
1158impl From<crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError> for Error {
1159    fn from(err: crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError) -> Self {
1160        match err {
1161            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::AccessDeniedException(inner) => {
1162                Error::AccessDeniedException(inner)
1163            }
1164            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ConflictException(inner) => {
1165                Error::ConflictException(inner)
1166            }
1167            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::InternalServerException(inner) => {
1168                Error::InternalServerException(inner)
1169            }
1170            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
1171                Error::ResourceNotFoundException(inner)
1172            }
1173            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ThrottlingException(inner) => {
1174                Error::ThrottlingException(inner)
1175            }
1176            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::ValidationException(inner) => {
1177                Error::ValidationException(inner)
1178            }
1179            crate::operation::disassociate_data_protection_settings::DisassociateDataProtectionSettingsError::Unhandled(inner) => {
1180                Error::Unhandled(inner)
1181            }
1182        }
1183    }
1184}
1185impl<R>
1186    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError, R>>
1187    for Error
1188where
1189    R: Send + Sync + std::fmt::Debug + 'static,
1190{
1191    fn from(
1192        err: ::aws_smithy_runtime_api::client::result::SdkError<
1193            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError,
1194            R,
1195        >,
1196    ) -> Self {
1197        match err {
1198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1201                source: err.into(),
1202            }),
1203        }
1204    }
1205}
1206impl From<crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError> for Error {
1207    fn from(err: crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError) -> Self {
1208        match err {
1209            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::AccessDeniedException(inner) => {
1210                Error::AccessDeniedException(inner)
1211            }
1212            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ConflictException(inner) => {
1213                Error::ConflictException(inner)
1214            }
1215            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::InternalServerException(inner) => {
1216                Error::InternalServerException(inner)
1217            }
1218            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ResourceNotFoundException(inner) => {
1219                Error::ResourceNotFoundException(inner)
1220            }
1221            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ThrottlingException(inner) => {
1222                Error::ThrottlingException(inner)
1223            }
1224            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::ValidationException(inner) => {
1225                Error::ValidationException(inner)
1226            }
1227            crate::operation::disassociate_ip_access_settings::DisassociateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1228        }
1229    }
1230}
1231impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError, R>>
1232    for Error
1233where
1234    R: Send + Sync + std::fmt::Debug + 'static,
1235{
1236    fn from(
1237        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError, R>,
1238    ) -> Self {
1239        match err {
1240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1243                source: err.into(),
1244            }),
1245        }
1246    }
1247}
1248impl From<crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError> for Error {
1249    fn from(err: crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError) -> Self {
1250        match err {
1251            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::AccessDeniedException(inner) => {
1252                Error::AccessDeniedException(inner)
1253            }
1254            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ConflictException(inner) => {
1255                Error::ConflictException(inner)
1256            }
1257            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::InternalServerException(inner) => {
1258                Error::InternalServerException(inner)
1259            }
1260            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ResourceNotFoundException(inner) => {
1261                Error::ResourceNotFoundException(inner)
1262            }
1263            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ThrottlingException(inner) => {
1264                Error::ThrottlingException(inner)
1265            }
1266            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::ValidationException(inner) => {
1267                Error::ValidationException(inner)
1268            }
1269            crate::operation::disassociate_network_settings::DisassociateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1270        }
1271    }
1272}
1273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_session_logger::DisassociateSessionLoggerError, R>>
1274    for Error
1275where
1276    R: Send + Sync + std::fmt::Debug + 'static,
1277{
1278    fn from(
1279        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_session_logger::DisassociateSessionLoggerError, R>,
1280    ) -> Self {
1281        match err {
1282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1285                source: err.into(),
1286            }),
1287        }
1288    }
1289}
1290impl From<crate::operation::disassociate_session_logger::DisassociateSessionLoggerError> for Error {
1291    fn from(err: crate::operation::disassociate_session_logger::DisassociateSessionLoggerError) -> Self {
1292        match err {
1293            crate::operation::disassociate_session_logger::DisassociateSessionLoggerError::AccessDeniedException(inner) => {
1294                Error::AccessDeniedException(inner)
1295            }
1296            crate::operation::disassociate_session_logger::DisassociateSessionLoggerError::InternalServerException(inner) => {
1297                Error::InternalServerException(inner)
1298            }
1299            crate::operation::disassociate_session_logger::DisassociateSessionLoggerError::ResourceNotFoundException(inner) => {
1300                Error::ResourceNotFoundException(inner)
1301            }
1302            crate::operation::disassociate_session_logger::DisassociateSessionLoggerError::ThrottlingException(inner) => {
1303                Error::ThrottlingException(inner)
1304            }
1305            crate::operation::disassociate_session_logger::DisassociateSessionLoggerError::ValidationException(inner) => {
1306                Error::ValidationException(inner)
1307            }
1308            crate::operation::disassociate_session_logger::DisassociateSessionLoggerError::Unhandled(inner) => Error::Unhandled(inner),
1309        }
1310    }
1311}
1312impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trust_store::DisassociateTrustStoreError, R>> for Error
1313where
1314    R: Send + Sync + std::fmt::Debug + 'static,
1315{
1316    fn from(
1317        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trust_store::DisassociateTrustStoreError, R>,
1318    ) -> Self {
1319        match err {
1320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1323                source: err.into(),
1324            }),
1325        }
1326    }
1327}
1328impl From<crate::operation::disassociate_trust_store::DisassociateTrustStoreError> for Error {
1329    fn from(err: crate::operation::disassociate_trust_store::DisassociateTrustStoreError) -> Self {
1330        match err {
1331            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::AccessDeniedException(inner) => {
1332                Error::AccessDeniedException(inner)
1333            }
1334            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ConflictException(inner) => Error::ConflictException(inner),
1335            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::InternalServerException(inner) => {
1336                Error::InternalServerException(inner)
1337            }
1338            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ResourceNotFoundException(inner) => {
1339                Error::ResourceNotFoundException(inner)
1340            }
1341            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1342            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
1343            crate::operation::disassociate_trust_store::DisassociateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
1344        }
1345    }
1346}
1347impl<R>
1348    From<
1349        ::aws_smithy_runtime_api::client::result::SdkError<
1350            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError,
1351            R,
1352        >,
1353    > for Error
1354where
1355    R: Send + Sync + std::fmt::Debug + 'static,
1356{
1357    fn from(
1358        err: ::aws_smithy_runtime_api::client::result::SdkError<
1359            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError,
1360            R,
1361        >,
1362    ) -> Self {
1363        match err {
1364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1367                source: err.into(),
1368            }),
1369        }
1370    }
1371}
1372impl From<crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError> for Error {
1373    fn from(err: crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError) -> Self {
1374        match err {
1375            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
1376                Error::AccessDeniedException(inner)
1377            }
1378            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ConflictException(inner) => {
1379                Error::ConflictException(inner)
1380            }
1381            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::InternalServerException(
1382                inner,
1383            ) => Error::InternalServerException(inner),
1384            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ResourceNotFoundException(
1385                inner,
1386            ) => Error::ResourceNotFoundException(inner),
1387            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
1388                Error::ThrottlingException(inner)
1389            }
1390            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::ValidationException(inner) => {
1391                Error::ValidationException(inner)
1392            }
1393            crate::operation::disassociate_user_access_logging_settings::DisassociateUserAccessLoggingSettingsError::Unhandled(inner) => {
1394                Error::Unhandled(inner)
1395            }
1396        }
1397    }
1398}
1399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_user_settings::DisassociateUserSettingsError, R>>
1400    for Error
1401where
1402    R: Send + Sync + std::fmt::Debug + 'static,
1403{
1404    fn from(
1405        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_user_settings::DisassociateUserSettingsError, R>,
1406    ) -> Self {
1407        match err {
1408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1411                source: err.into(),
1412            }),
1413        }
1414    }
1415}
1416impl From<crate::operation::disassociate_user_settings::DisassociateUserSettingsError> for Error {
1417    fn from(err: crate::operation::disassociate_user_settings::DisassociateUserSettingsError) -> Self {
1418        match err {
1419            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::AccessDeniedException(inner) => {
1420                Error::AccessDeniedException(inner)
1421            }
1422            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ConflictException(inner) => Error::ConflictException(inner),
1423            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::InternalServerException(inner) => {
1424                Error::InternalServerException(inner)
1425            }
1426            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ResourceNotFoundException(inner) => {
1427                Error::ResourceNotFoundException(inner)
1428            }
1429            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ThrottlingException(inner) => {
1430                Error::ThrottlingException(inner)
1431            }
1432            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::ValidationException(inner) => {
1433                Error::ValidationException(inner)
1434            }
1435            crate::operation::disassociate_user_settings::DisassociateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1436        }
1437    }
1438}
1439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::expire_session::ExpireSessionError, R>> for Error
1440where
1441    R: Send + Sync + std::fmt::Debug + 'static,
1442{
1443    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::expire_session::ExpireSessionError, R>) -> Self {
1444        match err {
1445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1448                source: err.into(),
1449            }),
1450        }
1451    }
1452}
1453impl From<crate::operation::expire_session::ExpireSessionError> for Error {
1454    fn from(err: crate::operation::expire_session::ExpireSessionError) -> Self {
1455        match err {
1456            crate::operation::expire_session::ExpireSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1457            crate::operation::expire_session::ExpireSessionError::InternalServerException(inner) => Error::InternalServerException(inner),
1458            crate::operation::expire_session::ExpireSessionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1459            crate::operation::expire_session::ExpireSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1460            crate::operation::expire_session::ExpireSessionError::ValidationException(inner) => Error::ValidationException(inner),
1461            crate::operation::expire_session::ExpireSessionError::Unhandled(inner) => Error::Unhandled(inner),
1462        }
1463    }
1464}
1465impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser_settings::GetBrowserSettingsError, R>> for Error
1466where
1467    R: Send + Sync + std::fmt::Debug + 'static,
1468{
1469    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_browser_settings::GetBrowserSettingsError, R>) -> Self {
1470        match err {
1471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1474                source: err.into(),
1475            }),
1476        }
1477    }
1478}
1479impl From<crate::operation::get_browser_settings::GetBrowserSettingsError> for Error {
1480    fn from(err: crate::operation::get_browser_settings::GetBrowserSettingsError) -> Self {
1481        match err {
1482            crate::operation::get_browser_settings::GetBrowserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1483            crate::operation::get_browser_settings::GetBrowserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1484            crate::operation::get_browser_settings::GetBrowserSettingsError::ResourceNotFoundException(inner) => {
1485                Error::ResourceNotFoundException(inner)
1486            }
1487            crate::operation::get_browser_settings::GetBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1488            crate::operation::get_browser_settings::GetBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1489            crate::operation::get_browser_settings::GetBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1490        }
1491    }
1492}
1493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_protection_settings::GetDataProtectionSettingsError, R>>
1494    for Error
1495where
1496    R: Send + Sync + std::fmt::Debug + 'static,
1497{
1498    fn from(
1499        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_protection_settings::GetDataProtectionSettingsError, R>,
1500    ) -> Self {
1501        match err {
1502            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1503            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1504                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1505                source: err.into(),
1506            }),
1507        }
1508    }
1509}
1510impl From<crate::operation::get_data_protection_settings::GetDataProtectionSettingsError> for Error {
1511    fn from(err: crate::operation::get_data_protection_settings::GetDataProtectionSettingsError) -> Self {
1512        match err {
1513            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::AccessDeniedException(inner) => {
1514                Error::AccessDeniedException(inner)
1515            }
1516            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::InternalServerException(inner) => {
1517                Error::InternalServerException(inner)
1518            }
1519            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::ResourceNotFoundException(inner) => {
1520                Error::ResourceNotFoundException(inner)
1521            }
1522            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::ThrottlingException(inner) => {
1523                Error::ThrottlingException(inner)
1524            }
1525            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::ValidationException(inner) => {
1526                Error::ValidationException(inner)
1527            }
1528            crate::operation::get_data_protection_settings::GetDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1529        }
1530    }
1531}
1532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_identity_provider::GetIdentityProviderError, R>> for Error
1533where
1534    R: Send + Sync + std::fmt::Debug + 'static,
1535{
1536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_identity_provider::GetIdentityProviderError, R>) -> Self {
1537        match err {
1538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1541                source: err.into(),
1542            }),
1543        }
1544    }
1545}
1546impl From<crate::operation::get_identity_provider::GetIdentityProviderError> for Error {
1547    fn from(err: crate::operation::get_identity_provider::GetIdentityProviderError) -> Self {
1548        match err {
1549            crate::operation::get_identity_provider::GetIdentityProviderError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1550            crate::operation::get_identity_provider::GetIdentityProviderError::InternalServerException(inner) => {
1551                Error::InternalServerException(inner)
1552            }
1553            crate::operation::get_identity_provider::GetIdentityProviderError::ResourceNotFoundException(inner) => {
1554                Error::ResourceNotFoundException(inner)
1555            }
1556            crate::operation::get_identity_provider::GetIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1557            crate::operation::get_identity_provider::GetIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
1558            crate::operation::get_identity_provider::GetIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
1559        }
1560    }
1561}
1562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ip_access_settings::GetIpAccessSettingsError, R>> for Error
1563where
1564    R: Send + Sync + std::fmt::Debug + 'static,
1565{
1566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ip_access_settings::GetIpAccessSettingsError, R>) -> Self {
1567        match err {
1568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1571                source: err.into(),
1572            }),
1573        }
1574    }
1575}
1576impl From<crate::operation::get_ip_access_settings::GetIpAccessSettingsError> for Error {
1577    fn from(err: crate::operation::get_ip_access_settings::GetIpAccessSettingsError) -> Self {
1578        match err {
1579            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1580            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::InternalServerException(inner) => {
1581                Error::InternalServerException(inner)
1582            }
1583            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::ResourceNotFoundException(inner) => {
1584                Error::ResourceNotFoundException(inner)
1585            }
1586            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1587            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1588            crate::operation::get_ip_access_settings::GetIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1589        }
1590    }
1591}
1592impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_network_settings::GetNetworkSettingsError, R>> for Error
1593where
1594    R: Send + Sync + std::fmt::Debug + 'static,
1595{
1596    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_network_settings::GetNetworkSettingsError, R>) -> Self {
1597        match err {
1598            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1599            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1600                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1601                source: err.into(),
1602            }),
1603        }
1604    }
1605}
1606impl From<crate::operation::get_network_settings::GetNetworkSettingsError> for Error {
1607    fn from(err: crate::operation::get_network_settings::GetNetworkSettingsError) -> Self {
1608        match err {
1609            crate::operation::get_network_settings::GetNetworkSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1610            crate::operation::get_network_settings::GetNetworkSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1611            crate::operation::get_network_settings::GetNetworkSettingsError::ResourceNotFoundException(inner) => {
1612                Error::ResourceNotFoundException(inner)
1613            }
1614            crate::operation::get_network_settings::GetNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1615            crate::operation::get_network_settings::GetNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1616            crate::operation::get_network_settings::GetNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1617        }
1618    }
1619}
1620impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_portal::GetPortalError, R>> for Error
1621where
1622    R: Send + Sync + std::fmt::Debug + 'static,
1623{
1624    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_portal::GetPortalError, R>) -> Self {
1625        match err {
1626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1629                source: err.into(),
1630            }),
1631        }
1632    }
1633}
1634impl From<crate::operation::get_portal::GetPortalError> for Error {
1635    fn from(err: crate::operation::get_portal::GetPortalError) -> Self {
1636        match err {
1637            crate::operation::get_portal::GetPortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1638            crate::operation::get_portal::GetPortalError::InternalServerException(inner) => Error::InternalServerException(inner),
1639            crate::operation::get_portal::GetPortalError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1640            crate::operation::get_portal::GetPortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1641            crate::operation::get_portal::GetPortalError::ValidationException(inner) => Error::ValidationException(inner),
1642            crate::operation::get_portal::GetPortalError::Unhandled(inner) => Error::Unhandled(inner),
1643        }
1644    }
1645}
1646impl<R>
1647    From<
1648        ::aws_smithy_runtime_api::client::result::SdkError<
1649            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError,
1650            R,
1651        >,
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_portal_service_provider_metadata::GetPortalServiceProviderMetadataError,
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_portal_service_provider_metadata::GetPortalServiceProviderMetadataError> for Error {
1672    fn from(err: crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError) -> Self {
1673        match err {
1674            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::AccessDeniedException(inner) => {
1675                Error::AccessDeniedException(inner)
1676            }
1677            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::InternalServerException(inner) => {
1678                Error::InternalServerException(inner)
1679            }
1680            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::ResourceNotFoundException(inner) => {
1681                Error::ResourceNotFoundException(inner)
1682            }
1683            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::ThrottlingException(inner) => {
1684                Error::ThrottlingException(inner)
1685            }
1686            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::ValidationException(inner) => {
1687                Error::ValidationException(inner)
1688            }
1689            crate::operation::get_portal_service_provider_metadata::GetPortalServiceProviderMetadataError::Unhandled(inner) => {
1690                Error::Unhandled(inner)
1691            }
1692        }
1693    }
1694}
1695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
1696where
1697    R: Send + Sync + std::fmt::Debug + 'static,
1698{
1699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
1700        match err {
1701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1704                source: err.into(),
1705            }),
1706        }
1707    }
1708}
1709impl From<crate::operation::get_session::GetSessionError> for Error {
1710    fn from(err: crate::operation::get_session::GetSessionError) -> Self {
1711        match err {
1712            crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1713            crate::operation::get_session::GetSessionError::InternalServerException(inner) => Error::InternalServerException(inner),
1714            crate::operation::get_session::GetSessionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1715            crate::operation::get_session::GetSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1716            crate::operation::get_session::GetSessionError::ValidationException(inner) => Error::ValidationException(inner),
1717            crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
1718        }
1719    }
1720}
1721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session_logger::GetSessionLoggerError, R>> for Error
1722where
1723    R: Send + Sync + std::fmt::Debug + 'static,
1724{
1725    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session_logger::GetSessionLoggerError, R>) -> Self {
1726        match err {
1727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1730                source: err.into(),
1731            }),
1732        }
1733    }
1734}
1735impl From<crate::operation::get_session_logger::GetSessionLoggerError> for Error {
1736    fn from(err: crate::operation::get_session_logger::GetSessionLoggerError) -> Self {
1737        match err {
1738            crate::operation::get_session_logger::GetSessionLoggerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1739            crate::operation::get_session_logger::GetSessionLoggerError::InternalServerException(inner) => Error::InternalServerException(inner),
1740            crate::operation::get_session_logger::GetSessionLoggerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1741            crate::operation::get_session_logger::GetSessionLoggerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1742            crate::operation::get_session_logger::GetSessionLoggerError::ValidationException(inner) => Error::ValidationException(inner),
1743            crate::operation::get_session_logger::GetSessionLoggerError::Unhandled(inner) => Error::Unhandled(inner),
1744        }
1745    }
1746}
1747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store::GetTrustStoreError, R>> for Error
1748where
1749    R: Send + Sync + std::fmt::Debug + 'static,
1750{
1751    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store::GetTrustStoreError, R>) -> Self {
1752        match err {
1753            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1754            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1755                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1756                source: err.into(),
1757            }),
1758        }
1759    }
1760}
1761impl From<crate::operation::get_trust_store::GetTrustStoreError> for Error {
1762    fn from(err: crate::operation::get_trust_store::GetTrustStoreError) -> Self {
1763        match err {
1764            crate::operation::get_trust_store::GetTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1765            crate::operation::get_trust_store::GetTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
1766            crate::operation::get_trust_store::GetTrustStoreError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1767            crate::operation::get_trust_store::GetTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1768            crate::operation::get_trust_store::GetTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
1769            crate::operation::get_trust_store::GetTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
1770        }
1771    }
1772}
1773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError, R>>
1774    for Error
1775where
1776    R: Send + Sync + std::fmt::Debug + 'static,
1777{
1778    fn from(
1779        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError, R>,
1780    ) -> Self {
1781        match err {
1782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1785                source: err.into(),
1786            }),
1787        }
1788    }
1789}
1790impl From<crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError> for Error {
1791    fn from(err: crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError) -> Self {
1792        match err {
1793            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::AccessDeniedException(inner) => {
1794                Error::AccessDeniedException(inner)
1795            }
1796            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::InternalServerException(inner) => {
1797                Error::InternalServerException(inner)
1798            }
1799            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::ResourceNotFoundException(inner) => {
1800                Error::ResourceNotFoundException(inner)
1801            }
1802            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::ThrottlingException(inner) => {
1803                Error::ThrottlingException(inner)
1804            }
1805            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::ValidationException(inner) => {
1806                Error::ValidationException(inner)
1807            }
1808            crate::operation::get_trust_store_certificate::GetTrustStoreCertificateError::Unhandled(inner) => Error::Unhandled(inner),
1809        }
1810    }
1811}
1812impl<R>
1813    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError, R>>
1814    for Error
1815where
1816    R: Send + Sync + std::fmt::Debug + 'static,
1817{
1818    fn from(
1819        err: ::aws_smithy_runtime_api::client::result::SdkError<
1820            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError,
1821            R,
1822        >,
1823    ) -> Self {
1824        match err {
1825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1828                source: err.into(),
1829            }),
1830        }
1831    }
1832}
1833impl From<crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError> for Error {
1834    fn from(err: crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError) -> Self {
1835        match err {
1836            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
1837                Error::AccessDeniedException(inner)
1838            }
1839            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::InternalServerException(inner) => {
1840                Error::InternalServerException(inner)
1841            }
1842            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::ResourceNotFoundException(inner) => {
1843                Error::ResourceNotFoundException(inner)
1844            }
1845            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::ThrottlingException(inner) => {
1846                Error::ThrottlingException(inner)
1847            }
1848            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::ValidationException(inner) => {
1849                Error::ValidationException(inner)
1850            }
1851            crate::operation::get_user_access_logging_settings::GetUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1852        }
1853    }
1854}
1855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_settings::GetUserSettingsError, R>> for Error
1856where
1857    R: Send + Sync + std::fmt::Debug + 'static,
1858{
1859    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_settings::GetUserSettingsError, R>) -> Self {
1860        match err {
1861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1864                source: err.into(),
1865            }),
1866        }
1867    }
1868}
1869impl From<crate::operation::get_user_settings::GetUserSettingsError> for Error {
1870    fn from(err: crate::operation::get_user_settings::GetUserSettingsError) -> Self {
1871        match err {
1872            crate::operation::get_user_settings::GetUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1873            crate::operation::get_user_settings::GetUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
1874            crate::operation::get_user_settings::GetUserSettingsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1875            crate::operation::get_user_settings::GetUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1876            crate::operation::get_user_settings::GetUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1877            crate::operation::get_user_settings::GetUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1878        }
1879    }
1880}
1881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browser_settings::ListBrowserSettingsError, R>> for Error
1882where
1883    R: Send + Sync + std::fmt::Debug + 'static,
1884{
1885    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_browser_settings::ListBrowserSettingsError, R>) -> Self {
1886        match err {
1887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1890                source: err.into(),
1891            }),
1892        }
1893    }
1894}
1895impl From<crate::operation::list_browser_settings::ListBrowserSettingsError> for Error {
1896    fn from(err: crate::operation::list_browser_settings::ListBrowserSettingsError) -> Self {
1897        match err {
1898            crate::operation::list_browser_settings::ListBrowserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1899            crate::operation::list_browser_settings::ListBrowserSettingsError::InternalServerException(inner) => {
1900                Error::InternalServerException(inner)
1901            }
1902            crate::operation::list_browser_settings::ListBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1903            crate::operation::list_browser_settings::ListBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
1904            crate::operation::list_browser_settings::ListBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1905        }
1906    }
1907}
1908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_protection_settings::ListDataProtectionSettingsError, R>>
1909    for Error
1910where
1911    R: Send + Sync + std::fmt::Debug + 'static,
1912{
1913    fn from(
1914        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_protection_settings::ListDataProtectionSettingsError, R>,
1915    ) -> Self {
1916        match err {
1917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1920                source: err.into(),
1921            }),
1922        }
1923    }
1924}
1925impl From<crate::operation::list_data_protection_settings::ListDataProtectionSettingsError> for Error {
1926    fn from(err: crate::operation::list_data_protection_settings::ListDataProtectionSettingsError) -> Self {
1927        match err {
1928            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::AccessDeniedException(inner) => {
1929                Error::AccessDeniedException(inner)
1930            }
1931            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::InternalServerException(inner) => {
1932                Error::InternalServerException(inner)
1933            }
1934            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::ThrottlingException(inner) => {
1935                Error::ThrottlingException(inner)
1936            }
1937            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::ValidationException(inner) => {
1938                Error::ValidationException(inner)
1939            }
1940            crate::operation::list_data_protection_settings::ListDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1941        }
1942    }
1943}
1944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_identity_providers::ListIdentityProvidersError, R>> for Error
1945where
1946    R: Send + Sync + std::fmt::Debug + 'static,
1947{
1948    fn from(
1949        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_identity_providers::ListIdentityProvidersError, R>,
1950    ) -> Self {
1951        match err {
1952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1955                source: err.into(),
1956            }),
1957        }
1958    }
1959}
1960impl From<crate::operation::list_identity_providers::ListIdentityProvidersError> for Error {
1961    fn from(err: crate::operation::list_identity_providers::ListIdentityProvidersError) -> Self {
1962        match err {
1963            crate::operation::list_identity_providers::ListIdentityProvidersError::AccessDeniedException(inner) => {
1964                Error::AccessDeniedException(inner)
1965            }
1966            crate::operation::list_identity_providers::ListIdentityProvidersError::InternalServerException(inner) => {
1967                Error::InternalServerException(inner)
1968            }
1969            crate::operation::list_identity_providers::ListIdentityProvidersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1970            crate::operation::list_identity_providers::ListIdentityProvidersError::ValidationException(inner) => Error::ValidationException(inner),
1971            crate::operation::list_identity_providers::ListIdentityProvidersError::Unhandled(inner) => Error::Unhandled(inner),
1972        }
1973    }
1974}
1975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ip_access_settings::ListIpAccessSettingsError, R>> for Error
1976where
1977    R: Send + Sync + std::fmt::Debug + 'static,
1978{
1979    fn from(
1980        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ip_access_settings::ListIpAccessSettingsError, R>,
1981    ) -> Self {
1982        match err {
1983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1986                source: err.into(),
1987            }),
1988        }
1989    }
1990}
1991impl From<crate::operation::list_ip_access_settings::ListIpAccessSettingsError> for Error {
1992    fn from(err: crate::operation::list_ip_access_settings::ListIpAccessSettingsError) -> Self {
1993        match err {
1994            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1995            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::InternalServerException(inner) => {
1996                Error::InternalServerException(inner)
1997            }
1998            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1999            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2000            crate::operation::list_ip_access_settings::ListIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2001        }
2002    }
2003}
2004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_network_settings::ListNetworkSettingsError, R>> for Error
2005where
2006    R: Send + Sync + std::fmt::Debug + 'static,
2007{
2008    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_network_settings::ListNetworkSettingsError, R>) -> Self {
2009        match err {
2010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2013                source: err.into(),
2014            }),
2015        }
2016    }
2017}
2018impl From<crate::operation::list_network_settings::ListNetworkSettingsError> for Error {
2019    fn from(err: crate::operation::list_network_settings::ListNetworkSettingsError) -> Self {
2020        match err {
2021            crate::operation::list_network_settings::ListNetworkSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2022            crate::operation::list_network_settings::ListNetworkSettingsError::InternalServerException(inner) => {
2023                Error::InternalServerException(inner)
2024            }
2025            crate::operation::list_network_settings::ListNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2026            crate::operation::list_network_settings::ListNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2027            crate::operation::list_network_settings::ListNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2028        }
2029    }
2030}
2031impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_portals::ListPortalsError, R>> for Error
2032where
2033    R: Send + Sync + std::fmt::Debug + 'static,
2034{
2035    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_portals::ListPortalsError, R>) -> Self {
2036        match err {
2037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2040                source: err.into(),
2041            }),
2042        }
2043    }
2044}
2045impl From<crate::operation::list_portals::ListPortalsError> for Error {
2046    fn from(err: crate::operation::list_portals::ListPortalsError) -> Self {
2047        match err {
2048            crate::operation::list_portals::ListPortalsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2049            crate::operation::list_portals::ListPortalsError::InternalServerException(inner) => Error::InternalServerException(inner),
2050            crate::operation::list_portals::ListPortalsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2051            crate::operation::list_portals::ListPortalsError::ValidationException(inner) => Error::ValidationException(inner),
2052            crate::operation::list_portals::ListPortalsError::Unhandled(inner) => Error::Unhandled(inner),
2053        }
2054    }
2055}
2056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_session_loggers::ListSessionLoggersError, R>> for Error
2057where
2058    R: Send + Sync + std::fmt::Debug + 'static,
2059{
2060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_session_loggers::ListSessionLoggersError, R>) -> Self {
2061        match err {
2062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2065                source: err.into(),
2066            }),
2067        }
2068    }
2069}
2070impl From<crate::operation::list_session_loggers::ListSessionLoggersError> for Error {
2071    fn from(err: crate::operation::list_session_loggers::ListSessionLoggersError) -> Self {
2072        match err {
2073            crate::operation::list_session_loggers::ListSessionLoggersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2074            crate::operation::list_session_loggers::ListSessionLoggersError::InternalServerException(inner) => Error::InternalServerException(inner),
2075            crate::operation::list_session_loggers::ListSessionLoggersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2076            crate::operation::list_session_loggers::ListSessionLoggersError::ValidationException(inner) => Error::ValidationException(inner),
2077            crate::operation::list_session_loggers::ListSessionLoggersError::Unhandled(inner) => Error::Unhandled(inner),
2078        }
2079    }
2080}
2081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
2082where
2083    R: Send + Sync + std::fmt::Debug + 'static,
2084{
2085    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
2086        match err {
2087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2090                source: err.into(),
2091            }),
2092        }
2093    }
2094}
2095impl From<crate::operation::list_sessions::ListSessionsError> for Error {
2096    fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
2097        match err {
2098            crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2099            crate::operation::list_sessions::ListSessionsError::InternalServerException(inner) => Error::InternalServerException(inner),
2100            crate::operation::list_sessions::ListSessionsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2101            crate::operation::list_sessions::ListSessionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2102            crate::operation::list_sessions::ListSessionsError::ValidationException(inner) => Error::ValidationException(inner),
2103            crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
2104        }
2105    }
2106}
2107impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
2108where
2109    R: Send + Sync + std::fmt::Debug + 'static,
2110{
2111    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
2112        match err {
2113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2116                source: err.into(),
2117            }),
2118        }
2119    }
2120}
2121impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
2122    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
2123        match err {
2124            crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2125            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
2126                Error::InternalServerException(inner)
2127            }
2128            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
2129                Error::ResourceNotFoundException(inner)
2130            }
2131            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2132            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
2133            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
2134        }
2135    }
2136}
2137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError, R>>
2138    for Error
2139where
2140    R: Send + Sync + std::fmt::Debug + 'static,
2141{
2142    fn from(
2143        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError, R>,
2144    ) -> Self {
2145        match err {
2146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2149                source: err.into(),
2150            }),
2151        }
2152    }
2153}
2154impl From<crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError> for Error {
2155    fn from(err: crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError) -> Self {
2156        match err {
2157            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::AccessDeniedException(inner) => {
2158                Error::AccessDeniedException(inner)
2159            }
2160            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::InternalServerException(inner) => {
2161                Error::InternalServerException(inner)
2162            }
2163            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::ResourceNotFoundException(inner) => {
2164                Error::ResourceNotFoundException(inner)
2165            }
2166            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::ThrottlingException(inner) => {
2167                Error::ThrottlingException(inner)
2168            }
2169            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::ValidationException(inner) => {
2170                Error::ValidationException(inner)
2171            }
2172            crate::operation::list_trust_store_certificates::ListTrustStoreCertificatesError::Unhandled(inner) => Error::Unhandled(inner),
2173        }
2174    }
2175}
2176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_stores::ListTrustStoresError, R>> for Error
2177where
2178    R: Send + Sync + std::fmt::Debug + 'static,
2179{
2180    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_trust_stores::ListTrustStoresError, R>) -> Self {
2181        match err {
2182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2185                source: err.into(),
2186            }),
2187        }
2188    }
2189}
2190impl From<crate::operation::list_trust_stores::ListTrustStoresError> for Error {
2191    fn from(err: crate::operation::list_trust_stores::ListTrustStoresError) -> Self {
2192        match err {
2193            crate::operation::list_trust_stores::ListTrustStoresError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2194            crate::operation::list_trust_stores::ListTrustStoresError::InternalServerException(inner) => Error::InternalServerException(inner),
2195            crate::operation::list_trust_stores::ListTrustStoresError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2196            crate::operation::list_trust_stores::ListTrustStoresError::ValidationException(inner) => Error::ValidationException(inner),
2197            crate::operation::list_trust_stores::ListTrustStoresError::Unhandled(inner) => Error::Unhandled(inner),
2198        }
2199    }
2200}
2201impl<R>
2202    From<
2203        ::aws_smithy_runtime_api::client::result::SdkError<
2204            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError,
2205            R,
2206        >,
2207    > for Error
2208where
2209    R: Send + Sync + std::fmt::Debug + 'static,
2210{
2211    fn from(
2212        err: ::aws_smithy_runtime_api::client::result::SdkError<
2213            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError,
2214            R,
2215        >,
2216    ) -> Self {
2217        match err {
2218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2221                source: err.into(),
2222            }),
2223        }
2224    }
2225}
2226impl From<crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError> for Error {
2227    fn from(err: crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError) -> Self {
2228        match err {
2229            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
2230                Error::AccessDeniedException(inner)
2231            }
2232            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::InternalServerException(inner) => {
2233                Error::InternalServerException(inner)
2234            }
2235            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::ThrottlingException(inner) => {
2236                Error::ThrottlingException(inner)
2237            }
2238            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::ValidationException(inner) => {
2239                Error::ValidationException(inner)
2240            }
2241            crate::operation::list_user_access_logging_settings::ListUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2242        }
2243    }
2244}
2245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_settings::ListUserSettingsError, R>> for Error
2246where
2247    R: Send + Sync + std::fmt::Debug + 'static,
2248{
2249    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_user_settings::ListUserSettingsError, R>) -> Self {
2250        match err {
2251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2254                source: err.into(),
2255            }),
2256        }
2257    }
2258}
2259impl From<crate::operation::list_user_settings::ListUserSettingsError> for Error {
2260    fn from(err: crate::operation::list_user_settings::ListUserSettingsError) -> Self {
2261        match err {
2262            crate::operation::list_user_settings::ListUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2263            crate::operation::list_user_settings::ListUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
2264            crate::operation::list_user_settings::ListUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2265            crate::operation::list_user_settings::ListUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2266            crate::operation::list_user_settings::ListUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2267        }
2268    }
2269}
2270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
2271where
2272    R: Send + Sync + std::fmt::Debug + 'static,
2273{
2274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
2275        match err {
2276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2279                source: err.into(),
2280            }),
2281        }
2282    }
2283}
2284impl From<crate::operation::tag_resource::TagResourceError> for Error {
2285    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
2286        match err {
2287            crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2288            crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
2289            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2290            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2291            crate::operation::tag_resource::TagResourceError::TooManyTagsException(inner) => Error::TooManyTagsException(inner),
2292            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
2293            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2294        }
2295    }
2296}
2297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
2298where
2299    R: Send + Sync + std::fmt::Debug + 'static,
2300{
2301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
2302        match err {
2303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2306                source: err.into(),
2307            }),
2308        }
2309    }
2310}
2311impl From<crate::operation::untag_resource::UntagResourceError> for Error {
2312    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
2313        match err {
2314            crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2315            crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
2316            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2317            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2318            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
2319            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
2320        }
2321    }
2322}
2323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_browser_settings::UpdateBrowserSettingsError, R>> for Error
2324where
2325    R: Send + Sync + std::fmt::Debug + 'static,
2326{
2327    fn from(
2328        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_browser_settings::UpdateBrowserSettingsError, R>,
2329    ) -> Self {
2330        match err {
2331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2334                source: err.into(),
2335            }),
2336        }
2337    }
2338}
2339impl From<crate::operation::update_browser_settings::UpdateBrowserSettingsError> for Error {
2340    fn from(err: crate::operation::update_browser_settings::UpdateBrowserSettingsError) -> Self {
2341        match err {
2342            crate::operation::update_browser_settings::UpdateBrowserSettingsError::AccessDeniedException(inner) => {
2343                Error::AccessDeniedException(inner)
2344            }
2345            crate::operation::update_browser_settings::UpdateBrowserSettingsError::InternalServerException(inner) => {
2346                Error::InternalServerException(inner)
2347            }
2348            crate::operation::update_browser_settings::UpdateBrowserSettingsError::ResourceNotFoundException(inner) => {
2349                Error::ResourceNotFoundException(inner)
2350            }
2351            crate::operation::update_browser_settings::UpdateBrowserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2352            crate::operation::update_browser_settings::UpdateBrowserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2353            crate::operation::update_browser_settings::UpdateBrowserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2354        }
2355    }
2356}
2357impl<R>
2358    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError, R>>
2359    for Error
2360where
2361    R: Send + Sync + std::fmt::Debug + 'static,
2362{
2363    fn from(
2364        err: ::aws_smithy_runtime_api::client::result::SdkError<
2365            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError,
2366            R,
2367        >,
2368    ) -> Self {
2369        match err {
2370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2373                source: err.into(),
2374            }),
2375        }
2376    }
2377}
2378impl From<crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError> for Error {
2379    fn from(err: crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError) -> Self {
2380        match err {
2381            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::AccessDeniedException(inner) => {
2382                Error::AccessDeniedException(inner)
2383            }
2384            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::InternalServerException(inner) => {
2385                Error::InternalServerException(inner)
2386            }
2387            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::ResourceNotFoundException(inner) => {
2388                Error::ResourceNotFoundException(inner)
2389            }
2390            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::ThrottlingException(inner) => {
2391                Error::ThrottlingException(inner)
2392            }
2393            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::ValidationException(inner) => {
2394                Error::ValidationException(inner)
2395            }
2396            crate::operation::update_data_protection_settings::UpdateDataProtectionSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2397        }
2398    }
2399}
2400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_identity_provider::UpdateIdentityProviderError, R>> for Error
2401where
2402    R: Send + Sync + std::fmt::Debug + 'static,
2403{
2404    fn from(
2405        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_identity_provider::UpdateIdentityProviderError, R>,
2406    ) -> Self {
2407        match err {
2408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2411                source: err.into(),
2412            }),
2413        }
2414    }
2415}
2416impl From<crate::operation::update_identity_provider::UpdateIdentityProviderError> for Error {
2417    fn from(err: crate::operation::update_identity_provider::UpdateIdentityProviderError) -> Self {
2418        match err {
2419            crate::operation::update_identity_provider::UpdateIdentityProviderError::AccessDeniedException(inner) => {
2420                Error::AccessDeniedException(inner)
2421            }
2422            crate::operation::update_identity_provider::UpdateIdentityProviderError::InternalServerException(inner) => {
2423                Error::InternalServerException(inner)
2424            }
2425            crate::operation::update_identity_provider::UpdateIdentityProviderError::ResourceNotFoundException(inner) => {
2426                Error::ResourceNotFoundException(inner)
2427            }
2428            crate::operation::update_identity_provider::UpdateIdentityProviderError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2429            crate::operation::update_identity_provider::UpdateIdentityProviderError::ValidationException(inner) => Error::ValidationException(inner),
2430            crate::operation::update_identity_provider::UpdateIdentityProviderError::Unhandled(inner) => Error::Unhandled(inner),
2431        }
2432    }
2433}
2434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError, R>>
2435    for Error
2436where
2437    R: Send + Sync + std::fmt::Debug + 'static,
2438{
2439    fn from(
2440        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError, R>,
2441    ) -> Self {
2442        match err {
2443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2446                source: err.into(),
2447            }),
2448        }
2449    }
2450}
2451impl From<crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError> for Error {
2452    fn from(err: crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError) -> Self {
2453        match err {
2454            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::AccessDeniedException(inner) => {
2455                Error::AccessDeniedException(inner)
2456            }
2457            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::InternalServerException(inner) => {
2458                Error::InternalServerException(inner)
2459            }
2460            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::ResourceNotFoundException(inner) => {
2461                Error::ResourceNotFoundException(inner)
2462            }
2463            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2464            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2465            crate::operation::update_ip_access_settings::UpdateIpAccessSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2466        }
2467    }
2468}
2469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_network_settings::UpdateNetworkSettingsError, R>> for Error
2470where
2471    R: Send + Sync + std::fmt::Debug + 'static,
2472{
2473    fn from(
2474        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_network_settings::UpdateNetworkSettingsError, R>,
2475    ) -> Self {
2476        match err {
2477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2480                source: err.into(),
2481            }),
2482        }
2483    }
2484}
2485impl From<crate::operation::update_network_settings::UpdateNetworkSettingsError> for Error {
2486    fn from(err: crate::operation::update_network_settings::UpdateNetworkSettingsError) -> Self {
2487        match err {
2488            crate::operation::update_network_settings::UpdateNetworkSettingsError::AccessDeniedException(inner) => {
2489                Error::AccessDeniedException(inner)
2490            }
2491            crate::operation::update_network_settings::UpdateNetworkSettingsError::InternalServerException(inner) => {
2492                Error::InternalServerException(inner)
2493            }
2494            crate::operation::update_network_settings::UpdateNetworkSettingsError::ResourceNotFoundException(inner) => {
2495                Error::ResourceNotFoundException(inner)
2496            }
2497            crate::operation::update_network_settings::UpdateNetworkSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2498            crate::operation::update_network_settings::UpdateNetworkSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2499            crate::operation::update_network_settings::UpdateNetworkSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2500        }
2501    }
2502}
2503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_portal::UpdatePortalError, R>> for Error
2504where
2505    R: Send + Sync + std::fmt::Debug + 'static,
2506{
2507    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_portal::UpdatePortalError, R>) -> Self {
2508        match err {
2509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2512                source: err.into(),
2513            }),
2514        }
2515    }
2516}
2517impl From<crate::operation::update_portal::UpdatePortalError> for Error {
2518    fn from(err: crate::operation::update_portal::UpdatePortalError) -> Self {
2519        match err {
2520            crate::operation::update_portal::UpdatePortalError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2521            crate::operation::update_portal::UpdatePortalError::ConflictException(inner) => Error::ConflictException(inner),
2522            crate::operation::update_portal::UpdatePortalError::InternalServerException(inner) => Error::InternalServerException(inner),
2523            crate::operation::update_portal::UpdatePortalError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2524            crate::operation::update_portal::UpdatePortalError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2525            crate::operation::update_portal::UpdatePortalError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2526            crate::operation::update_portal::UpdatePortalError::ValidationException(inner) => Error::ValidationException(inner),
2527            crate::operation::update_portal::UpdatePortalError::Unhandled(inner) => Error::Unhandled(inner),
2528        }
2529    }
2530}
2531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_session_logger::UpdateSessionLoggerError, R>> for Error
2532where
2533    R: Send + Sync + std::fmt::Debug + 'static,
2534{
2535    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_session_logger::UpdateSessionLoggerError, R>) -> Self {
2536        match err {
2537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2540                source: err.into(),
2541            }),
2542        }
2543    }
2544}
2545impl From<crate::operation::update_session_logger::UpdateSessionLoggerError> for Error {
2546    fn from(err: crate::operation::update_session_logger::UpdateSessionLoggerError) -> Self {
2547        match err {
2548            crate::operation::update_session_logger::UpdateSessionLoggerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2549            crate::operation::update_session_logger::UpdateSessionLoggerError::InternalServerException(inner) => {
2550                Error::InternalServerException(inner)
2551            }
2552            crate::operation::update_session_logger::UpdateSessionLoggerError::ResourceNotFoundException(inner) => {
2553                Error::ResourceNotFoundException(inner)
2554            }
2555            crate::operation::update_session_logger::UpdateSessionLoggerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2556            crate::operation::update_session_logger::UpdateSessionLoggerError::ValidationException(inner) => Error::ValidationException(inner),
2557            crate::operation::update_session_logger::UpdateSessionLoggerError::Unhandled(inner) => Error::Unhandled(inner),
2558        }
2559    }
2560}
2561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trust_store::UpdateTrustStoreError, R>> for Error
2562where
2563    R: Send + Sync + std::fmt::Debug + 'static,
2564{
2565    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trust_store::UpdateTrustStoreError, R>) -> Self {
2566        match err {
2567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2570                source: err.into(),
2571            }),
2572        }
2573    }
2574}
2575impl From<crate::operation::update_trust_store::UpdateTrustStoreError> for Error {
2576    fn from(err: crate::operation::update_trust_store::UpdateTrustStoreError) -> Self {
2577        match err {
2578            crate::operation::update_trust_store::UpdateTrustStoreError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2579            crate::operation::update_trust_store::UpdateTrustStoreError::InternalServerException(inner) => Error::InternalServerException(inner),
2580            crate::operation::update_trust_store::UpdateTrustStoreError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2581            crate::operation::update_trust_store::UpdateTrustStoreError::ServiceQuotaExceededException(inner) => {
2582                Error::ServiceQuotaExceededException(inner)
2583            }
2584            crate::operation::update_trust_store::UpdateTrustStoreError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2585            crate::operation::update_trust_store::UpdateTrustStoreError::ValidationException(inner) => Error::ValidationException(inner),
2586            crate::operation::update_trust_store::UpdateTrustStoreError::Unhandled(inner) => Error::Unhandled(inner),
2587        }
2588    }
2589}
2590impl<R>
2591    From<
2592        ::aws_smithy_runtime_api::client::result::SdkError<
2593            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError,
2594            R,
2595        >,
2596    > for Error
2597where
2598    R: Send + Sync + std::fmt::Debug + 'static,
2599{
2600    fn from(
2601        err: ::aws_smithy_runtime_api::client::result::SdkError<
2602            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError,
2603            R,
2604        >,
2605    ) -> Self {
2606        match err {
2607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2610                source: err.into(),
2611            }),
2612        }
2613    }
2614}
2615impl From<crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError> for Error {
2616    fn from(err: crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError) -> Self {
2617        match err {
2618            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::AccessDeniedException(inner) => {
2619                Error::AccessDeniedException(inner)
2620            }
2621            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::InternalServerException(inner) => {
2622                Error::InternalServerException(inner)
2623            }
2624            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::ResourceNotFoundException(inner) => {
2625                Error::ResourceNotFoundException(inner)
2626            }
2627            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::ThrottlingException(inner) => {
2628                Error::ThrottlingException(inner)
2629            }
2630            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::ValidationException(inner) => {
2631                Error::ValidationException(inner)
2632            }
2633            crate::operation::update_user_access_logging_settings::UpdateUserAccessLoggingSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2634        }
2635    }
2636}
2637impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_settings::UpdateUserSettingsError, R>> for Error
2638where
2639    R: Send + Sync + std::fmt::Debug + 'static,
2640{
2641    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_settings::UpdateUserSettingsError, R>) -> Self {
2642        match err {
2643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2646                source: err.into(),
2647            }),
2648        }
2649    }
2650}
2651impl From<crate::operation::update_user_settings::UpdateUserSettingsError> for Error {
2652    fn from(err: crate::operation::update_user_settings::UpdateUserSettingsError) -> Self {
2653        match err {
2654            crate::operation::update_user_settings::UpdateUserSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2655            crate::operation::update_user_settings::UpdateUserSettingsError::InternalServerException(inner) => Error::InternalServerException(inner),
2656            crate::operation::update_user_settings::UpdateUserSettingsError::ResourceNotFoundException(inner) => {
2657                Error::ResourceNotFoundException(inner)
2658            }
2659            crate::operation::update_user_settings::UpdateUserSettingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2660            crate::operation::update_user_settings::UpdateUserSettingsError::ValidationException(inner) => Error::ValidationException(inner),
2661            crate::operation::update_user_settings::UpdateUserSettingsError::Unhandled(inner) => Error::Unhandled(inner),
2662        }
2663    }
2664}
2665impl ::std::error::Error for Error {
2666    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2667        match self {
2668            Error::AccessDeniedException(inner) => inner.source(),
2669            Error::ConflictException(inner) => inner.source(),
2670            Error::InternalServerException(inner) => inner.source(),
2671            Error::ResourceNotFoundException(inner) => inner.source(),
2672            Error::ServiceQuotaExceededException(inner) => inner.source(),
2673            Error::ThrottlingException(inner) => inner.source(),
2674            Error::TooManyTagsException(inner) => inner.source(),
2675            Error::ValidationException(inner) => inner.source(),
2676            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2677        }
2678    }
2679}
2680impl ::aws_types::request_id::RequestId for Error {
2681    fn request_id(&self) -> Option<&str> {
2682        match self {
2683            Self::AccessDeniedException(e) => e.request_id(),
2684            Self::ConflictException(e) => e.request_id(),
2685            Self::InternalServerException(e) => e.request_id(),
2686            Self::ResourceNotFoundException(e) => e.request_id(),
2687            Self::ServiceQuotaExceededException(e) => e.request_id(),
2688            Self::ThrottlingException(e) => e.request_id(),
2689            Self::TooManyTagsException(e) => e.request_id(),
2690            Self::ValidationException(e) => e.request_id(),
2691            Self::Unhandled(e) => e.meta.request_id(),
2692        }
2693    }
2694}