From 367e933587f67349c5a69f98fd3cd515759caef1 Mon Sep 17 00:00:00 2001
From: awstools standard
or neural
)
- * used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
or
+ * long-form
) used by Amazon Polly when processing input text for
+ * speech synthesis.
Specifies which engines (standard
or neural
)
- * that are supported by a given voice.
Specifies which engines (standard
, neural
or
+ * long-form
) are supported by a given voice.
Specifies the engine (standard
or neural
)
- * for Amazon Polly to use when processing input text for speech synthesis. Using a
- * voice that is not supported for the engine selected will result in an
- * error.
Specifies the engine (standard
, neural
or
+ * long-form
) for Amazon Polly to use when processing input text for
+ * speech synthesis. Using a voice that is not supported for the engine
+ * selected will result in an error.
The audio frequency specified in Hz.
*The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", * and "24000". The default value for standard voices is "22050". The default - * value for neural voices is "24000".
+ * value for neural voices is "24000". The default value for long-form voices + * is "24000". *Valid values for pcm are "8000" and "16000" The default value is * "16000".
*/ @@ -1176,10 +1179,10 @@ export class SsmlMarksNotSupportedForTextTypeException extends __BaseException { export interface StartSpeechSynthesisTaskInput { /** * @public - *Specifies the engine (standard
or neural
)
- * for Amazon Polly to use when processing input text for speech synthesis. Using a
- * voice that is not supported for the engine selected will result in an
- * error.
Specifies the engine (standard
, neural
or
+ * long-form
) for Amazon Polly to use when processing input text for
+ * speech synthesis. Using a voice that is not supported for the engine
+ * selected will result in an error.
The audio frequency specified in Hz.
*The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", * and "24000". The default value for standard voices is "22050". The default - * value for neural voices is "24000".
+ * value for neural voices is "24000". The default value for long-form voices + * is "24000". *Valid values for pcm are "8000" and "16000" The default value is * "16000".
*/ @@ -1313,10 +1317,10 @@ export class TextLengthExceededException extends __BaseException { export interface SynthesizeSpeechInput { /** * @public - *Specifies the engine (standard
or neural
)
- * for Amazon Polly to use when processing input text for speech synthesis. For
- * information on Amazon Polly voices and which voices are available in
- * standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.
Specifies the engine (standard
, neural
or
+ * long-form
) for Amazon Polly to use when processing input text for
+ * speech synthesis. For information on Amazon Polly voices and which voices are
+ * available for each engine, see Available Voices.
* NTTS-only voices *
@@ -1324,8 +1328,16 @@ export interface SynthesizeSpeechInput { * required and must be set toneural
. If the engine is not
* specified, or is set to standard
, this will result in an
* error.
+ * + * long-form-only voices + *
+ *When using long-form-only voices such as Danielle (en-US), this
+ * parameter is required and must be set to long-form
. If the
+ * engine is not specified, or is set to standard
or
+ * neural
, this will result in an error.
Type: String
- *Valid Values: standard
| neural
+ *
Valid Values: standard
| neural
|
+ * long-form
*
Required: Yes
*@@ -1375,7 +1387,8 @@ export interface SynthesizeSpeechInput { *
The audio frequency specified in Hz.
*The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", * and "24000". The default value for standard voices is "22050". The default - * value for neural voices is "24000".
+ * value for neural voices is "24000". The default value for long-form voices + * is "24000". *Valid values for pcm are "8000" and "16000" The default value is * "16000".
*/ diff --git a/codegen/sdk-codegen/aws-models/polly.json b/codegen/sdk-codegen/aws-models/polly.json index cd638f1901ad..5b544913f5ab 100644 --- a/codegen/sdk-codegen/aws-models/polly.json +++ b/codegen/sdk-codegen/aws-models/polly.json @@ -167,7 +167,7 @@ "Engine": { "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "Specifies the engine (standard
or neural
)\n used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
or\n long-form
) used by Amazon Polly when processing input text for\n speech synthesis.
Specifies the engine (standard
or neural
)\n for Amazon Polly to use when processing input text for speech synthesis. Using a\n voice that is not supported for the engine selected will result in an\n error.
Specifies the engine (standard
, neural
or\n long-form
) for Amazon Polly to use when processing input text for\n speech synthesis. Using a voice that is not supported for the engine\n selected will result in an error.
The audio frequency specified in Hz.
\nThe valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".
\nValid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".
" + "smithy.api#documentation": "The audio frequency specified in Hz.
\nThe valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\". The default value for long-form voices\n is \"24000\".
\nValid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".
" } }, "SnsTopicArn": { @@ -2498,7 +2504,7 @@ "Engine": { "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "Specifies the engine (standard
or neural
)\n for Amazon Polly to use when processing input text for speech synthesis. Using a\n voice that is not supported for the engine selected will result in an\n error.
Specifies the engine (standard
, neural
or\n long-form
) for Amazon Polly to use when processing input text for\n speech synthesis. Using a voice that is not supported for the engine\n selected will result in an error.
The audio frequency specified in Hz.
\nThe valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".
\nValid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".
" + "smithy.api#documentation": "The audio frequency specified in Hz.
\nThe valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\". The default value for long-form voices\n is \"24000\".
\nValid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".
" } }, "SpeechMarkTypes": { @@ -2681,7 +2687,7 @@ "Engine": { "target": "com.amazonaws.polly#Engine", "traits": { - "smithy.api#documentation": "Specifies the engine (standard
or neural
)\n for Amazon Polly to use when processing input text for speech synthesis. For\n information on Amazon Polly voices and which voices are available in\n standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.
\n NTTS-only voices\n
\nWhen using NTTS-only voices such as Kevin (en-US), this parameter is\n required and must be set to neural
. If the engine is not\n specified, or is set to standard
, this will result in an\n error.
Type: String
\nValid Values: standard
| neural
\n
Required: Yes
\n\n Standard voices\n
\nFor standard voices, this is not required; the engine parameter\n defaults to standard
. If the engine is not specified, or is\n set to standard
and an NTTS-only voice is selected, this will\n result in an error.
Specifies the engine (standard
, neural
or\n long-form
) for Amazon Polly to use when processing input text for\n speech synthesis. For information on Amazon Polly voices and which voices are\n available for each engine, see Available Voices.
\n NTTS-only voices\n
\nWhen using NTTS-only voices such as Kevin (en-US), this parameter is\n required and must be set to neural
. If the engine is not\n specified, or is set to standard
, this will result in an\n error.
\n long-form-only voices\n
\nWhen using long-form-only voices such as Danielle (en-US), this\n parameter is required and must be set to long-form
. If the\n engine is not specified, or is set to standard
or\n neural
, this will result in an error.
Type: String
\nValid Values: standard
| neural
|\n long-form
\n
Required: Yes
\n\n Standard voices\n
\nFor standard voices, this is not required; the engine parameter\n defaults to standard
. If the engine is not specified, or is\n set to standard
and an NTTS-only voice is selected, this will\n result in an error.
The audio frequency specified in Hz.
\nThe valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".
\nValid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".
" + "smithy.api#documentation": "The audio frequency specified in Hz.
\nThe valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\". The default value for long-form voices\n is \"24000\".
\nValid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".
" } }, "SpeechMarkTypes": { @@ -2910,7 +2916,7 @@ "SupportedEngines": { "target": "com.amazonaws.polly#EngineList", "traits": { - "smithy.api#documentation": "Specifies which engines (standard
or neural
)\n that are supported by a given voice.
Specifies which engines (standard
, neural
or\n long-form
) are supported by a given voice.