Values.StartSpeechSynthesisTaskOutputSourceAllows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask. This operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn). Once the synthesis task is created, this operation will return a SpeechSynthesisTask object, which will include an identifier of this task as well as the current status. The SpeechSynthesisTask object is available for 72 hours after starting the asynchronous synthesis task.
type nonrec t = {synthesisTask : SynthesisTask.t option;SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.
*)}type nonrec error = [ | `EngineNotSupportedException of EngineNotSupportedException.t| `InvalidS3BucketException of InvalidS3BucketException.t| `InvalidS3KeyException of InvalidS3KeyException.t| `InvalidSampleRateException of InvalidSampleRateException.t| `InvalidSnsTopicArnException of InvalidSnsTopicArnException.t| `InvalidSsmlException of InvalidSsmlException.t| `LanguageNotSupportedException of LanguageNotSupportedException.t| `LexiconNotFoundException of LexiconNotFoundException.t| `MarksNotSupportedForFormatException of MarksNotSupportedForFormatException.t| `ServiceFailureException of ServiceFailureException.t| `SsmlMarksNotSupportedForTextTypeException of
SsmlMarksNotSupportedForTextTypeException.t| `TextLengthExceededException of TextLengthExceededException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `EngineNotSupportedException of EngineNotSupportedException.t
| `InvalidS3BucketException of InvalidS3BucketException.t
| `InvalidS3KeyException of InvalidS3KeyException.t
| `InvalidSampleRateException of InvalidSampleRateException.t
| `InvalidSnsTopicArnException of InvalidSnsTopicArnException.t
| `InvalidSsmlException of InvalidSsmlException.t
| `LanguageNotSupportedException of LanguageNotSupportedException.t
| `LexiconNotFoundException of LexiconNotFoundException.t
| `MarksNotSupportedForFormatException of
MarksNotSupportedForFormatException.t
| `ServiceFailureException of ServiceFailureException.t
| `SsmlMarksNotSupportedForTextTypeException of
SsmlMarksNotSupportedForTextTypeException.t
| `TextLengthExceededException of TextLengthExceededException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `EngineNotSupportedException of EngineNotSupportedException.t
| `InvalidS3BucketException of InvalidS3BucketException.t
| `InvalidS3KeyException of InvalidS3KeyException.t
| `InvalidSampleRateException of InvalidSampleRateException.t
| `InvalidSnsTopicArnException of InvalidSnsTopicArnException.t
| `InvalidSsmlException of InvalidSsmlException.t
| `LanguageNotSupportedException of LanguageNotSupportedException.t
| `LexiconNotFoundException of LexiconNotFoundException.t
| `MarksNotSupportedForFormatException of
MarksNotSupportedForFormatException.t
| `ServiceFailureException of ServiceFailureException.t
| `SsmlMarksNotSupportedForTextTypeException of
SsmlMarksNotSupportedForTextTypeException.t
| `TextLengthExceededException of TextLengthExceededException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Integer of RequestCharacters.t
| `List of
[> `Enum of string | `String of LexiconName.t ] list
| `String of TaskId.t
| `Timestamp of DateTime.t ])
list ])
list ]