Values.DescribeVoicesOutputSourceReturns 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.
type nonrec t = {voices : VoiceList.t option;A list of voices with their properties.
*)nextToken : NextToken.t option;The pagination token to use in the next request to continue the listing of voices. NextToken is returned only if the response is truncated.
*)}type nonrec error = [ | `InvalidNextTokenException of InvalidNextTokenException.t| `ServiceFailureException of ServiceFailureException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidNextTokenException of InvalidNextTokenException.t
| `ServiceFailureException of ServiceFailureException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidNextTokenException of InvalidNextTokenException.t
| `ServiceFailureException of ServiceFailureException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of [> `Enum of string ] list
| `String of LanguageName.t ])
list ]
list
| `String of NextToken.t ])
list ]