@aws-sdk/client-polly 3.1016.0 → 3.1018.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 CHANGED
@@ -429,8 +429,10 @@ const VoiceId = {
429
429
  Zhiyu: "Zhiyu",
430
430
  };
431
431
  const OutputFormat = {
432
+ ALAW: "alaw",
432
433
  JSON: "json",
433
434
  MP3: "mp3",
435
+ MULAW: "mulaw",
434
436
  OGG_OPUS: "ogg_opus",
435
437
  OGG_VORBIS: "ogg_vorbis",
436
438
  PCM: "pcm",
@@ -161,8 +161,10 @@ export const VoiceId = {
161
161
  Zhiyu: "Zhiyu",
162
162
  };
163
163
  export const OutputFormat = {
164
+ ALAW: "alaw",
164
165
  JSON: "json",
165
166
  MP3: "mp3",
167
+ MULAW: "mulaw",
166
168
  OGG_OPUS: "ogg_opus",
167
169
  OGG_VORBIS: "ogg_vorbis",
168
170
  PCM: "pcm",
@@ -57,7 +57,7 @@ declare const GetSpeechSynthesisTaskCommand_base: {
57
57
  * // LexiconNames: [ // LexiconNameList
58
58
  * // "STRING_VALUE",
59
59
  * // ],
60
- * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
60
+ * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm" || "mulaw" || "alaw",
61
61
  * // SampleRate: "STRING_VALUE",
62
62
  * // SpeechMarkTypes: [ // SpeechMarkTypeList
63
63
  * // "sentence" || "ssml" || "viseme" || "word",
@@ -60,7 +60,7 @@ declare const ListSpeechSynthesisTasksCommand_base: {
60
60
  * // LexiconNames: [ // LexiconNameList
61
61
  * // "STRING_VALUE",
62
62
  * // ],
63
- * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
63
+ * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm" || "mulaw" || "alaw",
64
64
  * // SampleRate: "STRING_VALUE",
65
65
  * // SpeechMarkTypes: [ // SpeechMarkTypeList
66
66
  * // "sentence" || "ssml" || "viseme" || "word",
@@ -52,7 +52,7 @@ declare const StartSpeechSynthesisStreamCommand_base: {
52
52
  * LexiconNames: [ // LexiconNameList
53
53
  * "STRING_VALUE",
54
54
  * ],
55
- * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
55
+ * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm" || "mulaw" || "alaw", // required
56
56
  * SampleRate: "STRING_VALUE",
57
57
  * VoiceId: "Aditi" || "Amy" || "Astrid" || "Bianca" || "Brian" || "Camila" || "Carla" || "Carmen" || "Celine" || "Chantal" || "Conchita" || "Cristiano" || "Dora" || "Emma" || "Enrique" || "Ewa" || "Filiz" || "Gabrielle" || "Geraint" || "Giorgio" || "Gwyneth" || "Hans" || "Ines" || "Ivy" || "Jacek" || "Jan" || "Joanna" || "Joey" || "Justin" || "Karl" || "Kendra" || "Kevin" || "Kimberly" || "Lea" || "Liv" || "Lotte" || "Lucia" || "Lupe" || "Mads" || "Maja" || "Marlene" || "Mathieu" || "Matthew" || "Maxim" || "Mia" || "Miguel" || "Mizuki" || "Naja" || "Nicole" || "Olivia" || "Penelope" || "Raveena" || "Ricardo" || "Ruben" || "Russell" || "Salli" || "Seoyeon" || "Takumi" || "Tatyana" || "Vicki" || "Vitoria" || "Zeina" || "Zhiyu" || "Aria" || "Ayanda" || "Arlet" || "Hannah" || "Arthur" || "Daniel" || "Liam" || "Pedro" || "Kajal" || "Hiujin" || "Laura" || "Elin" || "Ida" || "Suvi" || "Ola" || "Hala" || "Andres" || "Sergio" || "Remi" || "Adriano" || "Thiago" || "Ruth" || "Stephen" || "Kazuha" || "Tomoko" || "Niamh" || "Sofie" || "Lisa" || "Isabelle" || "Zayd" || "Danielle" || "Gregory" || "Burcu" || "Jitka" || "Sabrina" || "Jasmine" || "Jihye" || "Ambre" || "Beatrice" || "Florian" || "Lennart" || "Lorenzo" || "Tiffany", // required
58
58
  * ActionStream: { // StartSpeechSynthesisStreamActionStream Union: only one key present
@@ -51,7 +51,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
51
51
  * LexiconNames: [ // LexiconNameList
52
52
  * "STRING_VALUE",
53
53
  * ],
54
- * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
54
+ * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm" || "mulaw" || "alaw", // required
55
55
  * OutputS3BucketName: "STRING_VALUE", // required
56
56
  * OutputS3KeyPrefix: "STRING_VALUE",
57
57
  * SampleRate: "STRING_VALUE",
@@ -78,7 +78,7 @@ declare const StartSpeechSynthesisTaskCommand_base: {
78
78
  * // LexiconNames: [ // LexiconNameList
79
79
  * // "STRING_VALUE",
80
80
  * // ],
81
- * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm",
81
+ * // OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm" || "mulaw" || "alaw",
82
82
  * // SampleRate: "STRING_VALUE",
83
83
  * // SpeechMarkTypes: [ // SpeechMarkTypeList
84
84
  * // "sentence" || "ssml" || "viseme" || "word",
@@ -47,7 +47,7 @@ declare const SynthesizeSpeechCommand_base: {
47
47
  * LexiconNames: [ // LexiconNameList
48
48
  * "STRING_VALUE",
49
49
  * ],
50
- * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm", // required
50
+ * OutputFormat: "json" || "mp3" || "ogg_opus" || "ogg_vorbis" || "pcm" || "mulaw" || "alaw", // required
51
51
  * SampleRate: "STRING_VALUE",
52
52
  * SpeechMarkTypes: [ // SpeechMarkTypeList
53
53
  * "sentence" || "ssml" || "viseme" || "word",
@@ -197,8 +197,10 @@ export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
197
197
  * @enum
198
198
  */
199
199
  export declare const OutputFormat: {
200
+ readonly ALAW: "alaw";
200
201
  readonly JSON: "json";
201
202
  readonly MP3: "mp3";
203
+ readonly MULAW: "mulaw";
202
204
  readonly OGG_OPUS: "ogg_opus";
203
205
  readonly OGG_VORBIS: "ogg_vorbis";
204
206
  readonly PCM: "pcm";
@@ -165,8 +165,10 @@ export declare const VoiceId: {
165
165
  };
166
166
  export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
167
167
  export declare const OutputFormat: {
168
+ readonly ALAW: "alaw";
168
169
  readonly JSON: "json";
169
170
  readonly MP3: "mp3";
171
+ readonly MULAW: "mulaw";
170
172
  readonly OGG_OPUS: "ogg_opus";
171
173
  readonly OGG_VORBIS: "ogg_vorbis";
172
174
  readonly PCM: "pcm";
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.1016.0",
4
+ "version": "3.1018.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-polly",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.25",
26
- "@aws-sdk/eventstream-handler-node": "^3.972.11",
24
+ "@aws-sdk/core": "^3.973.25",
25
+ "@aws-sdk/credential-provider-node": "^3.972.26",
26
+ "@aws-sdk/eventstream-handler-node": "^3.972.12",
27
27
  "@aws-sdk/middleware-eventstream": "^3.972.8",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.8",
29
29
  "@aws-sdk/middleware-logger": "^3.972.8",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.8",
31
- "@aws-sdk/middleware-user-agent": "^3.972.25",
32
- "@aws-sdk/region-config-resolver": "^3.972.9",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.9",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.26",
32
+ "@aws-sdk/region-config-resolver": "^3.972.10",
33
33
  "@aws-sdk/types": "^3.973.6",
34
34
  "@aws-sdk/util-endpoints": "^3.996.5",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
- "@aws-sdk/util-user-agent-node": "^3.973.11",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.12",
37
37
  "@smithy/config-resolver": "^4.4.13",
38
38
  "@smithy/core": "^3.23.12",
39
39
  "@smithy/eventstream-serde-browser": "^4.2.12",