1#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6 AccessDeniedException(crate::types::error::AccessDeniedException),
8 ConflictException(crate::types::error::ConflictException),
10 InternalServerException(crate::types::error::InternalServerException),
12 ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
14 ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
16 ThrottlingException(crate::types::error::ThrottlingException),
18 UnauthorizedException(crate::types::error::UnauthorizedException),
20 ValidationException(crate::types::error::ValidationException),
22 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
24 variable wildcard pattern and check `.code()`:
25 \
26 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
27 \
28 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
29 Unhandled(crate::error::sealed_unhandled::Unhandled),
30}
31impl ::std::fmt::Display for Error {
32 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33 match self {
34 Error::AccessDeniedException(inner) => inner.fmt(f),
35 Error::ConflictException(inner) => inner.fmt(f),
36 Error::InternalServerException(inner) => inner.fmt(f),
37 Error::ResourceNotFoundException(inner) => inner.fmt(f),
38 Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
39 Error::ThrottlingException(inner) => inner.fmt(f),
40 Error::UnauthorizedException(inner) => inner.fmt(f),
41 Error::ValidationException(inner) => inner.fmt(f),
42 Error::Unhandled(_) => {
43 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
44 write!(f, "unhandled error ({code})")
45 } else {
46 f.write_str("unhandled error")
47 }
48 }
49 }
50 }
51}
52impl From<::aws_smithy_types::error::operation::BuildError> for Error {
53 fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
54 Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
55 source: value.into(),
56 meta: ::std::default::Default::default(),
57 })
58 }
59}
60impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
61 fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
62 match self {
63 Self::AccessDeniedException(inner) => inner.meta(),
64 Self::ConflictException(inner) => inner.meta(),
65 Self::InternalServerException(inner) => inner.meta(),
66 Self::ResourceNotFoundException(inner) => inner.meta(),
67 Self::ServiceQuotaExceededException(inner) => inner.meta(),
68 Self::ThrottlingException(inner) => inner.meta(),
69 Self::UnauthorizedException(inner) => inner.meta(),
70 Self::ValidationException(inner) => inner.meta(),
71 Self::Unhandled(inner) => &inner.meta,
72 }
73 }
74}
75impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_predictions::AcceptPredictionsError, R>> for Error
76where
77 R: Send + Sync + std::fmt::Debug + 'static,
78{
79 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_predictions::AcceptPredictionsError, R>) -> Self {
80 match err {
81 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
82 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
83 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
84 source: err.into(),
85 }),
86 }
87 }
88}
89impl From<crate::operation::accept_predictions::AcceptPredictionsError> for Error {
90 fn from(err: crate::operation::accept_predictions::AcceptPredictionsError) -> Self {
91 match err {
92 crate::operation::accept_predictions::AcceptPredictionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
93 crate::operation::accept_predictions::AcceptPredictionsError::ConflictException(inner) => Error::ConflictException(inner),
94 crate::operation::accept_predictions::AcceptPredictionsError::InternalServerException(inner) => Error::InternalServerException(inner),
95 crate::operation::accept_predictions::AcceptPredictionsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
96 crate::operation::accept_predictions::AcceptPredictionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
97 crate::operation::accept_predictions::AcceptPredictionsError::ValidationException(inner) => Error::ValidationException(inner),
98 crate::operation::accept_predictions::AcceptPredictionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
99 crate::operation::accept_predictions::AcceptPredictionsError::Unhandled(inner) => Error::Unhandled(inner),
100 }
101 }
102}
103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_subscription_request::AcceptSubscriptionRequestError, R>>
104 for Error
105where
106 R: Send + Sync + std::fmt::Debug + 'static,
107{
108 fn from(
109 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_subscription_request::AcceptSubscriptionRequestError, R>,
110 ) -> Self {
111 match err {
112 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
113 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
114 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
115 source: err.into(),
116 }),
117 }
118 }
119}
120impl From<crate::operation::accept_subscription_request::AcceptSubscriptionRequestError> for Error {
121 fn from(err: crate::operation::accept_subscription_request::AcceptSubscriptionRequestError) -> Self {
122 match err {
123 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::AccessDeniedException(inner) => {
124 Error::AccessDeniedException(inner)
125 }
126 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::ConflictException(inner) => {
127 Error::ConflictException(inner)
128 }
129 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::InternalServerException(inner) => {
130 Error::InternalServerException(inner)
131 }
132 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::ResourceNotFoundException(inner) => {
133 Error::ResourceNotFoundException(inner)
134 }
135 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::ServiceQuotaExceededException(inner) => {
136 Error::ServiceQuotaExceededException(inner)
137 }
138 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::ThrottlingException(inner) => {
139 Error::ThrottlingException(inner)
140 }
141 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::ValidationException(inner) => {
142 Error::ValidationException(inner)
143 }
144 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::UnauthorizedException(inner) => {
145 Error::UnauthorizedException(inner)
146 }
147 crate::operation::accept_subscription_request::AcceptSubscriptionRequestError::Unhandled(inner) => Error::Unhandled(inner),
148 }
149 }
150}
151impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_entity_owner::AddEntityOwnerError, R>> for Error
152where
153 R: Send + Sync + std::fmt::Debug + 'static,
154{
155 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_entity_owner::AddEntityOwnerError, R>) -> Self {
156 match err {
157 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
158 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
159 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
160 source: err.into(),
161 }),
162 }
163 }
164}
165impl From<crate::operation::add_entity_owner::AddEntityOwnerError> for Error {
166 fn from(err: crate::operation::add_entity_owner::AddEntityOwnerError) -> Self {
167 match err {
168 crate::operation::add_entity_owner::AddEntityOwnerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
169 crate::operation::add_entity_owner::AddEntityOwnerError::ConflictException(inner) => Error::ConflictException(inner),
170 crate::operation::add_entity_owner::AddEntityOwnerError::InternalServerException(inner) => Error::InternalServerException(inner),
171 crate::operation::add_entity_owner::AddEntityOwnerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
172 crate::operation::add_entity_owner::AddEntityOwnerError::ServiceQuotaExceededException(inner) => {
173 Error::ServiceQuotaExceededException(inner)
174 }
175 crate::operation::add_entity_owner::AddEntityOwnerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
176 crate::operation::add_entity_owner::AddEntityOwnerError::ValidationException(inner) => Error::ValidationException(inner),
177 crate::operation::add_entity_owner::AddEntityOwnerError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
178 crate::operation::add_entity_owner::AddEntityOwnerError::Unhandled(inner) => Error::Unhandled(inner),
179 }
180 }
181}
182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_policy_grant::AddPolicyGrantError, R>> for Error
183where
184 R: Send + Sync + std::fmt::Debug + 'static,
185{
186 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_policy_grant::AddPolicyGrantError, R>) -> Self {
187 match err {
188 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
189 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
190 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
191 source: err.into(),
192 }),
193 }
194 }
195}
196impl From<crate::operation::add_policy_grant::AddPolicyGrantError> for Error {
197 fn from(err: crate::operation::add_policy_grant::AddPolicyGrantError) -> Self {
198 match err {
199 crate::operation::add_policy_grant::AddPolicyGrantError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
200 crate::operation::add_policy_grant::AddPolicyGrantError::ConflictException(inner) => Error::ConflictException(inner),
201 crate::operation::add_policy_grant::AddPolicyGrantError::InternalServerException(inner) => Error::InternalServerException(inner),
202 crate::operation::add_policy_grant::AddPolicyGrantError::ServiceQuotaExceededException(inner) => {
203 Error::ServiceQuotaExceededException(inner)
204 }
205 crate::operation::add_policy_grant::AddPolicyGrantError::ThrottlingException(inner) => Error::ThrottlingException(inner),
206 crate::operation::add_policy_grant::AddPolicyGrantError::ValidationException(inner) => Error::ValidationException(inner),
207 crate::operation::add_policy_grant::AddPolicyGrantError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
208 crate::operation::add_policy_grant::AddPolicyGrantError::Unhandled(inner) => Error::Unhandled(inner),
209 }
210 }
211}
212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_environment_role::AssociateEnvironmentRoleError, R>>
213 for Error
214where
215 R: Send + Sync + std::fmt::Debug + 'static,
216{
217 fn from(
218 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_environment_role::AssociateEnvironmentRoleError, R>,
219 ) -> Self {
220 match err {
221 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
222 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
223 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
224 source: err.into(),
225 }),
226 }
227 }
228}
229impl From<crate::operation::associate_environment_role::AssociateEnvironmentRoleError> for Error {
230 fn from(err: crate::operation::associate_environment_role::AssociateEnvironmentRoleError) -> Self {
231 match err {
232 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::AccessDeniedException(inner) => {
233 Error::AccessDeniedException(inner)
234 }
235 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::ConflictException(inner) => Error::ConflictException(inner),
236 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::InternalServerException(inner) => {
237 Error::InternalServerException(inner)
238 }
239 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::ResourceNotFoundException(inner) => {
240 Error::ResourceNotFoundException(inner)
241 }
242 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::ThrottlingException(inner) => {
243 Error::ThrottlingException(inner)
244 }
245 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::ValidationException(inner) => {
246 Error::ValidationException(inner)
247 }
248 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::UnauthorizedException(inner) => {
249 Error::UnauthorizedException(inner)
250 }
251 crate::operation::associate_environment_role::AssociateEnvironmentRoleError::Unhandled(inner) => Error::Unhandled(inner),
252 }
253 }
254}
255impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_governed_terms::AssociateGovernedTermsError, R>> for Error
256where
257 R: Send + Sync + std::fmt::Debug + 'static,
258{
259 fn from(
260 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_governed_terms::AssociateGovernedTermsError, R>,
261 ) -> Self {
262 match err {
263 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
264 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
265 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
266 source: err.into(),
267 }),
268 }
269 }
270}
271impl From<crate::operation::associate_governed_terms::AssociateGovernedTermsError> for Error {
272 fn from(err: crate::operation::associate_governed_terms::AssociateGovernedTermsError) -> Self {
273 match err {
274 crate::operation::associate_governed_terms::AssociateGovernedTermsError::AccessDeniedException(inner) => {
275 Error::AccessDeniedException(inner)
276 }
277 crate::operation::associate_governed_terms::AssociateGovernedTermsError::ConflictException(inner) => Error::ConflictException(inner),
278 crate::operation::associate_governed_terms::AssociateGovernedTermsError::InternalServerException(inner) => {
279 Error::InternalServerException(inner)
280 }
281 crate::operation::associate_governed_terms::AssociateGovernedTermsError::ResourceNotFoundException(inner) => {
282 Error::ResourceNotFoundException(inner)
283 }
284 crate::operation::associate_governed_terms::AssociateGovernedTermsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
285 crate::operation::associate_governed_terms::AssociateGovernedTermsError::ValidationException(inner) => Error::ValidationException(inner),
286 crate::operation::associate_governed_terms::AssociateGovernedTermsError::UnauthorizedException(inner) => {
287 Error::UnauthorizedException(inner)
288 }
289 crate::operation::associate_governed_terms::AssociateGovernedTermsError::Unhandled(inner) => Error::Unhandled(inner),
290 }
291 }
292}
293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError, R>>
294 for Error
295where
296 R: Send + Sync + std::fmt::Debug + 'static,
297{
298 fn from(
299 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError, R>,
300 ) -> Self {
301 match err {
302 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
303 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
304 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
305 source: err.into(),
306 }),
307 }
308 }
309}
310impl From<crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError> for Error {
311 fn from(err: crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError) -> Self {
312 match err {
313 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::AccessDeniedException(inner) => {
314 Error::AccessDeniedException(inner)
315 }
316 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::InternalServerException(inner) => {
317 Error::InternalServerException(inner)
318 }
319 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::ResourceNotFoundException(inner) => {
320 Error::ResourceNotFoundException(inner)
321 }
322 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::ThrottlingException(inner) => {
323 Error::ThrottlingException(inner)
324 }
325 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::ValidationException(inner) => {
326 Error::ValidationException(inner)
327 }
328 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::UnauthorizedException(inner) => {
329 Error::UnauthorizedException(inner)
330 }
331 crate::operation::batch_get_attributes_metadata::BatchGetAttributesMetadataError::Unhandled(inner) => Error::Unhandled(inner),
332 }
333 }
334}
335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError, R>>
336 for Error
337where
338 R: Send + Sync + std::fmt::Debug + 'static,
339{
340 fn from(
341 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError, R>,
342 ) -> Self {
343 match err {
344 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
345 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
346 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
347 source: err.into(),
348 }),
349 }
350 }
351}
352impl From<crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError> for Error {
353 fn from(err: crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError) -> Self {
354 match err {
355 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::AccessDeniedException(inner) => {
356 Error::AccessDeniedException(inner)
357 }
358 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::ConflictException(inner) => {
359 Error::ConflictException(inner)
360 }
361 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::InternalServerException(inner) => {
362 Error::InternalServerException(inner)
363 }
364 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::ResourceNotFoundException(inner) => {
365 Error::ResourceNotFoundException(inner)
366 }
367 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::ThrottlingException(inner) => {
368 Error::ThrottlingException(inner)
369 }
370 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::ValidationException(inner) => {
371 Error::ValidationException(inner)
372 }
373 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::UnauthorizedException(inner) => {
374 Error::UnauthorizedException(inner)
375 }
376 crate::operation::batch_put_attributes_metadata::BatchPutAttributesMetadataError::Unhandled(inner) => Error::Unhandled(inner),
377 }
378 }
379}
380impl<R>
381 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError, R>>
382 for Error
383where
384 R: Send + Sync + std::fmt::Debug + 'static,
385{
386 fn from(
387 err: ::aws_smithy_runtime_api::client::result::SdkError<
388 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError,
389 R,
390 >,
391 ) -> Self {
392 match err {
393 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
394 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
395 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
396 source: err.into(),
397 }),
398 }
399 }
400}
401impl From<crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError> for Error {
402 fn from(err: crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError) -> Self {
403 match err {
404 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::AccessDeniedException(inner) => {
405 Error::AccessDeniedException(inner)
406 }
407 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::ConflictException(inner) => {
408 Error::ConflictException(inner)
409 }
410 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::InternalServerException(inner) => {
411 Error::InternalServerException(inner)
412 }
413 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::ResourceNotFoundException(inner) => {
414 Error::ResourceNotFoundException(inner)
415 }
416 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::ThrottlingException(inner) => {
417 Error::ThrottlingException(inner)
418 }
419 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::ValidationException(inner) => {
420 Error::ValidationException(inner)
421 }
422 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::UnauthorizedException(inner) => {
423 Error::UnauthorizedException(inner)
424 }
425 crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError::Unhandled(inner) => Error::Unhandled(inner),
426 }
427 }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_subscription::CancelSubscriptionError, R>> for Error
430where
431 R: Send + Sync + std::fmt::Debug + 'static,
432{
433 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_subscription::CancelSubscriptionError, R>) -> Self {
434 match err {
435 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
436 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
437 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
438 source: err.into(),
439 }),
440 }
441 }
442}
443impl From<crate::operation::cancel_subscription::CancelSubscriptionError> for Error {
444 fn from(err: crate::operation::cancel_subscription::CancelSubscriptionError) -> Self {
445 match err {
446 crate::operation::cancel_subscription::CancelSubscriptionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
447 crate::operation::cancel_subscription::CancelSubscriptionError::ConflictException(inner) => Error::ConflictException(inner),
448 crate::operation::cancel_subscription::CancelSubscriptionError::InternalServerException(inner) => Error::InternalServerException(inner),
449 crate::operation::cancel_subscription::CancelSubscriptionError::ResourceNotFoundException(inner) => {
450 Error::ResourceNotFoundException(inner)
451 }
452 crate::operation::cancel_subscription::CancelSubscriptionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
453 crate::operation::cancel_subscription::CancelSubscriptionError::ValidationException(inner) => Error::ValidationException(inner),
454 crate::operation::cancel_subscription::CancelSubscriptionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
455 crate::operation::cancel_subscription::CancelSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
456 }
457 }
458}
459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_account_pool::CreateAccountPoolError, R>> for Error
460where
461 R: Send + Sync + std::fmt::Debug + 'static,
462{
463 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_account_pool::CreateAccountPoolError, R>) -> Self {
464 match err {
465 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
466 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
467 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
468 source: err.into(),
469 }),
470 }
471 }
472}
473impl From<crate::operation::create_account_pool::CreateAccountPoolError> for Error {
474 fn from(err: crate::operation::create_account_pool::CreateAccountPoolError) -> Self {
475 match err {
476 crate::operation::create_account_pool::CreateAccountPoolError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
477 crate::operation::create_account_pool::CreateAccountPoolError::ConflictException(inner) => Error::ConflictException(inner),
478 crate::operation::create_account_pool::CreateAccountPoolError::InternalServerException(inner) => Error::InternalServerException(inner),
479 crate::operation::create_account_pool::CreateAccountPoolError::ResourceNotFoundException(inner) => {
480 Error::ResourceNotFoundException(inner)
481 }
482 crate::operation::create_account_pool::CreateAccountPoolError::ServiceQuotaExceededException(inner) => {
483 Error::ServiceQuotaExceededException(inner)
484 }
485 crate::operation::create_account_pool::CreateAccountPoolError::ThrottlingException(inner) => Error::ThrottlingException(inner),
486 crate::operation::create_account_pool::CreateAccountPoolError::ValidationException(inner) => Error::ValidationException(inner),
487 crate::operation::create_account_pool::CreateAccountPoolError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
488 crate::operation::create_account_pool::CreateAccountPoolError::Unhandled(inner) => Error::Unhandled(inner),
489 }
490 }
491}
492impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset::CreateAssetError, R>> for Error
493where
494 R: Send + Sync + std::fmt::Debug + 'static,
495{
496 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset::CreateAssetError, R>) -> Self {
497 match err {
498 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
499 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
500 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
501 source: err.into(),
502 }),
503 }
504 }
505}
506impl From<crate::operation::create_asset::CreateAssetError> for Error {
507 fn from(err: crate::operation::create_asset::CreateAssetError) -> Self {
508 match err {
509 crate::operation::create_asset::CreateAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
510 crate::operation::create_asset::CreateAssetError::ConflictException(inner) => Error::ConflictException(inner),
511 crate::operation::create_asset::CreateAssetError::InternalServerException(inner) => Error::InternalServerException(inner),
512 crate::operation::create_asset::CreateAssetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
513 crate::operation::create_asset::CreateAssetError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
514 crate::operation::create_asset::CreateAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
515 crate::operation::create_asset::CreateAssetError::ValidationException(inner) => Error::ValidationException(inner),
516 crate::operation::create_asset::CreateAssetError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
517 crate::operation::create_asset::CreateAssetError::Unhandled(inner) => Error::Unhandled(inner),
518 }
519 }
520}
521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset_filter::CreateAssetFilterError, R>> for Error
522where
523 R: Send + Sync + std::fmt::Debug + 'static,
524{
525 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset_filter::CreateAssetFilterError, R>) -> Self {
526 match err {
527 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
528 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
529 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
530 source: err.into(),
531 }),
532 }
533 }
534}
535impl From<crate::operation::create_asset_filter::CreateAssetFilterError> for Error {
536 fn from(err: crate::operation::create_asset_filter::CreateAssetFilterError) -> Self {
537 match err {
538 crate::operation::create_asset_filter::CreateAssetFilterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
539 crate::operation::create_asset_filter::CreateAssetFilterError::ConflictException(inner) => Error::ConflictException(inner),
540 crate::operation::create_asset_filter::CreateAssetFilterError::InternalServerException(inner) => Error::InternalServerException(inner),
541 crate::operation::create_asset_filter::CreateAssetFilterError::ResourceNotFoundException(inner) => {
542 Error::ResourceNotFoundException(inner)
543 }
544 crate::operation::create_asset_filter::CreateAssetFilterError::ServiceQuotaExceededException(inner) => {
545 Error::ServiceQuotaExceededException(inner)
546 }
547 crate::operation::create_asset_filter::CreateAssetFilterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
548 crate::operation::create_asset_filter::CreateAssetFilterError::ValidationException(inner) => Error::ValidationException(inner),
549 crate::operation::create_asset_filter::CreateAssetFilterError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
550 crate::operation::create_asset_filter::CreateAssetFilterError::Unhandled(inner) => Error::Unhandled(inner),
551 }
552 }
553}
554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset_revision::CreateAssetRevisionError, R>> for Error
555where
556 R: Send + Sync + std::fmt::Debug + 'static,
557{
558 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset_revision::CreateAssetRevisionError, R>) -> Self {
559 match err {
560 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
561 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
562 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
563 source: err.into(),
564 }),
565 }
566 }
567}
568impl From<crate::operation::create_asset_revision::CreateAssetRevisionError> for Error {
569 fn from(err: crate::operation::create_asset_revision::CreateAssetRevisionError) -> Self {
570 match err {
571 crate::operation::create_asset_revision::CreateAssetRevisionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
572 crate::operation::create_asset_revision::CreateAssetRevisionError::ConflictException(inner) => Error::ConflictException(inner),
573 crate::operation::create_asset_revision::CreateAssetRevisionError::InternalServerException(inner) => {
574 Error::InternalServerException(inner)
575 }
576 crate::operation::create_asset_revision::CreateAssetRevisionError::ResourceNotFoundException(inner) => {
577 Error::ResourceNotFoundException(inner)
578 }
579 crate::operation::create_asset_revision::CreateAssetRevisionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
580 crate::operation::create_asset_revision::CreateAssetRevisionError::ValidationException(inner) => Error::ValidationException(inner),
581 crate::operation::create_asset_revision::CreateAssetRevisionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
582 crate::operation::create_asset_revision::CreateAssetRevisionError::Unhandled(inner) => Error::Unhandled(inner),
583 }
584 }
585}
586impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset_type::CreateAssetTypeError, R>> for Error
587where
588 R: Send + Sync + std::fmt::Debug + 'static,
589{
590 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_asset_type::CreateAssetTypeError, R>) -> Self {
591 match err {
592 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
593 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
594 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
595 source: err.into(),
596 }),
597 }
598 }
599}
600impl From<crate::operation::create_asset_type::CreateAssetTypeError> for Error {
601 fn from(err: crate::operation::create_asset_type::CreateAssetTypeError) -> Self {
602 match err {
603 crate::operation::create_asset_type::CreateAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
604 crate::operation::create_asset_type::CreateAssetTypeError::ConflictException(inner) => Error::ConflictException(inner),
605 crate::operation::create_asset_type::CreateAssetTypeError::InternalServerException(inner) => Error::InternalServerException(inner),
606 crate::operation::create_asset_type::CreateAssetTypeError::ServiceQuotaExceededException(inner) => {
607 Error::ServiceQuotaExceededException(inner)
608 }
609 crate::operation::create_asset_type::CreateAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
610 crate::operation::create_asset_type::CreateAssetTypeError::ValidationException(inner) => Error::ValidationException(inner),
611 crate::operation::create_asset_type::CreateAssetTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
612 crate::operation::create_asset_type::CreateAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
613 }
614 }
615}
616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>> for Error
617where
618 R: Send + Sync + std::fmt::Debug + 'static,
619{
620 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>) -> Self {
621 match err {
622 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
623 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
624 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
625 source: err.into(),
626 }),
627 }
628 }
629}
630impl From<crate::operation::create_connection::CreateConnectionError> for Error {
631 fn from(err: crate::operation::create_connection::CreateConnectionError) -> Self {
632 match err {
633 crate::operation::create_connection::CreateConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
634 crate::operation::create_connection::CreateConnectionError::ConflictException(inner) => Error::ConflictException(inner),
635 crate::operation::create_connection::CreateConnectionError::InternalServerException(inner) => Error::InternalServerException(inner),
636 crate::operation::create_connection::CreateConnectionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
637 crate::operation::create_connection::CreateConnectionError::ServiceQuotaExceededException(inner) => {
638 Error::ServiceQuotaExceededException(inner)
639 }
640 crate::operation::create_connection::CreateConnectionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
641 crate::operation::create_connection::CreateConnectionError::ValidationException(inner) => Error::ValidationException(inner),
642 crate::operation::create_connection::CreateConnectionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
643 crate::operation::create_connection::CreateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
644 }
645 }
646}
647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_product::CreateDataProductError, R>> for Error
648where
649 R: Send + Sync + std::fmt::Debug + 'static,
650{
651 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_product::CreateDataProductError, R>) -> Self {
652 match err {
653 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
654 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
655 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
656 source: err.into(),
657 }),
658 }
659 }
660}
661impl From<crate::operation::create_data_product::CreateDataProductError> for Error {
662 fn from(err: crate::operation::create_data_product::CreateDataProductError) -> Self {
663 match err {
664 crate::operation::create_data_product::CreateDataProductError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
665 crate::operation::create_data_product::CreateDataProductError::ConflictException(inner) => Error::ConflictException(inner),
666 crate::operation::create_data_product::CreateDataProductError::InternalServerException(inner) => Error::InternalServerException(inner),
667 crate::operation::create_data_product::CreateDataProductError::ResourceNotFoundException(inner) => {
668 Error::ResourceNotFoundException(inner)
669 }
670 crate::operation::create_data_product::CreateDataProductError::ServiceQuotaExceededException(inner) => {
671 Error::ServiceQuotaExceededException(inner)
672 }
673 crate::operation::create_data_product::CreateDataProductError::ThrottlingException(inner) => Error::ThrottlingException(inner),
674 crate::operation::create_data_product::CreateDataProductError::ValidationException(inner) => Error::ValidationException(inner),
675 crate::operation::create_data_product::CreateDataProductError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
676 crate::operation::create_data_product::CreateDataProductError::Unhandled(inner) => Error::Unhandled(inner),
677 }
678 }
679}
680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_product_revision::CreateDataProductRevisionError, R>>
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<crate::operation::create_data_product_revision::CreateDataProductRevisionError, R>,
687 ) -> Self {
688 match err {
689 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692 source: err.into(),
693 }),
694 }
695 }
696}
697impl From<crate::operation::create_data_product_revision::CreateDataProductRevisionError> for Error {
698 fn from(err: crate::operation::create_data_product_revision::CreateDataProductRevisionError) -> Self {
699 match err {
700 crate::operation::create_data_product_revision::CreateDataProductRevisionError::AccessDeniedException(inner) => {
701 Error::AccessDeniedException(inner)
702 }
703 crate::operation::create_data_product_revision::CreateDataProductRevisionError::ConflictException(inner) => {
704 Error::ConflictException(inner)
705 }
706 crate::operation::create_data_product_revision::CreateDataProductRevisionError::InternalServerException(inner) => {
707 Error::InternalServerException(inner)
708 }
709 crate::operation::create_data_product_revision::CreateDataProductRevisionError::ResourceNotFoundException(inner) => {
710 Error::ResourceNotFoundException(inner)
711 }
712 crate::operation::create_data_product_revision::CreateDataProductRevisionError::ThrottlingException(inner) => {
713 Error::ThrottlingException(inner)
714 }
715 crate::operation::create_data_product_revision::CreateDataProductRevisionError::ValidationException(inner) => {
716 Error::ValidationException(inner)
717 }
718 crate::operation::create_data_product_revision::CreateDataProductRevisionError::UnauthorizedException(inner) => {
719 Error::UnauthorizedException(inner)
720 }
721 crate::operation::create_data_product_revision::CreateDataProductRevisionError::Unhandled(inner) => Error::Unhandled(inner),
722 }
723 }
724}
725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_source::CreateDataSourceError, R>> for Error
726where
727 R: Send + Sync + std::fmt::Debug + 'static,
728{
729 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_source::CreateDataSourceError, R>) -> Self {
730 match err {
731 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
732 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
733 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
734 source: err.into(),
735 }),
736 }
737 }
738}
739impl From<crate::operation::create_data_source::CreateDataSourceError> for Error {
740 fn from(err: crate::operation::create_data_source::CreateDataSourceError) -> Self {
741 match err {
742 crate::operation::create_data_source::CreateDataSourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
743 crate::operation::create_data_source::CreateDataSourceError::ConflictException(inner) => Error::ConflictException(inner),
744 crate::operation::create_data_source::CreateDataSourceError::InternalServerException(inner) => Error::InternalServerException(inner),
745 crate::operation::create_data_source::CreateDataSourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
746 crate::operation::create_data_source::CreateDataSourceError::ServiceQuotaExceededException(inner) => {
747 Error::ServiceQuotaExceededException(inner)
748 }
749 crate::operation::create_data_source::CreateDataSourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
750 crate::operation::create_data_source::CreateDataSourceError::ValidationException(inner) => Error::ValidationException(inner),
751 crate::operation::create_data_source::CreateDataSourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
752 crate::operation::create_data_source::CreateDataSourceError::Unhandled(inner) => Error::Unhandled(inner),
753 }
754 }
755}
756impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>> for Error
757where
758 R: Send + Sync + std::fmt::Debug + 'static,
759{
760 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain::CreateDomainError, R>) -> Self {
761 match err {
762 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
763 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
764 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
765 source: err.into(),
766 }),
767 }
768 }
769}
770impl From<crate::operation::create_domain::CreateDomainError> for Error {
771 fn from(err: crate::operation::create_domain::CreateDomainError) -> Self {
772 match err {
773 crate::operation::create_domain::CreateDomainError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
774 crate::operation::create_domain::CreateDomainError::ConflictException(inner) => Error::ConflictException(inner),
775 crate::operation::create_domain::CreateDomainError::InternalServerException(inner) => Error::InternalServerException(inner),
776 crate::operation::create_domain::CreateDomainError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
777 crate::operation::create_domain::CreateDomainError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
778 crate::operation::create_domain::CreateDomainError::ThrottlingException(inner) => Error::ThrottlingException(inner),
779 crate::operation::create_domain::CreateDomainError::ValidationException(inner) => Error::ValidationException(inner),
780 crate::operation::create_domain::CreateDomainError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
781 crate::operation::create_domain::CreateDomainError::Unhandled(inner) => Error::Unhandled(inner),
782 }
783 }
784}
785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain_unit::CreateDomainUnitError, R>> for Error
786where
787 R: Send + Sync + std::fmt::Debug + 'static,
788{
789 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_domain_unit::CreateDomainUnitError, R>) -> Self {
790 match err {
791 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
792 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
793 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
794 source: err.into(),
795 }),
796 }
797 }
798}
799impl From<crate::operation::create_domain_unit::CreateDomainUnitError> for Error {
800 fn from(err: crate::operation::create_domain_unit::CreateDomainUnitError) -> Self {
801 match err {
802 crate::operation::create_domain_unit::CreateDomainUnitError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
803 crate::operation::create_domain_unit::CreateDomainUnitError::ConflictException(inner) => Error::ConflictException(inner),
804 crate::operation::create_domain_unit::CreateDomainUnitError::InternalServerException(inner) => Error::InternalServerException(inner),
805 crate::operation::create_domain_unit::CreateDomainUnitError::ServiceQuotaExceededException(inner) => {
806 Error::ServiceQuotaExceededException(inner)
807 }
808 crate::operation::create_domain_unit::CreateDomainUnitError::ThrottlingException(inner) => Error::ThrottlingException(inner),
809 crate::operation::create_domain_unit::CreateDomainUnitError::ValidationException(inner) => Error::ValidationException(inner),
810 crate::operation::create_domain_unit::CreateDomainUnitError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
811 crate::operation::create_domain_unit::CreateDomainUnitError::Unhandled(inner) => Error::Unhandled(inner),
812 }
813 }
814}
815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment::CreateEnvironmentError, R>> for Error
816where
817 R: Send + Sync + std::fmt::Debug + 'static,
818{
819 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment::CreateEnvironmentError, R>) -> Self {
820 match err {
821 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
822 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
823 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
824 source: err.into(),
825 }),
826 }
827 }
828}
829impl From<crate::operation::create_environment::CreateEnvironmentError> for Error {
830 fn from(err: crate::operation::create_environment::CreateEnvironmentError) -> Self {
831 match err {
832 crate::operation::create_environment::CreateEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
833 crate::operation::create_environment::CreateEnvironmentError::ConflictException(inner) => Error::ConflictException(inner),
834 crate::operation::create_environment::CreateEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
835 crate::operation::create_environment::CreateEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
836 crate::operation::create_environment::CreateEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
837 crate::operation::create_environment::CreateEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
838 crate::operation::create_environment::CreateEnvironmentError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
839 crate::operation::create_environment::CreateEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
840 }
841 }
842}
843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment_action::CreateEnvironmentActionError, R>>
844 for Error
845where
846 R: Send + Sync + std::fmt::Debug + 'static,
847{
848 fn from(
849 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment_action::CreateEnvironmentActionError, R>,
850 ) -> Self {
851 match err {
852 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
853 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
854 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
855 source: err.into(),
856 }),
857 }
858 }
859}
860impl From<crate::operation::create_environment_action::CreateEnvironmentActionError> for Error {
861 fn from(err: crate::operation::create_environment_action::CreateEnvironmentActionError) -> Self {
862 match err {
863 crate::operation::create_environment_action::CreateEnvironmentActionError::AccessDeniedException(inner) => {
864 Error::AccessDeniedException(inner)
865 }
866 crate::operation::create_environment_action::CreateEnvironmentActionError::ConflictException(inner) => Error::ConflictException(inner),
867 crate::operation::create_environment_action::CreateEnvironmentActionError::InternalServerException(inner) => {
868 Error::InternalServerException(inner)
869 }
870 crate::operation::create_environment_action::CreateEnvironmentActionError::ResourceNotFoundException(inner) => {
871 Error::ResourceNotFoundException(inner)
872 }
873 crate::operation::create_environment_action::CreateEnvironmentActionError::ThrottlingException(inner) => {
874 Error::ThrottlingException(inner)
875 }
876 crate::operation::create_environment_action::CreateEnvironmentActionError::ValidationException(inner) => {
877 Error::ValidationException(inner)
878 }
879 crate::operation::create_environment_action::CreateEnvironmentActionError::UnauthorizedException(inner) => {
880 Error::UnauthorizedException(inner)
881 }
882 crate::operation::create_environment_action::CreateEnvironmentActionError::Unhandled(inner) => Error::Unhandled(inner),
883 }
884 }
885}
886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError, R>>
887 for Error
888where
889 R: Send + Sync + std::fmt::Debug + 'static,
890{
891 fn from(
892 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError, R>,
893 ) -> Self {
894 match err {
895 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
896 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
897 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
898 source: err.into(),
899 }),
900 }
901 }
902}
903impl From<crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError> for Error {
904 fn from(err: crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError) -> Self {
905 match err {
906 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::AccessDeniedException(inner) => {
907 Error::AccessDeniedException(inner)
908 }
909 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::ConflictException(inner) => {
910 Error::ConflictException(inner)
911 }
912 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::InternalServerException(inner) => {
913 Error::InternalServerException(inner)
914 }
915 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::ResourceNotFoundException(inner) => {
916 Error::ResourceNotFoundException(inner)
917 }
918 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::ServiceQuotaExceededException(inner) => {
919 Error::ServiceQuotaExceededException(inner)
920 }
921 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::ThrottlingException(inner) => {
922 Error::ThrottlingException(inner)
923 }
924 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::ValidationException(inner) => {
925 Error::ValidationException(inner)
926 }
927 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::UnauthorizedException(inner) => {
928 Error::UnauthorizedException(inner)
929 }
930 crate::operation::create_environment_blueprint::CreateEnvironmentBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
931 }
932 }
933}
934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment_profile::CreateEnvironmentProfileError, R>>
935 for Error
936where
937 R: Send + Sync + std::fmt::Debug + 'static,
938{
939 fn from(
940 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_environment_profile::CreateEnvironmentProfileError, R>,
941 ) -> Self {
942 match err {
943 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
944 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
945 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
946 source: err.into(),
947 }),
948 }
949 }
950}
951impl From<crate::operation::create_environment_profile::CreateEnvironmentProfileError> for Error {
952 fn from(err: crate::operation::create_environment_profile::CreateEnvironmentProfileError) -> Self {
953 match err {
954 crate::operation::create_environment_profile::CreateEnvironmentProfileError::AccessDeniedException(inner) => {
955 Error::AccessDeniedException(inner)
956 }
957 crate::operation::create_environment_profile::CreateEnvironmentProfileError::ConflictException(inner) => Error::ConflictException(inner),
958 crate::operation::create_environment_profile::CreateEnvironmentProfileError::InternalServerException(inner) => {
959 Error::InternalServerException(inner)
960 }
961 crate::operation::create_environment_profile::CreateEnvironmentProfileError::ResourceNotFoundException(inner) => {
962 Error::ResourceNotFoundException(inner)
963 }
964 crate::operation::create_environment_profile::CreateEnvironmentProfileError::ServiceQuotaExceededException(inner) => {
965 Error::ServiceQuotaExceededException(inner)
966 }
967 crate::operation::create_environment_profile::CreateEnvironmentProfileError::ThrottlingException(inner) => {
968 Error::ThrottlingException(inner)
969 }
970 crate::operation::create_environment_profile::CreateEnvironmentProfileError::ValidationException(inner) => {
971 Error::ValidationException(inner)
972 }
973 crate::operation::create_environment_profile::CreateEnvironmentProfileError::UnauthorizedException(inner) => {
974 Error::UnauthorizedException(inner)
975 }
976 crate::operation::create_environment_profile::CreateEnvironmentProfileError::Unhandled(inner) => Error::Unhandled(inner),
977 }
978 }
979}
980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_form_type::CreateFormTypeError, R>> for Error
981where
982 R: Send + Sync + std::fmt::Debug + 'static,
983{
984 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_form_type::CreateFormTypeError, R>) -> Self {
985 match err {
986 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
987 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
988 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
989 source: err.into(),
990 }),
991 }
992 }
993}
994impl From<crate::operation::create_form_type::CreateFormTypeError> for Error {
995 fn from(err: crate::operation::create_form_type::CreateFormTypeError) -> Self {
996 match err {
997 crate::operation::create_form_type::CreateFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
998 crate::operation::create_form_type::CreateFormTypeError::ConflictException(inner) => Error::ConflictException(inner),
999 crate::operation::create_form_type::CreateFormTypeError::InternalServerException(inner) => Error::InternalServerException(inner),
1000 crate::operation::create_form_type::CreateFormTypeError::ServiceQuotaExceededException(inner) => {
1001 Error::ServiceQuotaExceededException(inner)
1002 }
1003 crate::operation::create_form_type::CreateFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1004 crate::operation::create_form_type::CreateFormTypeError::ValidationException(inner) => Error::ValidationException(inner),
1005 crate::operation::create_form_type::CreateFormTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1006 crate::operation::create_form_type::CreateFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
1007 }
1008 }
1009}
1010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary::CreateGlossaryError, R>> for Error
1011where
1012 R: Send + Sync + std::fmt::Debug + 'static,
1013{
1014 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary::CreateGlossaryError, R>) -> Self {
1015 match err {
1016 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1017 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1018 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1019 source: err.into(),
1020 }),
1021 }
1022 }
1023}
1024impl From<crate::operation::create_glossary::CreateGlossaryError> for Error {
1025 fn from(err: crate::operation::create_glossary::CreateGlossaryError) -> Self {
1026 match err {
1027 crate::operation::create_glossary::CreateGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1028 crate::operation::create_glossary::CreateGlossaryError::ConflictException(inner) => Error::ConflictException(inner),
1029 crate::operation::create_glossary::CreateGlossaryError::InternalServerException(inner) => Error::InternalServerException(inner),
1030 crate::operation::create_glossary::CreateGlossaryError::ServiceQuotaExceededException(inner) => {
1031 Error::ServiceQuotaExceededException(inner)
1032 }
1033 crate::operation::create_glossary::CreateGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1034 crate::operation::create_glossary::CreateGlossaryError::ValidationException(inner) => Error::ValidationException(inner),
1035 crate::operation::create_glossary::CreateGlossaryError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1036 crate::operation::create_glossary::CreateGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
1037 }
1038 }
1039}
1040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary_term::CreateGlossaryTermError, R>> for Error
1041where
1042 R: Send + Sync + std::fmt::Debug + 'static,
1043{
1044 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary_term::CreateGlossaryTermError, R>) -> Self {
1045 match err {
1046 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1047 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1048 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1049 source: err.into(),
1050 }),
1051 }
1052 }
1053}
1054impl From<crate::operation::create_glossary_term::CreateGlossaryTermError> for Error {
1055 fn from(err: crate::operation::create_glossary_term::CreateGlossaryTermError) -> Self {
1056 match err {
1057 crate::operation::create_glossary_term::CreateGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1058 crate::operation::create_glossary_term::CreateGlossaryTermError::ConflictException(inner) => Error::ConflictException(inner),
1059 crate::operation::create_glossary_term::CreateGlossaryTermError::InternalServerException(inner) => Error::InternalServerException(inner),
1060 crate::operation::create_glossary_term::CreateGlossaryTermError::ResourceNotFoundException(inner) => {
1061 Error::ResourceNotFoundException(inner)
1062 }
1063 crate::operation::create_glossary_term::CreateGlossaryTermError::ServiceQuotaExceededException(inner) => {
1064 Error::ServiceQuotaExceededException(inner)
1065 }
1066 crate::operation::create_glossary_term::CreateGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1067 crate::operation::create_glossary_term::CreateGlossaryTermError::ValidationException(inner) => Error::ValidationException(inner),
1068 crate::operation::create_glossary_term::CreateGlossaryTermError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1069 crate::operation::create_glossary_term::CreateGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
1070 }
1071 }
1072}
1073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_group_profile::CreateGroupProfileError, R>> for Error
1074where
1075 R: Send + Sync + std::fmt::Debug + 'static,
1076{
1077 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_group_profile::CreateGroupProfileError, R>) -> Self {
1078 match err {
1079 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1080 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1081 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1082 source: err.into(),
1083 }),
1084 }
1085 }
1086}
1087impl From<crate::operation::create_group_profile::CreateGroupProfileError> for Error {
1088 fn from(err: crate::operation::create_group_profile::CreateGroupProfileError) -> Self {
1089 match err {
1090 crate::operation::create_group_profile::CreateGroupProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1091 crate::operation::create_group_profile::CreateGroupProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
1092 crate::operation::create_group_profile::CreateGroupProfileError::ResourceNotFoundException(inner) => {
1093 Error::ResourceNotFoundException(inner)
1094 }
1095 crate::operation::create_group_profile::CreateGroupProfileError::ValidationException(inner) => Error::ValidationException(inner),
1096 crate::operation::create_group_profile::CreateGroupProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1097 crate::operation::create_group_profile::CreateGroupProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1098 crate::operation::create_group_profile::CreateGroupProfileError::Unhandled(inner) => Error::Unhandled(inner),
1099 }
1100 }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_listing_change_set::CreateListingChangeSetError, R>>
1103 for Error
1104where
1105 R: Send + Sync + std::fmt::Debug + 'static,
1106{
1107 fn from(
1108 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_listing_change_set::CreateListingChangeSetError, R>,
1109 ) -> Self {
1110 match err {
1111 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1112 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1113 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1114 source: err.into(),
1115 }),
1116 }
1117 }
1118}
1119impl From<crate::operation::create_listing_change_set::CreateListingChangeSetError> for Error {
1120 fn from(err: crate::operation::create_listing_change_set::CreateListingChangeSetError) -> Self {
1121 match err {
1122 crate::operation::create_listing_change_set::CreateListingChangeSetError::AccessDeniedException(inner) => {
1123 Error::AccessDeniedException(inner)
1124 }
1125 crate::operation::create_listing_change_set::CreateListingChangeSetError::ConflictException(inner) => Error::ConflictException(inner),
1126 crate::operation::create_listing_change_set::CreateListingChangeSetError::InternalServerException(inner) => {
1127 Error::InternalServerException(inner)
1128 }
1129 crate::operation::create_listing_change_set::CreateListingChangeSetError::ResourceNotFoundException(inner) => {
1130 Error::ResourceNotFoundException(inner)
1131 }
1132 crate::operation::create_listing_change_set::CreateListingChangeSetError::ServiceQuotaExceededException(inner) => {
1133 Error::ServiceQuotaExceededException(inner)
1134 }
1135 crate::operation::create_listing_change_set::CreateListingChangeSetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1136 crate::operation::create_listing_change_set::CreateListingChangeSetError::ValidationException(inner) => Error::ValidationException(inner),
1137 crate::operation::create_listing_change_set::CreateListingChangeSetError::UnauthorizedException(inner) => {
1138 Error::UnauthorizedException(inner)
1139 }
1140 crate::operation::create_listing_change_set::CreateListingChangeSetError::Unhandled(inner) => Error::Unhandled(inner),
1141 }
1142 }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook::CreateNotebookError, R>> for Error
1145where
1146 R: Send + Sync + std::fmt::Debug + 'static,
1147{
1148 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_notebook::CreateNotebookError, R>) -> Self {
1149 match err {
1150 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1151 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1152 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1153 source: err.into(),
1154 }),
1155 }
1156 }
1157}
1158impl From<crate::operation::create_notebook::CreateNotebookError> for Error {
1159 fn from(err: crate::operation::create_notebook::CreateNotebookError) -> Self {
1160 match err {
1161 crate::operation::create_notebook::CreateNotebookError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1162 crate::operation::create_notebook::CreateNotebookError::ConflictException(inner) => Error::ConflictException(inner),
1163 crate::operation::create_notebook::CreateNotebookError::InternalServerException(inner) => Error::InternalServerException(inner),
1164 crate::operation::create_notebook::CreateNotebookError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1165 crate::operation::create_notebook::CreateNotebookError::ServiceQuotaExceededException(inner) => {
1166 Error::ServiceQuotaExceededException(inner)
1167 }
1168 crate::operation::create_notebook::CreateNotebookError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1169 crate::operation::create_notebook::CreateNotebookError::ValidationException(inner) => Error::ValidationException(inner),
1170 crate::operation::create_notebook::CreateNotebookError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1171 crate::operation::create_notebook::CreateNotebookError::Unhandled(inner) => Error::Unhandled(inner),
1172 }
1173 }
1174}
1175impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>> for Error
1176where
1177 R: Send + Sync + std::fmt::Debug + 'static,
1178{
1179 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project::CreateProjectError, R>) -> Self {
1180 match err {
1181 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184 source: err.into(),
1185 }),
1186 }
1187 }
1188}
1189impl From<crate::operation::create_project::CreateProjectError> for Error {
1190 fn from(err: crate::operation::create_project::CreateProjectError) -> Self {
1191 match err {
1192 crate::operation::create_project::CreateProjectError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1193 crate::operation::create_project::CreateProjectError::ConflictException(inner) => Error::ConflictException(inner),
1194 crate::operation::create_project::CreateProjectError::InternalServerException(inner) => Error::InternalServerException(inner),
1195 crate::operation::create_project::CreateProjectError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1196 crate::operation::create_project::CreateProjectError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1197 crate::operation::create_project::CreateProjectError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1198 crate::operation::create_project::CreateProjectError::ValidationException(inner) => Error::ValidationException(inner),
1199 crate::operation::create_project::CreateProjectError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1200 crate::operation::create_project::CreateProjectError::Unhandled(inner) => Error::Unhandled(inner),
1201 }
1202 }
1203}
1204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project_membership::CreateProjectMembershipError, R>>
1205 for Error
1206where
1207 R: Send + Sync + std::fmt::Debug + 'static,
1208{
1209 fn from(
1210 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project_membership::CreateProjectMembershipError, R>,
1211 ) -> Self {
1212 match err {
1213 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1214 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1215 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1216 source: err.into(),
1217 }),
1218 }
1219 }
1220}
1221impl From<crate::operation::create_project_membership::CreateProjectMembershipError> for Error {
1222 fn from(err: crate::operation::create_project_membership::CreateProjectMembershipError) -> Self {
1223 match err {
1224 crate::operation::create_project_membership::CreateProjectMembershipError::AccessDeniedException(inner) => {
1225 Error::AccessDeniedException(inner)
1226 }
1227 crate::operation::create_project_membership::CreateProjectMembershipError::InternalServerException(inner) => {
1228 Error::InternalServerException(inner)
1229 }
1230 crate::operation::create_project_membership::CreateProjectMembershipError::ResourceNotFoundException(inner) => {
1231 Error::ResourceNotFoundException(inner)
1232 }
1233 crate::operation::create_project_membership::CreateProjectMembershipError::ValidationException(inner) => {
1234 Error::ValidationException(inner)
1235 }
1236 crate::operation::create_project_membership::CreateProjectMembershipError::ThrottlingException(inner) => {
1237 Error::ThrottlingException(inner)
1238 }
1239 crate::operation::create_project_membership::CreateProjectMembershipError::UnauthorizedException(inner) => {
1240 Error::UnauthorizedException(inner)
1241 }
1242 crate::operation::create_project_membership::CreateProjectMembershipError::Unhandled(inner) => Error::Unhandled(inner),
1243 }
1244 }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project_profile::CreateProjectProfileError, R>> for Error
1247where
1248 R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_project_profile::CreateProjectProfileError, R>) -> Self {
1251 match err {
1252 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255 source: err.into(),
1256 }),
1257 }
1258 }
1259}
1260impl From<crate::operation::create_project_profile::CreateProjectProfileError> for Error {
1261 fn from(err: crate::operation::create_project_profile::CreateProjectProfileError) -> Self {
1262 match err {
1263 crate::operation::create_project_profile::CreateProjectProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1264 crate::operation::create_project_profile::CreateProjectProfileError::ConflictException(inner) => Error::ConflictException(inner),
1265 crate::operation::create_project_profile::CreateProjectProfileError::InternalServerException(inner) => {
1266 Error::InternalServerException(inner)
1267 }
1268 crate::operation::create_project_profile::CreateProjectProfileError::ResourceNotFoundException(inner) => {
1269 Error::ResourceNotFoundException(inner)
1270 }
1271 crate::operation::create_project_profile::CreateProjectProfileError::ServiceQuotaExceededException(inner) => {
1272 Error::ServiceQuotaExceededException(inner)
1273 }
1274 crate::operation::create_project_profile::CreateProjectProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1275 crate::operation::create_project_profile::CreateProjectProfileError::ValidationException(inner) => Error::ValidationException(inner),
1276 crate::operation::create_project_profile::CreateProjectProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1277 crate::operation::create_project_profile::CreateProjectProfileError::Unhandled(inner) => Error::Unhandled(inner),
1278 }
1279 }
1280}
1281impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_rule::CreateRuleError, R>> for Error
1282where
1283 R: Send + Sync + std::fmt::Debug + 'static,
1284{
1285 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_rule::CreateRuleError, R>) -> Self {
1286 match err {
1287 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1288 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1289 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1290 source: err.into(),
1291 }),
1292 }
1293 }
1294}
1295impl From<crate::operation::create_rule::CreateRuleError> for Error {
1296 fn from(err: crate::operation::create_rule::CreateRuleError) -> Self {
1297 match err {
1298 crate::operation::create_rule::CreateRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1299 crate::operation::create_rule::CreateRuleError::ConflictException(inner) => Error::ConflictException(inner),
1300 crate::operation::create_rule::CreateRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
1301 crate::operation::create_rule::CreateRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1302 crate::operation::create_rule::CreateRuleError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1303 crate::operation::create_rule::CreateRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1304 crate::operation::create_rule::CreateRuleError::ValidationException(inner) => Error::ValidationException(inner),
1305 crate::operation::create_rule::CreateRuleError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1306 crate::operation::create_rule::CreateRuleError::Unhandled(inner) => Error::Unhandled(inner),
1307 }
1308 }
1309}
1310impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subscription_grant::CreateSubscriptionGrantError, R>>
1311 for Error
1312where
1313 R: Send + Sync + std::fmt::Debug + 'static,
1314{
1315 fn from(
1316 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subscription_grant::CreateSubscriptionGrantError, R>,
1317 ) -> Self {
1318 match err {
1319 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1320 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1321 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1322 source: err.into(),
1323 }),
1324 }
1325 }
1326}
1327impl From<crate::operation::create_subscription_grant::CreateSubscriptionGrantError> for Error {
1328 fn from(err: crate::operation::create_subscription_grant::CreateSubscriptionGrantError) -> Self {
1329 match err {
1330 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::AccessDeniedException(inner) => {
1331 Error::AccessDeniedException(inner)
1332 }
1333 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::ConflictException(inner) => Error::ConflictException(inner),
1334 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::InternalServerException(inner) => {
1335 Error::InternalServerException(inner)
1336 }
1337 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::ResourceNotFoundException(inner) => {
1338 Error::ResourceNotFoundException(inner)
1339 }
1340 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::ThrottlingException(inner) => {
1341 Error::ThrottlingException(inner)
1342 }
1343 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::ValidationException(inner) => {
1344 Error::ValidationException(inner)
1345 }
1346 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::UnauthorizedException(inner) => {
1347 Error::UnauthorizedException(inner)
1348 }
1349 crate::operation::create_subscription_grant::CreateSubscriptionGrantError::Unhandled(inner) => Error::Unhandled(inner),
1350 }
1351 }
1352}
1353impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subscription_request::CreateSubscriptionRequestError, R>>
1354 for Error
1355where
1356 R: Send + Sync + std::fmt::Debug + 'static,
1357{
1358 fn from(
1359 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subscription_request::CreateSubscriptionRequestError, R>,
1360 ) -> Self {
1361 match err {
1362 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1363 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1364 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1365 source: err.into(),
1366 }),
1367 }
1368 }
1369}
1370impl From<crate::operation::create_subscription_request::CreateSubscriptionRequestError> for Error {
1371 fn from(err: crate::operation::create_subscription_request::CreateSubscriptionRequestError) -> Self {
1372 match err {
1373 crate::operation::create_subscription_request::CreateSubscriptionRequestError::AccessDeniedException(inner) => {
1374 Error::AccessDeniedException(inner)
1375 }
1376 crate::operation::create_subscription_request::CreateSubscriptionRequestError::ConflictException(inner) => {
1377 Error::ConflictException(inner)
1378 }
1379 crate::operation::create_subscription_request::CreateSubscriptionRequestError::InternalServerException(inner) => {
1380 Error::InternalServerException(inner)
1381 }
1382 crate::operation::create_subscription_request::CreateSubscriptionRequestError::ResourceNotFoundException(inner) => {
1383 Error::ResourceNotFoundException(inner)
1384 }
1385 crate::operation::create_subscription_request::CreateSubscriptionRequestError::ServiceQuotaExceededException(inner) => {
1386 Error::ServiceQuotaExceededException(inner)
1387 }
1388 crate::operation::create_subscription_request::CreateSubscriptionRequestError::ThrottlingException(inner) => {
1389 Error::ThrottlingException(inner)
1390 }
1391 crate::operation::create_subscription_request::CreateSubscriptionRequestError::ValidationException(inner) => {
1392 Error::ValidationException(inner)
1393 }
1394 crate::operation::create_subscription_request::CreateSubscriptionRequestError::UnauthorizedException(inner) => {
1395 Error::UnauthorizedException(inner)
1396 }
1397 crate::operation::create_subscription_request::CreateSubscriptionRequestError::Unhandled(inner) => Error::Unhandled(inner),
1398 }
1399 }
1400}
1401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subscription_target::CreateSubscriptionTargetError, R>>
1402 for Error
1403where
1404 R: Send + Sync + std::fmt::Debug + 'static,
1405{
1406 fn from(
1407 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subscription_target::CreateSubscriptionTargetError, R>,
1408 ) -> Self {
1409 match err {
1410 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413 source: err.into(),
1414 }),
1415 }
1416 }
1417}
1418impl From<crate::operation::create_subscription_target::CreateSubscriptionTargetError> for Error {
1419 fn from(err: crate::operation::create_subscription_target::CreateSubscriptionTargetError) -> Self {
1420 match err {
1421 crate::operation::create_subscription_target::CreateSubscriptionTargetError::AccessDeniedException(inner) => {
1422 Error::AccessDeniedException(inner)
1423 }
1424 crate::operation::create_subscription_target::CreateSubscriptionTargetError::ConflictException(inner) => Error::ConflictException(inner),
1425 crate::operation::create_subscription_target::CreateSubscriptionTargetError::InternalServerException(inner) => {
1426 Error::InternalServerException(inner)
1427 }
1428 crate::operation::create_subscription_target::CreateSubscriptionTargetError::ResourceNotFoundException(inner) => {
1429 Error::ResourceNotFoundException(inner)
1430 }
1431 crate::operation::create_subscription_target::CreateSubscriptionTargetError::ThrottlingException(inner) => {
1432 Error::ThrottlingException(inner)
1433 }
1434 crate::operation::create_subscription_target::CreateSubscriptionTargetError::ValidationException(inner) => {
1435 Error::ValidationException(inner)
1436 }
1437 crate::operation::create_subscription_target::CreateSubscriptionTargetError::UnauthorizedException(inner) => {
1438 Error::UnauthorizedException(inner)
1439 }
1440 crate::operation::create_subscription_target::CreateSubscriptionTargetError::Unhandled(inner) => Error::Unhandled(inner),
1441 }
1442 }
1443}
1444impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>> for Error
1445where
1446 R: Send + Sync + std::fmt::Debug + 'static,
1447{
1448 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_profile::CreateUserProfileError, R>) -> Self {
1449 match err {
1450 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1451 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1452 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1453 source: err.into(),
1454 }),
1455 }
1456 }
1457}
1458impl From<crate::operation::create_user_profile::CreateUserProfileError> for Error {
1459 fn from(err: crate::operation::create_user_profile::CreateUserProfileError) -> Self {
1460 match err {
1461 crate::operation::create_user_profile::CreateUserProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1462 crate::operation::create_user_profile::CreateUserProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
1463 crate::operation::create_user_profile::CreateUserProfileError::ResourceNotFoundException(inner) => {
1464 Error::ResourceNotFoundException(inner)
1465 }
1466 crate::operation::create_user_profile::CreateUserProfileError::ValidationException(inner) => Error::ValidationException(inner),
1467 crate::operation::create_user_profile::CreateUserProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1468 crate::operation::create_user_profile::CreateUserProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1469 crate::operation::create_user_profile::CreateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
1470 }
1471 }
1472}
1473impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_account_pool::DeleteAccountPoolError, R>> for Error
1474where
1475 R: Send + Sync + std::fmt::Debug + 'static,
1476{
1477 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_account_pool::DeleteAccountPoolError, R>) -> Self {
1478 match err {
1479 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1480 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1481 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1482 source: err.into(),
1483 }),
1484 }
1485 }
1486}
1487impl From<crate::operation::delete_account_pool::DeleteAccountPoolError> for Error {
1488 fn from(err: crate::operation::delete_account_pool::DeleteAccountPoolError) -> Self {
1489 match err {
1490 crate::operation::delete_account_pool::DeleteAccountPoolError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1491 crate::operation::delete_account_pool::DeleteAccountPoolError::InternalServerException(inner) => Error::InternalServerException(inner),
1492 crate::operation::delete_account_pool::DeleteAccountPoolError::ResourceNotFoundException(inner) => {
1493 Error::ResourceNotFoundException(inner)
1494 }
1495 crate::operation::delete_account_pool::DeleteAccountPoolError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1496 crate::operation::delete_account_pool::DeleteAccountPoolError::ValidationException(inner) => Error::ValidationException(inner),
1497 crate::operation::delete_account_pool::DeleteAccountPoolError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1498 crate::operation::delete_account_pool::DeleteAccountPoolError::Unhandled(inner) => Error::Unhandled(inner),
1499 }
1500 }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset::DeleteAssetError, R>> for Error
1503where
1504 R: Send + Sync + std::fmt::Debug + 'static,
1505{
1506 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset::DeleteAssetError, R>) -> Self {
1507 match err {
1508 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1509 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1510 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1511 source: err.into(),
1512 }),
1513 }
1514 }
1515}
1516impl From<crate::operation::delete_asset::DeleteAssetError> for Error {
1517 fn from(err: crate::operation::delete_asset::DeleteAssetError) -> Self {
1518 match err {
1519 crate::operation::delete_asset::DeleteAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1520 crate::operation::delete_asset::DeleteAssetError::ConflictException(inner) => Error::ConflictException(inner),
1521 crate::operation::delete_asset::DeleteAssetError::InternalServerException(inner) => Error::InternalServerException(inner),
1522 crate::operation::delete_asset::DeleteAssetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1523 crate::operation::delete_asset::DeleteAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1524 crate::operation::delete_asset::DeleteAssetError::ValidationException(inner) => Error::ValidationException(inner),
1525 crate::operation::delete_asset::DeleteAssetError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1526 crate::operation::delete_asset::DeleteAssetError::Unhandled(inner) => Error::Unhandled(inner),
1527 }
1528 }
1529}
1530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset_filter::DeleteAssetFilterError, R>> for Error
1531where
1532 R: Send + Sync + std::fmt::Debug + 'static,
1533{
1534 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset_filter::DeleteAssetFilterError, R>) -> Self {
1535 match err {
1536 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1537 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1538 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1539 source: err.into(),
1540 }),
1541 }
1542 }
1543}
1544impl From<crate::operation::delete_asset_filter::DeleteAssetFilterError> for Error {
1545 fn from(err: crate::operation::delete_asset_filter::DeleteAssetFilterError) -> Self {
1546 match err {
1547 crate::operation::delete_asset_filter::DeleteAssetFilterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1548 crate::operation::delete_asset_filter::DeleteAssetFilterError::ConflictException(inner) => Error::ConflictException(inner),
1549 crate::operation::delete_asset_filter::DeleteAssetFilterError::InternalServerException(inner) => Error::InternalServerException(inner),
1550 crate::operation::delete_asset_filter::DeleteAssetFilterError::ResourceNotFoundException(inner) => {
1551 Error::ResourceNotFoundException(inner)
1552 }
1553 crate::operation::delete_asset_filter::DeleteAssetFilterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1554 crate::operation::delete_asset_filter::DeleteAssetFilterError::ValidationException(inner) => Error::ValidationException(inner),
1555 crate::operation::delete_asset_filter::DeleteAssetFilterError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1556 crate::operation::delete_asset_filter::DeleteAssetFilterError::Unhandled(inner) => Error::Unhandled(inner),
1557 }
1558 }
1559}
1560impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset_type::DeleteAssetTypeError, R>> for Error
1561where
1562 R: Send + Sync + std::fmt::Debug + 'static,
1563{
1564 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset_type::DeleteAssetTypeError, R>) -> Self {
1565 match err {
1566 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1567 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1568 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1569 source: err.into(),
1570 }),
1571 }
1572 }
1573}
1574impl From<crate::operation::delete_asset_type::DeleteAssetTypeError> for Error {
1575 fn from(err: crate::operation::delete_asset_type::DeleteAssetTypeError) -> Self {
1576 match err {
1577 crate::operation::delete_asset_type::DeleteAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1578 crate::operation::delete_asset_type::DeleteAssetTypeError::ConflictException(inner) => Error::ConflictException(inner),
1579 crate::operation::delete_asset_type::DeleteAssetTypeError::InternalServerException(inner) => Error::InternalServerException(inner),
1580 crate::operation::delete_asset_type::DeleteAssetTypeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1581 crate::operation::delete_asset_type::DeleteAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1582 crate::operation::delete_asset_type::DeleteAssetTypeError::ValidationException(inner) => Error::ValidationException(inner),
1583 crate::operation::delete_asset_type::DeleteAssetTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1584 crate::operation::delete_asset_type::DeleteAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
1585 }
1586 }
1587}
1588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
1589where
1590 R: Send + Sync + std::fmt::Debug + 'static,
1591{
1592 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
1593 match err {
1594 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1595 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1596 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1597 source: err.into(),
1598 }),
1599 }
1600 }
1601}
1602impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
1603 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
1604 match err {
1605 crate::operation::delete_connection::DeleteConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1606 crate::operation::delete_connection::DeleteConnectionError::InternalServerException(inner) => Error::InternalServerException(inner),
1607 crate::operation::delete_connection::DeleteConnectionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1608 crate::operation::delete_connection::DeleteConnectionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1609 crate::operation::delete_connection::DeleteConnectionError::ValidationException(inner) => Error::ValidationException(inner),
1610 crate::operation::delete_connection::DeleteConnectionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1611 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1612 }
1613 }
1614}
1615impl<R>
1616 From<
1617 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError, R>,
1618 > for Error
1619where
1620 R: Send + Sync + std::fmt::Debug + 'static,
1621{
1622 fn from(
1623 err: ::aws_smithy_runtime_api::client::result::SdkError<
1624 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError,
1625 R,
1626 >,
1627 ) -> Self {
1628 match err {
1629 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1630 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1631 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1632 source: err.into(),
1633 }),
1634 }
1635 }
1636}
1637impl From<crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError> for Error {
1638 fn from(err: crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError) -> Self {
1639 match err {
1640 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::AccessDeniedException(inner) => {
1641 Error::AccessDeniedException(inner)
1642 }
1643 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::ConflictException(inner) => {
1644 Error::ConflictException(inner)
1645 }
1646 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::InternalServerException(inner) => {
1647 Error::InternalServerException(inner)
1648 }
1649 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::ResourceNotFoundException(inner) => {
1650 Error::ResourceNotFoundException(inner)
1651 }
1652 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::ThrottlingException(inner) => {
1653 Error::ThrottlingException(inner)
1654 }
1655 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::ValidationException(inner) => {
1656 Error::ValidationException(inner)
1657 }
1658 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::UnauthorizedException(inner) => {
1659 Error::UnauthorizedException(inner)
1660 }
1661 crate::operation::delete_data_export_configuration::DeleteDataExportConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1662 }
1663 }
1664}
1665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_product::DeleteDataProductError, R>> for Error
1666where
1667 R: Send + Sync + std::fmt::Debug + 'static,
1668{
1669 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_product::DeleteDataProductError, R>) -> Self {
1670 match err {
1671 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1672 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1673 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1674 source: err.into(),
1675 }),
1676 }
1677 }
1678}
1679impl From<crate::operation::delete_data_product::DeleteDataProductError> for Error {
1680 fn from(err: crate::operation::delete_data_product::DeleteDataProductError) -> Self {
1681 match err {
1682 crate::operation::delete_data_product::DeleteDataProductError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1683 crate::operation::delete_data_product::DeleteDataProductError::ConflictException(inner) => Error::ConflictException(inner),
1684 crate::operation::delete_data_product::DeleteDataProductError::InternalServerException(inner) => Error::InternalServerException(inner),
1685 crate::operation::delete_data_product::DeleteDataProductError::ResourceNotFoundException(inner) => {
1686 Error::ResourceNotFoundException(inner)
1687 }
1688 crate::operation::delete_data_product::DeleteDataProductError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1689 crate::operation::delete_data_product::DeleteDataProductError::ValidationException(inner) => Error::ValidationException(inner),
1690 crate::operation::delete_data_product::DeleteDataProductError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1691 crate::operation::delete_data_product::DeleteDataProductError::Unhandled(inner) => Error::Unhandled(inner),
1692 }
1693 }
1694}
1695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_source::DeleteDataSourceError, R>> for Error
1696where
1697 R: Send + Sync + std::fmt::Debug + 'static,
1698{
1699 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_source::DeleteDataSourceError, R>) -> Self {
1700 match err {
1701 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1702 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1703 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1704 source: err.into(),
1705 }),
1706 }
1707 }
1708}
1709impl From<crate::operation::delete_data_source::DeleteDataSourceError> for Error {
1710 fn from(err: crate::operation::delete_data_source::DeleteDataSourceError) -> Self {
1711 match err {
1712 crate::operation::delete_data_source::DeleteDataSourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1713 crate::operation::delete_data_source::DeleteDataSourceError::ConflictException(inner) => Error::ConflictException(inner),
1714 crate::operation::delete_data_source::DeleteDataSourceError::InternalServerException(inner) => Error::InternalServerException(inner),
1715 crate::operation::delete_data_source::DeleteDataSourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1716 crate::operation::delete_data_source::DeleteDataSourceError::ServiceQuotaExceededException(inner) => {
1717 Error::ServiceQuotaExceededException(inner)
1718 }
1719 crate::operation::delete_data_source::DeleteDataSourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1720 crate::operation::delete_data_source::DeleteDataSourceError::ValidationException(inner) => Error::ValidationException(inner),
1721 crate::operation::delete_data_source::DeleteDataSourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1722 crate::operation::delete_data_source::DeleteDataSourceError::Unhandled(inner) => Error::Unhandled(inner),
1723 }
1724 }
1725}
1726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>> for Error
1727where
1728 R: Send + Sync + std::fmt::Debug + 'static,
1729{
1730 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain::DeleteDomainError, R>) -> Self {
1731 match err {
1732 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1733 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1734 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1735 source: err.into(),
1736 }),
1737 }
1738 }
1739}
1740impl From<crate::operation::delete_domain::DeleteDomainError> for Error {
1741 fn from(err: crate::operation::delete_domain::DeleteDomainError) -> Self {
1742 match err {
1743 crate::operation::delete_domain::DeleteDomainError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1744 crate::operation::delete_domain::DeleteDomainError::ConflictException(inner) => Error::ConflictException(inner),
1745 crate::operation::delete_domain::DeleteDomainError::InternalServerException(inner) => Error::InternalServerException(inner),
1746 crate::operation::delete_domain::DeleteDomainError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1747 crate::operation::delete_domain::DeleteDomainError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1748 crate::operation::delete_domain::DeleteDomainError::ValidationException(inner) => Error::ValidationException(inner),
1749 crate::operation::delete_domain::DeleteDomainError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1750 crate::operation::delete_domain::DeleteDomainError::Unhandled(inner) => Error::Unhandled(inner),
1751 }
1752 }
1753}
1754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain_unit::DeleteDomainUnitError, R>> for Error
1755where
1756 R: Send + Sync + std::fmt::Debug + 'static,
1757{
1758 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_domain_unit::DeleteDomainUnitError, R>) -> Self {
1759 match err {
1760 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1761 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1762 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1763 source: err.into(),
1764 }),
1765 }
1766 }
1767}
1768impl From<crate::operation::delete_domain_unit::DeleteDomainUnitError> for Error {
1769 fn from(err: crate::operation::delete_domain_unit::DeleteDomainUnitError) -> Self {
1770 match err {
1771 crate::operation::delete_domain_unit::DeleteDomainUnitError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1772 crate::operation::delete_domain_unit::DeleteDomainUnitError::ConflictException(inner) => Error::ConflictException(inner),
1773 crate::operation::delete_domain_unit::DeleteDomainUnitError::InternalServerException(inner) => Error::InternalServerException(inner),
1774 crate::operation::delete_domain_unit::DeleteDomainUnitError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1775 crate::operation::delete_domain_unit::DeleteDomainUnitError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1776 crate::operation::delete_domain_unit::DeleteDomainUnitError::ValidationException(inner) => Error::ValidationException(inner),
1777 crate::operation::delete_domain_unit::DeleteDomainUnitError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1778 crate::operation::delete_domain_unit::DeleteDomainUnitError::Unhandled(inner) => Error::Unhandled(inner),
1779 }
1780 }
1781}
1782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment::DeleteEnvironmentError, R>> for Error
1783where
1784 R: Send + Sync + std::fmt::Debug + 'static,
1785{
1786 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment::DeleteEnvironmentError, R>) -> Self {
1787 match err {
1788 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1789 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1790 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1791 source: err.into(),
1792 }),
1793 }
1794 }
1795}
1796impl From<crate::operation::delete_environment::DeleteEnvironmentError> for Error {
1797 fn from(err: crate::operation::delete_environment::DeleteEnvironmentError) -> Self {
1798 match err {
1799 crate::operation::delete_environment::DeleteEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1800 crate::operation::delete_environment::DeleteEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
1801 crate::operation::delete_environment::DeleteEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1802 crate::operation::delete_environment::DeleteEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1803 crate::operation::delete_environment::DeleteEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
1804 crate::operation::delete_environment::DeleteEnvironmentError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
1805 crate::operation::delete_environment::DeleteEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
1806 }
1807 }
1808}
1809impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment_action::DeleteEnvironmentActionError, R>>
1810 for Error
1811where
1812 R: Send + Sync + std::fmt::Debug + 'static,
1813{
1814 fn from(
1815 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment_action::DeleteEnvironmentActionError, R>,
1816 ) -> Self {
1817 match err {
1818 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1819 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1820 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1821 source: err.into(),
1822 }),
1823 }
1824 }
1825}
1826impl From<crate::operation::delete_environment_action::DeleteEnvironmentActionError> for Error {
1827 fn from(err: crate::operation::delete_environment_action::DeleteEnvironmentActionError) -> Self {
1828 match err {
1829 crate::operation::delete_environment_action::DeleteEnvironmentActionError::AccessDeniedException(inner) => {
1830 Error::AccessDeniedException(inner)
1831 }
1832 crate::operation::delete_environment_action::DeleteEnvironmentActionError::ConflictException(inner) => Error::ConflictException(inner),
1833 crate::operation::delete_environment_action::DeleteEnvironmentActionError::InternalServerException(inner) => {
1834 Error::InternalServerException(inner)
1835 }
1836 crate::operation::delete_environment_action::DeleteEnvironmentActionError::ResourceNotFoundException(inner) => {
1837 Error::ResourceNotFoundException(inner)
1838 }
1839 crate::operation::delete_environment_action::DeleteEnvironmentActionError::ThrottlingException(inner) => {
1840 Error::ThrottlingException(inner)
1841 }
1842 crate::operation::delete_environment_action::DeleteEnvironmentActionError::ValidationException(inner) => {
1843 Error::ValidationException(inner)
1844 }
1845 crate::operation::delete_environment_action::DeleteEnvironmentActionError::UnauthorizedException(inner) => {
1846 Error::UnauthorizedException(inner)
1847 }
1848 crate::operation::delete_environment_action::DeleteEnvironmentActionError::Unhandled(inner) => Error::Unhandled(inner),
1849 }
1850 }
1851}
1852impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError, R>>
1853 for Error
1854where
1855 R: Send + Sync + std::fmt::Debug + 'static,
1856{
1857 fn from(
1858 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError, R>,
1859 ) -> Self {
1860 match err {
1861 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1862 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1863 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1864 source: err.into(),
1865 }),
1866 }
1867 }
1868}
1869impl From<crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError> for Error {
1870 fn from(err: crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError) -> Self {
1871 match err {
1872 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::AccessDeniedException(inner) => {
1873 Error::AccessDeniedException(inner)
1874 }
1875 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::ConflictException(inner) => {
1876 Error::ConflictException(inner)
1877 }
1878 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::InternalServerException(inner) => {
1879 Error::InternalServerException(inner)
1880 }
1881 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::ResourceNotFoundException(inner) => {
1882 Error::ResourceNotFoundException(inner)
1883 }
1884 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::ThrottlingException(inner) => {
1885 Error::ThrottlingException(inner)
1886 }
1887 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::ValidationException(inner) => {
1888 Error::ValidationException(inner)
1889 }
1890 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::UnauthorizedException(inner) => {
1891 Error::UnauthorizedException(inner)
1892 }
1893 crate::operation::delete_environment_blueprint::DeleteEnvironmentBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
1894 }
1895 }
1896}
1897impl<R>
1898 From<
1899 ::aws_smithy_runtime_api::client::result::SdkError<
1900 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError,
1901 R,
1902 >,
1903 > for Error
1904where
1905 R: Send + Sync + std::fmt::Debug + 'static,
1906{
1907 fn from(
1908 err: ::aws_smithy_runtime_api::client::result::SdkError<
1909 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError,
1910 R,
1911 >,
1912 ) -> Self {
1913 match err {
1914 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1915 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1916 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1917 source: err.into(),
1918 }),
1919 }
1920 }
1921}
1922impl From<crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError> for Error {
1923 fn from(err: crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError) -> Self {
1924 match err {
1925 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError::AccessDeniedException(
1926 inner,
1927 ) => Error::AccessDeniedException(inner),
1928 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError::InternalServerException(
1929 inner,
1930 ) => Error::InternalServerException(inner),
1931 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError::ValidationException(
1932 inner,
1933 ) => Error::ValidationException(inner),
1934 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError::ThrottlingException(
1935 inner,
1936 ) => Error::ThrottlingException(inner),
1937 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError::UnauthorizedException(
1938 inner,
1939 ) => Error::UnauthorizedException(inner),
1940 crate::operation::delete_environment_blueprint_configuration::DeleteEnvironmentBlueprintConfigurationError::Unhandled(inner) => {
1941 Error::Unhandled(inner)
1942 }
1943 }
1944 }
1945}
1946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment_profile::DeleteEnvironmentProfileError, R>>
1947 for Error
1948where
1949 R: Send + Sync + std::fmt::Debug + 'static,
1950{
1951 fn from(
1952 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_environment_profile::DeleteEnvironmentProfileError, R>,
1953 ) -> Self {
1954 match err {
1955 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1956 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1957 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1958 source: err.into(),
1959 }),
1960 }
1961 }
1962}
1963impl From<crate::operation::delete_environment_profile::DeleteEnvironmentProfileError> for Error {
1964 fn from(err: crate::operation::delete_environment_profile::DeleteEnvironmentProfileError) -> Self {
1965 match err {
1966 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::AccessDeniedException(inner) => {
1967 Error::AccessDeniedException(inner)
1968 }
1969 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::InternalServerException(inner) => {
1970 Error::InternalServerException(inner)
1971 }
1972 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::ResourceNotFoundException(inner) => {
1973 Error::ResourceNotFoundException(inner)
1974 }
1975 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::ThrottlingException(inner) => {
1976 Error::ThrottlingException(inner)
1977 }
1978 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::ValidationException(inner) => {
1979 Error::ValidationException(inner)
1980 }
1981 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::UnauthorizedException(inner) => {
1982 Error::UnauthorizedException(inner)
1983 }
1984 crate::operation::delete_environment_profile::DeleteEnvironmentProfileError::Unhandled(inner) => Error::Unhandled(inner),
1985 }
1986 }
1987}
1988impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_form_type::DeleteFormTypeError, R>> for Error
1989where
1990 R: Send + Sync + std::fmt::Debug + 'static,
1991{
1992 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_form_type::DeleteFormTypeError, R>) -> Self {
1993 match err {
1994 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1995 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1996 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1997 source: err.into(),
1998 }),
1999 }
2000 }
2001}
2002impl From<crate::operation::delete_form_type::DeleteFormTypeError> for Error {
2003 fn from(err: crate::operation::delete_form_type::DeleteFormTypeError) -> Self {
2004 match err {
2005 crate::operation::delete_form_type::DeleteFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2006 crate::operation::delete_form_type::DeleteFormTypeError::ConflictException(inner) => Error::ConflictException(inner),
2007 crate::operation::delete_form_type::DeleteFormTypeError::InternalServerException(inner) => Error::InternalServerException(inner),
2008 crate::operation::delete_form_type::DeleteFormTypeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2009 crate::operation::delete_form_type::DeleteFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2010 crate::operation::delete_form_type::DeleteFormTypeError::ValidationException(inner) => Error::ValidationException(inner),
2011 crate::operation::delete_form_type::DeleteFormTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2012 crate::operation::delete_form_type::DeleteFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
2013 }
2014 }
2015}
2016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary::DeleteGlossaryError, R>> for Error
2017where
2018 R: Send + Sync + std::fmt::Debug + 'static,
2019{
2020 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary::DeleteGlossaryError, R>) -> Self {
2021 match err {
2022 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2023 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2024 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2025 source: err.into(),
2026 }),
2027 }
2028 }
2029}
2030impl From<crate::operation::delete_glossary::DeleteGlossaryError> for Error {
2031 fn from(err: crate::operation::delete_glossary::DeleteGlossaryError) -> Self {
2032 match err {
2033 crate::operation::delete_glossary::DeleteGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2034 crate::operation::delete_glossary::DeleteGlossaryError::ConflictException(inner) => Error::ConflictException(inner),
2035 crate::operation::delete_glossary::DeleteGlossaryError::InternalServerException(inner) => Error::InternalServerException(inner),
2036 crate::operation::delete_glossary::DeleteGlossaryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2037 crate::operation::delete_glossary::DeleteGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2038 crate::operation::delete_glossary::DeleteGlossaryError::ValidationException(inner) => Error::ValidationException(inner),
2039 crate::operation::delete_glossary::DeleteGlossaryError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2040 crate::operation::delete_glossary::DeleteGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
2041 }
2042 }
2043}
2044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary_term::DeleteGlossaryTermError, R>> for Error
2045where
2046 R: Send + Sync + std::fmt::Debug + 'static,
2047{
2048 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary_term::DeleteGlossaryTermError, R>) -> Self {
2049 match err {
2050 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2051 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2052 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2053 source: err.into(),
2054 }),
2055 }
2056 }
2057}
2058impl From<crate::operation::delete_glossary_term::DeleteGlossaryTermError> for Error {
2059 fn from(err: crate::operation::delete_glossary_term::DeleteGlossaryTermError) -> Self {
2060 match err {
2061 crate::operation::delete_glossary_term::DeleteGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2062 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ConflictException(inner) => Error::ConflictException(inner),
2063 crate::operation::delete_glossary_term::DeleteGlossaryTermError::InternalServerException(inner) => Error::InternalServerException(inner),
2064 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ResourceNotFoundException(inner) => {
2065 Error::ResourceNotFoundException(inner)
2066 }
2067 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2068 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ValidationException(inner) => Error::ValidationException(inner),
2069 crate::operation::delete_glossary_term::DeleteGlossaryTermError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2070 crate::operation::delete_glossary_term::DeleteGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
2071 }
2072 }
2073}
2074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_lineage_event::DeleteLineageEventError, R>> for Error
2075where
2076 R: Send + Sync + std::fmt::Debug + 'static,
2077{
2078 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_lineage_event::DeleteLineageEventError, R>) -> Self {
2079 match err {
2080 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2081 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2082 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2083 source: err.into(),
2084 }),
2085 }
2086 }
2087}
2088impl From<crate::operation::delete_lineage_event::DeleteLineageEventError> for Error {
2089 fn from(err: crate::operation::delete_lineage_event::DeleteLineageEventError) -> Self {
2090 match err {
2091 crate::operation::delete_lineage_event::DeleteLineageEventError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2092 crate::operation::delete_lineage_event::DeleteLineageEventError::InternalServerException(inner) => Error::InternalServerException(inner),
2093 crate::operation::delete_lineage_event::DeleteLineageEventError::ResourceNotFoundException(inner) => {
2094 Error::ResourceNotFoundException(inner)
2095 }
2096 crate::operation::delete_lineage_event::DeleteLineageEventError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2097 crate::operation::delete_lineage_event::DeleteLineageEventError::ValidationException(inner) => Error::ValidationException(inner),
2098 crate::operation::delete_lineage_event::DeleteLineageEventError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2099 crate::operation::delete_lineage_event::DeleteLineageEventError::Unhandled(inner) => Error::Unhandled(inner),
2100 }
2101 }
2102}
2103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_listing::DeleteListingError, R>> for Error
2104where
2105 R: Send + Sync + std::fmt::Debug + 'static,
2106{
2107 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_listing::DeleteListingError, R>) -> Self {
2108 match err {
2109 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2110 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2111 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2112 source: err.into(),
2113 }),
2114 }
2115 }
2116}
2117impl From<crate::operation::delete_listing::DeleteListingError> for Error {
2118 fn from(err: crate::operation::delete_listing::DeleteListingError) -> Self {
2119 match err {
2120 crate::operation::delete_listing::DeleteListingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2121 crate::operation::delete_listing::DeleteListingError::ConflictException(inner) => Error::ConflictException(inner),
2122 crate::operation::delete_listing::DeleteListingError::InternalServerException(inner) => Error::InternalServerException(inner),
2123 crate::operation::delete_listing::DeleteListingError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2124 crate::operation::delete_listing::DeleteListingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2125 crate::operation::delete_listing::DeleteListingError::ValidationException(inner) => Error::ValidationException(inner),
2126 crate::operation::delete_listing::DeleteListingError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2127 crate::operation::delete_listing::DeleteListingError::Unhandled(inner) => Error::Unhandled(inner),
2128 }
2129 }
2130}
2131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook::DeleteNotebookError, R>> for Error
2132where
2133 R: Send + Sync + std::fmt::Debug + 'static,
2134{
2135 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_notebook::DeleteNotebookError, R>) -> Self {
2136 match err {
2137 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2138 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2139 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2140 source: err.into(),
2141 }),
2142 }
2143 }
2144}
2145impl From<crate::operation::delete_notebook::DeleteNotebookError> for Error {
2146 fn from(err: crate::operation::delete_notebook::DeleteNotebookError) -> Self {
2147 match err {
2148 crate::operation::delete_notebook::DeleteNotebookError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2149 crate::operation::delete_notebook::DeleteNotebookError::ConflictException(inner) => Error::ConflictException(inner),
2150 crate::operation::delete_notebook::DeleteNotebookError::InternalServerException(inner) => Error::InternalServerException(inner),
2151 crate::operation::delete_notebook::DeleteNotebookError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2152 crate::operation::delete_notebook::DeleteNotebookError::ValidationException(inner) => Error::ValidationException(inner),
2153 crate::operation::delete_notebook::DeleteNotebookError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2154 crate::operation::delete_notebook::DeleteNotebookError::Unhandled(inner) => Error::Unhandled(inner),
2155 }
2156 }
2157}
2158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>> for Error
2159where
2160 R: Send + Sync + std::fmt::Debug + 'static,
2161{
2162 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project::DeleteProjectError, R>) -> Self {
2163 match err {
2164 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2165 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2166 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2167 source: err.into(),
2168 }),
2169 }
2170 }
2171}
2172impl From<crate::operation::delete_project::DeleteProjectError> for Error {
2173 fn from(err: crate::operation::delete_project::DeleteProjectError) -> Self {
2174 match err {
2175 crate::operation::delete_project::DeleteProjectError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2176 crate::operation::delete_project::DeleteProjectError::InternalServerException(inner) => Error::InternalServerException(inner),
2177 crate::operation::delete_project::DeleteProjectError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2178 crate::operation::delete_project::DeleteProjectError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2179 crate::operation::delete_project::DeleteProjectError::ValidationException(inner) => Error::ValidationException(inner),
2180 crate::operation::delete_project::DeleteProjectError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2181 crate::operation::delete_project::DeleteProjectError::Unhandled(inner) => Error::Unhandled(inner),
2182 }
2183 }
2184}
2185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project_membership::DeleteProjectMembershipError, R>>
2186 for Error
2187where
2188 R: Send + Sync + std::fmt::Debug + 'static,
2189{
2190 fn from(
2191 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project_membership::DeleteProjectMembershipError, R>,
2192 ) -> Self {
2193 match err {
2194 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2195 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2196 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2197 source: err.into(),
2198 }),
2199 }
2200 }
2201}
2202impl From<crate::operation::delete_project_membership::DeleteProjectMembershipError> for Error {
2203 fn from(err: crate::operation::delete_project_membership::DeleteProjectMembershipError) -> Self {
2204 match err {
2205 crate::operation::delete_project_membership::DeleteProjectMembershipError::AccessDeniedException(inner) => {
2206 Error::AccessDeniedException(inner)
2207 }
2208 crate::operation::delete_project_membership::DeleteProjectMembershipError::InternalServerException(inner) => {
2209 Error::InternalServerException(inner)
2210 }
2211 crate::operation::delete_project_membership::DeleteProjectMembershipError::ResourceNotFoundException(inner) => {
2212 Error::ResourceNotFoundException(inner)
2213 }
2214 crate::operation::delete_project_membership::DeleteProjectMembershipError::ServiceQuotaExceededException(inner) => {
2215 Error::ServiceQuotaExceededException(inner)
2216 }
2217 crate::operation::delete_project_membership::DeleteProjectMembershipError::ThrottlingException(inner) => {
2218 Error::ThrottlingException(inner)
2219 }
2220 crate::operation::delete_project_membership::DeleteProjectMembershipError::ValidationException(inner) => {
2221 Error::ValidationException(inner)
2222 }
2223 crate::operation::delete_project_membership::DeleteProjectMembershipError::UnauthorizedException(inner) => {
2224 Error::UnauthorizedException(inner)
2225 }
2226 crate::operation::delete_project_membership::DeleteProjectMembershipError::Unhandled(inner) => Error::Unhandled(inner),
2227 }
2228 }
2229}
2230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project_profile::DeleteProjectProfileError, R>> for Error
2231where
2232 R: Send + Sync + std::fmt::Debug + 'static,
2233{
2234 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_project_profile::DeleteProjectProfileError, R>) -> Self {
2235 match err {
2236 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2237 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2238 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2239 source: err.into(),
2240 }),
2241 }
2242 }
2243}
2244impl From<crate::operation::delete_project_profile::DeleteProjectProfileError> for Error {
2245 fn from(err: crate::operation::delete_project_profile::DeleteProjectProfileError) -> Self {
2246 match err {
2247 crate::operation::delete_project_profile::DeleteProjectProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2248 crate::operation::delete_project_profile::DeleteProjectProfileError::InternalServerException(inner) => {
2249 Error::InternalServerException(inner)
2250 }
2251 crate::operation::delete_project_profile::DeleteProjectProfileError::ResourceNotFoundException(inner) => {
2252 Error::ResourceNotFoundException(inner)
2253 }
2254 crate::operation::delete_project_profile::DeleteProjectProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2255 crate::operation::delete_project_profile::DeleteProjectProfileError::ValidationException(inner) => Error::ValidationException(inner),
2256 crate::operation::delete_project_profile::DeleteProjectProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2257 crate::operation::delete_project_profile::DeleteProjectProfileError::Unhandled(inner) => Error::Unhandled(inner),
2258 }
2259 }
2260}
2261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_rule::DeleteRuleError, R>> for Error
2262where
2263 R: Send + Sync + std::fmt::Debug + 'static,
2264{
2265 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_rule::DeleteRuleError, R>) -> Self {
2266 match err {
2267 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2268 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2269 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2270 source: err.into(),
2271 }),
2272 }
2273 }
2274}
2275impl From<crate::operation::delete_rule::DeleteRuleError> for Error {
2276 fn from(err: crate::operation::delete_rule::DeleteRuleError) -> Self {
2277 match err {
2278 crate::operation::delete_rule::DeleteRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2279 crate::operation::delete_rule::DeleteRuleError::ConflictException(inner) => Error::ConflictException(inner),
2280 crate::operation::delete_rule::DeleteRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
2281 crate::operation::delete_rule::DeleteRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2282 crate::operation::delete_rule::DeleteRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2283 crate::operation::delete_rule::DeleteRuleError::ValidationException(inner) => Error::ValidationException(inner),
2284 crate::operation::delete_rule::DeleteRuleError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2285 crate::operation::delete_rule::DeleteRuleError::Unhandled(inner) => Error::Unhandled(inner),
2286 }
2287 }
2288}
2289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError, R>>
2290 for Error
2291where
2292 R: Send + Sync + std::fmt::Debug + 'static,
2293{
2294 fn from(
2295 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError, R>,
2296 ) -> Self {
2297 match err {
2298 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2299 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2300 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2301 source: err.into(),
2302 }),
2303 }
2304 }
2305}
2306impl From<crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError> for Error {
2307 fn from(err: crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError) -> Self {
2308 match err {
2309 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::AccessDeniedException(inner) => {
2310 Error::AccessDeniedException(inner)
2311 }
2312 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::ConflictException(inner) => Error::ConflictException(inner),
2313 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::InternalServerException(inner) => {
2314 Error::InternalServerException(inner)
2315 }
2316 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::ResourceNotFoundException(inner) => {
2317 Error::ResourceNotFoundException(inner)
2318 }
2319 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::ThrottlingException(inner) => {
2320 Error::ThrottlingException(inner)
2321 }
2322 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::ValidationException(inner) => {
2323 Error::ValidationException(inner)
2324 }
2325 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::UnauthorizedException(inner) => {
2326 Error::UnauthorizedException(inner)
2327 }
2328 crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError::Unhandled(inner) => Error::Unhandled(inner),
2329 }
2330 }
2331}
2332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subscription_request::DeleteSubscriptionRequestError, R>>
2333 for Error
2334where
2335 R: Send + Sync + std::fmt::Debug + 'static,
2336{
2337 fn from(
2338 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subscription_request::DeleteSubscriptionRequestError, R>,
2339 ) -> Self {
2340 match err {
2341 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2342 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2343 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2344 source: err.into(),
2345 }),
2346 }
2347 }
2348}
2349impl From<crate::operation::delete_subscription_request::DeleteSubscriptionRequestError> for Error {
2350 fn from(err: crate::operation::delete_subscription_request::DeleteSubscriptionRequestError) -> Self {
2351 match err {
2352 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::AccessDeniedException(inner) => {
2353 Error::AccessDeniedException(inner)
2354 }
2355 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::ConflictException(inner) => {
2356 Error::ConflictException(inner)
2357 }
2358 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::InternalServerException(inner) => {
2359 Error::InternalServerException(inner)
2360 }
2361 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::ResourceNotFoundException(inner) => {
2362 Error::ResourceNotFoundException(inner)
2363 }
2364 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::ThrottlingException(inner) => {
2365 Error::ThrottlingException(inner)
2366 }
2367 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::ValidationException(inner) => {
2368 Error::ValidationException(inner)
2369 }
2370 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::UnauthorizedException(inner) => {
2371 Error::UnauthorizedException(inner)
2372 }
2373 crate::operation::delete_subscription_request::DeleteSubscriptionRequestError::Unhandled(inner) => Error::Unhandled(inner),
2374 }
2375 }
2376}
2377impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subscription_target::DeleteSubscriptionTargetError, R>>
2378 for Error
2379where
2380 R: Send + Sync + std::fmt::Debug + 'static,
2381{
2382 fn from(
2383 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subscription_target::DeleteSubscriptionTargetError, R>,
2384 ) -> Self {
2385 match err {
2386 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2387 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2388 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2389 source: err.into(),
2390 }),
2391 }
2392 }
2393}
2394impl From<crate::operation::delete_subscription_target::DeleteSubscriptionTargetError> for Error {
2395 fn from(err: crate::operation::delete_subscription_target::DeleteSubscriptionTargetError) -> Self {
2396 match err {
2397 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::AccessDeniedException(inner) => {
2398 Error::AccessDeniedException(inner)
2399 }
2400 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::ConflictException(inner) => Error::ConflictException(inner),
2401 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::InternalServerException(inner) => {
2402 Error::InternalServerException(inner)
2403 }
2404 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::ResourceNotFoundException(inner) => {
2405 Error::ResourceNotFoundException(inner)
2406 }
2407 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::ThrottlingException(inner) => {
2408 Error::ThrottlingException(inner)
2409 }
2410 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::ValidationException(inner) => {
2411 Error::ValidationException(inner)
2412 }
2413 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::UnauthorizedException(inner) => {
2414 Error::UnauthorizedException(inner)
2415 }
2416 crate::operation::delete_subscription_target::DeleteSubscriptionTargetError::Unhandled(inner) => Error::Unhandled(inner),
2417 }
2418 }
2419}
2420impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError, R>>
2421 for Error
2422where
2423 R: Send + Sync + std::fmt::Debug + 'static,
2424{
2425 fn from(
2426 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError, R>,
2427 ) -> Self {
2428 match err {
2429 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2430 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2431 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2432 source: err.into(),
2433 }),
2434 }
2435 }
2436}
2437impl From<crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError> for Error {
2438 fn from(err: crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError) -> Self {
2439 match err {
2440 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::AccessDeniedException(inner) => {
2441 Error::AccessDeniedException(inner)
2442 }
2443 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::InternalServerException(inner) => {
2444 Error::InternalServerException(inner)
2445 }
2446 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::ResourceNotFoundException(inner) => {
2447 Error::ResourceNotFoundException(inner)
2448 }
2449 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::ThrottlingException(inner) => {
2450 Error::ThrottlingException(inner)
2451 }
2452 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::ValidationException(inner) => {
2453 Error::ValidationException(inner)
2454 }
2455 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::UnauthorizedException(inner) => {
2456 Error::UnauthorizedException(inner)
2457 }
2458 crate::operation::delete_time_series_data_points::DeleteTimeSeriesDataPointsError::Unhandled(inner) => Error::Unhandled(inner),
2459 }
2460 }
2461}
2462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError, R>>
2463 for Error
2464where
2465 R: Send + Sync + std::fmt::Debug + 'static,
2466{
2467 fn from(
2468 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError, R>,
2469 ) -> Self {
2470 match err {
2471 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2472 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2473 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2474 source: err.into(),
2475 }),
2476 }
2477 }
2478}
2479impl From<crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError> for Error {
2480 fn from(err: crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError) -> Self {
2481 match err {
2482 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::AccessDeniedException(inner) => {
2483 Error::AccessDeniedException(inner)
2484 }
2485 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::ConflictException(inner) => {
2486 Error::ConflictException(inner)
2487 }
2488 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::InternalServerException(inner) => {
2489 Error::InternalServerException(inner)
2490 }
2491 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::ResourceNotFoundException(inner) => {
2492 Error::ResourceNotFoundException(inner)
2493 }
2494 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::ThrottlingException(inner) => {
2495 Error::ThrottlingException(inner)
2496 }
2497 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::ValidationException(inner) => {
2498 Error::ValidationException(inner)
2499 }
2500 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::UnauthorizedException(inner) => {
2501 Error::UnauthorizedException(inner)
2502 }
2503 crate::operation::disassociate_environment_role::DisassociateEnvironmentRoleError::Unhandled(inner) => Error::Unhandled(inner),
2504 }
2505 }
2506}
2507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError, R>>
2508 for Error
2509where
2510 R: Send + Sync + std::fmt::Debug + 'static,
2511{
2512 fn from(
2513 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError, R>,
2514 ) -> Self {
2515 match err {
2516 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2517 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2518 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2519 source: err.into(),
2520 }),
2521 }
2522 }
2523}
2524impl From<crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError> for Error {
2525 fn from(err: crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError) -> Self {
2526 match err {
2527 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::AccessDeniedException(inner) => {
2528 Error::AccessDeniedException(inner)
2529 }
2530 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::ConflictException(inner) => {
2531 Error::ConflictException(inner)
2532 }
2533 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::InternalServerException(inner) => {
2534 Error::InternalServerException(inner)
2535 }
2536 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::ResourceNotFoundException(inner) => {
2537 Error::ResourceNotFoundException(inner)
2538 }
2539 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::ThrottlingException(inner) => {
2540 Error::ThrottlingException(inner)
2541 }
2542 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::ValidationException(inner) => {
2543 Error::ValidationException(inner)
2544 }
2545 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::UnauthorizedException(inner) => {
2546 Error::UnauthorizedException(inner)
2547 }
2548 crate::operation::disassociate_governed_terms::DisassociateGovernedTermsError::Unhandled(inner) => Error::Unhandled(inner),
2549 }
2550 }
2551}
2552impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_account_pool::GetAccountPoolError, R>> for Error
2553where
2554 R: Send + Sync + std::fmt::Debug + 'static,
2555{
2556 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_account_pool::GetAccountPoolError, R>) -> Self {
2557 match err {
2558 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2559 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2560 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2561 source: err.into(),
2562 }),
2563 }
2564 }
2565}
2566impl From<crate::operation::get_account_pool::GetAccountPoolError> for Error {
2567 fn from(err: crate::operation::get_account_pool::GetAccountPoolError) -> Self {
2568 match err {
2569 crate::operation::get_account_pool::GetAccountPoolError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2570 crate::operation::get_account_pool::GetAccountPoolError::InternalServerException(inner) => Error::InternalServerException(inner),
2571 crate::operation::get_account_pool::GetAccountPoolError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2572 crate::operation::get_account_pool::GetAccountPoolError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2573 crate::operation::get_account_pool::GetAccountPoolError::ValidationException(inner) => Error::ValidationException(inner),
2574 crate::operation::get_account_pool::GetAccountPoolError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2575 crate::operation::get_account_pool::GetAccountPoolError::Unhandled(inner) => Error::Unhandled(inner),
2576 }
2577 }
2578}
2579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset::GetAssetError, R>> for Error
2580where
2581 R: Send + Sync + std::fmt::Debug + 'static,
2582{
2583 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset::GetAssetError, R>) -> Self {
2584 match err {
2585 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2586 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2587 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2588 source: err.into(),
2589 }),
2590 }
2591 }
2592}
2593impl From<crate::operation::get_asset::GetAssetError> for Error {
2594 fn from(err: crate::operation::get_asset::GetAssetError) -> Self {
2595 match err {
2596 crate::operation::get_asset::GetAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2597 crate::operation::get_asset::GetAssetError::InternalServerException(inner) => Error::InternalServerException(inner),
2598 crate::operation::get_asset::GetAssetError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2599 crate::operation::get_asset::GetAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2600 crate::operation::get_asset::GetAssetError::ValidationException(inner) => Error::ValidationException(inner),
2601 crate::operation::get_asset::GetAssetError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2602 crate::operation::get_asset::GetAssetError::Unhandled(inner) => Error::Unhandled(inner),
2603 }
2604 }
2605}
2606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_filter::GetAssetFilterError, R>> for Error
2607where
2608 R: Send + Sync + std::fmt::Debug + 'static,
2609{
2610 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_filter::GetAssetFilterError, R>) -> Self {
2611 match err {
2612 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2613 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2614 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2615 source: err.into(),
2616 }),
2617 }
2618 }
2619}
2620impl From<crate::operation::get_asset_filter::GetAssetFilterError> for Error {
2621 fn from(err: crate::operation::get_asset_filter::GetAssetFilterError) -> Self {
2622 match err {
2623 crate::operation::get_asset_filter::GetAssetFilterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2624 crate::operation::get_asset_filter::GetAssetFilterError::InternalServerException(inner) => Error::InternalServerException(inner),
2625 crate::operation::get_asset_filter::GetAssetFilterError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2626 crate::operation::get_asset_filter::GetAssetFilterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2627 crate::operation::get_asset_filter::GetAssetFilterError::ValidationException(inner) => Error::ValidationException(inner),
2628 crate::operation::get_asset_filter::GetAssetFilterError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2629 crate::operation::get_asset_filter::GetAssetFilterError::Unhandled(inner) => Error::Unhandled(inner),
2630 }
2631 }
2632}
2633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_type::GetAssetTypeError, R>> for Error
2634where
2635 R: Send + Sync + std::fmt::Debug + 'static,
2636{
2637 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_type::GetAssetTypeError, R>) -> Self {
2638 match err {
2639 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2640 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2641 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2642 source: err.into(),
2643 }),
2644 }
2645 }
2646}
2647impl From<crate::operation::get_asset_type::GetAssetTypeError> for Error {
2648 fn from(err: crate::operation::get_asset_type::GetAssetTypeError) -> Self {
2649 match err {
2650 crate::operation::get_asset_type::GetAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2651 crate::operation::get_asset_type::GetAssetTypeError::InternalServerException(inner) => Error::InternalServerException(inner),
2652 crate::operation::get_asset_type::GetAssetTypeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2653 crate::operation::get_asset_type::GetAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2654 crate::operation::get_asset_type::GetAssetTypeError::ValidationException(inner) => Error::ValidationException(inner),
2655 crate::operation::get_asset_type::GetAssetTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2656 crate::operation::get_asset_type::GetAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
2657 }
2658 }
2659}
2660impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
2661where
2662 R: Send + Sync + std::fmt::Debug + 'static,
2663{
2664 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
2665 match err {
2666 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2667 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2668 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2669 source: err.into(),
2670 }),
2671 }
2672 }
2673}
2674impl From<crate::operation::get_connection::GetConnectionError> for Error {
2675 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
2676 match err {
2677 crate::operation::get_connection::GetConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2678 crate::operation::get_connection::GetConnectionError::InternalServerException(inner) => Error::InternalServerException(inner),
2679 crate::operation::get_connection::GetConnectionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2680 crate::operation::get_connection::GetConnectionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2681 crate::operation::get_connection::GetConnectionError::ValidationException(inner) => Error::ValidationException(inner),
2682 crate::operation::get_connection::GetConnectionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2683 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2684 }
2685 }
2686}
2687impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_export_configuration::GetDataExportConfigurationError, R>>
2688 for Error
2689where
2690 R: Send + Sync + std::fmt::Debug + 'static,
2691{
2692 fn from(
2693 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_export_configuration::GetDataExportConfigurationError, R>,
2694 ) -> Self {
2695 match err {
2696 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2697 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2698 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2699 source: err.into(),
2700 }),
2701 }
2702 }
2703}
2704impl From<crate::operation::get_data_export_configuration::GetDataExportConfigurationError> for Error {
2705 fn from(err: crate::operation::get_data_export_configuration::GetDataExportConfigurationError) -> Self {
2706 match err {
2707 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::AccessDeniedException(inner) => {
2708 Error::AccessDeniedException(inner)
2709 }
2710 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::InternalServerException(inner) => {
2711 Error::InternalServerException(inner)
2712 }
2713 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::ResourceNotFoundException(inner) => {
2714 Error::ResourceNotFoundException(inner)
2715 }
2716 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::ThrottlingException(inner) => {
2717 Error::ThrottlingException(inner)
2718 }
2719 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::ValidationException(inner) => {
2720 Error::ValidationException(inner)
2721 }
2722 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::UnauthorizedException(inner) => {
2723 Error::UnauthorizedException(inner)
2724 }
2725 crate::operation::get_data_export_configuration::GetDataExportConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2726 }
2727 }
2728}
2729impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_product::GetDataProductError, R>> for Error
2730where
2731 R: Send + Sync + std::fmt::Debug + 'static,
2732{
2733 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_product::GetDataProductError, R>) -> Self {
2734 match err {
2735 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2736 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2737 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2738 source: err.into(),
2739 }),
2740 }
2741 }
2742}
2743impl From<crate::operation::get_data_product::GetDataProductError> for Error {
2744 fn from(err: crate::operation::get_data_product::GetDataProductError) -> Self {
2745 match err {
2746 crate::operation::get_data_product::GetDataProductError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2747 crate::operation::get_data_product::GetDataProductError::InternalServerException(inner) => Error::InternalServerException(inner),
2748 crate::operation::get_data_product::GetDataProductError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2749 crate::operation::get_data_product::GetDataProductError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2750 crate::operation::get_data_product::GetDataProductError::ValidationException(inner) => Error::ValidationException(inner),
2751 crate::operation::get_data_product::GetDataProductError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2752 crate::operation::get_data_product::GetDataProductError::Unhandled(inner) => Error::Unhandled(inner),
2753 }
2754 }
2755}
2756impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_source::GetDataSourceError, R>> for Error
2757where
2758 R: Send + Sync + std::fmt::Debug + 'static,
2759{
2760 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_source::GetDataSourceError, R>) -> Self {
2761 match err {
2762 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2763 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2764 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2765 source: err.into(),
2766 }),
2767 }
2768 }
2769}
2770impl From<crate::operation::get_data_source::GetDataSourceError> for Error {
2771 fn from(err: crate::operation::get_data_source::GetDataSourceError) -> Self {
2772 match err {
2773 crate::operation::get_data_source::GetDataSourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2774 crate::operation::get_data_source::GetDataSourceError::ConflictException(inner) => Error::ConflictException(inner),
2775 crate::operation::get_data_source::GetDataSourceError::InternalServerException(inner) => Error::InternalServerException(inner),
2776 crate::operation::get_data_source::GetDataSourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2777 crate::operation::get_data_source::GetDataSourceError::ServiceQuotaExceededException(inner) => {
2778 Error::ServiceQuotaExceededException(inner)
2779 }
2780 crate::operation::get_data_source::GetDataSourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2781 crate::operation::get_data_source::GetDataSourceError::ValidationException(inner) => Error::ValidationException(inner),
2782 crate::operation::get_data_source::GetDataSourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2783 crate::operation::get_data_source::GetDataSourceError::Unhandled(inner) => Error::Unhandled(inner),
2784 }
2785 }
2786}
2787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_source_run::GetDataSourceRunError, R>> for Error
2788where
2789 R: Send + Sync + std::fmt::Debug + 'static,
2790{
2791 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_source_run::GetDataSourceRunError, R>) -> Self {
2792 match err {
2793 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2794 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2795 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2796 source: err.into(),
2797 }),
2798 }
2799 }
2800}
2801impl From<crate::operation::get_data_source_run::GetDataSourceRunError> for Error {
2802 fn from(err: crate::operation::get_data_source_run::GetDataSourceRunError) -> Self {
2803 match err {
2804 crate::operation::get_data_source_run::GetDataSourceRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2805 crate::operation::get_data_source_run::GetDataSourceRunError::ConflictException(inner) => Error::ConflictException(inner),
2806 crate::operation::get_data_source_run::GetDataSourceRunError::InternalServerException(inner) => Error::InternalServerException(inner),
2807 crate::operation::get_data_source_run::GetDataSourceRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2808 crate::operation::get_data_source_run::GetDataSourceRunError::ServiceQuotaExceededException(inner) => {
2809 Error::ServiceQuotaExceededException(inner)
2810 }
2811 crate::operation::get_data_source_run::GetDataSourceRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2812 crate::operation::get_data_source_run::GetDataSourceRunError::ValidationException(inner) => Error::ValidationException(inner),
2813 crate::operation::get_data_source_run::GetDataSourceRunError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2814 crate::operation::get_data_source_run::GetDataSourceRunError::Unhandled(inner) => Error::Unhandled(inner),
2815 }
2816 }
2817}
2818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_domain::GetDomainError, R>> for Error
2819where
2820 R: Send + Sync + std::fmt::Debug + 'static,
2821{
2822 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_domain::GetDomainError, R>) -> Self {
2823 match err {
2824 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2825 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2826 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2827 source: err.into(),
2828 }),
2829 }
2830 }
2831}
2832impl From<crate::operation::get_domain::GetDomainError> for Error {
2833 fn from(err: crate::operation::get_domain::GetDomainError) -> Self {
2834 match err {
2835 crate::operation::get_domain::GetDomainError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2836 crate::operation::get_domain::GetDomainError::InternalServerException(inner) => Error::InternalServerException(inner),
2837 crate::operation::get_domain::GetDomainError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2838 crate::operation::get_domain::GetDomainError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
2839 crate::operation::get_domain::GetDomainError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2840 crate::operation::get_domain::GetDomainError::ValidationException(inner) => Error::ValidationException(inner),
2841 crate::operation::get_domain::GetDomainError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2842 crate::operation::get_domain::GetDomainError::Unhandled(inner) => Error::Unhandled(inner),
2843 }
2844 }
2845}
2846impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_domain_unit::GetDomainUnitError, R>> for Error
2847where
2848 R: Send + Sync + std::fmt::Debug + 'static,
2849{
2850 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_domain_unit::GetDomainUnitError, R>) -> Self {
2851 match err {
2852 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2853 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2854 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2855 source: err.into(),
2856 }),
2857 }
2858 }
2859}
2860impl From<crate::operation::get_domain_unit::GetDomainUnitError> for Error {
2861 fn from(err: crate::operation::get_domain_unit::GetDomainUnitError) -> Self {
2862 match err {
2863 crate::operation::get_domain_unit::GetDomainUnitError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2864 crate::operation::get_domain_unit::GetDomainUnitError::InternalServerException(inner) => Error::InternalServerException(inner),
2865 crate::operation::get_domain_unit::GetDomainUnitError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2866 crate::operation::get_domain_unit::GetDomainUnitError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2867 crate::operation::get_domain_unit::GetDomainUnitError::ValidationException(inner) => Error::ValidationException(inner),
2868 crate::operation::get_domain_unit::GetDomainUnitError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2869 crate::operation::get_domain_unit::GetDomainUnitError::Unhandled(inner) => Error::Unhandled(inner),
2870 }
2871 }
2872}
2873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment::GetEnvironmentError, R>> for Error
2874where
2875 R: Send + Sync + std::fmt::Debug + 'static,
2876{
2877 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment::GetEnvironmentError, R>) -> Self {
2878 match err {
2879 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2880 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2881 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2882 source: err.into(),
2883 }),
2884 }
2885 }
2886}
2887impl From<crate::operation::get_environment::GetEnvironmentError> for Error {
2888 fn from(err: crate::operation::get_environment::GetEnvironmentError) -> Self {
2889 match err {
2890 crate::operation::get_environment::GetEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2891 crate::operation::get_environment::GetEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
2892 crate::operation::get_environment::GetEnvironmentError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
2893 crate::operation::get_environment::GetEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2894 crate::operation::get_environment::GetEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
2895 crate::operation::get_environment::GetEnvironmentError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2896 crate::operation::get_environment::GetEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
2897 }
2898 }
2899}
2900impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_action::GetEnvironmentActionError, R>> for Error
2901where
2902 R: Send + Sync + std::fmt::Debug + 'static,
2903{
2904 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_action::GetEnvironmentActionError, R>) -> Self {
2905 match err {
2906 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2907 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2908 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2909 source: err.into(),
2910 }),
2911 }
2912 }
2913}
2914impl From<crate::operation::get_environment_action::GetEnvironmentActionError> for Error {
2915 fn from(err: crate::operation::get_environment_action::GetEnvironmentActionError) -> Self {
2916 match err {
2917 crate::operation::get_environment_action::GetEnvironmentActionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2918 crate::operation::get_environment_action::GetEnvironmentActionError::InternalServerException(inner) => {
2919 Error::InternalServerException(inner)
2920 }
2921 crate::operation::get_environment_action::GetEnvironmentActionError::ResourceNotFoundException(inner) => {
2922 Error::ResourceNotFoundException(inner)
2923 }
2924 crate::operation::get_environment_action::GetEnvironmentActionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2925 crate::operation::get_environment_action::GetEnvironmentActionError::ValidationException(inner) => Error::ValidationException(inner),
2926 crate::operation::get_environment_action::GetEnvironmentActionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
2927 crate::operation::get_environment_action::GetEnvironmentActionError::Unhandled(inner) => Error::Unhandled(inner),
2928 }
2929 }
2930}
2931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError, R>>
2932 for Error
2933where
2934 R: Send + Sync + std::fmt::Debug + 'static,
2935{
2936 fn from(
2937 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError, R>,
2938 ) -> Self {
2939 match err {
2940 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2941 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2942 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2943 source: err.into(),
2944 }),
2945 }
2946 }
2947}
2948impl From<crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError> for Error {
2949 fn from(err: crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError) -> Self {
2950 match err {
2951 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::AccessDeniedException(inner) => {
2952 Error::AccessDeniedException(inner)
2953 }
2954 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::InternalServerException(inner) => {
2955 Error::InternalServerException(inner)
2956 }
2957 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::ResourceNotFoundException(inner) => {
2958 Error::ResourceNotFoundException(inner)
2959 }
2960 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::ThrottlingException(inner) => {
2961 Error::ThrottlingException(inner)
2962 }
2963 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::ValidationException(inner) => {
2964 Error::ValidationException(inner)
2965 }
2966 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::UnauthorizedException(inner) => {
2967 Error::UnauthorizedException(inner)
2968 }
2969 crate::operation::get_environment_blueprint::GetEnvironmentBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
2970 }
2971 }
2972}
2973impl<R>
2974 From<
2975 ::aws_smithy_runtime_api::client::result::SdkError<
2976 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError,
2977 R,
2978 >,
2979 > for Error
2980where
2981 R: Send + Sync + std::fmt::Debug + 'static,
2982{
2983 fn from(
2984 err: ::aws_smithy_runtime_api::client::result::SdkError<
2985 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError,
2986 R,
2987 >,
2988 ) -> Self {
2989 match err {
2990 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2991 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2992 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2993 source: err.into(),
2994 }),
2995 }
2996 }
2997}
2998impl From<crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError> for Error {
2999 fn from(err: crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError) -> Self {
3000 match err {
3001 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::AccessDeniedException(inner) => {
3002 Error::AccessDeniedException(inner)
3003 }
3004 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::InternalServerException(inner) => {
3005 Error::InternalServerException(inner)
3006 }
3007 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::ResourceNotFoundException(
3008 inner,
3009 ) => Error::ResourceNotFoundException(inner),
3010 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::ValidationException(inner) => {
3011 Error::ValidationException(inner)
3012 }
3013 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::ThrottlingException(inner) => {
3014 Error::ThrottlingException(inner)
3015 }
3016 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::UnauthorizedException(inner) => {
3017 Error::UnauthorizedException(inner)
3018 }
3019 crate::operation::get_environment_blueprint_configuration::GetEnvironmentBlueprintConfigurationError::Unhandled(inner) => {
3020 Error::Unhandled(inner)
3021 }
3022 }
3023 }
3024}
3025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_credentials::GetEnvironmentCredentialsError, R>>
3026 for Error
3027where
3028 R: Send + Sync + std::fmt::Debug + 'static,
3029{
3030 fn from(
3031 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_credentials::GetEnvironmentCredentialsError, R>,
3032 ) -> Self {
3033 match err {
3034 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3035 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3036 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3037 source: err.into(),
3038 }),
3039 }
3040 }
3041}
3042impl From<crate::operation::get_environment_credentials::GetEnvironmentCredentialsError> for Error {
3043 fn from(err: crate::operation::get_environment_credentials::GetEnvironmentCredentialsError) -> Self {
3044 match err {
3045 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::AccessDeniedException(inner) => {
3046 Error::AccessDeniedException(inner)
3047 }
3048 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::InternalServerException(inner) => {
3049 Error::InternalServerException(inner)
3050 }
3051 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::ResourceNotFoundException(inner) => {
3052 Error::ResourceNotFoundException(inner)
3053 }
3054 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::ThrottlingException(inner) => {
3055 Error::ThrottlingException(inner)
3056 }
3057 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::ValidationException(inner) => {
3058 Error::ValidationException(inner)
3059 }
3060 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::UnauthorizedException(inner) => {
3061 Error::UnauthorizedException(inner)
3062 }
3063 crate::operation::get_environment_credentials::GetEnvironmentCredentialsError::Unhandled(inner) => Error::Unhandled(inner),
3064 }
3065 }
3066}
3067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_profile::GetEnvironmentProfileError, R>> for Error
3068where
3069 R: Send + Sync + std::fmt::Debug + 'static,
3070{
3071 fn from(
3072 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_environment_profile::GetEnvironmentProfileError, R>,
3073 ) -> Self {
3074 match err {
3075 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3076 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3077 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3078 source: err.into(),
3079 }),
3080 }
3081 }
3082}
3083impl From<crate::operation::get_environment_profile::GetEnvironmentProfileError> for Error {
3084 fn from(err: crate::operation::get_environment_profile::GetEnvironmentProfileError) -> Self {
3085 match err {
3086 crate::operation::get_environment_profile::GetEnvironmentProfileError::AccessDeniedException(inner) => {
3087 Error::AccessDeniedException(inner)
3088 }
3089 crate::operation::get_environment_profile::GetEnvironmentProfileError::InternalServerException(inner) => {
3090 Error::InternalServerException(inner)
3091 }
3092 crate::operation::get_environment_profile::GetEnvironmentProfileError::ResourceNotFoundException(inner) => {
3093 Error::ResourceNotFoundException(inner)
3094 }
3095 crate::operation::get_environment_profile::GetEnvironmentProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3096 crate::operation::get_environment_profile::GetEnvironmentProfileError::ValidationException(inner) => Error::ValidationException(inner),
3097 crate::operation::get_environment_profile::GetEnvironmentProfileError::UnauthorizedException(inner) => {
3098 Error::UnauthorizedException(inner)
3099 }
3100 crate::operation::get_environment_profile::GetEnvironmentProfileError::Unhandled(inner) => Error::Unhandled(inner),
3101 }
3102 }
3103}
3104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_form_type::GetFormTypeError, R>> for Error
3105where
3106 R: Send + Sync + std::fmt::Debug + 'static,
3107{
3108 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_form_type::GetFormTypeError, R>) -> Self {
3109 match err {
3110 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3111 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3112 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3113 source: err.into(),
3114 }),
3115 }
3116 }
3117}
3118impl From<crate::operation::get_form_type::GetFormTypeError> for Error {
3119 fn from(err: crate::operation::get_form_type::GetFormTypeError) -> Self {
3120 match err {
3121 crate::operation::get_form_type::GetFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3122 crate::operation::get_form_type::GetFormTypeError::InternalServerException(inner) => Error::InternalServerException(inner),
3123 crate::operation::get_form_type::GetFormTypeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3124 crate::operation::get_form_type::GetFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3125 crate::operation::get_form_type::GetFormTypeError::ValidationException(inner) => Error::ValidationException(inner),
3126 crate::operation::get_form_type::GetFormTypeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3127 crate::operation::get_form_type::GetFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
3128 }
3129 }
3130}
3131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary::GetGlossaryError, R>> for Error
3132where
3133 R: Send + Sync + std::fmt::Debug + 'static,
3134{
3135 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary::GetGlossaryError, R>) -> Self {
3136 match err {
3137 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3138 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3139 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3140 source: err.into(),
3141 }),
3142 }
3143 }
3144}
3145impl From<crate::operation::get_glossary::GetGlossaryError> for Error {
3146 fn from(err: crate::operation::get_glossary::GetGlossaryError) -> Self {
3147 match err {
3148 crate::operation::get_glossary::GetGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3149 crate::operation::get_glossary::GetGlossaryError::InternalServerException(inner) => Error::InternalServerException(inner),
3150 crate::operation::get_glossary::GetGlossaryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3151 crate::operation::get_glossary::GetGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3152 crate::operation::get_glossary::GetGlossaryError::ValidationException(inner) => Error::ValidationException(inner),
3153 crate::operation::get_glossary::GetGlossaryError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3154 crate::operation::get_glossary::GetGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
3155 }
3156 }
3157}
3158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary_term::GetGlossaryTermError, R>> for Error
3159where
3160 R: Send + Sync + std::fmt::Debug + 'static,
3161{
3162 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary_term::GetGlossaryTermError, R>) -> Self {
3163 match err {
3164 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3165 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3166 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3167 source: err.into(),
3168 }),
3169 }
3170 }
3171}
3172impl From<crate::operation::get_glossary_term::GetGlossaryTermError> for Error {
3173 fn from(err: crate::operation::get_glossary_term::GetGlossaryTermError) -> Self {
3174 match err {
3175 crate::operation::get_glossary_term::GetGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3176 crate::operation::get_glossary_term::GetGlossaryTermError::InternalServerException(inner) => Error::InternalServerException(inner),
3177 crate::operation::get_glossary_term::GetGlossaryTermError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3178 crate::operation::get_glossary_term::GetGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3179 crate::operation::get_glossary_term::GetGlossaryTermError::ValidationException(inner) => Error::ValidationException(inner),
3180 crate::operation::get_glossary_term::GetGlossaryTermError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3181 crate::operation::get_glossary_term::GetGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
3182 }
3183 }
3184}
3185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_group_profile::GetGroupProfileError, R>> for Error
3186where
3187 R: Send + Sync + std::fmt::Debug + 'static,
3188{
3189 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_group_profile::GetGroupProfileError, R>) -> Self {
3190 match err {
3191 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3192 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3193 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3194 source: err.into(),
3195 }),
3196 }
3197 }
3198}
3199impl From<crate::operation::get_group_profile::GetGroupProfileError> for Error {
3200 fn from(err: crate::operation::get_group_profile::GetGroupProfileError) -> Self {
3201 match err {
3202 crate::operation::get_group_profile::GetGroupProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3203 crate::operation::get_group_profile::GetGroupProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
3204 crate::operation::get_group_profile::GetGroupProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3205 crate::operation::get_group_profile::GetGroupProfileError::ValidationException(inner) => Error::ValidationException(inner),
3206 crate::operation::get_group_profile::GetGroupProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3207 crate::operation::get_group_profile::GetGroupProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3208 crate::operation::get_group_profile::GetGroupProfileError::Unhandled(inner) => Error::Unhandled(inner),
3209 }
3210 }
3211}
3212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError, R>> for Error
3213where
3214 R: Send + Sync + std::fmt::Debug + 'static,
3215{
3216 fn from(
3217 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError, R>,
3218 ) -> Self {
3219 match err {
3220 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3221 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3222 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3223 source: err.into(),
3224 }),
3225 }
3226 }
3227}
3228impl From<crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError> for Error {
3229 fn from(err: crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError) -> Self {
3230 match err {
3231 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::AccessDeniedException(inner) => {
3232 Error::AccessDeniedException(inner)
3233 }
3234 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::ConflictException(inner) => Error::ConflictException(inner),
3235 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::InternalServerException(inner) => {
3236 Error::InternalServerException(inner)
3237 }
3238 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::ResourceNotFoundException(inner) => {
3239 Error::ResourceNotFoundException(inner)
3240 }
3241 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3242 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::ValidationException(inner) => Error::ValidationException(inner),
3243 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::UnauthorizedException(inner) => {
3244 Error::UnauthorizedException(inner)
3245 }
3246 crate::operation::get_iam_portal_login_url::GetIamPortalLoginUrlError::Unhandled(inner) => Error::Unhandled(inner),
3247 }
3248 }
3249}
3250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
3251where
3252 R: Send + Sync + std::fmt::Debug + 'static,
3253{
3254 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
3255 match err {
3256 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3257 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3258 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3259 source: err.into(),
3260 }),
3261 }
3262 }
3263}
3264impl From<crate::operation::get_job_run::GetJobRunError> for Error {
3265 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
3266 match err {
3267 crate::operation::get_job_run::GetJobRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3268 crate::operation::get_job_run::GetJobRunError::InternalServerException(inner) => Error::InternalServerException(inner),
3269 crate::operation::get_job_run::GetJobRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3270 crate::operation::get_job_run::GetJobRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3271 crate::operation::get_job_run::GetJobRunError::ValidationException(inner) => Error::ValidationException(inner),
3272 crate::operation::get_job_run::GetJobRunError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3273 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
3274 }
3275 }
3276}
3277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_event::GetLineageEventError, R>> for Error
3278where
3279 R: Send + Sync + std::fmt::Debug + 'static,
3280{
3281 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_event::GetLineageEventError, R>) -> Self {
3282 match err {
3283 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3284 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3285 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3286 source: err.into(),
3287 }),
3288 }
3289 }
3290}
3291impl From<crate::operation::get_lineage_event::GetLineageEventError> for Error {
3292 fn from(err: crate::operation::get_lineage_event::GetLineageEventError) -> Self {
3293 match err {
3294 crate::operation::get_lineage_event::GetLineageEventError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3295 crate::operation::get_lineage_event::GetLineageEventError::InternalServerException(inner) => Error::InternalServerException(inner),
3296 crate::operation::get_lineage_event::GetLineageEventError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3297 crate::operation::get_lineage_event::GetLineageEventError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3298 crate::operation::get_lineage_event::GetLineageEventError::ValidationException(inner) => Error::ValidationException(inner),
3299 crate::operation::get_lineage_event::GetLineageEventError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3300 crate::operation::get_lineage_event::GetLineageEventError::Unhandled(inner) => Error::Unhandled(inner),
3301 }
3302 }
3303}
3304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_node::GetLineageNodeError, R>> for Error
3305where
3306 R: Send + Sync + std::fmt::Debug + 'static,
3307{
3308 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_lineage_node::GetLineageNodeError, R>) -> Self {
3309 match err {
3310 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3311 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3312 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3313 source: err.into(),
3314 }),
3315 }
3316 }
3317}
3318impl From<crate::operation::get_lineage_node::GetLineageNodeError> for Error {
3319 fn from(err: crate::operation::get_lineage_node::GetLineageNodeError) -> Self {
3320 match err {
3321 crate::operation::get_lineage_node::GetLineageNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3322 crate::operation::get_lineage_node::GetLineageNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
3323 crate::operation::get_lineage_node::GetLineageNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3324 crate::operation::get_lineage_node::GetLineageNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3325 crate::operation::get_lineage_node::GetLineageNodeError::ValidationException(inner) => Error::ValidationException(inner),
3326 crate::operation::get_lineage_node::GetLineageNodeError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3327 crate::operation::get_lineage_node::GetLineageNodeError::Unhandled(inner) => Error::Unhandled(inner),
3328 }
3329 }
3330}
3331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_listing::GetListingError, R>> for Error
3332where
3333 R: Send + Sync + std::fmt::Debug + 'static,
3334{
3335 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_listing::GetListingError, R>) -> Self {
3336 match err {
3337 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3338 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3339 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3340 source: err.into(),
3341 }),
3342 }
3343 }
3344}
3345impl From<crate::operation::get_listing::GetListingError> for Error {
3346 fn from(err: crate::operation::get_listing::GetListingError) -> Self {
3347 match err {
3348 crate::operation::get_listing::GetListingError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3349 crate::operation::get_listing::GetListingError::InternalServerException(inner) => Error::InternalServerException(inner),
3350 crate::operation::get_listing::GetListingError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3351 crate::operation::get_listing::GetListingError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3352 crate::operation::get_listing::GetListingError::ValidationException(inner) => Error::ValidationException(inner),
3353 crate::operation::get_listing::GetListingError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3354 crate::operation::get_listing::GetListingError::Unhandled(inner) => Error::Unhandled(inner),
3355 }
3356 }
3357}
3358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError, R>>
3359 for Error
3360where
3361 R: Send + Sync + std::fmt::Debug + 'static,
3362{
3363 fn from(
3364 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError, R>,
3365 ) -> Self {
3366 match err {
3367 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3368 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3369 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3370 source: err.into(),
3371 }),
3372 }
3373 }
3374}
3375impl From<crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError> for Error {
3376 fn from(err: crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError) -> Self {
3377 match err {
3378 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::AccessDeniedException(inner) => {
3379 Error::AccessDeniedException(inner)
3380 }
3381 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::InternalServerException(inner) => {
3382 Error::InternalServerException(inner)
3383 }
3384 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::ResourceNotFoundException(inner) => {
3385 Error::ResourceNotFoundException(inner)
3386 }
3387 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::ThrottlingException(inner) => {
3388 Error::ThrottlingException(inner)
3389 }
3390 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::ValidationException(inner) => {
3391 Error::ValidationException(inner)
3392 }
3393 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::UnauthorizedException(inner) => {
3394 Error::UnauthorizedException(inner)
3395 }
3396 crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError::Unhandled(inner) => Error::Unhandled(inner),
3397 }
3398 }
3399}
3400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notebook::GetNotebookError, R>> for Error
3401where
3402 R: Send + Sync + std::fmt::Debug + 'static,
3403{
3404 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notebook::GetNotebookError, R>) -> Self {
3405 match err {
3406 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3407 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3408 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3409 source: err.into(),
3410 }),
3411 }
3412 }
3413}
3414impl From<crate::operation::get_notebook::GetNotebookError> for Error {
3415 fn from(err: crate::operation::get_notebook::GetNotebookError) -> Self {
3416 match err {
3417 crate::operation::get_notebook::GetNotebookError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3418 crate::operation::get_notebook::GetNotebookError::InternalServerException(inner) => Error::InternalServerException(inner),
3419 crate::operation::get_notebook::GetNotebookError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3420 crate::operation::get_notebook::GetNotebookError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3421 crate::operation::get_notebook::GetNotebookError::ValidationException(inner) => Error::ValidationException(inner),
3422 crate::operation::get_notebook::GetNotebookError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3423 crate::operation::get_notebook::GetNotebookError::Unhandled(inner) => Error::Unhandled(inner),
3424 }
3425 }
3426}
3427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notebook_export::GetNotebookExportError, R>> for Error
3428where
3429 R: Send + Sync + std::fmt::Debug + 'static,
3430{
3431 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notebook_export::GetNotebookExportError, R>) -> Self {
3432 match err {
3433 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3434 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3435 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3436 source: err.into(),
3437 }),
3438 }
3439 }
3440}
3441impl From<crate::operation::get_notebook_export::GetNotebookExportError> for Error {
3442 fn from(err: crate::operation::get_notebook_export::GetNotebookExportError) -> Self {
3443 match err {
3444 crate::operation::get_notebook_export::GetNotebookExportError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3445 crate::operation::get_notebook_export::GetNotebookExportError::InternalServerException(inner) => Error::InternalServerException(inner),
3446 crate::operation::get_notebook_export::GetNotebookExportError::ResourceNotFoundException(inner) => {
3447 Error::ResourceNotFoundException(inner)
3448 }
3449 crate::operation::get_notebook_export::GetNotebookExportError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3450 crate::operation::get_notebook_export::GetNotebookExportError::ValidationException(inner) => Error::ValidationException(inner),
3451 crate::operation::get_notebook_export::GetNotebookExportError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3452 crate::operation::get_notebook_export::GetNotebookExportError::Unhandled(inner) => Error::Unhandled(inner),
3453 }
3454 }
3455}
3456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notebook_run::GetNotebookRunError, R>> for Error
3457where
3458 R: Send + Sync + std::fmt::Debug + 'static,
3459{
3460 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_notebook_run::GetNotebookRunError, R>) -> Self {
3461 match err {
3462 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3463 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3464 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3465 source: err.into(),
3466 }),
3467 }
3468 }
3469}
3470impl From<crate::operation::get_notebook_run::GetNotebookRunError> for Error {
3471 fn from(err: crate::operation::get_notebook_run::GetNotebookRunError) -> Self {
3472 match err {
3473 crate::operation::get_notebook_run::GetNotebookRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3474 crate::operation::get_notebook_run::GetNotebookRunError::InternalServerException(inner) => Error::InternalServerException(inner),
3475 crate::operation::get_notebook_run::GetNotebookRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3476 crate::operation::get_notebook_run::GetNotebookRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3477 crate::operation::get_notebook_run::GetNotebookRunError::ValidationException(inner) => Error::ValidationException(inner),
3478 crate::operation::get_notebook_run::GetNotebookRunError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3479 crate::operation::get_notebook_run::GetNotebookRunError::Unhandled(inner) => Error::Unhandled(inner),
3480 }
3481 }
3482}
3483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_project::GetProjectError, R>> for Error
3484where
3485 R: Send + Sync + std::fmt::Debug + 'static,
3486{
3487 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_project::GetProjectError, R>) -> Self {
3488 match err {
3489 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3490 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3491 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3492 source: err.into(),
3493 }),
3494 }
3495 }
3496}
3497impl From<crate::operation::get_project::GetProjectError> for Error {
3498 fn from(err: crate::operation::get_project::GetProjectError) -> Self {
3499 match err {
3500 crate::operation::get_project::GetProjectError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3501 crate::operation::get_project::GetProjectError::InternalServerException(inner) => Error::InternalServerException(inner),
3502 crate::operation::get_project::GetProjectError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3503 crate::operation::get_project::GetProjectError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3504 crate::operation::get_project::GetProjectError::ValidationException(inner) => Error::ValidationException(inner),
3505 crate::operation::get_project::GetProjectError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3506 crate::operation::get_project::GetProjectError::Unhandled(inner) => Error::Unhandled(inner),
3507 }
3508 }
3509}
3510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_project_profile::GetProjectProfileError, R>> for Error
3511where
3512 R: Send + Sync + std::fmt::Debug + 'static,
3513{
3514 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_project_profile::GetProjectProfileError, R>) -> Self {
3515 match err {
3516 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3517 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3518 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3519 source: err.into(),
3520 }),
3521 }
3522 }
3523}
3524impl From<crate::operation::get_project_profile::GetProjectProfileError> for Error {
3525 fn from(err: crate::operation::get_project_profile::GetProjectProfileError) -> Self {
3526 match err {
3527 crate::operation::get_project_profile::GetProjectProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3528 crate::operation::get_project_profile::GetProjectProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
3529 crate::operation::get_project_profile::GetProjectProfileError::ResourceNotFoundException(inner) => {
3530 Error::ResourceNotFoundException(inner)
3531 }
3532 crate::operation::get_project_profile::GetProjectProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3533 crate::operation::get_project_profile::GetProjectProfileError::ValidationException(inner) => Error::ValidationException(inner),
3534 crate::operation::get_project_profile::GetProjectProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3535 crate::operation::get_project_profile::GetProjectProfileError::Unhandled(inner) => Error::Unhandled(inner),
3536 }
3537 }
3538}
3539impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_rule::GetRuleError, R>> for Error
3540where
3541 R: Send + Sync + std::fmt::Debug + 'static,
3542{
3543 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_rule::GetRuleError, R>) -> Self {
3544 match err {
3545 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3546 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3547 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3548 source: err.into(),
3549 }),
3550 }
3551 }
3552}
3553impl From<crate::operation::get_rule::GetRuleError> for Error {
3554 fn from(err: crate::operation::get_rule::GetRuleError) -> Self {
3555 match err {
3556 crate::operation::get_rule::GetRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3557 crate::operation::get_rule::GetRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
3558 crate::operation::get_rule::GetRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3559 crate::operation::get_rule::GetRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3560 crate::operation::get_rule::GetRuleError::ValidationException(inner) => Error::ValidationException(inner),
3561 crate::operation::get_rule::GetRuleError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3562 crate::operation::get_rule::GetRuleError::Unhandled(inner) => Error::Unhandled(inner),
3563 }
3564 }
3565}
3566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription::GetSubscriptionError, R>> for Error
3567where
3568 R: Send + Sync + std::fmt::Debug + 'static,
3569{
3570 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription::GetSubscriptionError, R>) -> Self {
3571 match err {
3572 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3573 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3574 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3575 source: err.into(),
3576 }),
3577 }
3578 }
3579}
3580impl From<crate::operation::get_subscription::GetSubscriptionError> for Error {
3581 fn from(err: crate::operation::get_subscription::GetSubscriptionError) -> Self {
3582 match err {
3583 crate::operation::get_subscription::GetSubscriptionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3584 crate::operation::get_subscription::GetSubscriptionError::InternalServerException(inner) => Error::InternalServerException(inner),
3585 crate::operation::get_subscription::GetSubscriptionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3586 crate::operation::get_subscription::GetSubscriptionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3587 crate::operation::get_subscription::GetSubscriptionError::ValidationException(inner) => Error::ValidationException(inner),
3588 crate::operation::get_subscription::GetSubscriptionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3589 crate::operation::get_subscription::GetSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3590 }
3591 }
3592}
3593impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription_grant::GetSubscriptionGrantError, R>> for Error
3594where
3595 R: Send + Sync + std::fmt::Debug + 'static,
3596{
3597 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription_grant::GetSubscriptionGrantError, R>) -> Self {
3598 match err {
3599 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3600 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3601 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3602 source: err.into(),
3603 }),
3604 }
3605 }
3606}
3607impl From<crate::operation::get_subscription_grant::GetSubscriptionGrantError> for Error {
3608 fn from(err: crate::operation::get_subscription_grant::GetSubscriptionGrantError) -> Self {
3609 match err {
3610 crate::operation::get_subscription_grant::GetSubscriptionGrantError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3611 crate::operation::get_subscription_grant::GetSubscriptionGrantError::InternalServerException(inner) => {
3612 Error::InternalServerException(inner)
3613 }
3614 crate::operation::get_subscription_grant::GetSubscriptionGrantError::ResourceNotFoundException(inner) => {
3615 Error::ResourceNotFoundException(inner)
3616 }
3617 crate::operation::get_subscription_grant::GetSubscriptionGrantError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3618 crate::operation::get_subscription_grant::GetSubscriptionGrantError::ValidationException(inner) => Error::ValidationException(inner),
3619 crate::operation::get_subscription_grant::GetSubscriptionGrantError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3620 crate::operation::get_subscription_grant::GetSubscriptionGrantError::Unhandled(inner) => Error::Unhandled(inner),
3621 }
3622 }
3623}
3624impl<R>
3625 From<
3626 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError, R>,
3627 > for Error
3628where
3629 R: Send + Sync + std::fmt::Debug + 'static,
3630{
3631 fn from(
3632 err: ::aws_smithy_runtime_api::client::result::SdkError<
3633 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError,
3634 R,
3635 >,
3636 ) -> Self {
3637 match err {
3638 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3639 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3640 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3641 source: err.into(),
3642 }),
3643 }
3644 }
3645}
3646impl From<crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError> for Error {
3647 fn from(err: crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError) -> Self {
3648 match err {
3649 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::AccessDeniedException(inner) => {
3650 Error::AccessDeniedException(inner)
3651 }
3652 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::InternalServerException(inner) => {
3653 Error::InternalServerException(inner)
3654 }
3655 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::ResourceNotFoundException(inner) => {
3656 Error::ResourceNotFoundException(inner)
3657 }
3658 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::ThrottlingException(inner) => {
3659 Error::ThrottlingException(inner)
3660 }
3661 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::ValidationException(inner) => {
3662 Error::ValidationException(inner)
3663 }
3664 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::UnauthorizedException(inner) => {
3665 Error::UnauthorizedException(inner)
3666 }
3667 crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError::Unhandled(inner) => Error::Unhandled(inner),
3668 }
3669 }
3670}
3671impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription_target::GetSubscriptionTargetError, R>> for Error
3672where
3673 R: Send + Sync + std::fmt::Debug + 'static,
3674{
3675 fn from(
3676 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subscription_target::GetSubscriptionTargetError, R>,
3677 ) -> Self {
3678 match err {
3679 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3680 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3681 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3682 source: err.into(),
3683 }),
3684 }
3685 }
3686}
3687impl From<crate::operation::get_subscription_target::GetSubscriptionTargetError> for Error {
3688 fn from(err: crate::operation::get_subscription_target::GetSubscriptionTargetError) -> Self {
3689 match err {
3690 crate::operation::get_subscription_target::GetSubscriptionTargetError::AccessDeniedException(inner) => {
3691 Error::AccessDeniedException(inner)
3692 }
3693 crate::operation::get_subscription_target::GetSubscriptionTargetError::InternalServerException(inner) => {
3694 Error::InternalServerException(inner)
3695 }
3696 crate::operation::get_subscription_target::GetSubscriptionTargetError::ResourceNotFoundException(inner) => {
3697 Error::ResourceNotFoundException(inner)
3698 }
3699 crate::operation::get_subscription_target::GetSubscriptionTargetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3700 crate::operation::get_subscription_target::GetSubscriptionTargetError::ValidationException(inner) => Error::ValidationException(inner),
3701 crate::operation::get_subscription_target::GetSubscriptionTargetError::UnauthorizedException(inner) => {
3702 Error::UnauthorizedException(inner)
3703 }
3704 crate::operation::get_subscription_target::GetSubscriptionTargetError::Unhandled(inner) => Error::Unhandled(inner),
3705 }
3706 }
3707}
3708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError, R>>
3709 for Error
3710where
3711 R: Send + Sync + std::fmt::Debug + 'static,
3712{
3713 fn from(
3714 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError, R>,
3715 ) -> Self {
3716 match err {
3717 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3718 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3719 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3720 source: err.into(),
3721 }),
3722 }
3723 }
3724}
3725impl From<crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError> for Error {
3726 fn from(err: crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError) -> Self {
3727 match err {
3728 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::AccessDeniedException(inner) => {
3729 Error::AccessDeniedException(inner)
3730 }
3731 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::InternalServerException(inner) => {
3732 Error::InternalServerException(inner)
3733 }
3734 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::ResourceNotFoundException(inner) => {
3735 Error::ResourceNotFoundException(inner)
3736 }
3737 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::ThrottlingException(inner) => {
3738 Error::ThrottlingException(inner)
3739 }
3740 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::ValidationException(inner) => {
3741 Error::ValidationException(inner)
3742 }
3743 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::UnauthorizedException(inner) => {
3744 Error::UnauthorizedException(inner)
3745 }
3746 crate::operation::get_time_series_data_point::GetTimeSeriesDataPointError::Unhandled(inner) => Error::Unhandled(inner),
3747 }
3748 }
3749}
3750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_profile::GetUserProfileError, R>> for Error
3751where
3752 R: Send + Sync + std::fmt::Debug + 'static,
3753{
3754 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_profile::GetUserProfileError, R>) -> Self {
3755 match err {
3756 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3757 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3758 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3759 source: err.into(),
3760 }),
3761 }
3762 }
3763}
3764impl From<crate::operation::get_user_profile::GetUserProfileError> for Error {
3765 fn from(err: crate::operation::get_user_profile::GetUserProfileError) -> Self {
3766 match err {
3767 crate::operation::get_user_profile::GetUserProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3768 crate::operation::get_user_profile::GetUserProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
3769 crate::operation::get_user_profile::GetUserProfileError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3770 crate::operation::get_user_profile::GetUserProfileError::ValidationException(inner) => Error::ValidationException(inner),
3771 crate::operation::get_user_profile::GetUserProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3772 crate::operation::get_user_profile::GetUserProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3773 crate::operation::get_user_profile::GetUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
3774 }
3775 }
3776}
3777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_account_pools::ListAccountPoolsError, R>> for Error
3778where
3779 R: Send + Sync + std::fmt::Debug + 'static,
3780{
3781 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_account_pools::ListAccountPoolsError, R>) -> Self {
3782 match err {
3783 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3784 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3785 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3786 source: err.into(),
3787 }),
3788 }
3789 }
3790}
3791impl From<crate::operation::list_account_pools::ListAccountPoolsError> for Error {
3792 fn from(err: crate::operation::list_account_pools::ListAccountPoolsError) -> Self {
3793 match err {
3794 crate::operation::list_account_pools::ListAccountPoolsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3795 crate::operation::list_account_pools::ListAccountPoolsError::InternalServerException(inner) => Error::InternalServerException(inner),
3796 crate::operation::list_account_pools::ListAccountPoolsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3797 crate::operation::list_account_pools::ListAccountPoolsError::ValidationException(inner) => Error::ValidationException(inner),
3798 crate::operation::list_account_pools::ListAccountPoolsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3799 crate::operation::list_account_pools::ListAccountPoolsError::Unhandled(inner) => Error::Unhandled(inner),
3800 }
3801 }
3802}
3803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError, R>>
3804 for Error
3805where
3806 R: Send + Sync + std::fmt::Debug + 'static,
3807{
3808 fn from(
3809 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError, R>,
3810 ) -> Self {
3811 match err {
3812 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3813 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3814 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3815 source: err.into(),
3816 }),
3817 }
3818 }
3819}
3820impl From<crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError> for Error {
3821 fn from(err: crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError) -> Self {
3822 match err {
3823 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::AccessDeniedException(inner) => {
3824 Error::AccessDeniedException(inner)
3825 }
3826 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::InternalServerException(inner) => {
3827 Error::InternalServerException(inner)
3828 }
3829 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::ResourceNotFoundException(inner) => {
3830 Error::ResourceNotFoundException(inner)
3831 }
3832 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::ThrottlingException(inner) => {
3833 Error::ThrottlingException(inner)
3834 }
3835 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::ValidationException(inner) => {
3836 Error::ValidationException(inner)
3837 }
3838 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::UnauthorizedException(inner) => {
3839 Error::UnauthorizedException(inner)
3840 }
3841 crate::operation::list_accounts_in_account_pool::ListAccountsInAccountPoolError::Unhandled(inner) => Error::Unhandled(inner),
3842 }
3843 }
3844}
3845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_filters::ListAssetFiltersError, R>> for Error
3846where
3847 R: Send + Sync + std::fmt::Debug + 'static,
3848{
3849 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_filters::ListAssetFiltersError, R>) -> Self {
3850 match err {
3851 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3852 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3853 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3854 source: err.into(),
3855 }),
3856 }
3857 }
3858}
3859impl From<crate::operation::list_asset_filters::ListAssetFiltersError> for Error {
3860 fn from(err: crate::operation::list_asset_filters::ListAssetFiltersError) -> Self {
3861 match err {
3862 crate::operation::list_asset_filters::ListAssetFiltersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3863 crate::operation::list_asset_filters::ListAssetFiltersError::InternalServerException(inner) => Error::InternalServerException(inner),
3864 crate::operation::list_asset_filters::ListAssetFiltersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
3865 crate::operation::list_asset_filters::ListAssetFiltersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3866 crate::operation::list_asset_filters::ListAssetFiltersError::ValidationException(inner) => Error::ValidationException(inner),
3867 crate::operation::list_asset_filters::ListAssetFiltersError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3868 crate::operation::list_asset_filters::ListAssetFiltersError::Unhandled(inner) => Error::Unhandled(inner),
3869 }
3870 }
3871}
3872impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_revisions::ListAssetRevisionsError, R>> for Error
3873where
3874 R: Send + Sync + std::fmt::Debug + 'static,
3875{
3876 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_revisions::ListAssetRevisionsError, R>) -> Self {
3877 match err {
3878 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3879 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3880 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3881 source: err.into(),
3882 }),
3883 }
3884 }
3885}
3886impl From<crate::operation::list_asset_revisions::ListAssetRevisionsError> for Error {
3887 fn from(err: crate::operation::list_asset_revisions::ListAssetRevisionsError) -> Self {
3888 match err {
3889 crate::operation::list_asset_revisions::ListAssetRevisionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3890 crate::operation::list_asset_revisions::ListAssetRevisionsError::InternalServerException(inner) => Error::InternalServerException(inner),
3891 crate::operation::list_asset_revisions::ListAssetRevisionsError::ResourceNotFoundException(inner) => {
3892 Error::ResourceNotFoundException(inner)
3893 }
3894 crate::operation::list_asset_revisions::ListAssetRevisionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3895 crate::operation::list_asset_revisions::ListAssetRevisionsError::ValidationException(inner) => Error::ValidationException(inner),
3896 crate::operation::list_asset_revisions::ListAssetRevisionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3897 crate::operation::list_asset_revisions::ListAssetRevisionsError::Unhandled(inner) => Error::Unhandled(inner),
3898 }
3899 }
3900}
3901impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connections::ListConnectionsError, R>> for Error
3902where
3903 R: Send + Sync + std::fmt::Debug + 'static,
3904{
3905 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connections::ListConnectionsError, R>) -> Self {
3906 match err {
3907 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3908 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3909 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3910 source: err.into(),
3911 }),
3912 }
3913 }
3914}
3915impl From<crate::operation::list_connections::ListConnectionsError> for Error {
3916 fn from(err: crate::operation::list_connections::ListConnectionsError) -> Self {
3917 match err {
3918 crate::operation::list_connections::ListConnectionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3919 crate::operation::list_connections::ListConnectionsError::InternalServerException(inner) => Error::InternalServerException(inner),
3920 crate::operation::list_connections::ListConnectionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3921 crate::operation::list_connections::ListConnectionsError::ValidationException(inner) => Error::ValidationException(inner),
3922 crate::operation::list_connections::ListConnectionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
3923 crate::operation::list_connections::ListConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
3924 }
3925 }
3926}
3927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_product_revisions::ListDataProductRevisionsError, R>>
3928 for Error
3929where
3930 R: Send + Sync + std::fmt::Debug + 'static,
3931{
3932 fn from(
3933 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_product_revisions::ListDataProductRevisionsError, R>,
3934 ) -> Self {
3935 match err {
3936 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3937 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3938 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3939 source: err.into(),
3940 }),
3941 }
3942 }
3943}
3944impl From<crate::operation::list_data_product_revisions::ListDataProductRevisionsError> for Error {
3945 fn from(err: crate::operation::list_data_product_revisions::ListDataProductRevisionsError) -> Self {
3946 match err {
3947 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::AccessDeniedException(inner) => {
3948 Error::AccessDeniedException(inner)
3949 }
3950 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::InternalServerException(inner) => {
3951 Error::InternalServerException(inner)
3952 }
3953 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::ResourceNotFoundException(inner) => {
3954 Error::ResourceNotFoundException(inner)
3955 }
3956 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::ThrottlingException(inner) => {
3957 Error::ThrottlingException(inner)
3958 }
3959 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::ValidationException(inner) => {
3960 Error::ValidationException(inner)
3961 }
3962 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::UnauthorizedException(inner) => {
3963 Error::UnauthorizedException(inner)
3964 }
3965 crate::operation::list_data_product_revisions::ListDataProductRevisionsError::Unhandled(inner) => Error::Unhandled(inner),
3966 }
3967 }
3968}
3969impl<R>
3970 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError, R>>
3971 for Error
3972where
3973 R: Send + Sync + std::fmt::Debug + 'static,
3974{
3975 fn from(
3976 err: ::aws_smithy_runtime_api::client::result::SdkError<
3977 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError,
3978 R,
3979 >,
3980 ) -> Self {
3981 match err {
3982 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3983 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3984 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3985 source: err.into(),
3986 }),
3987 }
3988 }
3989}
3990impl From<crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError> for Error {
3991 fn from(err: crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError) -> Self {
3992 match err {
3993 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::AccessDeniedException(inner) => {
3994 Error::AccessDeniedException(inner)
3995 }
3996 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::ConflictException(inner) => {
3997 Error::ConflictException(inner)
3998 }
3999 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::InternalServerException(inner) => {
4000 Error::InternalServerException(inner)
4001 }
4002 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::ResourceNotFoundException(inner) => {
4003 Error::ResourceNotFoundException(inner)
4004 }
4005 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::ServiceQuotaExceededException(inner) => {
4006 Error::ServiceQuotaExceededException(inner)
4007 }
4008 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::ThrottlingException(inner) => {
4009 Error::ThrottlingException(inner)
4010 }
4011 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::ValidationException(inner) => {
4012 Error::ValidationException(inner)
4013 }
4014 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::UnauthorizedException(inner) => {
4015 Error::UnauthorizedException(inner)
4016 }
4017 crate::operation::list_data_source_run_activities::ListDataSourceRunActivitiesError::Unhandled(inner) => Error::Unhandled(inner),
4018 }
4019 }
4020}
4021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_source_runs::ListDataSourceRunsError, R>> for Error
4022where
4023 R: Send + Sync + std::fmt::Debug + 'static,
4024{
4025 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_source_runs::ListDataSourceRunsError, R>) -> Self {
4026 match err {
4027 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4028 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4029 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4030 source: err.into(),
4031 }),
4032 }
4033 }
4034}
4035impl From<crate::operation::list_data_source_runs::ListDataSourceRunsError> for Error {
4036 fn from(err: crate::operation::list_data_source_runs::ListDataSourceRunsError) -> Self {
4037 match err {
4038 crate::operation::list_data_source_runs::ListDataSourceRunsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4039 crate::operation::list_data_source_runs::ListDataSourceRunsError::ConflictException(inner) => Error::ConflictException(inner),
4040 crate::operation::list_data_source_runs::ListDataSourceRunsError::InternalServerException(inner) => Error::InternalServerException(inner),
4041 crate::operation::list_data_source_runs::ListDataSourceRunsError::ResourceNotFoundException(inner) => {
4042 Error::ResourceNotFoundException(inner)
4043 }
4044 crate::operation::list_data_source_runs::ListDataSourceRunsError::ServiceQuotaExceededException(inner) => {
4045 Error::ServiceQuotaExceededException(inner)
4046 }
4047 crate::operation::list_data_source_runs::ListDataSourceRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4048 crate::operation::list_data_source_runs::ListDataSourceRunsError::ValidationException(inner) => Error::ValidationException(inner),
4049 crate::operation::list_data_source_runs::ListDataSourceRunsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4050 crate::operation::list_data_source_runs::ListDataSourceRunsError::Unhandled(inner) => Error::Unhandled(inner),
4051 }
4052 }
4053}
4054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_sources::ListDataSourcesError, R>> for Error
4055where
4056 R: Send + Sync + std::fmt::Debug + 'static,
4057{
4058 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_sources::ListDataSourcesError, R>) -> Self {
4059 match err {
4060 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4061 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4062 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4063 source: err.into(),
4064 }),
4065 }
4066 }
4067}
4068impl From<crate::operation::list_data_sources::ListDataSourcesError> for Error {
4069 fn from(err: crate::operation::list_data_sources::ListDataSourcesError) -> Self {
4070 match err {
4071 crate::operation::list_data_sources::ListDataSourcesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4072 crate::operation::list_data_sources::ListDataSourcesError::ConflictException(inner) => Error::ConflictException(inner),
4073 crate::operation::list_data_sources::ListDataSourcesError::InternalServerException(inner) => Error::InternalServerException(inner),
4074 crate::operation::list_data_sources::ListDataSourcesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4075 crate::operation::list_data_sources::ListDataSourcesError::ServiceQuotaExceededException(inner) => {
4076 Error::ServiceQuotaExceededException(inner)
4077 }
4078 crate::operation::list_data_sources::ListDataSourcesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4079 crate::operation::list_data_sources::ListDataSourcesError::ValidationException(inner) => Error::ValidationException(inner),
4080 crate::operation::list_data_sources::ListDataSourcesError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4081 crate::operation::list_data_sources::ListDataSourcesError::Unhandled(inner) => Error::Unhandled(inner),
4082 }
4083 }
4084}
4085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>> for Error
4086where
4087 R: Send + Sync + std::fmt::Debug + 'static,
4088{
4089 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domains::ListDomainsError, R>) -> Self {
4090 match err {
4091 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4092 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4093 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4094 source: err.into(),
4095 }),
4096 }
4097 }
4098}
4099impl From<crate::operation::list_domains::ListDomainsError> for Error {
4100 fn from(err: crate::operation::list_domains::ListDomainsError) -> Self {
4101 match err {
4102 crate::operation::list_domains::ListDomainsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4103 crate::operation::list_domains::ListDomainsError::ConflictException(inner) => Error::ConflictException(inner),
4104 crate::operation::list_domains::ListDomainsError::InternalServerException(inner) => Error::InternalServerException(inner),
4105 crate::operation::list_domains::ListDomainsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4106 crate::operation::list_domains::ListDomainsError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
4107 crate::operation::list_domains::ListDomainsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4108 crate::operation::list_domains::ListDomainsError::ValidationException(inner) => Error::ValidationException(inner),
4109 crate::operation::list_domains::ListDomainsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4110 crate::operation::list_domains::ListDomainsError::Unhandled(inner) => Error::Unhandled(inner),
4111 }
4112 }
4113}
4114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError, R>>
4115 for Error
4116where
4117 R: Send + Sync + std::fmt::Debug + 'static,
4118{
4119 fn from(
4120 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError, R>,
4121 ) -> Self {
4122 match err {
4123 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4124 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4125 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4126 source: err.into(),
4127 }),
4128 }
4129 }
4130}
4131impl From<crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError> for Error {
4132 fn from(err: crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError) -> Self {
4133 match err {
4134 crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError::AccessDeniedException(inner) => {
4135 Error::AccessDeniedException(inner)
4136 }
4137 crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError::InternalServerException(inner) => {
4138 Error::InternalServerException(inner)
4139 }
4140 crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError::ThrottlingException(inner) => {
4141 Error::ThrottlingException(inner)
4142 }
4143 crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError::ValidationException(inner) => {
4144 Error::ValidationException(inner)
4145 }
4146 crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError::UnauthorizedException(inner) => {
4147 Error::UnauthorizedException(inner)
4148 }
4149 crate::operation::list_domain_units_for_parent::ListDomainUnitsForParentError::Unhandled(inner) => Error::Unhandled(inner),
4150 }
4151 }
4152}
4153impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entity_owners::ListEntityOwnersError, R>> for Error
4154where
4155 R: Send + Sync + std::fmt::Debug + 'static,
4156{
4157 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entity_owners::ListEntityOwnersError, R>) -> Self {
4158 match err {
4159 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4160 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4161 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4162 source: err.into(),
4163 }),
4164 }
4165 }
4166}
4167impl From<crate::operation::list_entity_owners::ListEntityOwnersError> for Error {
4168 fn from(err: crate::operation::list_entity_owners::ListEntityOwnersError) -> Self {
4169 match err {
4170 crate::operation::list_entity_owners::ListEntityOwnersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4171 crate::operation::list_entity_owners::ListEntityOwnersError::InternalServerException(inner) => Error::InternalServerException(inner),
4172 crate::operation::list_entity_owners::ListEntityOwnersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4173 crate::operation::list_entity_owners::ListEntityOwnersError::ValidationException(inner) => Error::ValidationException(inner),
4174 crate::operation::list_entity_owners::ListEntityOwnersError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4175 crate::operation::list_entity_owners::ListEntityOwnersError::Unhandled(inner) => Error::Unhandled(inner),
4176 }
4177 }
4178}
4179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environment_actions::ListEnvironmentActionsError, R>> for Error
4180where
4181 R: Send + Sync + std::fmt::Debug + 'static,
4182{
4183 fn from(
4184 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environment_actions::ListEnvironmentActionsError, R>,
4185 ) -> Self {
4186 match err {
4187 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4188 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4189 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4190 source: err.into(),
4191 }),
4192 }
4193 }
4194}
4195impl From<crate::operation::list_environment_actions::ListEnvironmentActionsError> for Error {
4196 fn from(err: crate::operation::list_environment_actions::ListEnvironmentActionsError) -> Self {
4197 match err {
4198 crate::operation::list_environment_actions::ListEnvironmentActionsError::AccessDeniedException(inner) => {
4199 Error::AccessDeniedException(inner)
4200 }
4201 crate::operation::list_environment_actions::ListEnvironmentActionsError::InternalServerException(inner) => {
4202 Error::InternalServerException(inner)
4203 }
4204 crate::operation::list_environment_actions::ListEnvironmentActionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4205 crate::operation::list_environment_actions::ListEnvironmentActionsError::ValidationException(inner) => Error::ValidationException(inner),
4206 crate::operation::list_environment_actions::ListEnvironmentActionsError::UnauthorizedException(inner) => {
4207 Error::UnauthorizedException(inner)
4208 }
4209 crate::operation::list_environment_actions::ListEnvironmentActionsError::Unhandled(inner) => Error::Unhandled(inner),
4210 }
4211 }
4212}
4213impl<R>
4214 From<
4215 ::aws_smithy_runtime_api::client::result::SdkError<
4216 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError,
4217 R,
4218 >,
4219 > for Error
4220where
4221 R: Send + Sync + std::fmt::Debug + 'static,
4222{
4223 fn from(
4224 err: ::aws_smithy_runtime_api::client::result::SdkError<
4225 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError,
4226 R,
4227 >,
4228 ) -> Self {
4229 match err {
4230 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4231 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4232 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4233 source: err.into(),
4234 }),
4235 }
4236 }
4237}
4238impl From<crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError> for Error {
4239 fn from(err: crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError) -> Self {
4240 match err {
4241 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::AccessDeniedException(
4242 inner,
4243 ) => Error::AccessDeniedException(inner),
4244 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::InternalServerException(
4245 inner,
4246 ) => Error::InternalServerException(inner),
4247 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::ResourceNotFoundException(
4248 inner,
4249 ) => Error::ResourceNotFoundException(inner),
4250 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::ValidationException(inner) => {
4251 Error::ValidationException(inner)
4252 }
4253 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::ThrottlingException(inner) => {
4254 Error::ThrottlingException(inner)
4255 }
4256 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::UnauthorizedException(
4257 inner,
4258 ) => Error::UnauthorizedException(inner),
4259 crate::operation::list_environment_blueprint_configurations::ListEnvironmentBlueprintConfigurationsError::Unhandled(inner) => {
4260 Error::Unhandled(inner)
4261 }
4262 }
4263 }
4264}
4265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError, R>>
4266 for Error
4267where
4268 R: Send + Sync + std::fmt::Debug + 'static,
4269{
4270 fn from(
4271 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError, R>,
4272 ) -> Self {
4273 match err {
4274 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4275 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4276 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4277 source: err.into(),
4278 }),
4279 }
4280 }
4281}
4282impl From<crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError> for Error {
4283 fn from(err: crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError) -> Self {
4284 match err {
4285 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::AccessDeniedException(inner) => {
4286 Error::AccessDeniedException(inner)
4287 }
4288 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::InternalServerException(inner) => {
4289 Error::InternalServerException(inner)
4290 }
4291 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::ResourceNotFoundException(inner) => {
4292 Error::ResourceNotFoundException(inner)
4293 }
4294 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::ThrottlingException(inner) => {
4295 Error::ThrottlingException(inner)
4296 }
4297 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::ValidationException(inner) => {
4298 Error::ValidationException(inner)
4299 }
4300 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::UnauthorizedException(inner) => {
4301 Error::UnauthorizedException(inner)
4302 }
4303 crate::operation::list_environment_blueprints::ListEnvironmentBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
4304 }
4305 }
4306}
4307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environment_profiles::ListEnvironmentProfilesError, R>>
4308 for Error
4309where
4310 R: Send + Sync + std::fmt::Debug + 'static,
4311{
4312 fn from(
4313 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environment_profiles::ListEnvironmentProfilesError, R>,
4314 ) -> Self {
4315 match err {
4316 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4317 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4318 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4319 source: err.into(),
4320 }),
4321 }
4322 }
4323}
4324impl From<crate::operation::list_environment_profiles::ListEnvironmentProfilesError> for Error {
4325 fn from(err: crate::operation::list_environment_profiles::ListEnvironmentProfilesError) -> Self {
4326 match err {
4327 crate::operation::list_environment_profiles::ListEnvironmentProfilesError::AccessDeniedException(inner) => {
4328 Error::AccessDeniedException(inner)
4329 }
4330 crate::operation::list_environment_profiles::ListEnvironmentProfilesError::InternalServerException(inner) => {
4331 Error::InternalServerException(inner)
4332 }
4333 crate::operation::list_environment_profiles::ListEnvironmentProfilesError::ThrottlingException(inner) => {
4334 Error::ThrottlingException(inner)
4335 }
4336 crate::operation::list_environment_profiles::ListEnvironmentProfilesError::ValidationException(inner) => {
4337 Error::ValidationException(inner)
4338 }
4339 crate::operation::list_environment_profiles::ListEnvironmentProfilesError::UnauthorizedException(inner) => {
4340 Error::UnauthorizedException(inner)
4341 }
4342 crate::operation::list_environment_profiles::ListEnvironmentProfilesError::Unhandled(inner) => Error::Unhandled(inner),
4343 }
4344 }
4345}
4346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environments::ListEnvironmentsError, R>> for Error
4347where
4348 R: Send + Sync + std::fmt::Debug + 'static,
4349{
4350 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_environments::ListEnvironmentsError, R>) -> Self {
4351 match err {
4352 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4353 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4354 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4355 source: err.into(),
4356 }),
4357 }
4358 }
4359}
4360impl From<crate::operation::list_environments::ListEnvironmentsError> for Error {
4361 fn from(err: crate::operation::list_environments::ListEnvironmentsError) -> Self {
4362 match err {
4363 crate::operation::list_environments::ListEnvironmentsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4364 crate::operation::list_environments::ListEnvironmentsError::InternalServerException(inner) => Error::InternalServerException(inner),
4365 crate::operation::list_environments::ListEnvironmentsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4366 crate::operation::list_environments::ListEnvironmentsError::ValidationException(inner) => Error::ValidationException(inner),
4367 crate::operation::list_environments::ListEnvironmentsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4368 crate::operation::list_environments::ListEnvironmentsError::Unhandled(inner) => Error::Unhandled(inner),
4369 }
4370 }
4371}
4372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_job_runs::ListJobRunsError, R>> for Error
4373where
4374 R: Send + Sync + std::fmt::Debug + 'static,
4375{
4376 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_job_runs::ListJobRunsError, R>) -> Self {
4377 match err {
4378 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4379 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4380 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4381 source: err.into(),
4382 }),
4383 }
4384 }
4385}
4386impl From<crate::operation::list_job_runs::ListJobRunsError> for Error {
4387 fn from(err: crate::operation::list_job_runs::ListJobRunsError) -> Self {
4388 match err {
4389 crate::operation::list_job_runs::ListJobRunsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4390 crate::operation::list_job_runs::ListJobRunsError::InternalServerException(inner) => Error::InternalServerException(inner),
4391 crate::operation::list_job_runs::ListJobRunsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4392 crate::operation::list_job_runs::ListJobRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4393 crate::operation::list_job_runs::ListJobRunsError::ValidationException(inner) => Error::ValidationException(inner),
4394 crate::operation::list_job_runs::ListJobRunsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4395 crate::operation::list_job_runs::ListJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
4396 }
4397 }
4398}
4399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_events::ListLineageEventsError, R>> for Error
4400where
4401 R: Send + Sync + std::fmt::Debug + 'static,
4402{
4403 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_events::ListLineageEventsError, R>) -> Self {
4404 match err {
4405 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4406 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4407 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4408 source: err.into(),
4409 }),
4410 }
4411 }
4412}
4413impl From<crate::operation::list_lineage_events::ListLineageEventsError> for Error {
4414 fn from(err: crate::operation::list_lineage_events::ListLineageEventsError) -> Self {
4415 match err {
4416 crate::operation::list_lineage_events::ListLineageEventsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4417 crate::operation::list_lineage_events::ListLineageEventsError::InternalServerException(inner) => Error::InternalServerException(inner),
4418 crate::operation::list_lineage_events::ListLineageEventsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4419 crate::operation::list_lineage_events::ListLineageEventsError::ValidationException(inner) => Error::ValidationException(inner),
4420 crate::operation::list_lineage_events::ListLineageEventsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4421 crate::operation::list_lineage_events::ListLineageEventsError::Unhandled(inner) => Error::Unhandled(inner),
4422 }
4423 }
4424}
4425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_node_history::ListLineageNodeHistoryError, R>>
4426 for Error
4427where
4428 R: Send + Sync + std::fmt::Debug + 'static,
4429{
4430 fn from(
4431 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_lineage_node_history::ListLineageNodeHistoryError, R>,
4432 ) -> Self {
4433 match err {
4434 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4435 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4436 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4437 source: err.into(),
4438 }),
4439 }
4440 }
4441}
4442impl From<crate::operation::list_lineage_node_history::ListLineageNodeHistoryError> for Error {
4443 fn from(err: crate::operation::list_lineage_node_history::ListLineageNodeHistoryError) -> Self {
4444 match err {
4445 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::AccessDeniedException(inner) => {
4446 Error::AccessDeniedException(inner)
4447 }
4448 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::InternalServerException(inner) => {
4449 Error::InternalServerException(inner)
4450 }
4451 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::ResourceNotFoundException(inner) => {
4452 Error::ResourceNotFoundException(inner)
4453 }
4454 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4455 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::ValidationException(inner) => Error::ValidationException(inner),
4456 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::UnauthorizedException(inner) => {
4457 Error::UnauthorizedException(inner)
4458 }
4459 crate::operation::list_lineage_node_history::ListLineageNodeHistoryError::Unhandled(inner) => Error::Unhandled(inner),
4460 }
4461 }
4462}
4463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError, R>>
4464 for Error
4465where
4466 R: Send + Sync + std::fmt::Debug + 'static,
4467{
4468 fn from(
4469 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError, R>,
4470 ) -> Self {
4471 match err {
4472 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4473 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4474 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4475 source: err.into(),
4476 }),
4477 }
4478 }
4479}
4480impl From<crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError> for Error {
4481 fn from(err: crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError) -> Self {
4482 match err {
4483 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::AccessDeniedException(inner) => {
4484 Error::AccessDeniedException(inner)
4485 }
4486 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::InternalServerException(inner) => {
4487 Error::InternalServerException(inner)
4488 }
4489 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::ResourceNotFoundException(inner) => {
4490 Error::ResourceNotFoundException(inner)
4491 }
4492 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::ThrottlingException(inner) => {
4493 Error::ThrottlingException(inner)
4494 }
4495 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::ValidationException(inner) => {
4496 Error::ValidationException(inner)
4497 }
4498 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::UnauthorizedException(inner) => {
4499 Error::UnauthorizedException(inner)
4500 }
4501 crate::operation::list_metadata_generation_runs::ListMetadataGenerationRunsError::Unhandled(inner) => Error::Unhandled(inner),
4502 }
4503 }
4504}
4505impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_runs::ListNotebookRunsError, R>> for Error
4506where
4507 R: Send + Sync + std::fmt::Debug + 'static,
4508{
4509 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebook_runs::ListNotebookRunsError, R>) -> Self {
4510 match err {
4511 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4512 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4513 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4514 source: err.into(),
4515 }),
4516 }
4517 }
4518}
4519impl From<crate::operation::list_notebook_runs::ListNotebookRunsError> for Error {
4520 fn from(err: crate::operation::list_notebook_runs::ListNotebookRunsError) -> Self {
4521 match err {
4522 crate::operation::list_notebook_runs::ListNotebookRunsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4523 crate::operation::list_notebook_runs::ListNotebookRunsError::InternalServerException(inner) => Error::InternalServerException(inner),
4524 crate::operation::list_notebook_runs::ListNotebookRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4525 crate::operation::list_notebook_runs::ListNotebookRunsError::ValidationException(inner) => Error::ValidationException(inner),
4526 crate::operation::list_notebook_runs::ListNotebookRunsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4527 crate::operation::list_notebook_runs::ListNotebookRunsError::Unhandled(inner) => Error::Unhandled(inner),
4528 }
4529 }
4530}
4531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebooks::ListNotebooksError, R>> for Error
4532where
4533 R: Send + Sync + std::fmt::Debug + 'static,
4534{
4535 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notebooks::ListNotebooksError, R>) -> Self {
4536 match err {
4537 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4538 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4539 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4540 source: err.into(),
4541 }),
4542 }
4543 }
4544}
4545impl From<crate::operation::list_notebooks::ListNotebooksError> for Error {
4546 fn from(err: crate::operation::list_notebooks::ListNotebooksError) -> Self {
4547 match err {
4548 crate::operation::list_notebooks::ListNotebooksError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4549 crate::operation::list_notebooks::ListNotebooksError::InternalServerException(inner) => Error::InternalServerException(inner),
4550 crate::operation::list_notebooks::ListNotebooksError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4551 crate::operation::list_notebooks::ListNotebooksError::ValidationException(inner) => Error::ValidationException(inner),
4552 crate::operation::list_notebooks::ListNotebooksError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4553 crate::operation::list_notebooks::ListNotebooksError::Unhandled(inner) => Error::Unhandled(inner),
4554 }
4555 }
4556}
4557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notifications::ListNotificationsError, R>> for Error
4558where
4559 R: Send + Sync + std::fmt::Debug + 'static,
4560{
4561 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_notifications::ListNotificationsError, R>) -> Self {
4562 match err {
4563 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4564 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4565 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4566 source: err.into(),
4567 }),
4568 }
4569 }
4570}
4571impl From<crate::operation::list_notifications::ListNotificationsError> for Error {
4572 fn from(err: crate::operation::list_notifications::ListNotificationsError) -> Self {
4573 match err {
4574 crate::operation::list_notifications::ListNotificationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4575 crate::operation::list_notifications::ListNotificationsError::InternalServerException(inner) => Error::InternalServerException(inner),
4576 crate::operation::list_notifications::ListNotificationsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4577 crate::operation::list_notifications::ListNotificationsError::ValidationException(inner) => Error::ValidationException(inner),
4578 crate::operation::list_notifications::ListNotificationsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4579 crate::operation::list_notifications::ListNotificationsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4580 crate::operation::list_notifications::ListNotificationsError::Unhandled(inner) => Error::Unhandled(inner),
4581 }
4582 }
4583}
4584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_grants::ListPolicyGrantsError, R>> for Error
4585where
4586 R: Send + Sync + std::fmt::Debug + 'static,
4587{
4588 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_policy_grants::ListPolicyGrantsError, R>) -> Self {
4589 match err {
4590 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4591 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4592 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4593 source: err.into(),
4594 }),
4595 }
4596 }
4597}
4598impl From<crate::operation::list_policy_grants::ListPolicyGrantsError> for Error {
4599 fn from(err: crate::operation::list_policy_grants::ListPolicyGrantsError) -> Self {
4600 match err {
4601 crate::operation::list_policy_grants::ListPolicyGrantsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4602 crate::operation::list_policy_grants::ListPolicyGrantsError::InternalServerException(inner) => Error::InternalServerException(inner),
4603 crate::operation::list_policy_grants::ListPolicyGrantsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4604 crate::operation::list_policy_grants::ListPolicyGrantsError::ValidationException(inner) => Error::ValidationException(inner),
4605 crate::operation::list_policy_grants::ListPolicyGrantsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4606 crate::operation::list_policy_grants::ListPolicyGrantsError::Unhandled(inner) => Error::Unhandled(inner),
4607 }
4608 }
4609}
4610impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_project_memberships::ListProjectMembershipsError, R>> for Error
4611where
4612 R: Send + Sync + std::fmt::Debug + 'static,
4613{
4614 fn from(
4615 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_project_memberships::ListProjectMembershipsError, R>,
4616 ) -> Self {
4617 match err {
4618 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4619 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4620 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4621 source: err.into(),
4622 }),
4623 }
4624 }
4625}
4626impl From<crate::operation::list_project_memberships::ListProjectMembershipsError> for Error {
4627 fn from(err: crate::operation::list_project_memberships::ListProjectMembershipsError) -> Self {
4628 match err {
4629 crate::operation::list_project_memberships::ListProjectMembershipsError::AccessDeniedException(inner) => {
4630 Error::AccessDeniedException(inner)
4631 }
4632 crate::operation::list_project_memberships::ListProjectMembershipsError::InternalServerException(inner) => {
4633 Error::InternalServerException(inner)
4634 }
4635 crate::operation::list_project_memberships::ListProjectMembershipsError::ResourceNotFoundException(inner) => {
4636 Error::ResourceNotFoundException(inner)
4637 }
4638 crate::operation::list_project_memberships::ListProjectMembershipsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4639 crate::operation::list_project_memberships::ListProjectMembershipsError::ValidationException(inner) => Error::ValidationException(inner),
4640 crate::operation::list_project_memberships::ListProjectMembershipsError::UnauthorizedException(inner) => {
4641 Error::UnauthorizedException(inner)
4642 }
4643 crate::operation::list_project_memberships::ListProjectMembershipsError::Unhandled(inner) => Error::Unhandled(inner),
4644 }
4645 }
4646}
4647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_project_profiles::ListProjectProfilesError, R>> for Error
4648where
4649 R: Send + Sync + std::fmt::Debug + 'static,
4650{
4651 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_project_profiles::ListProjectProfilesError, R>) -> Self {
4652 match err {
4653 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4654 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4655 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4656 source: err.into(),
4657 }),
4658 }
4659 }
4660}
4661impl From<crate::operation::list_project_profiles::ListProjectProfilesError> for Error {
4662 fn from(err: crate::operation::list_project_profiles::ListProjectProfilesError) -> Self {
4663 match err {
4664 crate::operation::list_project_profiles::ListProjectProfilesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4665 crate::operation::list_project_profiles::ListProjectProfilesError::InternalServerException(inner) => {
4666 Error::InternalServerException(inner)
4667 }
4668 crate::operation::list_project_profiles::ListProjectProfilesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4669 crate::operation::list_project_profiles::ListProjectProfilesError::ValidationException(inner) => Error::ValidationException(inner),
4670 crate::operation::list_project_profiles::ListProjectProfilesError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4671 crate::operation::list_project_profiles::ListProjectProfilesError::Unhandled(inner) => Error::Unhandled(inner),
4672 }
4673 }
4674}
4675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>> for Error
4676where
4677 R: Send + Sync + std::fmt::Debug + 'static,
4678{
4679 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_projects::ListProjectsError, R>) -> Self {
4680 match err {
4681 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4682 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4683 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4684 source: err.into(),
4685 }),
4686 }
4687 }
4688}
4689impl From<crate::operation::list_projects::ListProjectsError> for Error {
4690 fn from(err: crate::operation::list_projects::ListProjectsError) -> Self {
4691 match err {
4692 crate::operation::list_projects::ListProjectsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4693 crate::operation::list_projects::ListProjectsError::InternalServerException(inner) => Error::InternalServerException(inner),
4694 crate::operation::list_projects::ListProjectsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4695 crate::operation::list_projects::ListProjectsError::ValidationException(inner) => Error::ValidationException(inner),
4696 crate::operation::list_projects::ListProjectsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4697 crate::operation::list_projects::ListProjectsError::Unhandled(inner) => Error::Unhandled(inner),
4698 }
4699 }
4700}
4701impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_rules::ListRulesError, R>> for Error
4702where
4703 R: Send + Sync + std::fmt::Debug + 'static,
4704{
4705 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_rules::ListRulesError, R>) -> Self {
4706 match err {
4707 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4708 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4709 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4710 source: err.into(),
4711 }),
4712 }
4713 }
4714}
4715impl From<crate::operation::list_rules::ListRulesError> for Error {
4716 fn from(err: crate::operation::list_rules::ListRulesError) -> Self {
4717 match err {
4718 crate::operation::list_rules::ListRulesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4719 crate::operation::list_rules::ListRulesError::InternalServerException(inner) => Error::InternalServerException(inner),
4720 crate::operation::list_rules::ListRulesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4721 crate::operation::list_rules::ListRulesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4722 crate::operation::list_rules::ListRulesError::ValidationException(inner) => Error::ValidationException(inner),
4723 crate::operation::list_rules::ListRulesError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4724 crate::operation::list_rules::ListRulesError::Unhandled(inner) => Error::Unhandled(inner),
4725 }
4726 }
4727}
4728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscription_grants::ListSubscriptionGrantsError, R>> for Error
4729where
4730 R: Send + Sync + std::fmt::Debug + 'static,
4731{
4732 fn from(
4733 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscription_grants::ListSubscriptionGrantsError, R>,
4734 ) -> Self {
4735 match err {
4736 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4737 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4738 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4739 source: err.into(),
4740 }),
4741 }
4742 }
4743}
4744impl From<crate::operation::list_subscription_grants::ListSubscriptionGrantsError> for Error {
4745 fn from(err: crate::operation::list_subscription_grants::ListSubscriptionGrantsError) -> Self {
4746 match err {
4747 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::AccessDeniedException(inner) => {
4748 Error::AccessDeniedException(inner)
4749 }
4750 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::InternalServerException(inner) => {
4751 Error::InternalServerException(inner)
4752 }
4753 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::ResourceNotFoundException(inner) => {
4754 Error::ResourceNotFoundException(inner)
4755 }
4756 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4757 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::ValidationException(inner) => Error::ValidationException(inner),
4758 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::UnauthorizedException(inner) => {
4759 Error::UnauthorizedException(inner)
4760 }
4761 crate::operation::list_subscription_grants::ListSubscriptionGrantsError::Unhandled(inner) => Error::Unhandled(inner),
4762 }
4763 }
4764}
4765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscription_requests::ListSubscriptionRequestsError, R>>
4766 for Error
4767where
4768 R: Send + Sync + std::fmt::Debug + 'static,
4769{
4770 fn from(
4771 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscription_requests::ListSubscriptionRequestsError, R>,
4772 ) -> Self {
4773 match err {
4774 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4775 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4776 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4777 source: err.into(),
4778 }),
4779 }
4780 }
4781}
4782impl From<crate::operation::list_subscription_requests::ListSubscriptionRequestsError> for Error {
4783 fn from(err: crate::operation::list_subscription_requests::ListSubscriptionRequestsError) -> Self {
4784 match err {
4785 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::AccessDeniedException(inner) => {
4786 Error::AccessDeniedException(inner)
4787 }
4788 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::InternalServerException(inner) => {
4789 Error::InternalServerException(inner)
4790 }
4791 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::ResourceNotFoundException(inner) => {
4792 Error::ResourceNotFoundException(inner)
4793 }
4794 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::ThrottlingException(inner) => {
4795 Error::ThrottlingException(inner)
4796 }
4797 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::ValidationException(inner) => {
4798 Error::ValidationException(inner)
4799 }
4800 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::UnauthorizedException(inner) => {
4801 Error::UnauthorizedException(inner)
4802 }
4803 crate::operation::list_subscription_requests::ListSubscriptionRequestsError::Unhandled(inner) => Error::Unhandled(inner),
4804 }
4805 }
4806}
4807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscriptions::ListSubscriptionsError, R>> for Error
4808where
4809 R: Send + Sync + std::fmt::Debug + 'static,
4810{
4811 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscriptions::ListSubscriptionsError, R>) -> Self {
4812 match err {
4813 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4814 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4815 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4816 source: err.into(),
4817 }),
4818 }
4819 }
4820}
4821impl From<crate::operation::list_subscriptions::ListSubscriptionsError> for Error {
4822 fn from(err: crate::operation::list_subscriptions::ListSubscriptionsError) -> Self {
4823 match err {
4824 crate::operation::list_subscriptions::ListSubscriptionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4825 crate::operation::list_subscriptions::ListSubscriptionsError::InternalServerException(inner) => Error::InternalServerException(inner),
4826 crate::operation::list_subscriptions::ListSubscriptionsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4827 crate::operation::list_subscriptions::ListSubscriptionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4828 crate::operation::list_subscriptions::ListSubscriptionsError::ValidationException(inner) => Error::ValidationException(inner),
4829 crate::operation::list_subscriptions::ListSubscriptionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4830 crate::operation::list_subscriptions::ListSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
4831 }
4832 }
4833}
4834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscription_targets::ListSubscriptionTargetsError, R>>
4835 for Error
4836where
4837 R: Send + Sync + std::fmt::Debug + 'static,
4838{
4839 fn from(
4840 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_subscription_targets::ListSubscriptionTargetsError, R>,
4841 ) -> Self {
4842 match err {
4843 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4844 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4845 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4846 source: err.into(),
4847 }),
4848 }
4849 }
4850}
4851impl From<crate::operation::list_subscription_targets::ListSubscriptionTargetsError> for Error {
4852 fn from(err: crate::operation::list_subscription_targets::ListSubscriptionTargetsError) -> Self {
4853 match err {
4854 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::AccessDeniedException(inner) => {
4855 Error::AccessDeniedException(inner)
4856 }
4857 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::InternalServerException(inner) => {
4858 Error::InternalServerException(inner)
4859 }
4860 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::ResourceNotFoundException(inner) => {
4861 Error::ResourceNotFoundException(inner)
4862 }
4863 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::ThrottlingException(inner) => {
4864 Error::ThrottlingException(inner)
4865 }
4866 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::ValidationException(inner) => {
4867 Error::ValidationException(inner)
4868 }
4869 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::UnauthorizedException(inner) => {
4870 Error::UnauthorizedException(inner)
4871 }
4872 crate::operation::list_subscription_targets::ListSubscriptionTargetsError::Unhandled(inner) => Error::Unhandled(inner),
4873 }
4874 }
4875}
4876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
4877where
4878 R: Send + Sync + std::fmt::Debug + 'static,
4879{
4880 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
4881 match err {
4882 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4883 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4884 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4885 source: err.into(),
4886 }),
4887 }
4888 }
4889}
4890impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
4891 fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
4892 match err {
4893 crate::operation::list_tags_for_resource::ListTagsForResourceError::InternalServerException(inner) => {
4894 Error::InternalServerException(inner)
4895 }
4896 crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
4897 Error::ResourceNotFoundException(inner)
4898 }
4899 crate::operation::list_tags_for_resource::ListTagsForResourceError::ValidationException(inner) => Error::ValidationException(inner),
4900 crate::operation::list_tags_for_resource::ListTagsForResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4901 crate::operation::list_tags_for_resource::ListTagsForResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4902 crate::operation::list_tags_for_resource::ListTagsForResourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4903 crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
4904 }
4905 }
4906}
4907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError, R>>
4908 for Error
4909where
4910 R: Send + Sync + std::fmt::Debug + 'static,
4911{
4912 fn from(
4913 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError, R>,
4914 ) -> Self {
4915 match err {
4916 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4917 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4918 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4919 source: err.into(),
4920 }),
4921 }
4922 }
4923}
4924impl From<crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError> for Error {
4925 fn from(err: crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError) -> Self {
4926 match err {
4927 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::AccessDeniedException(inner) => {
4928 Error::AccessDeniedException(inner)
4929 }
4930 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::InternalServerException(inner) => {
4931 Error::InternalServerException(inner)
4932 }
4933 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::ResourceNotFoundException(inner) => {
4934 Error::ResourceNotFoundException(inner)
4935 }
4936 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::ThrottlingException(inner) => {
4937 Error::ThrottlingException(inner)
4938 }
4939 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::ValidationException(inner) => {
4940 Error::ValidationException(inner)
4941 }
4942 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::UnauthorizedException(inner) => {
4943 Error::UnauthorizedException(inner)
4944 }
4945 crate::operation::list_time_series_data_points::ListTimeSeriesDataPointsError::Unhandled(inner) => Error::Unhandled(inner),
4946 }
4947 }
4948}
4949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_lineage_event::PostLineageEventError, R>> for Error
4950where
4951 R: Send + Sync + std::fmt::Debug + 'static,
4952{
4953 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_lineage_event::PostLineageEventError, R>) -> Self {
4954 match err {
4955 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4956 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4957 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4958 source: err.into(),
4959 }),
4960 }
4961 }
4962}
4963impl From<crate::operation::post_lineage_event::PostLineageEventError> for Error {
4964 fn from(err: crate::operation::post_lineage_event::PostLineageEventError) -> Self {
4965 match err {
4966 crate::operation::post_lineage_event::PostLineageEventError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4967 crate::operation::post_lineage_event::PostLineageEventError::ConflictException(inner) => Error::ConflictException(inner),
4968 crate::operation::post_lineage_event::PostLineageEventError::InternalServerException(inner) => Error::InternalServerException(inner),
4969 crate::operation::post_lineage_event::PostLineageEventError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
4970 crate::operation::post_lineage_event::PostLineageEventError::ServiceQuotaExceededException(inner) => {
4971 Error::ServiceQuotaExceededException(inner)
4972 }
4973 crate::operation::post_lineage_event::PostLineageEventError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4974 crate::operation::post_lineage_event::PostLineageEventError::ValidationException(inner) => Error::ValidationException(inner),
4975 crate::operation::post_lineage_event::PostLineageEventError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
4976 crate::operation::post_lineage_event::PostLineageEventError::Unhandled(inner) => Error::Unhandled(inner),
4977 }
4978 }
4979}
4980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError, R>>
4981 for Error
4982where
4983 R: Send + Sync + std::fmt::Debug + 'static,
4984{
4985 fn from(
4986 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError, R>,
4987 ) -> Self {
4988 match err {
4989 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4990 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4991 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4992 source: err.into(),
4993 }),
4994 }
4995 }
4996}
4997impl From<crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError> for Error {
4998 fn from(err: crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError) -> Self {
4999 match err {
5000 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::AccessDeniedException(inner) => {
5001 Error::AccessDeniedException(inner)
5002 }
5003 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::ConflictException(inner) => {
5004 Error::ConflictException(inner)
5005 }
5006 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::InternalServerException(inner) => {
5007 Error::InternalServerException(inner)
5008 }
5009 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::ResourceNotFoundException(inner) => {
5010 Error::ResourceNotFoundException(inner)
5011 }
5012 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::ServiceQuotaExceededException(inner) => {
5013 Error::ServiceQuotaExceededException(inner)
5014 }
5015 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::ThrottlingException(inner) => {
5016 Error::ThrottlingException(inner)
5017 }
5018 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::ValidationException(inner) => {
5019 Error::ValidationException(inner)
5020 }
5021 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::UnauthorizedException(inner) => {
5022 Error::UnauthorizedException(inner)
5023 }
5024 crate::operation::post_time_series_data_points::PostTimeSeriesDataPointsError::Unhandled(inner) => Error::Unhandled(inner),
5025 }
5026 }
5027}
5028impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_data_export_configuration::PutDataExportConfigurationError, R>>
5029 for Error
5030where
5031 R: Send + Sync + std::fmt::Debug + 'static,
5032{
5033 fn from(
5034 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_data_export_configuration::PutDataExportConfigurationError, R>,
5035 ) -> Self {
5036 match err {
5037 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5038 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5039 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5040 source: err.into(),
5041 }),
5042 }
5043 }
5044}
5045impl From<crate::operation::put_data_export_configuration::PutDataExportConfigurationError> for Error {
5046 fn from(err: crate::operation::put_data_export_configuration::PutDataExportConfigurationError) -> Self {
5047 match err {
5048 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::AccessDeniedException(inner) => {
5049 Error::AccessDeniedException(inner)
5050 }
5051 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::ConflictException(inner) => {
5052 Error::ConflictException(inner)
5053 }
5054 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::InternalServerException(inner) => {
5055 Error::InternalServerException(inner)
5056 }
5057 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::ResourceNotFoundException(inner) => {
5058 Error::ResourceNotFoundException(inner)
5059 }
5060 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::ServiceQuotaExceededException(inner) => {
5061 Error::ServiceQuotaExceededException(inner)
5062 }
5063 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::ThrottlingException(inner) => {
5064 Error::ThrottlingException(inner)
5065 }
5066 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::ValidationException(inner) => {
5067 Error::ValidationException(inner)
5068 }
5069 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::UnauthorizedException(inner) => {
5070 Error::UnauthorizedException(inner)
5071 }
5072 crate::operation::put_data_export_configuration::PutDataExportConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
5073 }
5074 }
5075}
5076impl<R>
5077 From<
5078 ::aws_smithy_runtime_api::client::result::SdkError<
5079 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError,
5080 R,
5081 >,
5082 > for Error
5083where
5084 R: Send + Sync + std::fmt::Debug + 'static,
5085{
5086 fn from(
5087 err: ::aws_smithy_runtime_api::client::result::SdkError<
5088 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError,
5089 R,
5090 >,
5091 ) -> Self {
5092 match err {
5093 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5094 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5095 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5096 source: err.into(),
5097 }),
5098 }
5099 }
5100}
5101impl From<crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError> for Error {
5102 fn from(err: crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError) -> Self {
5103 match err {
5104 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::AccessDeniedException(inner) => {
5105 Error::AccessDeniedException(inner)
5106 }
5107 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::ConflictException(inner) => {
5108 Error::ConflictException(inner)
5109 }
5110 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::InternalServerException(inner) => {
5111 Error::InternalServerException(inner)
5112 }
5113 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::ResourceNotFoundException(
5114 inner,
5115 ) => Error::ResourceNotFoundException(inner),
5116 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::ValidationException(inner) => {
5117 Error::ValidationException(inner)
5118 }
5119 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::ThrottlingException(inner) => {
5120 Error::ThrottlingException(inner)
5121 }
5122 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::UnauthorizedException(inner) => {
5123 Error::UnauthorizedException(inner)
5124 }
5125 crate::operation::put_environment_blueprint_configuration::PutEnvironmentBlueprintConfigurationError::Unhandled(inner) => {
5126 Error::Unhandled(inner)
5127 }
5128 }
5129 }
5130}
5131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_graph::QueryGraphError, R>> for Error
5132where
5133 R: Send + Sync + std::fmt::Debug + 'static,
5134{
5135 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_graph::QueryGraphError, R>) -> Self {
5136 match err {
5137 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5138 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5139 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5140 source: err.into(),
5141 }),
5142 }
5143 }
5144}
5145impl From<crate::operation::query_graph::QueryGraphError> for Error {
5146 fn from(err: crate::operation::query_graph::QueryGraphError) -> Self {
5147 match err {
5148 crate::operation::query_graph::QueryGraphError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5149 crate::operation::query_graph::QueryGraphError::InternalServerException(inner) => Error::InternalServerException(inner),
5150 crate::operation::query_graph::QueryGraphError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5151 crate::operation::query_graph::QueryGraphError::ValidationException(inner) => Error::ValidationException(inner),
5152 crate::operation::query_graph::QueryGraphError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5153 crate::operation::query_graph::QueryGraphError::Unhandled(inner) => Error::Unhandled(inner),
5154 }
5155 }
5156}
5157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_predictions::RejectPredictionsError, R>> for Error
5158where
5159 R: Send + Sync + std::fmt::Debug + 'static,
5160{
5161 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_predictions::RejectPredictionsError, R>) -> Self {
5162 match err {
5163 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5164 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5165 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5166 source: err.into(),
5167 }),
5168 }
5169 }
5170}
5171impl From<crate::operation::reject_predictions::RejectPredictionsError> for Error {
5172 fn from(err: crate::operation::reject_predictions::RejectPredictionsError) -> Self {
5173 match err {
5174 crate::operation::reject_predictions::RejectPredictionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5175 crate::operation::reject_predictions::RejectPredictionsError::ConflictException(inner) => Error::ConflictException(inner),
5176 crate::operation::reject_predictions::RejectPredictionsError::InternalServerException(inner) => Error::InternalServerException(inner),
5177 crate::operation::reject_predictions::RejectPredictionsError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5178 crate::operation::reject_predictions::RejectPredictionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5179 crate::operation::reject_predictions::RejectPredictionsError::ValidationException(inner) => Error::ValidationException(inner),
5180 crate::operation::reject_predictions::RejectPredictionsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5181 crate::operation::reject_predictions::RejectPredictionsError::Unhandled(inner) => Error::Unhandled(inner),
5182 }
5183 }
5184}
5185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_subscription_request::RejectSubscriptionRequestError, R>>
5186 for Error
5187where
5188 R: Send + Sync + std::fmt::Debug + 'static,
5189{
5190 fn from(
5191 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_subscription_request::RejectSubscriptionRequestError, R>,
5192 ) -> Self {
5193 match err {
5194 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5195 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5196 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5197 source: err.into(),
5198 }),
5199 }
5200 }
5201}
5202impl From<crate::operation::reject_subscription_request::RejectSubscriptionRequestError> for Error {
5203 fn from(err: crate::operation::reject_subscription_request::RejectSubscriptionRequestError) -> Self {
5204 match err {
5205 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::AccessDeniedException(inner) => {
5206 Error::AccessDeniedException(inner)
5207 }
5208 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::ConflictException(inner) => {
5209 Error::ConflictException(inner)
5210 }
5211 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::InternalServerException(inner) => {
5212 Error::InternalServerException(inner)
5213 }
5214 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::ResourceNotFoundException(inner) => {
5215 Error::ResourceNotFoundException(inner)
5216 }
5217 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::ThrottlingException(inner) => {
5218 Error::ThrottlingException(inner)
5219 }
5220 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::ValidationException(inner) => {
5221 Error::ValidationException(inner)
5222 }
5223 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::UnauthorizedException(inner) => {
5224 Error::UnauthorizedException(inner)
5225 }
5226 crate::operation::reject_subscription_request::RejectSubscriptionRequestError::Unhandled(inner) => Error::Unhandled(inner),
5227 }
5228 }
5229}
5230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_entity_owner::RemoveEntityOwnerError, R>> for Error
5231where
5232 R: Send + Sync + std::fmt::Debug + 'static,
5233{
5234 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_entity_owner::RemoveEntityOwnerError, R>) -> Self {
5235 match err {
5236 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5237 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5238 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5239 source: err.into(),
5240 }),
5241 }
5242 }
5243}
5244impl From<crate::operation::remove_entity_owner::RemoveEntityOwnerError> for Error {
5245 fn from(err: crate::operation::remove_entity_owner::RemoveEntityOwnerError) -> Self {
5246 match err {
5247 crate::operation::remove_entity_owner::RemoveEntityOwnerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5248 crate::operation::remove_entity_owner::RemoveEntityOwnerError::InternalServerException(inner) => Error::InternalServerException(inner),
5249 crate::operation::remove_entity_owner::RemoveEntityOwnerError::ResourceNotFoundException(inner) => {
5250 Error::ResourceNotFoundException(inner)
5251 }
5252 crate::operation::remove_entity_owner::RemoveEntityOwnerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5253 crate::operation::remove_entity_owner::RemoveEntityOwnerError::ValidationException(inner) => Error::ValidationException(inner),
5254 crate::operation::remove_entity_owner::RemoveEntityOwnerError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5255 crate::operation::remove_entity_owner::RemoveEntityOwnerError::Unhandled(inner) => Error::Unhandled(inner),
5256 }
5257 }
5258}
5259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_policy_grant::RemovePolicyGrantError, R>> for Error
5260where
5261 R: Send + Sync + std::fmt::Debug + 'static,
5262{
5263 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_policy_grant::RemovePolicyGrantError, R>) -> Self {
5264 match err {
5265 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5266 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5267 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5268 source: err.into(),
5269 }),
5270 }
5271 }
5272}
5273impl From<crate::operation::remove_policy_grant::RemovePolicyGrantError> for Error {
5274 fn from(err: crate::operation::remove_policy_grant::RemovePolicyGrantError) -> Self {
5275 match err {
5276 crate::operation::remove_policy_grant::RemovePolicyGrantError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5277 crate::operation::remove_policy_grant::RemovePolicyGrantError::InternalServerException(inner) => Error::InternalServerException(inner),
5278 crate::operation::remove_policy_grant::RemovePolicyGrantError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5279 crate::operation::remove_policy_grant::RemovePolicyGrantError::ValidationException(inner) => Error::ValidationException(inner),
5280 crate::operation::remove_policy_grant::RemovePolicyGrantError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5281 crate::operation::remove_policy_grant::RemovePolicyGrantError::Unhandled(inner) => Error::Unhandled(inner),
5282 }
5283 }
5284}
5285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_subscription::RevokeSubscriptionError, R>> for Error
5286where
5287 R: Send + Sync + std::fmt::Debug + 'static,
5288{
5289 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_subscription::RevokeSubscriptionError, R>) -> Self {
5290 match err {
5291 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5292 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5293 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5294 source: err.into(),
5295 }),
5296 }
5297 }
5298}
5299impl From<crate::operation::revoke_subscription::RevokeSubscriptionError> for Error {
5300 fn from(err: crate::operation::revoke_subscription::RevokeSubscriptionError) -> Self {
5301 match err {
5302 crate::operation::revoke_subscription::RevokeSubscriptionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5303 crate::operation::revoke_subscription::RevokeSubscriptionError::ConflictException(inner) => Error::ConflictException(inner),
5304 crate::operation::revoke_subscription::RevokeSubscriptionError::InternalServerException(inner) => Error::InternalServerException(inner),
5305 crate::operation::revoke_subscription::RevokeSubscriptionError::ResourceNotFoundException(inner) => {
5306 Error::ResourceNotFoundException(inner)
5307 }
5308 crate::operation::revoke_subscription::RevokeSubscriptionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5309 crate::operation::revoke_subscription::RevokeSubscriptionError::ValidationException(inner) => Error::ValidationException(inner),
5310 crate::operation::revoke_subscription::RevokeSubscriptionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5311 crate::operation::revoke_subscription::RevokeSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5312 }
5313 }
5314}
5315impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>> for Error
5316where
5317 R: Send + Sync + std::fmt::Debug + 'static,
5318{
5319 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search::SearchError, R>) -> Self {
5320 match err {
5321 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5322 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5323 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5324 source: err.into(),
5325 }),
5326 }
5327 }
5328}
5329impl From<crate::operation::search::SearchError> for Error {
5330 fn from(err: crate::operation::search::SearchError) -> Self {
5331 match err {
5332 crate::operation::search::SearchError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5333 crate::operation::search::SearchError::InternalServerException(inner) => Error::InternalServerException(inner),
5334 crate::operation::search::SearchError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5335 crate::operation::search::SearchError::ValidationException(inner) => Error::ValidationException(inner),
5336 crate::operation::search::SearchError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5337 crate::operation::search::SearchError::Unhandled(inner) => Error::Unhandled(inner),
5338 }
5339 }
5340}
5341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_group_profiles::SearchGroupProfilesError, R>> for Error
5342where
5343 R: Send + Sync + std::fmt::Debug + 'static,
5344{
5345 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_group_profiles::SearchGroupProfilesError, R>) -> Self {
5346 match err {
5347 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5348 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5349 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5350 source: err.into(),
5351 }),
5352 }
5353 }
5354}
5355impl From<crate::operation::search_group_profiles::SearchGroupProfilesError> for Error {
5356 fn from(err: crate::operation::search_group_profiles::SearchGroupProfilesError) -> Self {
5357 match err {
5358 crate::operation::search_group_profiles::SearchGroupProfilesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5359 crate::operation::search_group_profiles::SearchGroupProfilesError::InternalServerException(inner) => {
5360 Error::InternalServerException(inner)
5361 }
5362 crate::operation::search_group_profiles::SearchGroupProfilesError::ResourceNotFoundException(inner) => {
5363 Error::ResourceNotFoundException(inner)
5364 }
5365 crate::operation::search_group_profiles::SearchGroupProfilesError::ValidationException(inner) => Error::ValidationException(inner),
5366 crate::operation::search_group_profiles::SearchGroupProfilesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5367 crate::operation::search_group_profiles::SearchGroupProfilesError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5368 crate::operation::search_group_profiles::SearchGroupProfilesError::Unhandled(inner) => Error::Unhandled(inner),
5369 }
5370 }
5371}
5372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_listings::SearchListingsError, R>> for Error
5373where
5374 R: Send + Sync + std::fmt::Debug + 'static,
5375{
5376 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_listings::SearchListingsError, R>) -> Self {
5377 match err {
5378 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5379 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5380 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5381 source: err.into(),
5382 }),
5383 }
5384 }
5385}
5386impl From<crate::operation::search_listings::SearchListingsError> for Error {
5387 fn from(err: crate::operation::search_listings::SearchListingsError) -> Self {
5388 match err {
5389 crate::operation::search_listings::SearchListingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5390 crate::operation::search_listings::SearchListingsError::InternalServerException(inner) => Error::InternalServerException(inner),
5391 crate::operation::search_listings::SearchListingsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5392 crate::operation::search_listings::SearchListingsError::ValidationException(inner) => Error::ValidationException(inner),
5393 crate::operation::search_listings::SearchListingsError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5394 crate::operation::search_listings::SearchListingsError::Unhandled(inner) => Error::Unhandled(inner),
5395 }
5396 }
5397}
5398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_types::SearchTypesError, R>> for Error
5399where
5400 R: Send + Sync + std::fmt::Debug + 'static,
5401{
5402 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_types::SearchTypesError, R>) -> Self {
5403 match err {
5404 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5405 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5406 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5407 source: err.into(),
5408 }),
5409 }
5410 }
5411}
5412impl From<crate::operation::search_types::SearchTypesError> for Error {
5413 fn from(err: crate::operation::search_types::SearchTypesError) -> Self {
5414 match err {
5415 crate::operation::search_types::SearchTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5416 crate::operation::search_types::SearchTypesError::InternalServerException(inner) => Error::InternalServerException(inner),
5417 crate::operation::search_types::SearchTypesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5418 crate::operation::search_types::SearchTypesError::ValidationException(inner) => Error::ValidationException(inner),
5419 crate::operation::search_types::SearchTypesError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5420 crate::operation::search_types::SearchTypesError::Unhandled(inner) => Error::Unhandled(inner),
5421 }
5422 }
5423}
5424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_user_profiles::SearchUserProfilesError, R>> for Error
5425where
5426 R: Send + Sync + std::fmt::Debug + 'static,
5427{
5428 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_user_profiles::SearchUserProfilesError, R>) -> Self {
5429 match err {
5430 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5431 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5432 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5433 source: err.into(),
5434 }),
5435 }
5436 }
5437}
5438impl From<crate::operation::search_user_profiles::SearchUserProfilesError> for Error {
5439 fn from(err: crate::operation::search_user_profiles::SearchUserProfilesError) -> Self {
5440 match err {
5441 crate::operation::search_user_profiles::SearchUserProfilesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5442 crate::operation::search_user_profiles::SearchUserProfilesError::InternalServerException(inner) => Error::InternalServerException(inner),
5443 crate::operation::search_user_profiles::SearchUserProfilesError::ResourceNotFoundException(inner) => {
5444 Error::ResourceNotFoundException(inner)
5445 }
5446 crate::operation::search_user_profiles::SearchUserProfilesError::ValidationException(inner) => Error::ValidationException(inner),
5447 crate::operation::search_user_profiles::SearchUserProfilesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5448 crate::operation::search_user_profiles::SearchUserProfilesError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5449 crate::operation::search_user_profiles::SearchUserProfilesError::Unhandled(inner) => Error::Unhandled(inner),
5450 }
5451 }
5452}
5453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_data_source_run::StartDataSourceRunError, R>> for Error
5454where
5455 R: Send + Sync + std::fmt::Debug + 'static,
5456{
5457 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_data_source_run::StartDataSourceRunError, R>) -> Self {
5458 match err {
5459 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5460 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5461 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5462 source: err.into(),
5463 }),
5464 }
5465 }
5466}
5467impl From<crate::operation::start_data_source_run::StartDataSourceRunError> for Error {
5468 fn from(err: crate::operation::start_data_source_run::StartDataSourceRunError) -> Self {
5469 match err {
5470 crate::operation::start_data_source_run::StartDataSourceRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5471 crate::operation::start_data_source_run::StartDataSourceRunError::ConflictException(inner) => Error::ConflictException(inner),
5472 crate::operation::start_data_source_run::StartDataSourceRunError::InternalServerException(inner) => Error::InternalServerException(inner),
5473 crate::operation::start_data_source_run::StartDataSourceRunError::ResourceNotFoundException(inner) => {
5474 Error::ResourceNotFoundException(inner)
5475 }
5476 crate::operation::start_data_source_run::StartDataSourceRunError::ServiceQuotaExceededException(inner) => {
5477 Error::ServiceQuotaExceededException(inner)
5478 }
5479 crate::operation::start_data_source_run::StartDataSourceRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5480 crate::operation::start_data_source_run::StartDataSourceRunError::ValidationException(inner) => Error::ValidationException(inner),
5481 crate::operation::start_data_source_run::StartDataSourceRunError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5482 crate::operation::start_data_source_run::StartDataSourceRunError::Unhandled(inner) => Error::Unhandled(inner),
5483 }
5484 }
5485}
5486impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError, R>>
5487 for Error
5488where
5489 R: Send + Sync + std::fmt::Debug + 'static,
5490{
5491 fn from(
5492 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError, R>,
5493 ) -> Self {
5494 match err {
5495 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5496 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5497 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5498 source: err.into(),
5499 }),
5500 }
5501 }
5502}
5503impl From<crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError> for Error {
5504 fn from(err: crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError) -> Self {
5505 match err {
5506 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::AccessDeniedException(inner) => {
5507 Error::AccessDeniedException(inner)
5508 }
5509 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::ConflictException(inner) => {
5510 Error::ConflictException(inner)
5511 }
5512 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::InternalServerException(inner) => {
5513 Error::InternalServerException(inner)
5514 }
5515 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::ResourceNotFoundException(inner) => {
5516 Error::ResourceNotFoundException(inner)
5517 }
5518 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::ServiceQuotaExceededException(inner) => {
5519 Error::ServiceQuotaExceededException(inner)
5520 }
5521 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::ThrottlingException(inner) => {
5522 Error::ThrottlingException(inner)
5523 }
5524 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::ValidationException(inner) => {
5525 Error::ValidationException(inner)
5526 }
5527 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::UnauthorizedException(inner) => {
5528 Error::UnauthorizedException(inner)
5529 }
5530 crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError::Unhandled(inner) => Error::Unhandled(inner),
5531 }
5532 }
5533}
5534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_export::StartNotebookExportError, R>> for Error
5535where
5536 R: Send + Sync + std::fmt::Debug + 'static,
5537{
5538 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_export::StartNotebookExportError, R>) -> Self {
5539 match err {
5540 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5541 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5542 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5543 source: err.into(),
5544 }),
5545 }
5546 }
5547}
5548impl From<crate::operation::start_notebook_export::StartNotebookExportError> for Error {
5549 fn from(err: crate::operation::start_notebook_export::StartNotebookExportError) -> Self {
5550 match err {
5551 crate::operation::start_notebook_export::StartNotebookExportError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5552 crate::operation::start_notebook_export::StartNotebookExportError::ConflictException(inner) => Error::ConflictException(inner),
5553 crate::operation::start_notebook_export::StartNotebookExportError::InternalServerException(inner) => {
5554 Error::InternalServerException(inner)
5555 }
5556 crate::operation::start_notebook_export::StartNotebookExportError::ResourceNotFoundException(inner) => {
5557 Error::ResourceNotFoundException(inner)
5558 }
5559 crate::operation::start_notebook_export::StartNotebookExportError::ServiceQuotaExceededException(inner) => {
5560 Error::ServiceQuotaExceededException(inner)
5561 }
5562 crate::operation::start_notebook_export::StartNotebookExportError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5563 crate::operation::start_notebook_export::StartNotebookExportError::ValidationException(inner) => Error::ValidationException(inner),
5564 crate::operation::start_notebook_export::StartNotebookExportError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5565 crate::operation::start_notebook_export::StartNotebookExportError::Unhandled(inner) => Error::Unhandled(inner),
5566 }
5567 }
5568}
5569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_import::StartNotebookImportError, R>> for Error
5570where
5571 R: Send + Sync + std::fmt::Debug + 'static,
5572{
5573 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_import::StartNotebookImportError, R>) -> Self {
5574 match err {
5575 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5576 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5577 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5578 source: err.into(),
5579 }),
5580 }
5581 }
5582}
5583impl From<crate::operation::start_notebook_import::StartNotebookImportError> for Error {
5584 fn from(err: crate::operation::start_notebook_import::StartNotebookImportError) -> Self {
5585 match err {
5586 crate::operation::start_notebook_import::StartNotebookImportError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5587 crate::operation::start_notebook_import::StartNotebookImportError::ConflictException(inner) => Error::ConflictException(inner),
5588 crate::operation::start_notebook_import::StartNotebookImportError::InternalServerException(inner) => {
5589 Error::InternalServerException(inner)
5590 }
5591 crate::operation::start_notebook_import::StartNotebookImportError::ResourceNotFoundException(inner) => {
5592 Error::ResourceNotFoundException(inner)
5593 }
5594 crate::operation::start_notebook_import::StartNotebookImportError::ServiceQuotaExceededException(inner) => {
5595 Error::ServiceQuotaExceededException(inner)
5596 }
5597 crate::operation::start_notebook_import::StartNotebookImportError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5598 crate::operation::start_notebook_import::StartNotebookImportError::ValidationException(inner) => Error::ValidationException(inner),
5599 crate::operation::start_notebook_import::StartNotebookImportError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5600 crate::operation::start_notebook_import::StartNotebookImportError::Unhandled(inner) => Error::Unhandled(inner),
5601 }
5602 }
5603}
5604impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_run::StartNotebookRunError, R>> for Error
5605where
5606 R: Send + Sync + std::fmt::Debug + 'static,
5607{
5608 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_notebook_run::StartNotebookRunError, R>) -> Self {
5609 match err {
5610 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5611 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5612 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5613 source: err.into(),
5614 }),
5615 }
5616 }
5617}
5618impl From<crate::operation::start_notebook_run::StartNotebookRunError> for Error {
5619 fn from(err: crate::operation::start_notebook_run::StartNotebookRunError) -> Self {
5620 match err {
5621 crate::operation::start_notebook_run::StartNotebookRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5622 crate::operation::start_notebook_run::StartNotebookRunError::ConflictException(inner) => Error::ConflictException(inner),
5623 crate::operation::start_notebook_run::StartNotebookRunError::InternalServerException(inner) => Error::InternalServerException(inner),
5624 crate::operation::start_notebook_run::StartNotebookRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5625 crate::operation::start_notebook_run::StartNotebookRunError::ServiceQuotaExceededException(inner) => {
5626 Error::ServiceQuotaExceededException(inner)
5627 }
5628 crate::operation::start_notebook_run::StartNotebookRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5629 crate::operation::start_notebook_run::StartNotebookRunError::ValidationException(inner) => Error::ValidationException(inner),
5630 crate::operation::start_notebook_run::StartNotebookRunError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5631 crate::operation::start_notebook_run::StartNotebookRunError::Unhandled(inner) => Error::Unhandled(inner),
5632 }
5633 }
5634}
5635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_run::StopNotebookRunError, R>> for Error
5636where
5637 R: Send + Sync + std::fmt::Debug + 'static,
5638{
5639 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_notebook_run::StopNotebookRunError, R>) -> Self {
5640 match err {
5641 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5642 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5643 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5644 source: err.into(),
5645 }),
5646 }
5647 }
5648}
5649impl From<crate::operation::stop_notebook_run::StopNotebookRunError> for Error {
5650 fn from(err: crate::operation::stop_notebook_run::StopNotebookRunError) -> Self {
5651 match err {
5652 crate::operation::stop_notebook_run::StopNotebookRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5653 crate::operation::stop_notebook_run::StopNotebookRunError::ConflictException(inner) => Error::ConflictException(inner),
5654 crate::operation::stop_notebook_run::StopNotebookRunError::InternalServerException(inner) => Error::InternalServerException(inner),
5655 crate::operation::stop_notebook_run::StopNotebookRunError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5656 crate::operation::stop_notebook_run::StopNotebookRunError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5657 crate::operation::stop_notebook_run::StopNotebookRunError::ValidationException(inner) => Error::ValidationException(inner),
5658 crate::operation::stop_notebook_run::StopNotebookRunError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5659 crate::operation::stop_notebook_run::StopNotebookRunError::Unhandled(inner) => Error::Unhandled(inner),
5660 }
5661 }
5662}
5663impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
5664where
5665 R: Send + Sync + std::fmt::Debug + 'static,
5666{
5667 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
5668 match err {
5669 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5670 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5671 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5672 source: err.into(),
5673 }),
5674 }
5675 }
5676}
5677impl From<crate::operation::tag_resource::TagResourceError> for Error {
5678 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
5679 match err {
5680 crate::operation::tag_resource::TagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
5681 crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5682 crate::operation::tag_resource::TagResourceError::ValidationException(inner) => Error::ValidationException(inner),
5683 crate::operation::tag_resource::TagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5684 crate::operation::tag_resource::TagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5685 crate::operation::tag_resource::TagResourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5686 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
5687 }
5688 }
5689}
5690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
5691where
5692 R: Send + Sync + std::fmt::Debug + 'static,
5693{
5694 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
5695 match err {
5696 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5697 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5698 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5699 source: err.into(),
5700 }),
5701 }
5702 }
5703}
5704impl From<crate::operation::untag_resource::UntagResourceError> for Error {
5705 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
5706 match err {
5707 crate::operation::untag_resource::UntagResourceError::InternalServerException(inner) => Error::InternalServerException(inner),
5708 crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5709 crate::operation::untag_resource::UntagResourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5710 crate::operation::untag_resource::UntagResourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5711 crate::operation::untag_resource::UntagResourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5712 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
5713 }
5714 }
5715}
5716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_account_pool::UpdateAccountPoolError, R>> for Error
5717where
5718 R: Send + Sync + std::fmt::Debug + 'static,
5719{
5720 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_account_pool::UpdateAccountPoolError, R>) -> Self {
5721 match err {
5722 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5723 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5724 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5725 source: err.into(),
5726 }),
5727 }
5728 }
5729}
5730impl From<crate::operation::update_account_pool::UpdateAccountPoolError> for Error {
5731 fn from(err: crate::operation::update_account_pool::UpdateAccountPoolError) -> Self {
5732 match err {
5733 crate::operation::update_account_pool::UpdateAccountPoolError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5734 crate::operation::update_account_pool::UpdateAccountPoolError::ConflictException(inner) => Error::ConflictException(inner),
5735 crate::operation::update_account_pool::UpdateAccountPoolError::InternalServerException(inner) => Error::InternalServerException(inner),
5736 crate::operation::update_account_pool::UpdateAccountPoolError::ResourceNotFoundException(inner) => {
5737 Error::ResourceNotFoundException(inner)
5738 }
5739 crate::operation::update_account_pool::UpdateAccountPoolError::ServiceQuotaExceededException(inner) => {
5740 Error::ServiceQuotaExceededException(inner)
5741 }
5742 crate::operation::update_account_pool::UpdateAccountPoolError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5743 crate::operation::update_account_pool::UpdateAccountPoolError::ValidationException(inner) => Error::ValidationException(inner),
5744 crate::operation::update_account_pool::UpdateAccountPoolError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5745 crate::operation::update_account_pool::UpdateAccountPoolError::Unhandled(inner) => Error::Unhandled(inner),
5746 }
5747 }
5748}
5749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_asset_filter::UpdateAssetFilterError, R>> for Error
5750where
5751 R: Send + Sync + std::fmt::Debug + 'static,
5752{
5753 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_asset_filter::UpdateAssetFilterError, R>) -> Self {
5754 match err {
5755 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5756 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5757 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5758 source: err.into(),
5759 }),
5760 }
5761 }
5762}
5763impl From<crate::operation::update_asset_filter::UpdateAssetFilterError> for Error {
5764 fn from(err: crate::operation::update_asset_filter::UpdateAssetFilterError) -> Self {
5765 match err {
5766 crate::operation::update_asset_filter::UpdateAssetFilterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5767 crate::operation::update_asset_filter::UpdateAssetFilterError::ConflictException(inner) => Error::ConflictException(inner),
5768 crate::operation::update_asset_filter::UpdateAssetFilterError::InternalServerException(inner) => Error::InternalServerException(inner),
5769 crate::operation::update_asset_filter::UpdateAssetFilterError::ResourceNotFoundException(inner) => {
5770 Error::ResourceNotFoundException(inner)
5771 }
5772 crate::operation::update_asset_filter::UpdateAssetFilterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5773 crate::operation::update_asset_filter::UpdateAssetFilterError::ValidationException(inner) => Error::ValidationException(inner),
5774 crate::operation::update_asset_filter::UpdateAssetFilterError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5775 crate::operation::update_asset_filter::UpdateAssetFilterError::Unhandled(inner) => Error::Unhandled(inner),
5776 }
5777 }
5778}
5779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
5780where
5781 R: Send + Sync + std::fmt::Debug + 'static,
5782{
5783 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
5784 match err {
5785 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5786 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5787 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5788 source: err.into(),
5789 }),
5790 }
5791 }
5792}
5793impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
5794 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
5795 match err {
5796 crate::operation::update_connection::UpdateConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5797 crate::operation::update_connection::UpdateConnectionError::ConflictException(inner) => Error::ConflictException(inner),
5798 crate::operation::update_connection::UpdateConnectionError::InternalServerException(inner) => Error::InternalServerException(inner),
5799 crate::operation::update_connection::UpdateConnectionError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5800 crate::operation::update_connection::UpdateConnectionError::ServiceQuotaExceededException(inner) => {
5801 Error::ServiceQuotaExceededException(inner)
5802 }
5803 crate::operation::update_connection::UpdateConnectionError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5804 crate::operation::update_connection::UpdateConnectionError::ValidationException(inner) => Error::ValidationException(inner),
5805 crate::operation::update_connection::UpdateConnectionError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5806 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
5807 }
5808 }
5809}
5810impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_source::UpdateDataSourceError, R>> for Error
5811where
5812 R: Send + Sync + std::fmt::Debug + 'static,
5813{
5814 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_source::UpdateDataSourceError, R>) -> Self {
5815 match err {
5816 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5817 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5818 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5819 source: err.into(),
5820 }),
5821 }
5822 }
5823}
5824impl From<crate::operation::update_data_source::UpdateDataSourceError> for Error {
5825 fn from(err: crate::operation::update_data_source::UpdateDataSourceError) -> Self {
5826 match err {
5827 crate::operation::update_data_source::UpdateDataSourceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5828 crate::operation::update_data_source::UpdateDataSourceError::ConflictException(inner) => Error::ConflictException(inner),
5829 crate::operation::update_data_source::UpdateDataSourceError::InternalServerException(inner) => Error::InternalServerException(inner),
5830 crate::operation::update_data_source::UpdateDataSourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5831 crate::operation::update_data_source::UpdateDataSourceError::ServiceQuotaExceededException(inner) => {
5832 Error::ServiceQuotaExceededException(inner)
5833 }
5834 crate::operation::update_data_source::UpdateDataSourceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5835 crate::operation::update_data_source::UpdateDataSourceError::ValidationException(inner) => Error::ValidationException(inner),
5836 crate::operation::update_data_source::UpdateDataSourceError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5837 crate::operation::update_data_source::UpdateDataSourceError::Unhandled(inner) => Error::Unhandled(inner),
5838 }
5839 }
5840}
5841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>> for Error
5842where
5843 R: Send + Sync + std::fmt::Debug + 'static,
5844{
5845 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain::UpdateDomainError, R>) -> Self {
5846 match err {
5847 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5848 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5849 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5850 source: err.into(),
5851 }),
5852 }
5853 }
5854}
5855impl From<crate::operation::update_domain::UpdateDomainError> for Error {
5856 fn from(err: crate::operation::update_domain::UpdateDomainError) -> Self {
5857 match err {
5858 crate::operation::update_domain::UpdateDomainError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5859 crate::operation::update_domain::UpdateDomainError::ConflictException(inner) => Error::ConflictException(inner),
5860 crate::operation::update_domain::UpdateDomainError::InternalServerException(inner) => Error::InternalServerException(inner),
5861 crate::operation::update_domain::UpdateDomainError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5862 crate::operation::update_domain::UpdateDomainError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
5863 crate::operation::update_domain::UpdateDomainError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5864 crate::operation::update_domain::UpdateDomainError::ValidationException(inner) => Error::ValidationException(inner),
5865 crate::operation::update_domain::UpdateDomainError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5866 crate::operation::update_domain::UpdateDomainError::Unhandled(inner) => Error::Unhandled(inner),
5867 }
5868 }
5869}
5870impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain_unit::UpdateDomainUnitError, R>> for Error
5871where
5872 R: Send + Sync + std::fmt::Debug + 'static,
5873{
5874 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_domain_unit::UpdateDomainUnitError, R>) -> Self {
5875 match err {
5876 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5877 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5878 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5879 source: err.into(),
5880 }),
5881 }
5882 }
5883}
5884impl From<crate::operation::update_domain_unit::UpdateDomainUnitError> for Error {
5885 fn from(err: crate::operation::update_domain_unit::UpdateDomainUnitError) -> Self {
5886 match err {
5887 crate::operation::update_domain_unit::UpdateDomainUnitError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5888 crate::operation::update_domain_unit::UpdateDomainUnitError::ConflictException(inner) => Error::ConflictException(inner),
5889 crate::operation::update_domain_unit::UpdateDomainUnitError::InternalServerException(inner) => Error::InternalServerException(inner),
5890 crate::operation::update_domain_unit::UpdateDomainUnitError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
5891 crate::operation::update_domain_unit::UpdateDomainUnitError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5892 crate::operation::update_domain_unit::UpdateDomainUnitError::ValidationException(inner) => Error::ValidationException(inner),
5893 crate::operation::update_domain_unit::UpdateDomainUnitError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5894 crate::operation::update_domain_unit::UpdateDomainUnitError::Unhandled(inner) => Error::Unhandled(inner),
5895 }
5896 }
5897}
5898impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment::UpdateEnvironmentError, R>> for Error
5899where
5900 R: Send + Sync + std::fmt::Debug + 'static,
5901{
5902 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment::UpdateEnvironmentError, R>) -> Self {
5903 match err {
5904 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5905 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5906 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5907 source: err.into(),
5908 }),
5909 }
5910 }
5911}
5912impl From<crate::operation::update_environment::UpdateEnvironmentError> for Error {
5913 fn from(err: crate::operation::update_environment::UpdateEnvironmentError) -> Self {
5914 match err {
5915 crate::operation::update_environment::UpdateEnvironmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5916 crate::operation::update_environment::UpdateEnvironmentError::ConflictException(inner) => Error::ConflictException(inner),
5917 crate::operation::update_environment::UpdateEnvironmentError::InternalServerException(inner) => Error::InternalServerException(inner),
5918 crate::operation::update_environment::UpdateEnvironmentError::ServiceQuotaExceededException(inner) => {
5919 Error::ServiceQuotaExceededException(inner)
5920 }
5921 crate::operation::update_environment::UpdateEnvironmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5922 crate::operation::update_environment::UpdateEnvironmentError::ValidationException(inner) => Error::ValidationException(inner),
5923 crate::operation::update_environment::UpdateEnvironmentError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
5924 crate::operation::update_environment::UpdateEnvironmentError::Unhandled(inner) => Error::Unhandled(inner),
5925 }
5926 }
5927}
5928impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment_action::UpdateEnvironmentActionError, R>>
5929 for Error
5930where
5931 R: Send + Sync + std::fmt::Debug + 'static,
5932{
5933 fn from(
5934 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment_action::UpdateEnvironmentActionError, R>,
5935 ) -> Self {
5936 match err {
5937 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5938 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5939 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5940 source: err.into(),
5941 }),
5942 }
5943 }
5944}
5945impl From<crate::operation::update_environment_action::UpdateEnvironmentActionError> for Error {
5946 fn from(err: crate::operation::update_environment_action::UpdateEnvironmentActionError) -> Self {
5947 match err {
5948 crate::operation::update_environment_action::UpdateEnvironmentActionError::AccessDeniedException(inner) => {
5949 Error::AccessDeniedException(inner)
5950 }
5951 crate::operation::update_environment_action::UpdateEnvironmentActionError::ConflictException(inner) => Error::ConflictException(inner),
5952 crate::operation::update_environment_action::UpdateEnvironmentActionError::InternalServerException(inner) => {
5953 Error::InternalServerException(inner)
5954 }
5955 crate::operation::update_environment_action::UpdateEnvironmentActionError::ResourceNotFoundException(inner) => {
5956 Error::ResourceNotFoundException(inner)
5957 }
5958 crate::operation::update_environment_action::UpdateEnvironmentActionError::ThrottlingException(inner) => {
5959 Error::ThrottlingException(inner)
5960 }
5961 crate::operation::update_environment_action::UpdateEnvironmentActionError::ValidationException(inner) => {
5962 Error::ValidationException(inner)
5963 }
5964 crate::operation::update_environment_action::UpdateEnvironmentActionError::UnauthorizedException(inner) => {
5965 Error::UnauthorizedException(inner)
5966 }
5967 crate::operation::update_environment_action::UpdateEnvironmentActionError::Unhandled(inner) => Error::Unhandled(inner),
5968 }
5969 }
5970}
5971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError, R>>
5972 for Error
5973where
5974 R: Send + Sync + std::fmt::Debug + 'static,
5975{
5976 fn from(
5977 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError, R>,
5978 ) -> Self {
5979 match err {
5980 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5981 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5982 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5983 source: err.into(),
5984 }),
5985 }
5986 }
5987}
5988impl From<crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError> for Error {
5989 fn from(err: crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError) -> Self {
5990 match err {
5991 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::AccessDeniedException(inner) => {
5992 Error::AccessDeniedException(inner)
5993 }
5994 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::ConflictException(inner) => {
5995 Error::ConflictException(inner)
5996 }
5997 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::InternalServerException(inner) => {
5998 Error::InternalServerException(inner)
5999 }
6000 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::ResourceNotFoundException(inner) => {
6001 Error::ResourceNotFoundException(inner)
6002 }
6003 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::ServiceQuotaExceededException(inner) => {
6004 Error::ServiceQuotaExceededException(inner)
6005 }
6006 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::ThrottlingException(inner) => {
6007 Error::ThrottlingException(inner)
6008 }
6009 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::ValidationException(inner) => {
6010 Error::ValidationException(inner)
6011 }
6012 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::UnauthorizedException(inner) => {
6013 Error::UnauthorizedException(inner)
6014 }
6015 crate::operation::update_environment_blueprint::UpdateEnvironmentBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
6016 }
6017 }
6018}
6019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment_profile::UpdateEnvironmentProfileError, R>>
6020 for Error
6021where
6022 R: Send + Sync + std::fmt::Debug + 'static,
6023{
6024 fn from(
6025 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_environment_profile::UpdateEnvironmentProfileError, R>,
6026 ) -> Self {
6027 match err {
6028 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6029 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6030 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6031 source: err.into(),
6032 }),
6033 }
6034 }
6035}
6036impl From<crate::operation::update_environment_profile::UpdateEnvironmentProfileError> for Error {
6037 fn from(err: crate::operation::update_environment_profile::UpdateEnvironmentProfileError) -> Self {
6038 match err {
6039 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::AccessDeniedException(inner) => {
6040 Error::AccessDeniedException(inner)
6041 }
6042 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::ConflictException(inner) => Error::ConflictException(inner),
6043 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::InternalServerException(inner) => {
6044 Error::InternalServerException(inner)
6045 }
6046 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::ResourceNotFoundException(inner) => {
6047 Error::ResourceNotFoundException(inner)
6048 }
6049 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::ServiceQuotaExceededException(inner) => {
6050 Error::ServiceQuotaExceededException(inner)
6051 }
6052 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::ThrottlingException(inner) => {
6053 Error::ThrottlingException(inner)
6054 }
6055 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::ValidationException(inner) => {
6056 Error::ValidationException(inner)
6057 }
6058 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::UnauthorizedException(inner) => {
6059 Error::UnauthorizedException(inner)
6060 }
6061 crate::operation::update_environment_profile::UpdateEnvironmentProfileError::Unhandled(inner) => Error::Unhandled(inner),
6062 }
6063 }
6064}
6065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary::UpdateGlossaryError, R>> for Error
6066where
6067 R: Send + Sync + std::fmt::Debug + 'static,
6068{
6069 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary::UpdateGlossaryError, R>) -> Self {
6070 match err {
6071 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6072 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6073 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6074 source: err.into(),
6075 }),
6076 }
6077 }
6078}
6079impl From<crate::operation::update_glossary::UpdateGlossaryError> for Error {
6080 fn from(err: crate::operation::update_glossary::UpdateGlossaryError) -> Self {
6081 match err {
6082 crate::operation::update_glossary::UpdateGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6083 crate::operation::update_glossary::UpdateGlossaryError::ConflictException(inner) => Error::ConflictException(inner),
6084 crate::operation::update_glossary::UpdateGlossaryError::InternalServerException(inner) => Error::InternalServerException(inner),
6085 crate::operation::update_glossary::UpdateGlossaryError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
6086 crate::operation::update_glossary::UpdateGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6087 crate::operation::update_glossary::UpdateGlossaryError::ValidationException(inner) => Error::ValidationException(inner),
6088 crate::operation::update_glossary::UpdateGlossaryError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6089 crate::operation::update_glossary::UpdateGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
6090 }
6091 }
6092}
6093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary_term::UpdateGlossaryTermError, R>> for Error
6094where
6095 R: Send + Sync + std::fmt::Debug + 'static,
6096{
6097 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary_term::UpdateGlossaryTermError, R>) -> Self {
6098 match err {
6099 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6100 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6101 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6102 source: err.into(),
6103 }),
6104 }
6105 }
6106}
6107impl From<crate::operation::update_glossary_term::UpdateGlossaryTermError> for Error {
6108 fn from(err: crate::operation::update_glossary_term::UpdateGlossaryTermError) -> Self {
6109 match err {
6110 crate::operation::update_glossary_term::UpdateGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6111 crate::operation::update_glossary_term::UpdateGlossaryTermError::ConflictException(inner) => Error::ConflictException(inner),
6112 crate::operation::update_glossary_term::UpdateGlossaryTermError::InternalServerException(inner) => Error::InternalServerException(inner),
6113 crate::operation::update_glossary_term::UpdateGlossaryTermError::ResourceNotFoundException(inner) => {
6114 Error::ResourceNotFoundException(inner)
6115 }
6116 crate::operation::update_glossary_term::UpdateGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6117 crate::operation::update_glossary_term::UpdateGlossaryTermError::ValidationException(inner) => Error::ValidationException(inner),
6118 crate::operation::update_glossary_term::UpdateGlossaryTermError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6119 crate::operation::update_glossary_term::UpdateGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
6120 }
6121 }
6122}
6123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_group_profile::UpdateGroupProfileError, R>> for Error
6124where
6125 R: Send + Sync + std::fmt::Debug + 'static,
6126{
6127 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_group_profile::UpdateGroupProfileError, R>) -> Self {
6128 match err {
6129 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6130 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6131 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6132 source: err.into(),
6133 }),
6134 }
6135 }
6136}
6137impl From<crate::operation::update_group_profile::UpdateGroupProfileError> for Error {
6138 fn from(err: crate::operation::update_group_profile::UpdateGroupProfileError) -> Self {
6139 match err {
6140 crate::operation::update_group_profile::UpdateGroupProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6141 crate::operation::update_group_profile::UpdateGroupProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
6142 crate::operation::update_group_profile::UpdateGroupProfileError::ResourceNotFoundException(inner) => {
6143 Error::ResourceNotFoundException(inner)
6144 }
6145 crate::operation::update_group_profile::UpdateGroupProfileError::ValidationException(inner) => Error::ValidationException(inner),
6146 crate::operation::update_group_profile::UpdateGroupProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6147 crate::operation::update_group_profile::UpdateGroupProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6148 crate::operation::update_group_profile::UpdateGroupProfileError::Unhandled(inner) => Error::Unhandled(inner),
6149 }
6150 }
6151}
6152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook::UpdateNotebookError, R>> for Error
6153where
6154 R: Send + Sync + std::fmt::Debug + 'static,
6155{
6156 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_notebook::UpdateNotebookError, R>) -> Self {
6157 match err {
6158 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6159 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6160 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6161 source: err.into(),
6162 }),
6163 }
6164 }
6165}
6166impl From<crate::operation::update_notebook::UpdateNotebookError> for Error {
6167 fn from(err: crate::operation::update_notebook::UpdateNotebookError) -> Self {
6168 match err {
6169 crate::operation::update_notebook::UpdateNotebookError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6170 crate::operation::update_notebook::UpdateNotebookError::ConflictException(inner) => Error::ConflictException(inner),
6171 crate::operation::update_notebook::UpdateNotebookError::InternalServerException(inner) => Error::InternalServerException(inner),
6172 crate::operation::update_notebook::UpdateNotebookError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
6173 crate::operation::update_notebook::UpdateNotebookError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6174 crate::operation::update_notebook::UpdateNotebookError::ValidationException(inner) => Error::ValidationException(inner),
6175 crate::operation::update_notebook::UpdateNotebookError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6176 crate::operation::update_notebook::UpdateNotebookError::Unhandled(inner) => Error::Unhandled(inner),
6177 }
6178 }
6179}
6180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>> for Error
6181where
6182 R: Send + Sync + std::fmt::Debug + 'static,
6183{
6184 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project::UpdateProjectError, R>) -> Self {
6185 match err {
6186 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6187 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6188 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6189 source: err.into(),
6190 }),
6191 }
6192 }
6193}
6194impl From<crate::operation::update_project::UpdateProjectError> for Error {
6195 fn from(err: crate::operation::update_project::UpdateProjectError) -> Self {
6196 match err {
6197 crate::operation::update_project::UpdateProjectError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6198 crate::operation::update_project::UpdateProjectError::ConflictException(inner) => Error::ConflictException(inner),
6199 crate::operation::update_project::UpdateProjectError::InternalServerException(inner) => Error::InternalServerException(inner),
6200 crate::operation::update_project::UpdateProjectError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
6201 crate::operation::update_project::UpdateProjectError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
6202 crate::operation::update_project::UpdateProjectError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6203 crate::operation::update_project::UpdateProjectError::ValidationException(inner) => Error::ValidationException(inner),
6204 crate::operation::update_project::UpdateProjectError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6205 crate::operation::update_project::UpdateProjectError::Unhandled(inner) => Error::Unhandled(inner),
6206 }
6207 }
6208}
6209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project_profile::UpdateProjectProfileError, R>> for Error
6210where
6211 R: Send + Sync + std::fmt::Debug + 'static,
6212{
6213 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_project_profile::UpdateProjectProfileError, R>) -> Self {
6214 match err {
6215 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6216 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6217 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6218 source: err.into(),
6219 }),
6220 }
6221 }
6222}
6223impl From<crate::operation::update_project_profile::UpdateProjectProfileError> for Error {
6224 fn from(err: crate::operation::update_project_profile::UpdateProjectProfileError) -> Self {
6225 match err {
6226 crate::operation::update_project_profile::UpdateProjectProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6227 crate::operation::update_project_profile::UpdateProjectProfileError::ConflictException(inner) => Error::ConflictException(inner),
6228 crate::operation::update_project_profile::UpdateProjectProfileError::InternalServerException(inner) => {
6229 Error::InternalServerException(inner)
6230 }
6231 crate::operation::update_project_profile::UpdateProjectProfileError::ResourceNotFoundException(inner) => {
6232 Error::ResourceNotFoundException(inner)
6233 }
6234 crate::operation::update_project_profile::UpdateProjectProfileError::ServiceQuotaExceededException(inner) => {
6235 Error::ServiceQuotaExceededException(inner)
6236 }
6237 crate::operation::update_project_profile::UpdateProjectProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6238 crate::operation::update_project_profile::UpdateProjectProfileError::ValidationException(inner) => Error::ValidationException(inner),
6239 crate::operation::update_project_profile::UpdateProjectProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6240 crate::operation::update_project_profile::UpdateProjectProfileError::Unhandled(inner) => Error::Unhandled(inner),
6241 }
6242 }
6243}
6244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError, R>>
6245 for Error
6246where
6247 R: Send + Sync + std::fmt::Debug + 'static,
6248{
6249 fn from(
6250 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError, R>,
6251 ) -> Self {
6252 match err {
6253 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6254 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6255 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6256 source: err.into(),
6257 }),
6258 }
6259 }
6260}
6261impl From<crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError> for Error {
6262 fn from(err: crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError) -> Self {
6263 match err {
6264 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::AccessDeniedException(inner) => {
6265 Error::AccessDeniedException(inner)
6266 }
6267 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::ConflictException(inner) => {
6268 Error::ConflictException(inner)
6269 }
6270 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::InternalServerException(inner) => {
6271 Error::InternalServerException(inner)
6272 }
6273 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::ResourceNotFoundException(inner) => {
6274 Error::ResourceNotFoundException(inner)
6275 }
6276 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::ThrottlingException(inner) => {
6277 Error::ThrottlingException(inner)
6278 }
6279 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::ValidationException(inner) => {
6280 Error::ValidationException(inner)
6281 }
6282 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::UnauthorizedException(inner) => {
6283 Error::UnauthorizedException(inner)
6284 }
6285 crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError::Unhandled(inner) => Error::Unhandled(inner),
6286 }
6287 }
6288}
6289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_rule::UpdateRuleError, R>> for Error
6290where
6291 R: Send + Sync + std::fmt::Debug + 'static,
6292{
6293 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_rule::UpdateRuleError, R>) -> Self {
6294 match err {
6295 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6296 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6297 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6298 source: err.into(),
6299 }),
6300 }
6301 }
6302}
6303impl From<crate::operation::update_rule::UpdateRuleError> for Error {
6304 fn from(err: crate::operation::update_rule::UpdateRuleError) -> Self {
6305 match err {
6306 crate::operation::update_rule::UpdateRuleError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6307 crate::operation::update_rule::UpdateRuleError::ConflictException(inner) => Error::ConflictException(inner),
6308 crate::operation::update_rule::UpdateRuleError::InternalServerException(inner) => Error::InternalServerException(inner),
6309 crate::operation::update_rule::UpdateRuleError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
6310 crate::operation::update_rule::UpdateRuleError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
6311 crate::operation::update_rule::UpdateRuleError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6312 crate::operation::update_rule::UpdateRuleError::ValidationException(inner) => Error::ValidationException(inner),
6313 crate::operation::update_rule::UpdateRuleError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6314 crate::operation::update_rule::UpdateRuleError::Unhandled(inner) => Error::Unhandled(inner),
6315 }
6316 }
6317}
6318impl<R>
6319 From<
6320 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError, R>,
6321 > for Error
6322where
6323 R: Send + Sync + std::fmt::Debug + 'static,
6324{
6325 fn from(
6326 err: ::aws_smithy_runtime_api::client::result::SdkError<
6327 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError,
6328 R,
6329 >,
6330 ) -> Self {
6331 match err {
6332 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6333 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6334 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6335 source: err.into(),
6336 }),
6337 }
6338 }
6339}
6340impl From<crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError> for Error {
6341 fn from(err: crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError) -> Self {
6342 match err {
6343 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::AccessDeniedException(inner) => {
6344 Error::AccessDeniedException(inner)
6345 }
6346 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::ConflictException(inner) => {
6347 Error::ConflictException(inner)
6348 }
6349 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::InternalServerException(inner) => {
6350 Error::InternalServerException(inner)
6351 }
6352 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::ResourceNotFoundException(inner) => {
6353 Error::ResourceNotFoundException(inner)
6354 }
6355 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::ThrottlingException(inner) => {
6356 Error::ThrottlingException(inner)
6357 }
6358 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::ValidationException(inner) => {
6359 Error::ValidationException(inner)
6360 }
6361 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::UnauthorizedException(inner) => {
6362 Error::UnauthorizedException(inner)
6363 }
6364 crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError::Unhandled(inner) => Error::Unhandled(inner),
6365 }
6366 }
6367}
6368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_subscription_request::UpdateSubscriptionRequestError, R>>
6369 for Error
6370where
6371 R: Send + Sync + std::fmt::Debug + 'static,
6372{
6373 fn from(
6374 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_subscription_request::UpdateSubscriptionRequestError, R>,
6375 ) -> Self {
6376 match err {
6377 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6378 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6379 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6380 source: err.into(),
6381 }),
6382 }
6383 }
6384}
6385impl From<crate::operation::update_subscription_request::UpdateSubscriptionRequestError> for Error {
6386 fn from(err: crate::operation::update_subscription_request::UpdateSubscriptionRequestError) -> Self {
6387 match err {
6388 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::AccessDeniedException(inner) => {
6389 Error::AccessDeniedException(inner)
6390 }
6391 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::ConflictException(inner) => {
6392 Error::ConflictException(inner)
6393 }
6394 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::InternalServerException(inner) => {
6395 Error::InternalServerException(inner)
6396 }
6397 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::ResourceNotFoundException(inner) => {
6398 Error::ResourceNotFoundException(inner)
6399 }
6400 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::ThrottlingException(inner) => {
6401 Error::ThrottlingException(inner)
6402 }
6403 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::ValidationException(inner) => {
6404 Error::ValidationException(inner)
6405 }
6406 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::UnauthorizedException(inner) => {
6407 Error::UnauthorizedException(inner)
6408 }
6409 crate::operation::update_subscription_request::UpdateSubscriptionRequestError::Unhandled(inner) => Error::Unhandled(inner),
6410 }
6411 }
6412}
6413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_subscription_target::UpdateSubscriptionTargetError, R>>
6414 for Error
6415where
6416 R: Send + Sync + std::fmt::Debug + 'static,
6417{
6418 fn from(
6419 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_subscription_target::UpdateSubscriptionTargetError, R>,
6420 ) -> Self {
6421 match err {
6422 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6423 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6424 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6425 source: err.into(),
6426 }),
6427 }
6428 }
6429}
6430impl From<crate::operation::update_subscription_target::UpdateSubscriptionTargetError> for Error {
6431 fn from(err: crate::operation::update_subscription_target::UpdateSubscriptionTargetError) -> Self {
6432 match err {
6433 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::AccessDeniedException(inner) => {
6434 Error::AccessDeniedException(inner)
6435 }
6436 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::ConflictException(inner) => Error::ConflictException(inner),
6437 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::InternalServerException(inner) => {
6438 Error::InternalServerException(inner)
6439 }
6440 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::ResourceNotFoundException(inner) => {
6441 Error::ResourceNotFoundException(inner)
6442 }
6443 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::ThrottlingException(inner) => {
6444 Error::ThrottlingException(inner)
6445 }
6446 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::ValidationException(inner) => {
6447 Error::ValidationException(inner)
6448 }
6449 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::UnauthorizedException(inner) => {
6450 Error::UnauthorizedException(inner)
6451 }
6452 crate::operation::update_subscription_target::UpdateSubscriptionTargetError::Unhandled(inner) => Error::Unhandled(inner),
6453 }
6454 }
6455}
6456impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>> for Error
6457where
6458 R: Send + Sync + std::fmt::Debug + 'static,
6459{
6460 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_profile::UpdateUserProfileError, R>) -> Self {
6461 match err {
6462 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6463 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6464 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6465 source: err.into(),
6466 }),
6467 }
6468 }
6469}
6470impl From<crate::operation::update_user_profile::UpdateUserProfileError> for Error {
6471 fn from(err: crate::operation::update_user_profile::UpdateUserProfileError) -> Self {
6472 match err {
6473 crate::operation::update_user_profile::UpdateUserProfileError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6474 crate::operation::update_user_profile::UpdateUserProfileError::InternalServerException(inner) => Error::InternalServerException(inner),
6475 crate::operation::update_user_profile::UpdateUserProfileError::ResourceNotFoundException(inner) => {
6476 Error::ResourceNotFoundException(inner)
6477 }
6478 crate::operation::update_user_profile::UpdateUserProfileError::ValidationException(inner) => Error::ValidationException(inner),
6479 crate::operation::update_user_profile::UpdateUserProfileError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6480 crate::operation::update_user_profile::UpdateUserProfileError::UnauthorizedException(inner) => Error::UnauthorizedException(inner),
6481 crate::operation::update_user_profile::UpdateUserProfileError::Unhandled(inner) => Error::Unhandled(inner),
6482 }
6483 }
6484}
6485impl ::std::error::Error for Error {
6486 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
6487 match self {
6488 Error::AccessDeniedException(inner) => inner.source(),
6489 Error::ConflictException(inner) => inner.source(),
6490 Error::InternalServerException(inner) => inner.source(),
6491 Error::ResourceNotFoundException(inner) => inner.source(),
6492 Error::ServiceQuotaExceededException(inner) => inner.source(),
6493 Error::ThrottlingException(inner) => inner.source(),
6494 Error::UnauthorizedException(inner) => inner.source(),
6495 Error::ValidationException(inner) => inner.source(),
6496 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
6497 }
6498 }
6499}
6500impl ::aws_types::request_id::RequestId for Error {
6501 fn request_id(&self) -> Option<&str> {
6502 match self {
6503 Self::AccessDeniedException(e) => e.request_id(),
6504 Self::ConflictException(e) => e.request_id(),
6505 Self::InternalServerException(e) => e.request_id(),
6506 Self::ResourceNotFoundException(e) => e.request_id(),
6507 Self::ServiceQuotaExceededException(e) => e.request_id(),
6508 Self::ThrottlingException(e) => e.request_id(),
6509 Self::UnauthorizedException(e) => e.request_id(),
6510 Self::ValidationException(e) => e.request_id(),
6511 Self::Unhandled(e) => e.meta.request_id(),
6512 }
6513 }
6514}