Module Awso_polly.ValuesSource

Sourceval service : Awso.Service.t
Sourceval apiVersion : string
Sourceval endpointPrefix : string
Sourceval serviceFullName : string
Sourceval signatureVersion : string
Sourceval protocol : string
Sourceval globalEndpoint : string
Sourceval simple_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval composed_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval to_query : ('a -> Awso.Client.Query.value) -> 'a -> Awso.Client.Query.t
Sourceval structure_to_value_aux : ('a * 'b option) list -> f:(('a * 'b) list -> 'c) -> [> `Structure of 'c ]
Sourceval structure_to_value : ('a * 'b option) list -> [> `Structure of ('a * 'b) list ]
Sourceval structure_to_wrapped_value : wrapper:'a -> response:'a -> ('b * 'c option) list -> [> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]
Sourcemodule ThrottlingReason : sig ... end

Provides information about a specific throttling reason.

Sourcemodule ValidationExceptionField : sig ... end

Information about a field that failed validation.

Sourcemodule Force : sig ... end
Sourcemodule LexiconName : sig ... end
Sourcemodule SpeechMarkType : sig ... end
Sourcemodule Alphabet : sig ... end
Sourcemodule LanguageCode : sig ... end
Sourcemodule LastModified : sig ... end
Sourcemodule LexemesCount : sig ... end
Sourcemodule LexiconArn : sig ... end
Sourcemodule Size : sig ... end
Sourcemodule Engine : sig ... end
Sourcemodule AudioChunk : sig ... end
Sourcemodule ErrorMessage : sig ... end
Sourcemodule QuotaCode : sig ... end
Sourcemodule ServiceCode : sig ... end
Sourcemodule RequestCharacters : sig ... end
Sourcemodule AvailabilityErrorMessage : sig ... end
Sourcemodule ThrottlingReasonList : sig ... end
Sourcemodule ValidationExceptionReason : sig ... end
Sourcemodule FlushStreamConfiguration : sig ... end

Configuration that controls when synthesized audio data is sent on the output stream.

Sourcemodule Text : sig ... end
Sourcemodule TextType : sig ... end
Sourcemodule DateTime : sig ... end
Sourcemodule LexiconNameList : sig ... end
Sourcemodule OutputFormat : sig ... end
Sourcemodule OutputUri : sig ... end
Sourcemodule SampleRate : sig ... end
Sourcemodule SnsTopicArn : sig ... end
Sourcemodule SpeechMarkTypeList : sig ... end
Sourcemodule TaskId : sig ... end
Sourcemodule TaskStatus : sig ... end
Sourcemodule TaskStatusReason : sig ... end
Sourcemodule VoiceId : sig ... end
Sourcemodule LexiconAttributes : sig ... end

Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.

Sourcemodule EngineList : sig ... end
Sourcemodule Gender : sig ... end
Sourcemodule LanguageCodeList : sig ... end
Sourcemodule LanguageName : sig ... end
Sourcemodule VoiceName : sig ... end
Sourcemodule AudioEvent : sig ... end

Contains a chunk of synthesized audio data.

Sourcemodule ServiceFailureException : sig ... end

An unknown condition has caused a service failure.

The request would cause a service quota to be exceeded.

Sourcemodule StreamClosedEvent : sig ... end

Indicates that the synthesis stream is closed and provides summary information.

Sourcemodule ThrottlingException : sig ... end

The request was denied because of request throttling.

Sourcemodule ValidationException : sig ... end

The input fails to satisfy the constraints specified by the service.

Sourcemodule CloseStreamEvent : sig ... end

Indicates the end of the input stream. After sending this event, the input stream will be closed and all audio will be returned.

Sourcemodule TextEvent : sig ... end

Contains text content to be synthesized into speech.

Sourcemodule SynthesisTask : sig ... end

SynthesisTask object that provides information about a speech synthesis task.

Sourcemodule LexiconDescription : sig ... end

Describes the content of the lexicon.

Sourcemodule LexiconContent : sig ... end
Sourcemodule Voice : sig ... end

Description of the voice.

Sourcemodule AudioStream : sig ... end
Sourcemodule ContentType : sig ... end

This engine is not compatible with the voice that you have designated. Choose a new voice that is compatible with the engine or change the engine and restart the operation.

The specified sample rate is not valid.

Sourcemodule InvalidSsmlException : sig ... end

The SSML you provided is invalid. Verify the SSML syntax, spelling of tags and values, and then try again.

The language specified is not currently supported by Amazon Polly in this capacity.

Sourcemodule LexiconNotFoundException : sig ... end

Amazon Polly can't find the specified lexicon. This could be caused by a lexicon that is missing, its name is misspelled or specifying a lexicon that is in a different region. Verify that the lexicon exists, is in the region (see ListLexicons) and that you spelled its name is spelled correctly. Then try again.

Speech marks are not supported for the OutputFormat selected. Speech marks are only available for content in json format.

SSML speech marks are not supported for plain text-type input.

The value of the "Text" parameter is longer than the accepted limits. For the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask API, the maximum is 200,000 characters, of which no more than 100,000 can be billed characters. SSML tags are not counted as billed characters.

Sourcemodule InvalidS3BucketException : sig ... end

The provided Amazon S3 bucket name is invalid. Please check your input with S3 bucket naming requirements and try again.

Sourcemodule InvalidS3KeyException : sig ... end

The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key name.

The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try again.

Sourcemodule OutputS3BucketName : sig ... end
Sourcemodule OutputS3KeyPrefix : sig ... end

Outbound event stream that contains synthesized audio data and stream status events.

Inbound event stream for sending input and control events to manage bidirectional speech synthesis.

Sourcemodule InvalidLexiconException : sig ... end

Amazon Polly can't find the specified lexicon. Verify that the lexicon's name is spelled correctly, and then try again.

The maximum size of the specified lexicon would be exceeded by this operation.

The maximum size of the lexeme would be exceeded by this operation.

The maximum number of lexicons would be exceeded by this operation.

The alphabet specified by the lexicon is not a supported alphabet. Valid values are x-sampa and ipa.

The language specified in the lexicon is unsupported. For a list of supported languages, see Lexicon Attributes.

Sourcemodule InvalidNextTokenException : sig ... end

The NextToken is invalid. Verify that it's spelled correctly, and then try again.

Sourcemodule NextToken : sig ... end
Sourcemodule SynthesisTasks : sig ... end
Sourcemodule MaxResults : sig ... end
Sourcemodule LexiconDescriptionList : sig ... end
Sourcemodule InvalidTaskIdException : sig ... end

The provided Task ID is not valid. Please provide a valid Task ID and try again.

The Speech Synthesis task with requested Task ID cannot be found.

Sourcemodule Lexicon : sig ... end

Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.

Sourcemodule VoiceList : sig ... end
Sourcemodule SynthesizeSpeechOutput : sig ... end

Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works.

Sourcemodule SynthesizeSpeechInput : sig ... end

Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works.

Allows 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.

Allows 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.

Synthesizes UTF-8 input, plain text, or SSML over a bidirectional streaming connection. Specify synthesis parameters in HTTP/2 headers, send text incrementally as events on the input stream, and receive synthesized audio as it becomes available. This operation serves as a bidirectional counterpart to SynthesizeSpeech: SynthesizeSpeech

Synthesizes UTF-8 input, plain text, or SSML over a bidirectional streaming connection. Specify synthesis parameters in HTTP/2 headers, send text incrementally as events on the input stream, and receive synthesized audio as it becomes available. This operation serves as a bidirectional counterpart to SynthesizeSpeech: SynthesizeSpeech

Sourcemodule PutLexiconOutput : sig ... end

Stores a pronunciation lexicon in an Amazon Web Services Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation. For more information, see Managing Lexicons.

Sourcemodule PutLexiconInput : sig ... end

Stores a pronunciation lexicon in an Amazon Web Services Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation. For more information, see Managing Lexicons.

Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed.

Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed.

Sourcemodule ListLexiconsOutput : sig ... end

Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Sourcemodule ListLexiconsInput : sig ... end

Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task.

Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task.

Sourcemodule GetLexiconOutput : sig ... end

Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Sourcemodule GetLexiconInput : sig ... end

Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Sourcemodule DescribeVoicesOutput : sig ... end

Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name. When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID for the voice you want from the list of voices returned by DescribeVoices. For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the DescribeVoices operation you can provide the user with a list of available voices to select from. You can optionally specify a language code to filter the available voices. For example, if you specify en-US, the operation returns a list of all available US English voices. This operation requires permissions to perform the polly:DescribeVoices action.

Sourcemodule DescribeVoicesInput : sig ... end

Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name. When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID for the voice you want from the list of voices returned by DescribeVoices. For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the DescribeVoices operation you can provide the user with a list of available voices to select from. You can optionally specify a language code to filter the available voices. For example, if you specify en-US, the operation returns a list of all available US English voices. This operation requires permissions to perform the polly:DescribeVoices action.

Sourcemodule DeleteLexiconOutput : sig ... end

Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the GetLexicon or ListLexicon APIs. For more information, see Managing Lexicons.

Sourcemodule DeleteLexiconInput : sig ... end

Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the GetLexicon or ListLexicon APIs. For more information, see Managing Lexicons.