@aws-sdk/client-polly 3.934.0 → 3.936.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
@@ -141,162 +141,6 @@ let ServiceFailureException$1 = class ServiceFailureException extends PollyServi
141
141
  Object.setPrototypeOf(this, ServiceFailureException.prototype);
142
142
  }
143
143
  };
144
- const Engine = {
145
- GENERATIVE: "generative",
146
- LONG_FORM: "long-form",
147
- NEURAL: "neural",
148
- STANDARD: "standard",
149
- };
150
- const LanguageCode = {
151
- ar_AE: "ar-AE",
152
- arb: "arb",
153
- ca_ES: "ca-ES",
154
- cmn_CN: "cmn-CN",
155
- cs_CZ: "cs-CZ",
156
- cy_GB: "cy-GB",
157
- da_DK: "da-DK",
158
- de_AT: "de-AT",
159
- de_CH: "de-CH",
160
- de_DE: "de-DE",
161
- en_AU: "en-AU",
162
- en_GB: "en-GB",
163
- en_GB_WLS: "en-GB-WLS",
164
- en_IE: "en-IE",
165
- en_IN: "en-IN",
166
- en_NZ: "en-NZ",
167
- en_SG: "en-SG",
168
- en_US: "en-US",
169
- en_ZA: "en-ZA",
170
- es_ES: "es-ES",
171
- es_MX: "es-MX",
172
- es_US: "es-US",
173
- fi_FI: "fi-FI",
174
- fr_BE: "fr-BE",
175
- fr_CA: "fr-CA",
176
- fr_FR: "fr-FR",
177
- hi_IN: "hi-IN",
178
- is_IS: "is-IS",
179
- it_IT: "it-IT",
180
- ja_JP: "ja-JP",
181
- ko_KR: "ko-KR",
182
- nb_NO: "nb-NO",
183
- nl_BE: "nl-BE",
184
- nl_NL: "nl-NL",
185
- pl_PL: "pl-PL",
186
- pt_BR: "pt-BR",
187
- pt_PT: "pt-PT",
188
- ro_RO: "ro-RO",
189
- ru_RU: "ru-RU",
190
- sv_SE: "sv-SE",
191
- tr_TR: "tr-TR",
192
- yue_CN: "yue-CN",
193
- };
194
- const Gender = {
195
- Female: "Female",
196
- Male: "Male",
197
- };
198
- const VoiceId = {
199
- Aditi: "Aditi",
200
- Adriano: "Adriano",
201
- Amy: "Amy",
202
- Andres: "Andres",
203
- Aria: "Aria",
204
- Arlet: "Arlet",
205
- Arthur: "Arthur",
206
- Astrid: "Astrid",
207
- Ayanda: "Ayanda",
208
- Bianca: "Bianca",
209
- Brian: "Brian",
210
- Burcu: "Burcu",
211
- Camila: "Camila",
212
- Carla: "Carla",
213
- Carmen: "Carmen",
214
- Celine: "Celine",
215
- Chantal: "Chantal",
216
- Conchita: "Conchita",
217
- Cristiano: "Cristiano",
218
- Daniel: "Daniel",
219
- Danielle: "Danielle",
220
- Dora: "Dora",
221
- Elin: "Elin",
222
- Emma: "Emma",
223
- Enrique: "Enrique",
224
- Ewa: "Ewa",
225
- Filiz: "Filiz",
226
- Gabrielle: "Gabrielle",
227
- Geraint: "Geraint",
228
- Giorgio: "Giorgio",
229
- Gregory: "Gregory",
230
- Gwyneth: "Gwyneth",
231
- Hala: "Hala",
232
- Hannah: "Hannah",
233
- Hans: "Hans",
234
- Hiujin: "Hiujin",
235
- Ida: "Ida",
236
- Ines: "Ines",
237
- Isabelle: "Isabelle",
238
- Ivy: "Ivy",
239
- Jacek: "Jacek",
240
- Jan: "Jan",
241
- Jasmine: "Jasmine",
242
- Jihye: "Jihye",
243
- Jitka: "Jitka",
244
- Joanna: "Joanna",
245
- Joey: "Joey",
246
- Justin: "Justin",
247
- Kajal: "Kajal",
248
- Karl: "Karl",
249
- Kazuha: "Kazuha",
250
- Kendra: "Kendra",
251
- Kevin: "Kevin",
252
- Kimberly: "Kimberly",
253
- Laura: "Laura",
254
- Lea: "Lea",
255
- Liam: "Liam",
256
- Lisa: "Lisa",
257
- Liv: "Liv",
258
- Lotte: "Lotte",
259
- Lucia: "Lucia",
260
- Lupe: "Lupe",
261
- Mads: "Mads",
262
- Maja: "Maja",
263
- Marlene: "Marlene",
264
- Mathieu: "Mathieu",
265
- Matthew: "Matthew",
266
- Maxim: "Maxim",
267
- Mia: "Mia",
268
- Miguel: "Miguel",
269
- Mizuki: "Mizuki",
270
- Naja: "Naja",
271
- Niamh: "Niamh",
272
- Nicole: "Nicole",
273
- Ola: "Ola",
274
- Olivia: "Olivia",
275
- Pedro: "Pedro",
276
- Penelope: "Penelope",
277
- Raveena: "Raveena",
278
- Remi: "Remi",
279
- Ricardo: "Ricardo",
280
- Ruben: "Ruben",
281
- Russell: "Russell",
282
- Ruth: "Ruth",
283
- Sabrina: "Sabrina",
284
- Salli: "Salli",
285
- Seoyeon: "Seoyeon",
286
- Sergio: "Sergio",
287
- Sofie: "Sofie",
288
- Stephen: "Stephen",
289
- Suvi: "Suvi",
290
- Takumi: "Takumi",
291
- Tatyana: "Tatyana",
292
- Thiago: "Thiago",
293
- Tomoko: "Tomoko",
294
- Vicki: "Vicki",
295
- Vitoria: "Vitoria",
296
- Zayd: "Zayd",
297
- Zeina: "Zeina",
298
- Zhiyu: "Zhiyu",
299
- };
300
144
  let InvalidNextTokenException$1 = class InvalidNextTokenException extends PollyServiceException$1 {
301
145
  name = "InvalidNextTokenException";
302
146
  $fault = "client";
@@ -321,29 +165,6 @@ let EngineNotSupportedException$1 = class EngineNotSupportedException extends Po
321
165
  Object.setPrototypeOf(this, EngineNotSupportedException.prototype);
322
166
  }
323
167
  };
324
- const OutputFormat = {
325
- JSON: "json",
326
- MP3: "mp3",
327
- OGG_OPUS: "ogg_opus",
328
- OGG_VORBIS: "ogg_vorbis",
329
- PCM: "pcm",
330
- };
331
- const SpeechMarkType = {
332
- SENTENCE: "sentence",
333
- SSML: "ssml",
334
- VISEME: "viseme",
335
- WORD: "word",
336
- };
337
- const TaskStatus = {
338
- COMPLETED: "completed",
339
- FAILED: "failed",
340
- IN_PROGRESS: "inProgress",
341
- SCHEDULED: "scheduled",
342
- };
343
- const TextType = {
344
- SSML: "ssml",
345
- TEXT: "text",
346
- };
347
168
  let InvalidTaskIdException$1 = class InvalidTaskIdException extends PollyServiceException$1 {
348
169
  name = "InvalidTaskIdException";
349
170
  $fault = "client";
@@ -1316,6 +1137,186 @@ smithyClient.createAggregatedClient(commands, Polly);
1316
1137
 
1317
1138
  const paginateListSpeechSynthesisTasks = core.createPaginator(PollyClient, ListSpeechSynthesisTasksCommand, "NextToken", "NextToken", "MaxResults");
1318
1139
 
1140
+ const Engine = {
1141
+ GENERATIVE: "generative",
1142
+ LONG_FORM: "long-form",
1143
+ NEURAL: "neural",
1144
+ STANDARD: "standard",
1145
+ };
1146
+ const LanguageCode = {
1147
+ ar_AE: "ar-AE",
1148
+ arb: "arb",
1149
+ ca_ES: "ca-ES",
1150
+ cmn_CN: "cmn-CN",
1151
+ cs_CZ: "cs-CZ",
1152
+ cy_GB: "cy-GB",
1153
+ da_DK: "da-DK",
1154
+ de_AT: "de-AT",
1155
+ de_CH: "de-CH",
1156
+ de_DE: "de-DE",
1157
+ en_AU: "en-AU",
1158
+ en_GB: "en-GB",
1159
+ en_GB_WLS: "en-GB-WLS",
1160
+ en_IE: "en-IE",
1161
+ en_IN: "en-IN",
1162
+ en_NZ: "en-NZ",
1163
+ en_SG: "en-SG",
1164
+ en_US: "en-US",
1165
+ en_ZA: "en-ZA",
1166
+ es_ES: "es-ES",
1167
+ es_MX: "es-MX",
1168
+ es_US: "es-US",
1169
+ fi_FI: "fi-FI",
1170
+ fr_BE: "fr-BE",
1171
+ fr_CA: "fr-CA",
1172
+ fr_FR: "fr-FR",
1173
+ hi_IN: "hi-IN",
1174
+ is_IS: "is-IS",
1175
+ it_IT: "it-IT",
1176
+ ja_JP: "ja-JP",
1177
+ ko_KR: "ko-KR",
1178
+ nb_NO: "nb-NO",
1179
+ nl_BE: "nl-BE",
1180
+ nl_NL: "nl-NL",
1181
+ pl_PL: "pl-PL",
1182
+ pt_BR: "pt-BR",
1183
+ pt_PT: "pt-PT",
1184
+ ro_RO: "ro-RO",
1185
+ ru_RU: "ru-RU",
1186
+ sv_SE: "sv-SE",
1187
+ tr_TR: "tr-TR",
1188
+ yue_CN: "yue-CN",
1189
+ };
1190
+ const Gender = {
1191
+ Female: "Female",
1192
+ Male: "Male",
1193
+ };
1194
+ const VoiceId = {
1195
+ Aditi: "Aditi",
1196
+ Adriano: "Adriano",
1197
+ Amy: "Amy",
1198
+ Andres: "Andres",
1199
+ Aria: "Aria",
1200
+ Arlet: "Arlet",
1201
+ Arthur: "Arthur",
1202
+ Astrid: "Astrid",
1203
+ Ayanda: "Ayanda",
1204
+ Bianca: "Bianca",
1205
+ Brian: "Brian",
1206
+ Burcu: "Burcu",
1207
+ Camila: "Camila",
1208
+ Carla: "Carla",
1209
+ Carmen: "Carmen",
1210
+ Celine: "Celine",
1211
+ Chantal: "Chantal",
1212
+ Conchita: "Conchita",
1213
+ Cristiano: "Cristiano",
1214
+ Daniel: "Daniel",
1215
+ Danielle: "Danielle",
1216
+ Dora: "Dora",
1217
+ Elin: "Elin",
1218
+ Emma: "Emma",
1219
+ Enrique: "Enrique",
1220
+ Ewa: "Ewa",
1221
+ Filiz: "Filiz",
1222
+ Gabrielle: "Gabrielle",
1223
+ Geraint: "Geraint",
1224
+ Giorgio: "Giorgio",
1225
+ Gregory: "Gregory",
1226
+ Gwyneth: "Gwyneth",
1227
+ Hala: "Hala",
1228
+ Hannah: "Hannah",
1229
+ Hans: "Hans",
1230
+ Hiujin: "Hiujin",
1231
+ Ida: "Ida",
1232
+ Ines: "Ines",
1233
+ Isabelle: "Isabelle",
1234
+ Ivy: "Ivy",
1235
+ Jacek: "Jacek",
1236
+ Jan: "Jan",
1237
+ Jasmine: "Jasmine",
1238
+ Jihye: "Jihye",
1239
+ Jitka: "Jitka",
1240
+ Joanna: "Joanna",
1241
+ Joey: "Joey",
1242
+ Justin: "Justin",
1243
+ Kajal: "Kajal",
1244
+ Karl: "Karl",
1245
+ Kazuha: "Kazuha",
1246
+ Kendra: "Kendra",
1247
+ Kevin: "Kevin",
1248
+ Kimberly: "Kimberly",
1249
+ Laura: "Laura",
1250
+ Lea: "Lea",
1251
+ Liam: "Liam",
1252
+ Lisa: "Lisa",
1253
+ Liv: "Liv",
1254
+ Lotte: "Lotte",
1255
+ Lucia: "Lucia",
1256
+ Lupe: "Lupe",
1257
+ Mads: "Mads",
1258
+ Maja: "Maja",
1259
+ Marlene: "Marlene",
1260
+ Mathieu: "Mathieu",
1261
+ Matthew: "Matthew",
1262
+ Maxim: "Maxim",
1263
+ Mia: "Mia",
1264
+ Miguel: "Miguel",
1265
+ Mizuki: "Mizuki",
1266
+ Naja: "Naja",
1267
+ Niamh: "Niamh",
1268
+ Nicole: "Nicole",
1269
+ Ola: "Ola",
1270
+ Olivia: "Olivia",
1271
+ Pedro: "Pedro",
1272
+ Penelope: "Penelope",
1273
+ Raveena: "Raveena",
1274
+ Remi: "Remi",
1275
+ Ricardo: "Ricardo",
1276
+ Ruben: "Ruben",
1277
+ Russell: "Russell",
1278
+ Ruth: "Ruth",
1279
+ Sabrina: "Sabrina",
1280
+ Salli: "Salli",
1281
+ Seoyeon: "Seoyeon",
1282
+ Sergio: "Sergio",
1283
+ Sofie: "Sofie",
1284
+ Stephen: "Stephen",
1285
+ Suvi: "Suvi",
1286
+ Takumi: "Takumi",
1287
+ Tatyana: "Tatyana",
1288
+ Thiago: "Thiago",
1289
+ Tomoko: "Tomoko",
1290
+ Vicki: "Vicki",
1291
+ Vitoria: "Vitoria",
1292
+ Zayd: "Zayd",
1293
+ Zeina: "Zeina",
1294
+ Zhiyu: "Zhiyu",
1295
+ };
1296
+ const OutputFormat = {
1297
+ JSON: "json",
1298
+ MP3: "mp3",
1299
+ OGG_OPUS: "ogg_opus",
1300
+ OGG_VORBIS: "ogg_vorbis",
1301
+ PCM: "pcm",
1302
+ };
1303
+ const SpeechMarkType = {
1304
+ SENTENCE: "sentence",
1305
+ SSML: "ssml",
1306
+ VISEME: "viseme",
1307
+ WORD: "word",
1308
+ };
1309
+ const TaskStatus = {
1310
+ COMPLETED: "completed",
1311
+ FAILED: "failed",
1312
+ IN_PROGRESS: "inProgress",
1313
+ SCHEDULED: "scheduled",
1314
+ };
1315
+ const TextType = {
1316
+ SSML: "ssml",
1317
+ TEXT: "text",
1318
+ };
1319
+
1319
1320
  Object.defineProperty(exports, "$Command", {
1320
1321
  enumerable: true,
1321
1322
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./PollyClient";
2
2
  export * from "./Polly";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { PollyServiceException } from "./models/PollyServiceException";
@@ -0,0 +1,179 @@
1
+ export const Engine = {
2
+ GENERATIVE: "generative",
3
+ LONG_FORM: "long-form",
4
+ NEURAL: "neural",
5
+ STANDARD: "standard",
6
+ };
7
+ export const LanguageCode = {
8
+ ar_AE: "ar-AE",
9
+ arb: "arb",
10
+ ca_ES: "ca-ES",
11
+ cmn_CN: "cmn-CN",
12
+ cs_CZ: "cs-CZ",
13
+ cy_GB: "cy-GB",
14
+ da_DK: "da-DK",
15
+ de_AT: "de-AT",
16
+ de_CH: "de-CH",
17
+ de_DE: "de-DE",
18
+ en_AU: "en-AU",
19
+ en_GB: "en-GB",
20
+ en_GB_WLS: "en-GB-WLS",
21
+ en_IE: "en-IE",
22
+ en_IN: "en-IN",
23
+ en_NZ: "en-NZ",
24
+ en_SG: "en-SG",
25
+ en_US: "en-US",
26
+ en_ZA: "en-ZA",
27
+ es_ES: "es-ES",
28
+ es_MX: "es-MX",
29
+ es_US: "es-US",
30
+ fi_FI: "fi-FI",
31
+ fr_BE: "fr-BE",
32
+ fr_CA: "fr-CA",
33
+ fr_FR: "fr-FR",
34
+ hi_IN: "hi-IN",
35
+ is_IS: "is-IS",
36
+ it_IT: "it-IT",
37
+ ja_JP: "ja-JP",
38
+ ko_KR: "ko-KR",
39
+ nb_NO: "nb-NO",
40
+ nl_BE: "nl-BE",
41
+ nl_NL: "nl-NL",
42
+ pl_PL: "pl-PL",
43
+ pt_BR: "pt-BR",
44
+ pt_PT: "pt-PT",
45
+ ro_RO: "ro-RO",
46
+ ru_RU: "ru-RU",
47
+ sv_SE: "sv-SE",
48
+ tr_TR: "tr-TR",
49
+ yue_CN: "yue-CN",
50
+ };
51
+ export const Gender = {
52
+ Female: "Female",
53
+ Male: "Male",
54
+ };
55
+ export const VoiceId = {
56
+ Aditi: "Aditi",
57
+ Adriano: "Adriano",
58
+ Amy: "Amy",
59
+ Andres: "Andres",
60
+ Aria: "Aria",
61
+ Arlet: "Arlet",
62
+ Arthur: "Arthur",
63
+ Astrid: "Astrid",
64
+ Ayanda: "Ayanda",
65
+ Bianca: "Bianca",
66
+ Brian: "Brian",
67
+ Burcu: "Burcu",
68
+ Camila: "Camila",
69
+ Carla: "Carla",
70
+ Carmen: "Carmen",
71
+ Celine: "Celine",
72
+ Chantal: "Chantal",
73
+ Conchita: "Conchita",
74
+ Cristiano: "Cristiano",
75
+ Daniel: "Daniel",
76
+ Danielle: "Danielle",
77
+ Dora: "Dora",
78
+ Elin: "Elin",
79
+ Emma: "Emma",
80
+ Enrique: "Enrique",
81
+ Ewa: "Ewa",
82
+ Filiz: "Filiz",
83
+ Gabrielle: "Gabrielle",
84
+ Geraint: "Geraint",
85
+ Giorgio: "Giorgio",
86
+ Gregory: "Gregory",
87
+ Gwyneth: "Gwyneth",
88
+ Hala: "Hala",
89
+ Hannah: "Hannah",
90
+ Hans: "Hans",
91
+ Hiujin: "Hiujin",
92
+ Ida: "Ida",
93
+ Ines: "Ines",
94
+ Isabelle: "Isabelle",
95
+ Ivy: "Ivy",
96
+ Jacek: "Jacek",
97
+ Jan: "Jan",
98
+ Jasmine: "Jasmine",
99
+ Jihye: "Jihye",
100
+ Jitka: "Jitka",
101
+ Joanna: "Joanna",
102
+ Joey: "Joey",
103
+ Justin: "Justin",
104
+ Kajal: "Kajal",
105
+ Karl: "Karl",
106
+ Kazuha: "Kazuha",
107
+ Kendra: "Kendra",
108
+ Kevin: "Kevin",
109
+ Kimberly: "Kimberly",
110
+ Laura: "Laura",
111
+ Lea: "Lea",
112
+ Liam: "Liam",
113
+ Lisa: "Lisa",
114
+ Liv: "Liv",
115
+ Lotte: "Lotte",
116
+ Lucia: "Lucia",
117
+ Lupe: "Lupe",
118
+ Mads: "Mads",
119
+ Maja: "Maja",
120
+ Marlene: "Marlene",
121
+ Mathieu: "Mathieu",
122
+ Matthew: "Matthew",
123
+ Maxim: "Maxim",
124
+ Mia: "Mia",
125
+ Miguel: "Miguel",
126
+ Mizuki: "Mizuki",
127
+ Naja: "Naja",
128
+ Niamh: "Niamh",
129
+ Nicole: "Nicole",
130
+ Ola: "Ola",
131
+ Olivia: "Olivia",
132
+ Pedro: "Pedro",
133
+ Penelope: "Penelope",
134
+ Raveena: "Raveena",
135
+ Remi: "Remi",
136
+ Ricardo: "Ricardo",
137
+ Ruben: "Ruben",
138
+ Russell: "Russell",
139
+ Ruth: "Ruth",
140
+ Sabrina: "Sabrina",
141
+ Salli: "Salli",
142
+ Seoyeon: "Seoyeon",
143
+ Sergio: "Sergio",
144
+ Sofie: "Sofie",
145
+ Stephen: "Stephen",
146
+ Suvi: "Suvi",
147
+ Takumi: "Takumi",
148
+ Tatyana: "Tatyana",
149
+ Thiago: "Thiago",
150
+ Tomoko: "Tomoko",
151
+ Vicki: "Vicki",
152
+ Vitoria: "Vitoria",
153
+ Zayd: "Zayd",
154
+ Zeina: "Zeina",
155
+ Zhiyu: "Zhiyu",
156
+ };
157
+ export const OutputFormat = {
158
+ JSON: "json",
159
+ MP3: "mp3",
160
+ OGG_OPUS: "ogg_opus",
161
+ OGG_VORBIS: "ogg_vorbis",
162
+ PCM: "pcm",
163
+ };
164
+ export const SpeechMarkType = {
165
+ SENTENCE: "sentence",
166
+ SSML: "ssml",
167
+ VISEME: "viseme",
168
+ WORD: "word",
169
+ };
170
+ export const TaskStatus = {
171
+ COMPLETED: "completed",
172
+ FAILED: "failed",
173
+ IN_PROGRESS: "inProgress",
174
+ SCHEDULED: "scheduled",
175
+ };
176
+ export const TextType = {
177
+ SSML: "ssml",
178
+ TEXT: "text",
179
+ };