aws_sdk_nimble/
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>You are not authorized to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>Another operation is in progress.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>An internal error has occurred. Please retry your request.</p>
11    InternalServerErrorException(crate::types::error::InternalServerErrorException),
12    /// <p>The specified resource could not be found.</p>
13    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
14    /// <p>Your current quota does not allow you to perform the request action. You can request increases for some quotas, and other quotas cannot be increased.</p>
15    /// <p>Please use Amazon Web Services Service Quotas to request an increase.</p>
16    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
17    /// <p>The request throughput limit was exceeded.</p>
18    ThrottlingException(crate::types::error::ThrottlingException),
19    /// <p>One of the parameters in the request is invalid.</p>
20    ValidationException(crate::types::error::ValidationException),
21    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
22    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
23    variable wildcard pattern and check `.code()`:
24     \
25    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
26     \
27    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
28    Unhandled(crate::error::sealed_unhandled::Unhandled),
29}
30impl ::std::fmt::Display for Error {
31    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
32        match self {
33            Error::AccessDeniedException(inner) => inner.fmt(f),
34            Error::ConflictException(inner) => inner.fmt(f),
35            Error::InternalServerErrorException(inner) => inner.fmt(f),
36            Error::ResourceNotFoundException(inner) => inner.fmt(f),
37            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
38            Error::ThrottlingException(inner) => inner.fmt(f),
39            Error::ValidationException(inner) => inner.fmt(f),
40            Error::Unhandled(_) => {
41                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
42                    write!(f, "unhandled error ({code})")
43                } else {
44                    f.write_str("unhandled error")
45                }
46            }
47        }
48    }
49}
50impl From<::aws_smithy_types::error::operation::BuildError> for Error {
51    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
52        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53            source: value.into(),
54            meta: ::std::default::Default::default(),
55        })
56    }
57}
58impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
59    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
60        match self {
61            Self::AccessDeniedException(inner) => inner.meta(),
62            Self::ConflictException(inner) => inner.meta(),
63            Self::InternalServerErrorException(inner) => inner.meta(),
64            Self::ResourceNotFoundException(inner) => inner.meta(),
65            Self::ServiceQuotaExceededException(inner) => inner.meta(),
66            Self::ThrottlingException(inner) => inner.meta(),
67            Self::ValidationException(inner) => inner.meta(),
68            Self::Unhandled(inner) => &inner.meta,
69        }
70    }
71}
72impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_eulas::AcceptEulasError, R>> for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_eulas::AcceptEulasError, R>) -> Self {
77        match err {
78            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
79            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
80                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
81                source: err.into(),
82            }),
83        }
84    }
85}
86impl From<crate::operation::accept_eulas::AcceptEulasError> for Error {
87    fn from(err: crate::operation::accept_eulas::AcceptEulasError) -> Self {
88        match err {
89            crate::operation::accept_eulas::AcceptEulasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
90            crate::operation::accept_eulas::AcceptEulasError::ConflictException(inner) => Error::ConflictException(inner),
91            crate::operation::accept_eulas::AcceptEulasError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
92            crate::operation::accept_eulas::AcceptEulasError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
93            crate::operation::accept_eulas::AcceptEulasError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
94            crate::operation::accept_eulas::AcceptEulasError::ThrottlingException(inner) => Error::ThrottlingException(inner),
95            crate::operation::accept_eulas::AcceptEulasError::ValidationException(inner) => Error::ValidationException(inner),
96            crate::operation::accept_eulas::AcceptEulasError::Unhandled(inner) => Error::Unhandled(inner),
97        }
98    }
99}
100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_profile::CreateLaunchProfileError, R>> for Error
101where
102    R: Send + Sync + std::fmt::Debug + 'static,
103{
104    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_profile::CreateLaunchProfileError, R>) -> Self {
105        match err {
106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
109                source: err.into(),
110            }),
111        }
112    }
113}
114impl From<crate::operation::create_launch_profile::CreateLaunchProfileError> for Error {
115    fn from(err: crate::operation::create_launch_profile::CreateLaunchProfileError) -> Self {
116        match err {
117            crate::operation::create_launch_profile::CreateLaunchProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
118            crate::operation::create_launch_profile::CreateLaunchProfileError::ConflictException(inner) => Error::ConflictException(inner),
119            crate::operation::create_launch_profile::CreateLaunchProfileError::InternalServerErrorException(inner) => {
120                Error::InternalServerErrorException(inner)
121            }
122            crate::operation::create_launch_profile::CreateLaunchProfileError::ResourceNotFoundException(inner) => {
123                Error::ResourceNotFoundException(inner)
124            }
125            crate::operation::create_launch_profile::CreateLaunchProfileError::ServiceQuotaExceededException(inner) => {
126                Error::ServiceQuotaExceededException(inner)
127            }
128            crate::operation::create_launch_profile::CreateLaunchProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
129            crate::operation::create_launch_profile::CreateLaunchProfileError::ValidationException(inner) => Error::ValidationException(inner),
130            crate::operation::create_launch_profile::CreateLaunchProfileError::Unhandled(inner) => Error::Unhandled(inner),
131        }
132    }
133}
134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_streaming_image::CreateStreamingImageError, R>> for Error
135where
136    R: Send + Sync + std::fmt::Debug + 'static,
137{
138    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_streaming_image::CreateStreamingImageError, R>) -> Self {
139        match err {
140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
143                source: err.into(),
144            }),
145        }
146    }
147}
148impl From<crate::operation::create_streaming_image::CreateStreamingImageError> for Error {
149    fn from(err: crate::operation::create_streaming_image::CreateStreamingImageError) -> Self {
150        match err {
151            crate::operation::create_streaming_image::CreateStreamingImageError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
152            crate::operation::create_streaming_image::CreateStreamingImageError::ConflictException(inner) => Error::ConflictException(inner),
153            crate::operation::create_streaming_image::CreateStreamingImageError::InternalServerErrorException(inner) => {
154                Error::InternalServerErrorException(inner)
155            }
156            crate::operation::create_streaming_image::CreateStreamingImageError::ResourceNotFoundException(inner) => {
157                Error::ResourceNotFoundException(inner)
158            }
159            crate::operation::create_streaming_image::CreateStreamingImageError::ServiceQuotaExceededException(inner) => {
160                Error::ServiceQuotaExceededException(inner)
161            }
162            crate::operation::create_streaming_image::CreateStreamingImageError::ThrottlingException(inner) => Error::ThrottlingException(inner),
163            crate::operation::create_streaming_image::CreateStreamingImageError::ValidationException(inner) => Error::ValidationException(inner),
164            crate::operation::create_streaming_image::CreateStreamingImageError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_streaming_session::CreateStreamingSessionError, R>> for Error
169where
170    R: Send + Sync + std::fmt::Debug + 'static,
171{
172    fn from(
173        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_streaming_session::CreateStreamingSessionError, R>,
174    ) -> Self {
175        match err {
176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
179                source: err.into(),
180            }),
181        }
182    }
183}
184impl From<crate::operation::create_streaming_session::CreateStreamingSessionError> for Error {
185    fn from(err: crate::operation::create_streaming_session::CreateStreamingSessionError) -> Self {
186        match err {
187            crate::operation::create_streaming_session::CreateStreamingSessionError::AccessDeniedException(inner) => {
188                Error::AccessDeniedException(inner)
189            }
190            crate::operation::create_streaming_session::CreateStreamingSessionError::ConflictException(inner) => Error::ConflictException(inner),
191            crate::operation::create_streaming_session::CreateStreamingSessionError::InternalServerErrorException(inner) => {
192                Error::InternalServerErrorException(inner)
193            }
194            crate::operation::create_streaming_session::CreateStreamingSessionError::ResourceNotFoundException(inner) => {
195                Error::ResourceNotFoundException(inner)
196            }
197            crate::operation::create_streaming_session::CreateStreamingSessionError::ServiceQuotaExceededException(inner) => {
198                Error::ServiceQuotaExceededException(inner)
199            }
200            crate::operation::create_streaming_session::CreateStreamingSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
201            crate::operation::create_streaming_session::CreateStreamingSessionError::ValidationException(inner) => Error::ValidationException(inner),
202            crate::operation::create_streaming_session::CreateStreamingSessionError::Unhandled(inner) => Error::Unhandled(inner),
203        }
204    }
205}
206impl<R>
207    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError, 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<
214            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError> for Error {
228    fn from(err: crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError) -> Self {
229        match err {
230            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::AccessDeniedException(inner) => {
231                Error::AccessDeniedException(inner)
232            }
233            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::ConflictException(inner) => {
234                Error::ConflictException(inner)
235            }
236            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::InternalServerErrorException(inner) => {
237                Error::InternalServerErrorException(inner)
238            }
239            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::ResourceNotFoundException(inner) => {
240                Error::ResourceNotFoundException(inner)
241            }
242            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::ServiceQuotaExceededException(inner) => {
243                Error::ServiceQuotaExceededException(inner)
244            }
245            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::ThrottlingException(inner) => {
246                Error::ThrottlingException(inner)
247            }
248            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::ValidationException(inner) => {
249                Error::ValidationException(inner)
250            }
251            crate::operation::create_streaming_session_stream::CreateStreamingSessionStreamError::Unhandled(inner) => Error::Unhandled(inner),
252        }
253    }
254}
255impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio::CreateStudioError, R>> for Error
256where
257    R: Send + Sync + std::fmt::Debug + 'static,
258{
259    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio::CreateStudioError, R>) -> Self {
260        match err {
261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
264                source: err.into(),
265            }),
266        }
267    }
268}
269impl From<crate::operation::create_studio::CreateStudioError> for Error {
270    fn from(err: crate::operation::create_studio::CreateStudioError) -> Self {
271        match err {
272            crate::operation::create_studio::CreateStudioError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
273            crate::operation::create_studio::CreateStudioError::ConflictException(inner) => Error::ConflictException(inner),
274            crate::operation::create_studio::CreateStudioError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
275            crate::operation::create_studio::CreateStudioError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
276            crate::operation::create_studio::CreateStudioError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
277            crate::operation::create_studio::CreateStudioError::ThrottlingException(inner) => Error::ThrottlingException(inner),
278            crate::operation::create_studio::CreateStudioError::ValidationException(inner) => Error::ValidationException(inner),
279            crate::operation::create_studio::CreateStudioError::Unhandled(inner) => Error::Unhandled(inner),
280        }
281    }
282}
283impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio_component::CreateStudioComponentError, R>> for Error
284where
285    R: Send + Sync + std::fmt::Debug + 'static,
286{
287    fn from(
288        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_studio_component::CreateStudioComponentError, R>,
289    ) -> Self {
290        match err {
291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
294                source: err.into(),
295            }),
296        }
297    }
298}
299impl From<crate::operation::create_studio_component::CreateStudioComponentError> for Error {
300    fn from(err: crate::operation::create_studio_component::CreateStudioComponentError) -> Self {
301        match err {
302            crate::operation::create_studio_component::CreateStudioComponentError::AccessDeniedException(inner) => {
303                Error::AccessDeniedException(inner)
304            }
305            crate::operation::create_studio_component::CreateStudioComponentError::ConflictException(inner) => Error::ConflictException(inner),
306            crate::operation::create_studio_component::CreateStudioComponentError::InternalServerErrorException(inner) => {
307                Error::InternalServerErrorException(inner)
308            }
309            crate::operation::create_studio_component::CreateStudioComponentError::ResourceNotFoundException(inner) => {
310                Error::ResourceNotFoundException(inner)
311            }
312            crate::operation::create_studio_component::CreateStudioComponentError::ServiceQuotaExceededException(inner) => {
313                Error::ServiceQuotaExceededException(inner)
314            }
315            crate::operation::create_studio_component::CreateStudioComponentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
316            crate::operation::create_studio_component::CreateStudioComponentError::ValidationException(inner) => Error::ValidationException(inner),
317            crate::operation::create_studio_component::CreateStudioComponentError::Unhandled(inner) => Error::Unhandled(inner),
318        }
319    }
320}
321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_profile::DeleteLaunchProfileError, R>> for Error
322where
323    R: Send + Sync + std::fmt::Debug + 'static,
324{
325    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_profile::DeleteLaunchProfileError, R>) -> Self {
326        match err {
327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
330                source: err.into(),
331            }),
332        }
333    }
334}
335impl From<crate::operation::delete_launch_profile::DeleteLaunchProfileError> for Error {
336    fn from(err: crate::operation::delete_launch_profile::DeleteLaunchProfileError) -> Self {
337        match err {
338            crate::operation::delete_launch_profile::DeleteLaunchProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
339            crate::operation::delete_launch_profile::DeleteLaunchProfileError::ConflictException(inner) => Error::ConflictException(inner),
340            crate::operation::delete_launch_profile::DeleteLaunchProfileError::InternalServerErrorException(inner) => {
341                Error::InternalServerErrorException(inner)
342            }
343            crate::operation::delete_launch_profile::DeleteLaunchProfileError::ResourceNotFoundException(inner) => {
344                Error::ResourceNotFoundException(inner)
345            }
346            crate::operation::delete_launch_profile::DeleteLaunchProfileError::ServiceQuotaExceededException(inner) => {
347                Error::ServiceQuotaExceededException(inner)
348            }
349            crate::operation::delete_launch_profile::DeleteLaunchProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
350            crate::operation::delete_launch_profile::DeleteLaunchProfileError::ValidationException(inner) => Error::ValidationException(inner),
351            crate::operation::delete_launch_profile::DeleteLaunchProfileError::Unhandled(inner) => Error::Unhandled(inner),
352        }
353    }
354}
355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError, R>>
356    for Error
357where
358    R: Send + Sync + std::fmt::Debug + 'static,
359{
360    fn from(
361        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError, R>,
362    ) -> Self {
363        match err {
364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
367                source: err.into(),
368            }),
369        }
370    }
371}
372impl From<crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError> for Error {
373    fn from(err: crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError) -> Self {
374        match err {
375            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::AccessDeniedException(inner) => {
376                Error::AccessDeniedException(inner)
377            }
378            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::ConflictException(inner) => {
379                Error::ConflictException(inner)
380            }
381            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::InternalServerErrorException(inner) => {
382                Error::InternalServerErrorException(inner)
383            }
384            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::ResourceNotFoundException(inner) => {
385                Error::ResourceNotFoundException(inner)
386            }
387            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::ServiceQuotaExceededException(inner) => {
388                Error::ServiceQuotaExceededException(inner)
389            }
390            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::ThrottlingException(inner) => {
391                Error::ThrottlingException(inner)
392            }
393            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::ValidationException(inner) => {
394                Error::ValidationException(inner)
395            }
396            crate::operation::delete_launch_profile_member::DeleteLaunchProfileMemberError::Unhandled(inner) => Error::Unhandled(inner),
397        }
398    }
399}
400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_streaming_image::DeleteStreamingImageError, R>> for Error
401where
402    R: Send + Sync + std::fmt::Debug + 'static,
403{
404    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_streaming_image::DeleteStreamingImageError, R>) -> Self {
405        match err {
406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
409                source: err.into(),
410            }),
411        }
412    }
413}
414impl From<crate::operation::delete_streaming_image::DeleteStreamingImageError> for Error {
415    fn from(err: crate::operation::delete_streaming_image::DeleteStreamingImageError) -> Self {
416        match err {
417            crate::operation::delete_streaming_image::DeleteStreamingImageError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
418            crate::operation::delete_streaming_image::DeleteStreamingImageError::ConflictException(inner) => Error::ConflictException(inner),
419            crate::operation::delete_streaming_image::DeleteStreamingImageError::InternalServerErrorException(inner) => {
420                Error::InternalServerErrorException(inner)
421            }
422            crate::operation::delete_streaming_image::DeleteStreamingImageError::ResourceNotFoundException(inner) => {
423                Error::ResourceNotFoundException(inner)
424            }
425            crate::operation::delete_streaming_image::DeleteStreamingImageError::ServiceQuotaExceededException(inner) => {
426                Error::ServiceQuotaExceededException(inner)
427            }
428            crate::operation::delete_streaming_image::DeleteStreamingImageError::ThrottlingException(inner) => Error::ThrottlingException(inner),
429            crate::operation::delete_streaming_image::DeleteStreamingImageError::ValidationException(inner) => Error::ValidationException(inner),
430            crate::operation::delete_streaming_image::DeleteStreamingImageError::Unhandled(inner) => Error::Unhandled(inner),
431        }
432    }
433}
434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_streaming_session::DeleteStreamingSessionError, R>> for Error
435where
436    R: Send + Sync + std::fmt::Debug + 'static,
437{
438    fn from(
439        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_streaming_session::DeleteStreamingSessionError, R>,
440    ) -> Self {
441        match err {
442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
445                source: err.into(),
446            }),
447        }
448    }
449}
450impl From<crate::operation::delete_streaming_session::DeleteStreamingSessionError> for Error {
451    fn from(err: crate::operation::delete_streaming_session::DeleteStreamingSessionError) -> Self {
452        match err {
453            crate::operation::delete_streaming_session::DeleteStreamingSessionError::AccessDeniedException(inner) => {
454                Error::AccessDeniedException(inner)
455            }
456            crate::operation::delete_streaming_session::DeleteStreamingSessionError::ConflictException(inner) => Error::ConflictException(inner),
457            crate::operation::delete_streaming_session::DeleteStreamingSessionError::InternalServerErrorException(inner) => {
458                Error::InternalServerErrorException(inner)
459            }
460            crate::operation::delete_streaming_session::DeleteStreamingSessionError::ResourceNotFoundException(inner) => {
461                Error::ResourceNotFoundException(inner)
462            }
463            crate::operation::delete_streaming_session::DeleteStreamingSessionError::ServiceQuotaExceededException(inner) => {
464                Error::ServiceQuotaExceededException(inner)
465            }
466            crate::operation::delete_streaming_session::DeleteStreamingSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
467            crate::operation::delete_streaming_session::DeleteStreamingSessionError::ValidationException(inner) => Error::ValidationException(inner),
468            crate::operation::delete_streaming_session::DeleteStreamingSessionError::Unhandled(inner) => Error::Unhandled(inner),
469        }
470    }
471}
472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio::DeleteStudioError, R>> for Error
473where
474    R: Send + Sync + std::fmt::Debug + 'static,
475{
476    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio::DeleteStudioError, R>) -> Self {
477        match err {
478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
481                source: err.into(),
482            }),
483        }
484    }
485}
486impl From<crate::operation::delete_studio::DeleteStudioError> for Error {
487    fn from(err: crate::operation::delete_studio::DeleteStudioError) -> Self {
488        match err {
489            crate::operation::delete_studio::DeleteStudioError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
490            crate::operation::delete_studio::DeleteStudioError::ConflictException(inner) => Error::ConflictException(inner),
491            crate::operation::delete_studio::DeleteStudioError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
492            crate::operation::delete_studio::DeleteStudioError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
493            crate::operation::delete_studio::DeleteStudioError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
494            crate::operation::delete_studio::DeleteStudioError::ThrottlingException(inner) => Error::ThrottlingException(inner),
495            crate::operation::delete_studio::DeleteStudioError::ValidationException(inner) => Error::ValidationException(inner),
496            crate::operation::delete_studio::DeleteStudioError::Unhandled(inner) => Error::Unhandled(inner),
497        }
498    }
499}
500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_component::DeleteStudioComponentError, R>> for Error
501where
502    R: Send + Sync + std::fmt::Debug + 'static,
503{
504    fn from(
505        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_component::DeleteStudioComponentError, R>,
506    ) -> Self {
507        match err {
508            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
509            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
510                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
511                source: err.into(),
512            }),
513        }
514    }
515}
516impl From<crate::operation::delete_studio_component::DeleteStudioComponentError> for Error {
517    fn from(err: crate::operation::delete_studio_component::DeleteStudioComponentError) -> Self {
518        match err {
519            crate::operation::delete_studio_component::DeleteStudioComponentError::AccessDeniedException(inner) => {
520                Error::AccessDeniedException(inner)
521            }
522            crate::operation::delete_studio_component::DeleteStudioComponentError::ConflictException(inner) => Error::ConflictException(inner),
523            crate::operation::delete_studio_component::DeleteStudioComponentError::InternalServerErrorException(inner) => {
524                Error::InternalServerErrorException(inner)
525            }
526            crate::operation::delete_studio_component::DeleteStudioComponentError::ResourceNotFoundException(inner) => {
527                Error::ResourceNotFoundException(inner)
528            }
529            crate::operation::delete_studio_component::DeleteStudioComponentError::ServiceQuotaExceededException(inner) => {
530                Error::ServiceQuotaExceededException(inner)
531            }
532            crate::operation::delete_studio_component::DeleteStudioComponentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
533            crate::operation::delete_studio_component::DeleteStudioComponentError::ValidationException(inner) => Error::ValidationException(inner),
534            crate::operation::delete_studio_component::DeleteStudioComponentError::Unhandled(inner) => Error::Unhandled(inner),
535        }
536    }
537}
538impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_member::DeleteStudioMemberError, R>> for Error
539where
540    R: Send + Sync + std::fmt::Debug + 'static,
541{
542    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_studio_member::DeleteStudioMemberError, R>) -> Self {
543        match err {
544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
547                source: err.into(),
548            }),
549        }
550    }
551}
552impl From<crate::operation::delete_studio_member::DeleteStudioMemberError> for Error {
553    fn from(err: crate::operation::delete_studio_member::DeleteStudioMemberError) -> Self {
554        match err {
555            crate::operation::delete_studio_member::DeleteStudioMemberError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
556            crate::operation::delete_studio_member::DeleteStudioMemberError::ConflictException(inner) => Error::ConflictException(inner),
557            crate::operation::delete_studio_member::DeleteStudioMemberError::InternalServerErrorException(inner) => {
558                Error::InternalServerErrorException(inner)
559            }
560            crate::operation::delete_studio_member::DeleteStudioMemberError::ResourceNotFoundException(inner) => {
561                Error::ResourceNotFoundException(inner)
562            }
563            crate::operation::delete_studio_member::DeleteStudioMemberError::ServiceQuotaExceededException(inner) => {
564                Error::ServiceQuotaExceededException(inner)
565            }
566            crate::operation::delete_studio_member::DeleteStudioMemberError::ThrottlingException(inner) => Error::ThrottlingException(inner),
567            crate::operation::delete_studio_member::DeleteStudioMemberError::ValidationException(inner) => Error::ValidationException(inner),
568            crate::operation::delete_studio_member::DeleteStudioMemberError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_eula::GetEulaError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_eula::GetEulaError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::get_eula::GetEulaError> for Error {
587    fn from(err: crate::operation::get_eula::GetEulaError) -> Self {
588        match err {
589            crate::operation::get_eula::GetEulaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
590            crate::operation::get_eula::GetEulaError::ConflictException(inner) => Error::ConflictException(inner),
591            crate::operation::get_eula::GetEulaError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
592            crate::operation::get_eula::GetEulaError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
593            crate::operation::get_eula::GetEulaError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
594            crate::operation::get_eula::GetEulaError::ThrottlingException(inner) => Error::ThrottlingException(inner),
595            crate::operation::get_eula::GetEulaError::ValidationException(inner) => Error::ValidationException(inner),
596            crate::operation::get_eula::GetEulaError::Unhandled(inner) => Error::Unhandled(inner),
597        }
598    }
599}
600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_profile::GetLaunchProfileError, R>> for Error
601where
602    R: Send + Sync + std::fmt::Debug + 'static,
603{
604    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_profile::GetLaunchProfileError, R>) -> Self {
605        match err {
606            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
607            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
608                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
609                source: err.into(),
610            }),
611        }
612    }
613}
614impl From<crate::operation::get_launch_profile::GetLaunchProfileError> for Error {
615    fn from(err: crate::operation::get_launch_profile::GetLaunchProfileError) -> Self {
616        match err {
617            crate::operation::get_launch_profile::GetLaunchProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
618            crate::operation::get_launch_profile::GetLaunchProfileError::ConflictException(inner) => Error::ConflictException(inner),
619            crate::operation::get_launch_profile::GetLaunchProfileError::InternalServerErrorException(inner) => {
620                Error::InternalServerErrorException(inner)
621            }
622            crate::operation::get_launch_profile::GetLaunchProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
623            crate::operation::get_launch_profile::GetLaunchProfileError::ServiceQuotaExceededException(inner) => {
624                Error::ServiceQuotaExceededException(inner)
625            }
626            crate::operation::get_launch_profile::GetLaunchProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
627            crate::operation::get_launch_profile::GetLaunchProfileError::ValidationException(inner) => Error::ValidationException(inner),
628            crate::operation::get_launch_profile::GetLaunchProfileError::Unhandled(inner) => Error::Unhandled(inner),
629        }
630    }
631}
632impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError, R>>
633    for Error
634where
635    R: Send + Sync + std::fmt::Debug + 'static,
636{
637    fn from(
638        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError, R>,
639    ) -> Self {
640        match err {
641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
644                source: err.into(),
645            }),
646        }
647    }
648}
649impl From<crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError> for Error {
650    fn from(err: crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError) -> Self {
651        match err {
652            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::AccessDeniedException(inner) => {
653                Error::AccessDeniedException(inner)
654            }
655            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::ConflictException(inner) => Error::ConflictException(inner),
656            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::InternalServerErrorException(inner) => {
657                Error::InternalServerErrorException(inner)
658            }
659            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::ResourceNotFoundException(inner) => {
660                Error::ResourceNotFoundException(inner)
661            }
662            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::ServiceQuotaExceededException(inner) => {
663                Error::ServiceQuotaExceededException(inner)
664            }
665            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::ThrottlingException(inner) => {
666                Error::ThrottlingException(inner)
667            }
668            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::ValidationException(inner) => {
669                Error::ValidationException(inner)
670            }
671            crate::operation::get_launch_profile_details::GetLaunchProfileDetailsError::Unhandled(inner) => Error::Unhandled(inner),
672        }
673    }
674}
675impl<R>
676    From<
677        ::aws_smithy_runtime_api::client::result::SdkError<
678            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError,
679            R,
680        >,
681    > for Error
682where
683    R: Send + Sync + std::fmt::Debug + 'static,
684{
685    fn from(
686        err: ::aws_smithy_runtime_api::client::result::SdkError<
687            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError,
688            R,
689        >,
690    ) -> Self {
691        match err {
692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
695                source: err.into(),
696            }),
697        }
698    }
699}
700impl From<crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError> for Error {
701    fn from(err: crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError) -> Self {
702        match err {
703            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::AccessDeniedException(inner) => {
704                Error::AccessDeniedException(inner)
705            }
706            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::ConflictException(inner) => {
707                Error::ConflictException(inner)
708            }
709            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::InternalServerErrorException(inner) => {
710                Error::InternalServerErrorException(inner)
711            }
712            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::ResourceNotFoundException(inner) => {
713                Error::ResourceNotFoundException(inner)
714            }
715            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::ServiceQuotaExceededException(inner) => {
716                Error::ServiceQuotaExceededException(inner)
717            }
718            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::ThrottlingException(inner) => {
719                Error::ThrottlingException(inner)
720            }
721            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::ValidationException(inner) => {
722                Error::ValidationException(inner)
723            }
724            crate::operation::get_launch_profile_initialization::GetLaunchProfileInitializationError::Unhandled(inner) => Error::Unhandled(inner),
725        }
726    }
727}
728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_profile_member::GetLaunchProfileMemberError, R>>
729    for Error
730where
731    R: Send + Sync + std::fmt::Debug + 'static,
732{
733    fn from(
734        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_profile_member::GetLaunchProfileMemberError, R>,
735    ) -> Self {
736        match err {
737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
740                source: err.into(),
741            }),
742        }
743    }
744}
745impl From<crate::operation::get_launch_profile_member::GetLaunchProfileMemberError> for Error {
746    fn from(err: crate::operation::get_launch_profile_member::GetLaunchProfileMemberError) -> Self {
747        match err {
748            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::AccessDeniedException(inner) => {
749                Error::AccessDeniedException(inner)
750            }
751            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::ConflictException(inner) => Error::ConflictException(inner),
752            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::InternalServerErrorException(inner) => {
753                Error::InternalServerErrorException(inner)
754            }
755            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::ResourceNotFoundException(inner) => {
756                Error::ResourceNotFoundException(inner)
757            }
758            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::ServiceQuotaExceededException(inner) => {
759                Error::ServiceQuotaExceededException(inner)
760            }
761            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::ThrottlingException(inner) => Error::ThrottlingException(inner),
762            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::ValidationException(inner) => Error::ValidationException(inner),
763            crate::operation::get_launch_profile_member::GetLaunchProfileMemberError::Unhandled(inner) => Error::Unhandled(inner),
764        }
765    }
766}
767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_image::GetStreamingImageError, R>> for Error
768where
769    R: Send + Sync + std::fmt::Debug + 'static,
770{
771    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_image::GetStreamingImageError, R>) -> Self {
772        match err {
773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
776                source: err.into(),
777            }),
778        }
779    }
780}
781impl From<crate::operation::get_streaming_image::GetStreamingImageError> for Error {
782    fn from(err: crate::operation::get_streaming_image::GetStreamingImageError) -> Self {
783        match err {
784            crate::operation::get_streaming_image::GetStreamingImageError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
785            crate::operation::get_streaming_image::GetStreamingImageError::ConflictException(inner) => Error::ConflictException(inner),
786            crate::operation::get_streaming_image::GetStreamingImageError::InternalServerErrorException(inner) => {
787                Error::InternalServerErrorException(inner)
788            }
789            crate::operation::get_streaming_image::GetStreamingImageError::ResourceNotFoundException(inner) => {
790                Error::ResourceNotFoundException(inner)
791            }
792            crate::operation::get_streaming_image::GetStreamingImageError::ServiceQuotaExceededException(inner) => {
793                Error::ServiceQuotaExceededException(inner)
794            }
795            crate::operation::get_streaming_image::GetStreamingImageError::ThrottlingException(inner) => Error::ThrottlingException(inner),
796            crate::operation::get_streaming_image::GetStreamingImageError::ValidationException(inner) => Error::ValidationException(inner),
797            crate::operation::get_streaming_image::GetStreamingImageError::Unhandled(inner) => Error::Unhandled(inner),
798        }
799    }
800}
801impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_session::GetStreamingSessionError, R>> for Error
802where
803    R: Send + Sync + std::fmt::Debug + 'static,
804{
805    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_session::GetStreamingSessionError, R>) -> Self {
806        match err {
807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
810                source: err.into(),
811            }),
812        }
813    }
814}
815impl From<crate::operation::get_streaming_session::GetStreamingSessionError> for Error {
816    fn from(err: crate::operation::get_streaming_session::GetStreamingSessionError) -> Self {
817        match err {
818            crate::operation::get_streaming_session::GetStreamingSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
819            crate::operation::get_streaming_session::GetStreamingSessionError::ConflictException(inner) => Error::ConflictException(inner),
820            crate::operation::get_streaming_session::GetStreamingSessionError::InternalServerErrorException(inner) => {
821                Error::InternalServerErrorException(inner)
822            }
823            crate::operation::get_streaming_session::GetStreamingSessionError::ResourceNotFoundException(inner) => {
824                Error::ResourceNotFoundException(inner)
825            }
826            crate::operation::get_streaming_session::GetStreamingSessionError::ServiceQuotaExceededException(inner) => {
827                Error::ServiceQuotaExceededException(inner)
828            }
829            crate::operation::get_streaming_session::GetStreamingSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
830            crate::operation::get_streaming_session::GetStreamingSessionError::ValidationException(inner) => Error::ValidationException(inner),
831            crate::operation::get_streaming_session::GetStreamingSessionError::Unhandled(inner) => Error::Unhandled(inner),
832        }
833    }
834}
835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError, R>>
836    for Error
837where
838    R: Send + Sync + std::fmt::Debug + 'static,
839{
840    fn from(
841        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError, R>,
842    ) -> Self {
843        match err {
844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
847                source: err.into(),
848            }),
849        }
850    }
851}
852impl From<crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError> for Error {
853    fn from(err: crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError) -> Self {
854        match err {
855            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::AccessDeniedException(inner) => {
856                Error::AccessDeniedException(inner)
857            }
858            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::ConflictException(inner) => {
859                Error::ConflictException(inner)
860            }
861            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::InternalServerErrorException(inner) => {
862                Error::InternalServerErrorException(inner)
863            }
864            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::ResourceNotFoundException(inner) => {
865                Error::ResourceNotFoundException(inner)
866            }
867            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::ThrottlingException(inner) => {
868                Error::ThrottlingException(inner)
869            }
870            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::ValidationException(inner) => {
871                Error::ValidationException(inner)
872            }
873            crate::operation::get_streaming_session_backup::GetStreamingSessionBackupError::Unhandled(inner) => Error::Unhandled(inner),
874        }
875    }
876}
877impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError, R>>
878    for Error
879where
880    R: Send + Sync + std::fmt::Debug + 'static,
881{
882    fn from(
883        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError, R>,
884    ) -> Self {
885        match err {
886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
889                source: err.into(),
890            }),
891        }
892    }
893}
894impl From<crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError> for Error {
895    fn from(err: crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError) -> Self {
896        match err {
897            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::AccessDeniedException(inner) => {
898                Error::AccessDeniedException(inner)
899            }
900            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::ConflictException(inner) => {
901                Error::ConflictException(inner)
902            }
903            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::InternalServerErrorException(inner) => {
904                Error::InternalServerErrorException(inner)
905            }
906            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::ResourceNotFoundException(inner) => {
907                Error::ResourceNotFoundException(inner)
908            }
909            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::ServiceQuotaExceededException(inner) => {
910                Error::ServiceQuotaExceededException(inner)
911            }
912            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::ThrottlingException(inner) => {
913                Error::ThrottlingException(inner)
914            }
915            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::ValidationException(inner) => {
916                Error::ValidationException(inner)
917            }
918            crate::operation::get_streaming_session_stream::GetStreamingSessionStreamError::Unhandled(inner) => Error::Unhandled(inner),
919        }
920    }
921}
922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_studio::GetStudioError, R>> for Error
923where
924    R: Send + Sync + std::fmt::Debug + 'static,
925{
926    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_studio::GetStudioError, R>) -> Self {
927        match err {
928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
931                source: err.into(),
932            }),
933        }
934    }
935}
936impl From<crate::operation::get_studio::GetStudioError> for Error {
937    fn from(err: crate::operation::get_studio::GetStudioError) -> Self {
938        match err {
939            crate::operation::get_studio::GetStudioError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
940            crate::operation::get_studio::GetStudioError::ConflictException(inner) => Error::ConflictException(inner),
941            crate::operation::get_studio::GetStudioError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
942            crate::operation::get_studio::GetStudioError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
943            crate::operation::get_studio::GetStudioError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
944            crate::operation::get_studio::GetStudioError::ThrottlingException(inner) => Error::ThrottlingException(inner),
945            crate::operation::get_studio::GetStudioError::ValidationException(inner) => Error::ValidationException(inner),
946            crate::operation::get_studio::GetStudioError::Unhandled(inner) => Error::Unhandled(inner),
947        }
948    }
949}
950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_studio_component::GetStudioComponentError, R>> for Error
951where
952    R: Send + Sync + std::fmt::Debug + 'static,
953{
954    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_studio_component::GetStudioComponentError, R>) -> Self {
955        match err {
956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
959                source: err.into(),
960            }),
961        }
962    }
963}
964impl From<crate::operation::get_studio_component::GetStudioComponentError> for Error {
965    fn from(err: crate::operation::get_studio_component::GetStudioComponentError) -> Self {
966        match err {
967            crate::operation::get_studio_component::GetStudioComponentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
968            crate::operation::get_studio_component::GetStudioComponentError::ConflictException(inner) => Error::ConflictException(inner),
969            crate::operation::get_studio_component::GetStudioComponentError::InternalServerErrorException(inner) => {
970                Error::InternalServerErrorException(inner)
971            }
972            crate::operation::get_studio_component::GetStudioComponentError::ResourceNotFoundException(inner) => {
973                Error::ResourceNotFoundException(inner)
974            }
975            crate::operation::get_studio_component::GetStudioComponentError::ServiceQuotaExceededException(inner) => {
976                Error::ServiceQuotaExceededException(inner)
977            }
978            crate::operation::get_studio_component::GetStudioComponentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
979            crate::operation::get_studio_component::GetStudioComponentError::ValidationException(inner) => Error::ValidationException(inner),
980            crate::operation::get_studio_component::GetStudioComponentError::Unhandled(inner) => Error::Unhandled(inner),
981        }
982    }
983}
984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_studio_member::GetStudioMemberError, R>> for Error
985where
986    R: Send + Sync + std::fmt::Debug + 'static,
987{
988    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_studio_member::GetStudioMemberError, R>) -> Self {
989        match err {
990            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
991            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
992                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
993                source: err.into(),
994            }),
995        }
996    }
997}
998impl From<crate::operation::get_studio_member::GetStudioMemberError> for Error {
999    fn from(err: crate::operation::get_studio_member::GetStudioMemberError) -> Self {
1000        match err {
1001            crate::operation::get_studio_member::GetStudioMemberError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1002            crate::operation::get_studio_member::GetStudioMemberError::ConflictException(inner) => Error::ConflictException(inner),
1003            crate::operation::get_studio_member::GetStudioMemberError::InternalServerErrorException(inner) => {
1004                Error::InternalServerErrorException(inner)
1005            }
1006            crate::operation::get_studio_member::GetStudioMemberError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1007            crate::operation::get_studio_member::GetStudioMemberError::ServiceQuotaExceededException(inner) => {
1008                Error::ServiceQuotaExceededException(inner)
1009            }
1010            crate::operation::get_studio_member::GetStudioMemberError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1011            crate::operation::get_studio_member::GetStudioMemberError::ValidationException(inner) => Error::ValidationException(inner),
1012            crate::operation::get_studio_member::GetStudioMemberError::Unhandled(inner) => Error::Unhandled(inner),
1013        }
1014    }
1015}
1016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_eula_acceptances::ListEulaAcceptancesError, R>> for Error
1017where
1018    R: Send + Sync + std::fmt::Debug + 'static,
1019{
1020    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_eula_acceptances::ListEulaAcceptancesError, R>) -> Self {
1021        match err {
1022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1025                source: err.into(),
1026            }),
1027        }
1028    }
1029}
1030impl From<crate::operation::list_eula_acceptances::ListEulaAcceptancesError> for Error {
1031    fn from(err: crate::operation::list_eula_acceptances::ListEulaAcceptancesError) -> Self {
1032        match err {
1033            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1034            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::ConflictException(inner) => Error::ConflictException(inner),
1035            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::InternalServerErrorException(inner) => {
1036                Error::InternalServerErrorException(inner)
1037            }
1038            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::ResourceNotFoundException(inner) => {
1039                Error::ResourceNotFoundException(inner)
1040            }
1041            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::ServiceQuotaExceededException(inner) => {
1042                Error::ServiceQuotaExceededException(inner)
1043            }
1044            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1045            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::ValidationException(inner) => Error::ValidationException(inner),
1046            crate::operation::list_eula_acceptances::ListEulaAcceptancesError::Unhandled(inner) => Error::Unhandled(inner),
1047        }
1048    }
1049}
1050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_eulas::ListEulasError, R>> for Error
1051where
1052    R: Send + Sync + std::fmt::Debug + 'static,
1053{
1054    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_eulas::ListEulasError, R>) -> Self {
1055        match err {
1056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1059                source: err.into(),
1060            }),
1061        }
1062    }
1063}
1064impl From<crate::operation::list_eulas::ListEulasError> for Error {
1065    fn from(err: crate::operation::list_eulas::ListEulasError) -> Self {
1066        match err {
1067            crate::operation::list_eulas::ListEulasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1068            crate::operation::list_eulas::ListEulasError::ConflictException(inner) => Error::ConflictException(inner),
1069            crate::operation::list_eulas::ListEulasError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1070            crate::operation::list_eulas::ListEulasError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1071            crate::operation::list_eulas::ListEulasError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1072            crate::operation::list_eulas::ListEulasError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1073            crate::operation::list_eulas::ListEulasError::ValidationException(inner) => Error::ValidationException(inner),
1074            crate::operation::list_eulas::ListEulasError::Unhandled(inner) => Error::Unhandled(inner),
1075        }
1076    }
1077}
1078impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_launch_profile_members::ListLaunchProfileMembersError, R>>
1079    for Error
1080where
1081    R: Send + Sync + std::fmt::Debug + 'static,
1082{
1083    fn from(
1084        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_launch_profile_members::ListLaunchProfileMembersError, R>,
1085    ) -> Self {
1086        match err {
1087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1090                source: err.into(),
1091            }),
1092        }
1093    }
1094}
1095impl From<crate::operation::list_launch_profile_members::ListLaunchProfileMembersError> for Error {
1096    fn from(err: crate::operation::list_launch_profile_members::ListLaunchProfileMembersError) -> Self {
1097        match err {
1098            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::AccessDeniedException(inner) => {
1099                Error::AccessDeniedException(inner)
1100            }
1101            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::ConflictException(inner) => Error::ConflictException(inner),
1102            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::InternalServerErrorException(inner) => {
1103                Error::InternalServerErrorException(inner)
1104            }
1105            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::ResourceNotFoundException(inner) => {
1106                Error::ResourceNotFoundException(inner)
1107            }
1108            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::ServiceQuotaExceededException(inner) => {
1109                Error::ServiceQuotaExceededException(inner)
1110            }
1111            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::ThrottlingException(inner) => {
1112                Error::ThrottlingException(inner)
1113            }
1114            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::ValidationException(inner) => {
1115                Error::ValidationException(inner)
1116            }
1117            crate::operation::list_launch_profile_members::ListLaunchProfileMembersError::Unhandled(inner) => Error::Unhandled(inner),
1118        }
1119    }
1120}
1121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_launch_profiles::ListLaunchProfilesError, R>> for Error
1122where
1123    R: Send + Sync + std::fmt::Debug + 'static,
1124{
1125    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_launch_profiles::ListLaunchProfilesError, R>) -> Self {
1126        match err {
1127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1130                source: err.into(),
1131            }),
1132        }
1133    }
1134}
1135impl From<crate::operation::list_launch_profiles::ListLaunchProfilesError> for Error {
1136    fn from(err: crate::operation::list_launch_profiles::ListLaunchProfilesError) -> Self {
1137        match err {
1138            crate::operation::list_launch_profiles::ListLaunchProfilesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1139            crate::operation::list_launch_profiles::ListLaunchProfilesError::ConflictException(inner) => Error::ConflictException(inner),
1140            crate::operation::list_launch_profiles::ListLaunchProfilesError::InternalServerErrorException(inner) => {
1141                Error::InternalServerErrorException(inner)
1142            }
1143            crate::operation::list_launch_profiles::ListLaunchProfilesError::ResourceNotFoundException(inner) => {
1144                Error::ResourceNotFoundException(inner)
1145            }
1146            crate::operation::list_launch_profiles::ListLaunchProfilesError::ServiceQuotaExceededException(inner) => {
1147                Error::ServiceQuotaExceededException(inner)
1148            }
1149            crate::operation::list_launch_profiles::ListLaunchProfilesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1150            crate::operation::list_launch_profiles::ListLaunchProfilesError::ValidationException(inner) => Error::ValidationException(inner),
1151            crate::operation::list_launch_profiles::ListLaunchProfilesError::Unhandled(inner) => Error::Unhandled(inner),
1152        }
1153    }
1154}
1155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_streaming_images::ListStreamingImagesError, R>> for Error
1156where
1157    R: Send + Sync + std::fmt::Debug + 'static,
1158{
1159    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_streaming_images::ListStreamingImagesError, R>) -> Self {
1160        match err {
1161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1164                source: err.into(),
1165            }),
1166        }
1167    }
1168}
1169impl From<crate::operation::list_streaming_images::ListStreamingImagesError> for Error {
1170    fn from(err: crate::operation::list_streaming_images::ListStreamingImagesError) -> Self {
1171        match err {
1172            crate::operation::list_streaming_images::ListStreamingImagesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1173            crate::operation::list_streaming_images::ListStreamingImagesError::ConflictException(inner) => Error::ConflictException(inner),
1174            crate::operation::list_streaming_images::ListStreamingImagesError::InternalServerErrorException(inner) => {
1175                Error::InternalServerErrorException(inner)
1176            }
1177            crate::operation::list_streaming_images::ListStreamingImagesError::ResourceNotFoundException(inner) => {
1178                Error::ResourceNotFoundException(inner)
1179            }
1180            crate::operation::list_streaming_images::ListStreamingImagesError::ServiceQuotaExceededException(inner) => {
1181                Error::ServiceQuotaExceededException(inner)
1182            }
1183            crate::operation::list_streaming_images::ListStreamingImagesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1184            crate::operation::list_streaming_images::ListStreamingImagesError::ValidationException(inner) => Error::ValidationException(inner),
1185            crate::operation::list_streaming_images::ListStreamingImagesError::Unhandled(inner) => Error::Unhandled(inner),
1186        }
1187    }
1188}
1189impl<R>
1190    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError, R>>
1191    for Error
1192where
1193    R: Send + Sync + std::fmt::Debug + 'static,
1194{
1195    fn from(
1196        err: ::aws_smithy_runtime_api::client::result::SdkError<
1197            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError,
1198            R,
1199        >,
1200    ) -> Self {
1201        match err {
1202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1205                source: err.into(),
1206            }),
1207        }
1208    }
1209}
1210impl From<crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError> for Error {
1211    fn from(err: crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError) -> Self {
1212        match err {
1213            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::AccessDeniedException(inner) => {
1214                Error::AccessDeniedException(inner)
1215            }
1216            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::ConflictException(inner) => {
1217                Error::ConflictException(inner)
1218            }
1219            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::InternalServerErrorException(inner) => {
1220                Error::InternalServerErrorException(inner)
1221            }
1222            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::ResourceNotFoundException(inner) => {
1223                Error::ResourceNotFoundException(inner)
1224            }
1225            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::ThrottlingException(inner) => {
1226                Error::ThrottlingException(inner)
1227            }
1228            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::ValidationException(inner) => {
1229                Error::ValidationException(inner)
1230            }
1231            crate::operation::list_streaming_session_backups::ListStreamingSessionBackupsError::Unhandled(inner) => Error::Unhandled(inner),
1232        }
1233    }
1234}
1235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_streaming_sessions::ListStreamingSessionsError, R>> for Error
1236where
1237    R: Send + Sync + std::fmt::Debug + 'static,
1238{
1239    fn from(
1240        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_streaming_sessions::ListStreamingSessionsError, R>,
1241    ) -> Self {
1242        match err {
1243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1246                source: err.into(),
1247            }),
1248        }
1249    }
1250}
1251impl From<crate::operation::list_streaming_sessions::ListStreamingSessionsError> for Error {
1252    fn from(err: crate::operation::list_streaming_sessions::ListStreamingSessionsError) -> Self {
1253        match err {
1254            crate::operation::list_streaming_sessions::ListStreamingSessionsError::AccessDeniedException(inner) => {
1255                Error::AccessDeniedException(inner)
1256            }
1257            crate::operation::list_streaming_sessions::ListStreamingSessionsError::ConflictException(inner) => Error::ConflictException(inner),
1258            crate::operation::list_streaming_sessions::ListStreamingSessionsError::InternalServerErrorException(inner) => {
1259                Error::InternalServerErrorException(inner)
1260            }
1261            crate::operation::list_streaming_sessions::ListStreamingSessionsError::ResourceNotFoundException(inner) => {
1262                Error::ResourceNotFoundException(inner)
1263            }
1264            crate::operation::list_streaming_sessions::ListStreamingSessionsError::ServiceQuotaExceededException(inner) => {
1265                Error::ServiceQuotaExceededException(inner)
1266            }
1267            crate::operation::list_streaming_sessions::ListStreamingSessionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1268            crate::operation::list_streaming_sessions::ListStreamingSessionsError::ValidationException(inner) => Error::ValidationException(inner),
1269            crate::operation::list_streaming_sessions::ListStreamingSessionsError::Unhandled(inner) => Error::Unhandled(inner),
1270        }
1271    }
1272}
1273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_components::ListStudioComponentsError, R>> for Error
1274where
1275    R: Send + Sync + std::fmt::Debug + 'static,
1276{
1277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_components::ListStudioComponentsError, R>) -> Self {
1278        match err {
1279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1282                source: err.into(),
1283            }),
1284        }
1285    }
1286}
1287impl From<crate::operation::list_studio_components::ListStudioComponentsError> for Error {
1288    fn from(err: crate::operation::list_studio_components::ListStudioComponentsError) -> Self {
1289        match err {
1290            crate::operation::list_studio_components::ListStudioComponentsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1291            crate::operation::list_studio_components::ListStudioComponentsError::ConflictException(inner) => Error::ConflictException(inner),
1292            crate::operation::list_studio_components::ListStudioComponentsError::InternalServerErrorException(inner) => {
1293                Error::InternalServerErrorException(inner)
1294            }
1295            crate::operation::list_studio_components::ListStudioComponentsError::ResourceNotFoundException(inner) => {
1296                Error::ResourceNotFoundException(inner)
1297            }
1298            crate::operation::list_studio_components::ListStudioComponentsError::ServiceQuotaExceededException(inner) => {
1299                Error::ServiceQuotaExceededException(inner)
1300            }
1301            crate::operation::list_studio_components::ListStudioComponentsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1302            crate::operation::list_studio_components::ListStudioComponentsError::ValidationException(inner) => Error::ValidationException(inner),
1303            crate::operation::list_studio_components::ListStudioComponentsError::Unhandled(inner) => Error::Unhandled(inner),
1304        }
1305    }
1306}
1307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_members::ListStudioMembersError, R>> for Error
1308where
1309    R: Send + Sync + std::fmt::Debug + 'static,
1310{
1311    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studio_members::ListStudioMembersError, R>) -> Self {
1312        match err {
1313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1316                source: err.into(),
1317            }),
1318        }
1319    }
1320}
1321impl From<crate::operation::list_studio_members::ListStudioMembersError> for Error {
1322    fn from(err: crate::operation::list_studio_members::ListStudioMembersError) -> Self {
1323        match err {
1324            crate::operation::list_studio_members::ListStudioMembersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1325            crate::operation::list_studio_members::ListStudioMembersError::ConflictException(inner) => Error::ConflictException(inner),
1326            crate::operation::list_studio_members::ListStudioMembersError::InternalServerErrorException(inner) => {
1327                Error::InternalServerErrorException(inner)
1328            }
1329            crate::operation::list_studio_members::ListStudioMembersError::ResourceNotFoundException(inner) => {
1330                Error::ResourceNotFoundException(inner)
1331            }
1332            crate::operation::list_studio_members::ListStudioMembersError::ServiceQuotaExceededException(inner) => {
1333                Error::ServiceQuotaExceededException(inner)
1334            }
1335            crate::operation::list_studio_members::ListStudioMembersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1336            crate::operation::list_studio_members::ListStudioMembersError::ValidationException(inner) => Error::ValidationException(inner),
1337            crate::operation::list_studio_members::ListStudioMembersError::Unhandled(inner) => Error::Unhandled(inner),
1338        }
1339    }
1340}
1341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studios::ListStudiosError, R>> for Error
1342where
1343    R: Send + Sync + std::fmt::Debug + 'static,
1344{
1345    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_studios::ListStudiosError, R>) -> Self {
1346        match err {
1347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1350                source: err.into(),
1351            }),
1352        }
1353    }
1354}
1355impl From<crate::operation::list_studios::ListStudiosError> for Error {
1356    fn from(err: crate::operation::list_studios::ListStudiosError) -> Self {
1357        match err {
1358            crate::operation::list_studios::ListStudiosError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1359            crate::operation::list_studios::ListStudiosError::ConflictException(inner) => Error::ConflictException(inner),
1360            crate::operation::list_studios::ListStudiosError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1361            crate::operation::list_studios::ListStudiosError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1362            crate::operation::list_studios::ListStudiosError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1363            crate::operation::list_studios::ListStudiosError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1364            crate::operation::list_studios::ListStudiosError::ValidationException(inner) => Error::ValidationException(inner),
1365            crate::operation::list_studios::ListStudiosError::Unhandled(inner) => Error::Unhandled(inner),
1366        }
1367    }
1368}
1369impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1370where
1371    R: Send + Sync + std::fmt::Debug + 'static,
1372{
1373    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1374        match err {
1375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1378                source: err.into(),
1379            }),
1380        }
1381    }
1382}
1383impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1384    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1385        match err {
1386            crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1387            crate::operation::list_tags_for_resource::ListTagsForResourceError::ConflictException(inner) => Error::ConflictException(inner),
1388            crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerErrorException(inner) => {
1389                Error::InternalServerErrorException(inner)
1390            }
1391            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
1392                Error::ResourceNotFoundException(inner)
1393            }
1394            crate::operation::list_tags_for_resource::ListTagsForResourceError::ServiceQuotaExceededException(inner) => {
1395                Error::ServiceQuotaExceededException(inner)
1396            }
1397            crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1398            crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
1399            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1400        }
1401    }
1402}
1403impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_launch_profile_members::PutLaunchProfileMembersError, R>>
1404    for Error
1405where
1406    R: Send + Sync + std::fmt::Debug + 'static,
1407{
1408    fn from(
1409        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_launch_profile_members::PutLaunchProfileMembersError, R>,
1410    ) -> Self {
1411        match err {
1412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1415                source: err.into(),
1416            }),
1417        }
1418    }
1419}
1420impl From<crate::operation::put_launch_profile_members::PutLaunchProfileMembersError> for Error {
1421    fn from(err: crate::operation::put_launch_profile_members::PutLaunchProfileMembersError) -> Self {
1422        match err {
1423            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::AccessDeniedException(inner) => {
1424                Error::AccessDeniedException(inner)
1425            }
1426            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::ConflictException(inner) => Error::ConflictException(inner),
1427            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::InternalServerErrorException(inner) => {
1428                Error::InternalServerErrorException(inner)
1429            }
1430            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::ResourceNotFoundException(inner) => {
1431                Error::ResourceNotFoundException(inner)
1432            }
1433            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::ServiceQuotaExceededException(inner) => {
1434                Error::ServiceQuotaExceededException(inner)
1435            }
1436            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::ThrottlingException(inner) => {
1437                Error::ThrottlingException(inner)
1438            }
1439            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::ValidationException(inner) => {
1440                Error::ValidationException(inner)
1441            }
1442            crate::operation::put_launch_profile_members::PutLaunchProfileMembersError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_studio_members::PutStudioMembersError, R>> for Error
1447where
1448    R: Send + Sync + std::fmt::Debug + 'static,
1449{
1450    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_studio_members::PutStudioMembersError, R>) -> Self {
1451        match err {
1452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1455                source: err.into(),
1456            }),
1457        }
1458    }
1459}
1460impl From<crate::operation::put_studio_members::PutStudioMembersError> for Error {
1461    fn from(err: crate::operation::put_studio_members::PutStudioMembersError) -> Self {
1462        match err {
1463            crate::operation::put_studio_members::PutStudioMembersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1464            crate::operation::put_studio_members::PutStudioMembersError::ConflictException(inner) => Error::ConflictException(inner),
1465            crate::operation::put_studio_members::PutStudioMembersError::InternalServerErrorException(inner) => {
1466                Error::InternalServerErrorException(inner)
1467            }
1468            crate::operation::put_studio_members::PutStudioMembersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1469            crate::operation::put_studio_members::PutStudioMembersError::ServiceQuotaExceededException(inner) => {
1470                Error::ServiceQuotaExceededException(inner)
1471            }
1472            crate::operation::put_studio_members::PutStudioMembersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1473            crate::operation::put_studio_members::PutStudioMembersError::ValidationException(inner) => Error::ValidationException(inner),
1474            crate::operation::put_studio_members::PutStudioMembersError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_streaming_session::StartStreamingSessionError, R>> for Error
1479where
1480    R: Send + Sync + std::fmt::Debug + 'static,
1481{
1482    fn from(
1483        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_streaming_session::StartStreamingSessionError, R>,
1484    ) -> Self {
1485        match err {
1486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1489                source: err.into(),
1490            }),
1491        }
1492    }
1493}
1494impl From<crate::operation::start_streaming_session::StartStreamingSessionError> for Error {
1495    fn from(err: crate::operation::start_streaming_session::StartStreamingSessionError) -> Self {
1496        match err {
1497            crate::operation::start_streaming_session::StartStreamingSessionError::AccessDeniedException(inner) => {
1498                Error::AccessDeniedException(inner)
1499            }
1500            crate::operation::start_streaming_session::StartStreamingSessionError::ConflictException(inner) => Error::ConflictException(inner),
1501            crate::operation::start_streaming_session::StartStreamingSessionError::InternalServerErrorException(inner) => {
1502                Error::InternalServerErrorException(inner)
1503            }
1504            crate::operation::start_streaming_session::StartStreamingSessionError::ResourceNotFoundException(inner) => {
1505                Error::ResourceNotFoundException(inner)
1506            }
1507            crate::operation::start_streaming_session::StartStreamingSessionError::ServiceQuotaExceededException(inner) => {
1508                Error::ServiceQuotaExceededException(inner)
1509            }
1510            crate::operation::start_streaming_session::StartStreamingSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1511            crate::operation::start_streaming_session::StartStreamingSessionError::ValidationException(inner) => Error::ValidationException(inner),
1512            crate::operation::start_streaming_session::StartStreamingSessionError::Unhandled(inner) => Error::Unhandled(inner),
1513        }
1514    }
1515}
1516impl<R>
1517    From<
1518        ::aws_smithy_runtime_api::client::result::SdkError<
1519            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError,
1520            R,
1521        >,
1522    > for Error
1523where
1524    R: Send + Sync + std::fmt::Debug + 'static,
1525{
1526    fn from(
1527        err: ::aws_smithy_runtime_api::client::result::SdkError<
1528            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError,
1529            R,
1530        >,
1531    ) -> Self {
1532        match err {
1533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1536                source: err.into(),
1537            }),
1538        }
1539    }
1540}
1541impl From<crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError> for Error {
1542    fn from(err: crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError) -> Self {
1543        match err {
1544            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::AccessDeniedException(inner) => {
1545                Error::AccessDeniedException(inner)
1546            }
1547            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::ConflictException(inner) => {
1548                Error::ConflictException(inner)
1549            }
1550            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::InternalServerErrorException(inner) => {
1551                Error::InternalServerErrorException(inner)
1552            }
1553            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::ResourceNotFoundException(inner) => {
1554                Error::ResourceNotFoundException(inner)
1555            }
1556            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::ServiceQuotaExceededException(inner) => {
1557                Error::ServiceQuotaExceededException(inner)
1558            }
1559            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::ThrottlingException(inner) => {
1560                Error::ThrottlingException(inner)
1561            }
1562            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::ValidationException(inner) => {
1563                Error::ValidationException(inner)
1564            }
1565            crate::operation::start_studio_sso_configuration_repair::StartStudioSSOConfigurationRepairError::Unhandled(inner) => {
1566                Error::Unhandled(inner)
1567            }
1568        }
1569    }
1570}
1571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_streaming_session::StopStreamingSessionError, R>> for Error
1572where
1573    R: Send + Sync + std::fmt::Debug + 'static,
1574{
1575    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_streaming_session::StopStreamingSessionError, R>) -> Self {
1576        match err {
1577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1580                source: err.into(),
1581            }),
1582        }
1583    }
1584}
1585impl From<crate::operation::stop_streaming_session::StopStreamingSessionError> for Error {
1586    fn from(err: crate::operation::stop_streaming_session::StopStreamingSessionError) -> Self {
1587        match err {
1588            crate::operation::stop_streaming_session::StopStreamingSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1589            crate::operation::stop_streaming_session::StopStreamingSessionError::ConflictException(inner) => Error::ConflictException(inner),
1590            crate::operation::stop_streaming_session::StopStreamingSessionError::InternalServerErrorException(inner) => {
1591                Error::InternalServerErrorException(inner)
1592            }
1593            crate::operation::stop_streaming_session::StopStreamingSessionError::ResourceNotFoundException(inner) => {
1594                Error::ResourceNotFoundException(inner)
1595            }
1596            crate::operation::stop_streaming_session::StopStreamingSessionError::ServiceQuotaExceededException(inner) => {
1597                Error::ServiceQuotaExceededException(inner)
1598            }
1599            crate::operation::stop_streaming_session::StopStreamingSessionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1600            crate::operation::stop_streaming_session::StopStreamingSessionError::ValidationException(inner) => Error::ValidationException(inner),
1601            crate::operation::stop_streaming_session::StopStreamingSessionError::Unhandled(inner) => Error::Unhandled(inner),
1602        }
1603    }
1604}
1605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1606where
1607    R: Send + Sync + std::fmt::Debug + 'static,
1608{
1609    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1610        match err {
1611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1614                source: err.into(),
1615            }),
1616        }
1617    }
1618}
1619impl From<crate::operation::tag_resource::TagResourceError> for Error {
1620    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1621        match err {
1622            crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1623            crate::operation::tag_resource::TagResourceError::ConflictException(inner) => Error::ConflictException(inner),
1624            crate::operation::tag_resource::TagResourceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1625            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1626            crate::operation::tag_resource::TagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1627            crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1628            crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
1629            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1630        }
1631    }
1632}
1633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1634where
1635    R: Send + Sync + std::fmt::Debug + 'static,
1636{
1637    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1638        match err {
1639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1642                source: err.into(),
1643            }),
1644        }
1645    }
1646}
1647impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1648    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1649        match err {
1650            crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1651            crate::operation::untag_resource::UntagResourceError::ConflictException(inner) => Error::ConflictException(inner),
1652            crate::operation::untag_resource::UntagResourceError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1653            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1654            crate::operation::untag_resource::UntagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1655            crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1656            crate::operation::untag_resource::UntagResourceError::ValidationException(inner) => Error::ValidationException(inner),
1657            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1658        }
1659    }
1660}
1661impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_launch_profile::UpdateLaunchProfileError, R>> for Error
1662where
1663    R: Send + Sync + std::fmt::Debug + 'static,
1664{
1665    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_launch_profile::UpdateLaunchProfileError, R>) -> Self {
1666        match err {
1667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1670                source: err.into(),
1671            }),
1672        }
1673    }
1674}
1675impl From<crate::operation::update_launch_profile::UpdateLaunchProfileError> for Error {
1676    fn from(err: crate::operation::update_launch_profile::UpdateLaunchProfileError) -> Self {
1677        match err {
1678            crate::operation::update_launch_profile::UpdateLaunchProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1679            crate::operation::update_launch_profile::UpdateLaunchProfileError::ConflictException(inner) => Error::ConflictException(inner),
1680            crate::operation::update_launch_profile::UpdateLaunchProfileError::InternalServerErrorException(inner) => {
1681                Error::InternalServerErrorException(inner)
1682            }
1683            crate::operation::update_launch_profile::UpdateLaunchProfileError::ResourceNotFoundException(inner) => {
1684                Error::ResourceNotFoundException(inner)
1685            }
1686            crate::operation::update_launch_profile::UpdateLaunchProfileError::ServiceQuotaExceededException(inner) => {
1687                Error::ServiceQuotaExceededException(inner)
1688            }
1689            crate::operation::update_launch_profile::UpdateLaunchProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1690            crate::operation::update_launch_profile::UpdateLaunchProfileError::ValidationException(inner) => Error::ValidationException(inner),
1691            crate::operation::update_launch_profile::UpdateLaunchProfileError::Unhandled(inner) => Error::Unhandled(inner),
1692        }
1693    }
1694}
1695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError, R>>
1696    for Error
1697where
1698    R: Send + Sync + std::fmt::Debug + 'static,
1699{
1700    fn from(
1701        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError, R>,
1702    ) -> Self {
1703        match err {
1704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1707                source: err.into(),
1708            }),
1709        }
1710    }
1711}
1712impl From<crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError> for Error {
1713    fn from(err: crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError) -> Self {
1714        match err {
1715            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::AccessDeniedException(inner) => {
1716                Error::AccessDeniedException(inner)
1717            }
1718            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::ConflictException(inner) => {
1719                Error::ConflictException(inner)
1720            }
1721            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::InternalServerErrorException(inner) => {
1722                Error::InternalServerErrorException(inner)
1723            }
1724            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::ResourceNotFoundException(inner) => {
1725                Error::ResourceNotFoundException(inner)
1726            }
1727            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::ServiceQuotaExceededException(inner) => {
1728                Error::ServiceQuotaExceededException(inner)
1729            }
1730            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::ThrottlingException(inner) => {
1731                Error::ThrottlingException(inner)
1732            }
1733            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::ValidationException(inner) => {
1734                Error::ValidationException(inner)
1735            }
1736            crate::operation::update_launch_profile_member::UpdateLaunchProfileMemberError::Unhandled(inner) => Error::Unhandled(inner),
1737        }
1738    }
1739}
1740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_streaming_image::UpdateStreamingImageError, R>> for Error
1741where
1742    R: Send + Sync + std::fmt::Debug + 'static,
1743{
1744    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_streaming_image::UpdateStreamingImageError, R>) -> Self {
1745        match err {
1746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1749                source: err.into(),
1750            }),
1751        }
1752    }
1753}
1754impl From<crate::operation::update_streaming_image::UpdateStreamingImageError> for Error {
1755    fn from(err: crate::operation::update_streaming_image::UpdateStreamingImageError) -> Self {
1756        match err {
1757            crate::operation::update_streaming_image::UpdateStreamingImageError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1758            crate::operation::update_streaming_image::UpdateStreamingImageError::ConflictException(inner) => Error::ConflictException(inner),
1759            crate::operation::update_streaming_image::UpdateStreamingImageError::InternalServerErrorException(inner) => {
1760                Error::InternalServerErrorException(inner)
1761            }
1762            crate::operation::update_streaming_image::UpdateStreamingImageError::ResourceNotFoundException(inner) => {
1763                Error::ResourceNotFoundException(inner)
1764            }
1765            crate::operation::update_streaming_image::UpdateStreamingImageError::ServiceQuotaExceededException(inner) => {
1766                Error::ServiceQuotaExceededException(inner)
1767            }
1768            crate::operation::update_streaming_image::UpdateStreamingImageError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1769            crate::operation::update_streaming_image::UpdateStreamingImageError::ValidationException(inner) => Error::ValidationException(inner),
1770            crate::operation::update_streaming_image::UpdateStreamingImageError::Unhandled(inner) => Error::Unhandled(inner),
1771        }
1772    }
1773}
1774impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_studio::UpdateStudioError, R>> for Error
1775where
1776    R: Send + Sync + std::fmt::Debug + 'static,
1777{
1778    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_studio::UpdateStudioError, R>) -> Self {
1779        match err {
1780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1783                source: err.into(),
1784            }),
1785        }
1786    }
1787}
1788impl From<crate::operation::update_studio::UpdateStudioError> for Error {
1789    fn from(err: crate::operation::update_studio::UpdateStudioError) -> Self {
1790        match err {
1791            crate::operation::update_studio::UpdateStudioError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1792            crate::operation::update_studio::UpdateStudioError::ConflictException(inner) => Error::ConflictException(inner),
1793            crate::operation::update_studio::UpdateStudioError::InternalServerErrorException(inner) => Error::InternalServerErrorException(inner),
1794            crate::operation::update_studio::UpdateStudioError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1795            crate::operation::update_studio::UpdateStudioError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1796            crate::operation::update_studio::UpdateStudioError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1797            crate::operation::update_studio::UpdateStudioError::ValidationException(inner) => Error::ValidationException(inner),
1798            crate::operation::update_studio::UpdateStudioError::Unhandled(inner) => Error::Unhandled(inner),
1799        }
1800    }
1801}
1802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_studio_component::UpdateStudioComponentError, R>> for Error
1803where
1804    R: Send + Sync + std::fmt::Debug + 'static,
1805{
1806    fn from(
1807        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_studio_component::UpdateStudioComponentError, R>,
1808    ) -> Self {
1809        match err {
1810            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1811            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1812                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1813                source: err.into(),
1814            }),
1815        }
1816    }
1817}
1818impl From<crate::operation::update_studio_component::UpdateStudioComponentError> for Error {
1819    fn from(err: crate::operation::update_studio_component::UpdateStudioComponentError) -> Self {
1820        match err {
1821            crate::operation::update_studio_component::UpdateStudioComponentError::AccessDeniedException(inner) => {
1822                Error::AccessDeniedException(inner)
1823            }
1824            crate::operation::update_studio_component::UpdateStudioComponentError::ConflictException(inner) => Error::ConflictException(inner),
1825            crate::operation::update_studio_component::UpdateStudioComponentError::InternalServerErrorException(inner) => {
1826                Error::InternalServerErrorException(inner)
1827            }
1828            crate::operation::update_studio_component::UpdateStudioComponentError::ResourceNotFoundException(inner) => {
1829                Error::ResourceNotFoundException(inner)
1830            }
1831            crate::operation::update_studio_component::UpdateStudioComponentError::ServiceQuotaExceededException(inner) => {
1832                Error::ServiceQuotaExceededException(inner)
1833            }
1834            crate::operation::update_studio_component::UpdateStudioComponentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1835            crate::operation::update_studio_component::UpdateStudioComponentError::ValidationException(inner) => Error::ValidationException(inner),
1836            crate::operation::update_studio_component::UpdateStudioComponentError::Unhandled(inner) => Error::Unhandled(inner),
1837        }
1838    }
1839}
1840impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
1841where
1842    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
1843    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
1844{
1845    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
1846        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1847            meta: ::std::default::Default::default(),
1848            source: err.into(),
1849        })
1850    }
1851}
1852impl ::std::error::Error for Error {
1853    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
1854        match self {
1855            Error::AccessDeniedException(inner) => inner.source(),
1856            Error::ConflictException(inner) => inner.source(),
1857            Error::InternalServerErrorException(inner) => inner.source(),
1858            Error::ResourceNotFoundException(inner) => inner.source(),
1859            Error::ServiceQuotaExceededException(inner) => inner.source(),
1860            Error::ThrottlingException(inner) => inner.source(),
1861            Error::ValidationException(inner) => inner.source(),
1862            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
1863        }
1864    }
1865}
1866impl ::aws_types::request_id::RequestId for Error {
1867    fn request_id(&self) -> Option<&str> {
1868        match self {
1869            Self::AccessDeniedException(e) => e.request_id(),
1870            Self::ConflictException(e) => e.request_id(),
1871            Self::InternalServerErrorException(e) => e.request_id(),
1872            Self::ResourceNotFoundException(e) => e.request_id(),
1873            Self::ServiceQuotaExceededException(e) => e.request_id(),
1874            Self::ThrottlingException(e) => e.request_id(),
1875            Self::ValidationException(e) => e.request_id(),
1876            Self::Unhandled(e) => e.meta.request_id(),
1877        }
1878    }
1879}