440 440 | Self::InvalidSampleRateException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
441 441 | Self::InvalidSnsTopicArnException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
442 442 | Self::InvalidSsmlException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
443 443 | Self::LanguageNotSupportedException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
444 444 | Self::LexiconNotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
445 445 | Self::MarksNotSupportedForFormatException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
446 446 | Self::ServiceFailureException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
447 447 | Self::SsmlMarksNotSupportedForTextTypeException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
448 448 | Self::TextLengthExceededException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
449 449 | Self::Unhandled(_inner) => &_inner.meta,
|
450 450 | }
|
451 451 | }
|
452 452 | }
|
453 453 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for StartSpeechSynthesisTaskError {
|
454 454 | fn create_unhandled_error(
|
455 455 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
456 456 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
457 457 | ) -> Self {
|
458 458 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
459 459 | source,
|
460 460 | meta: meta.unwrap_or_default(),
|
461 461 | })
|
462 462 | }
|
463 463 | }
|
464 464 | impl ::aws_types::request_id::RequestId for crate::operation::start_speech_synthesis_task::StartSpeechSynthesisTaskError {
|
465 465 | fn request_id(&self) -> Option<&str> {
|
466 466 | self.meta().request_id()
|
467 467 | }
|
468 468 | }
|
469 469 |
|
470 - | pub use crate::operation::start_speech_synthesis_task::_start_speech_synthesis_task_output::StartSpeechSynthesisTaskOutput;
|
471 - |
|
472 470 | pub use crate::operation::start_speech_synthesis_task::_start_speech_synthesis_task_input::StartSpeechSynthesisTaskInput;
|
473 471 |
|
472 + | pub use crate::operation::start_speech_synthesis_task::_start_speech_synthesis_task_output::StartSpeechSynthesisTaskOutput;
|
473 + |
|
474 474 | mod _start_speech_synthesis_task_input;
|
475 475 |
|
476 476 | mod _start_speech_synthesis_task_output;
|
477 477 |
|
478 478 | /// Builders
|
479 479 | pub mod builders;
|