@aws-sdk/client-polly 3.864.0 → 3.872.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +1 -1
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +1 -1
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +2 -2
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -7
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -55,7 +55,7 @@ declare const GetSpeechSynthesisTaskCommand_base: {
|
|
|
55
55
|
* // LexiconNames: [ // LexiconNameList
|
|
56
56
|
* // "STRING_VALUE",
|
|
57
57
|
* // ],
|
|
58
|
-
* // OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm",
|
|
58
|
+
* // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
|
|
59
59
|
* // SampleRate: "STRING_VALUE",
|
|
60
60
|
* // SpeechMarkTypes: [ // SpeechMarkTypeList
|
|
61
61
|
* // "sentence" || "ssml" || "viseme" || "word",
|
|
@@ -58,7 +58,7 @@ declare const ListSpeechSynthesisTasksCommand_base: {
|
|
|
58
58
|
* // LexiconNames: [ // LexiconNameList
|
|
59
59
|
* // "STRING_VALUE",
|
|
60
60
|
* // ],
|
|
61
|
-
* // OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm",
|
|
61
|
+
* // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
|
|
62
62
|
* // SampleRate: "STRING_VALUE",
|
|
63
63
|
* // SpeechMarkTypes: [ // SpeechMarkTypeList
|
|
64
64
|
* // "sentence" || "ssml" || "viseme" || "word",
|
|
@@ -49,7 +49,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
|
|
|
49
49
|
* LexiconNames: [ // LexiconNameList
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
|
-
* OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
|
|
52
|
+
* OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
|
|
53
53
|
* OutputS3BucketName: "STRING_VALUE", // required
|
|
54
54
|
* OutputS3KeyPrefix: "STRING_VALUE",
|
|
55
55
|
* SampleRate: "STRING_VALUE",
|
|
@@ -76,7 +76,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
|
|
|
76
76
|
* // LexiconNames: [ // LexiconNameList
|
|
77
77
|
* // "STRING_VALUE",
|
|
78
78
|
* // ],
|
|
79
|
-
* // OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm",
|
|
79
|
+
* // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
|
|
80
80
|
* // SampleRate: "STRING_VALUE",
|
|
81
81
|
* // SpeechMarkTypes: [ // SpeechMarkTypeList
|
|
82
82
|
* // "sentence" || "ssml" || "viseme" || "word",
|
|
@@ -45,7 +45,7 @@ declare const SynthesizeSpeechCommand_base: {
|
|
|
45
45
|
* LexiconNames: [ // LexiconNameList
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
|
-
* OutputFormat: "json" || "mp3" || "ogg_vorbis" || "pcm", // required
|
|
48
|
+
* OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
|
|
49
49
|
* SampleRate: "STRING_VALUE",
|
|
50
50
|
* SpeechMarkTypes: [ // SpeechMarkTypeList
|
|
51
51
|
* "sentence" || "ssml" || "viseme" || "word",
|
|
@@ -468,6 +468,7 @@ export interface GetSpeechSynthesisTaskInput {
|
|
|
468
468
|
export declare const OutputFormat: {
|
|
469
469
|
readonly JSON: "json";
|
|
470
470
|
readonly MP3: "mp3";
|
|
471
|
+
readonly OGG_OPUS: "ogg_opus";
|
|
471
472
|
readonly OGG_VORBIS: "ogg_vorbis";
|
|
472
473
|
readonly PCM: "pcm";
|
|
473
474
|
};
|
|
@@ -1078,11 +1079,6 @@ export interface SynthesizeSpeechInput {
|
|
|
1078
1079
|
* the standard engine is selected by default. If a chosen voice isn't supported
|
|
1079
1080
|
* by the standard engine, this will result in an error. For information on
|
|
1080
1081
|
* Amazon Polly voices and which voices are available for each engine, see <a href="https://docs.aws.amazon.com/polly/latest/dg/voicelist.html">Available Voices</a>.</p>
|
|
1081
|
-
* <p>Type: String</p>
|
|
1082
|
-
* <p>Valid Values: <code>standard</code> | <code>neural</code> |
|
|
1083
|
-
* <code>long-form</code> | <code>generative</code>
|
|
1084
|
-
* </p>
|
|
1085
|
-
* <p>Required: Yes</p>
|
|
1086
1082
|
* @public
|
|
1087
1083
|
*/
|
|
1088
1084
|
Engine?: Engine | undefined;
|
|
@@ -1117,8 +1113,7 @@ export interface SynthesizeSpeechInput {
|
|
|
1117
1113
|
OutputFormat: OutputFormat | undefined;
|
|
1118
1114
|
/**
|
|
1119
1115
|
* <p>The audio frequency specified in Hz.</p>
|
|
1120
|
-
* <p>The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050",
|
|
1121
|
-
* and "24000". The default value for standard voices is "22050". The default
|
|
1116
|
+
* <p>The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", "24000", "44100" and "48000". The default value for standard voices is "22050". The default
|
|
1122
1117
|
* value for neural voices is "24000". The default value for long-form voices
|
|
1123
1118
|
* is "24000". The default value for generative voices is "24000".</p>
|
|
1124
1119
|
* <p>Valid values for pcm are "8000" and "16000" The default value is
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-polly",
|
|
3
3
|
"description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.872.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-polly",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.864.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.872.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.862.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|