@aws-sdk/client-polly 3.131.0 → 3.141.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DeleteLexiconCommand.js +2 -2
- package/dist-cjs/commands/DescribeVoicesCommand.js +2 -2
- package/dist-cjs/commands/GetLexiconCommand.js +2 -2
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +2 -2
- package/dist-cjs/commands/ListLexiconsCommand.js +2 -2
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +2 -2
- package/dist-cjs/commands/PutLexiconCommand.js +2 -2
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +2 -2
- package/dist-cjs/commands/SynthesizeSpeechCommand.js +2 -2
- package/dist-cjs/models/models_0.js +96 -142
- package/dist-es/commands/DeleteLexiconCommand.js +3 -3
- package/dist-es/commands/DescribeVoicesCommand.js +3 -3
- package/dist-es/commands/GetLexiconCommand.js +3 -3
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +3 -3
- package/dist-es/commands/ListLexiconsCommand.js +3 -3
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +3 -3
- package/dist-es/commands/PutLexiconCommand.js +3 -3
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +3 -3
- package/dist-es/commands/SynthesizeSpeechCommand.js +3 -3
- package/dist-es/models/models_0.js +23 -92
- package/dist-types/models/models_0.d.ts +93 -139
- package/dist-types/ts3.4/models/models_0.d.ts +47 -93
- package/package.json +6 -6
|
@@ -6,16 +6,8 @@ export interface DeleteLexiconInput {
|
|
|
6
6
|
|
|
7
7
|
Name: string | undefined;
|
|
8
8
|
}
|
|
9
|
-
export declare namespace DeleteLexiconInput {
|
|
10
|
-
|
|
11
|
-
const filterSensitiveLog: (obj: DeleteLexiconInput) => any;
|
|
12
|
-
}
|
|
13
9
|
export interface DeleteLexiconOutput {
|
|
14
10
|
}
|
|
15
|
-
export declare namespace DeleteLexiconOutput {
|
|
16
|
-
|
|
17
|
-
const filterSensitiveLog: (obj: DeleteLexiconOutput) => any;
|
|
18
|
-
}
|
|
19
11
|
|
|
20
12
|
export declare class LexiconNotFoundException extends __BaseException {
|
|
21
13
|
readonly name: "LexiconNotFoundException";
|
|
@@ -45,12 +37,8 @@ export interface DescribeVoicesInput {
|
|
|
45
37
|
|
|
46
38
|
NextToken?: string;
|
|
47
39
|
}
|
|
48
|
-
export declare namespace DescribeVoicesInput {
|
|
49
|
-
|
|
50
|
-
const filterSensitiveLog: (obj: DescribeVoicesInput) => any;
|
|
51
|
-
}
|
|
52
40
|
export declare type Gender = "Female" | "Male";
|
|
53
|
-
export declare type VoiceId = "Aditi" | "Amy" | "Aria" | "Arlet" | "Arthur" | "Astrid" | "Ayanda" | "Bianca" | "Brian" | "Camila" | "Carla" | "Carmen" | "Celine" | "Chantal" | "Conchita" | "Cristiano" | "Daniel" | "Dora" | "Emma" | "Enrique" | "Ewa" | "Filiz" | "Gabrielle" | "Geraint" | "Giorgio" | "Gwyneth" | "Hannah" | "Hans" | "Ines" | "Ivy" | "Jacek" | "Jan" | "Joanna" | "Joey" | "Justin" | "Karl" | "Kendra" | "Kevin" | "Kimberly" | "Lea" | "Liam" | "Liv" | "Lotte" | "Lucia" | "Lupe" | "Mads" | "Maja" | "Marlene" | "Mathieu" | "Matthew" | "Maxim" | "Mia" | "Miguel" | "Mizuki" | "Naja" | "Nicole" | "Olivia" | "Pedro" | "Penelope" | "Raveena" | "Ricardo" | "Ruben" | "Russell" | "Salli" | "Seoyeon" | "Takumi" | "Tatyana" | "Vicki" | "Vitoria" | "Zeina" | "Zhiyu";
|
|
41
|
+
export declare type VoiceId = "Aditi" | "Amy" | "Aria" | "Arlet" | "Arthur" | "Astrid" | "Ayanda" | "Bianca" | "Brian" | "Camila" | "Carla" | "Carmen" | "Celine" | "Chantal" | "Conchita" | "Cristiano" | "Daniel" | "Dora" | "Emma" | "Enrique" | "Ewa" | "Filiz" | "Gabrielle" | "Geraint" | "Giorgio" | "Gwyneth" | "Hannah" | "Hans" | "Ines" | "Ivy" | "Jacek" | "Jan" | "Joanna" | "Joey" | "Justin" | "Kajal" | "Karl" | "Kendra" | "Kevin" | "Kimberly" | "Lea" | "Liam" | "Liv" | "Lotte" | "Lucia" | "Lupe" | "Mads" | "Maja" | "Marlene" | "Mathieu" | "Matthew" | "Maxim" | "Mia" | "Miguel" | "Mizuki" | "Naja" | "Nicole" | "Olivia" | "Pedro" | "Penelope" | "Raveena" | "Ricardo" | "Ruben" | "Russell" | "Salli" | "Seoyeon" | "Takumi" | "Tatyana" | "Vicki" | "Vitoria" | "Zeina" | "Zhiyu";
|
|
54
42
|
|
|
55
43
|
export interface Voice {
|
|
56
44
|
|
|
@@ -68,20 +56,12 @@ export interface Voice {
|
|
|
68
56
|
|
|
69
57
|
SupportedEngines?: (Engine | string)[];
|
|
70
58
|
}
|
|
71
|
-
export declare namespace Voice {
|
|
72
|
-
|
|
73
|
-
const filterSensitiveLog: (obj: Voice) => any;
|
|
74
|
-
}
|
|
75
59
|
export interface DescribeVoicesOutput {
|
|
76
60
|
|
|
77
61
|
Voices?: Voice[];
|
|
78
62
|
|
|
79
63
|
NextToken?: string;
|
|
80
64
|
}
|
|
81
|
-
export declare namespace DescribeVoicesOutput {
|
|
82
|
-
|
|
83
|
-
const filterSensitiveLog: (obj: DescribeVoicesOutput) => any;
|
|
84
|
-
}
|
|
85
65
|
|
|
86
66
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
87
67
|
readonly name: "InvalidNextTokenException";
|
|
@@ -100,10 +80,6 @@ export interface GetLexiconInput {
|
|
|
100
80
|
|
|
101
81
|
Name: string | undefined;
|
|
102
82
|
}
|
|
103
|
-
export declare namespace GetLexiconInput {
|
|
104
|
-
|
|
105
|
-
const filterSensitiveLog: (obj: GetLexiconInput) => any;
|
|
106
|
-
}
|
|
107
83
|
|
|
108
84
|
export interface Lexicon {
|
|
109
85
|
|
|
@@ -111,10 +87,6 @@ export interface Lexicon {
|
|
|
111
87
|
|
|
112
88
|
Name?: string;
|
|
113
89
|
}
|
|
114
|
-
export declare namespace Lexicon {
|
|
115
|
-
|
|
116
|
-
const filterSensitiveLog: (obj: Lexicon) => any;
|
|
117
|
-
}
|
|
118
90
|
|
|
119
91
|
export interface LexiconAttributes {
|
|
120
92
|
|
|
@@ -130,28 +102,16 @@ export interface LexiconAttributes {
|
|
|
130
102
|
|
|
131
103
|
Size?: number;
|
|
132
104
|
}
|
|
133
|
-
export declare namespace LexiconAttributes {
|
|
134
|
-
|
|
135
|
-
const filterSensitiveLog: (obj: LexiconAttributes) => any;
|
|
136
|
-
}
|
|
137
105
|
export interface GetLexiconOutput {
|
|
138
106
|
|
|
139
107
|
Lexicon?: Lexicon;
|
|
140
108
|
|
|
141
109
|
LexiconAttributes?: LexiconAttributes;
|
|
142
110
|
}
|
|
143
|
-
export declare namespace GetLexiconOutput {
|
|
144
|
-
|
|
145
|
-
const filterSensitiveLog: (obj: GetLexiconOutput) => any;
|
|
146
|
-
}
|
|
147
111
|
export interface GetSpeechSynthesisTaskInput {
|
|
148
112
|
|
|
149
113
|
TaskId: string | undefined;
|
|
150
114
|
}
|
|
151
|
-
export declare namespace GetSpeechSynthesisTaskInput {
|
|
152
|
-
|
|
153
|
-
const filterSensitiveLog: (obj: GetSpeechSynthesisTaskInput) => any;
|
|
154
|
-
}
|
|
155
115
|
export declare enum OutputFormat {
|
|
156
116
|
JSON = "json",
|
|
157
117
|
MP3 = "mp3",
|
|
@@ -207,18 +167,10 @@ export interface SynthesisTask {
|
|
|
207
167
|
|
|
208
168
|
LanguageCode?: LanguageCode | string;
|
|
209
169
|
}
|
|
210
|
-
export declare namespace SynthesisTask {
|
|
211
|
-
|
|
212
|
-
const filterSensitiveLog: (obj: SynthesisTask) => any;
|
|
213
|
-
}
|
|
214
170
|
export interface GetSpeechSynthesisTaskOutput {
|
|
215
171
|
|
|
216
172
|
SynthesisTask?: SynthesisTask;
|
|
217
173
|
}
|
|
218
|
-
export declare namespace GetSpeechSynthesisTaskOutput {
|
|
219
|
-
|
|
220
|
-
const filterSensitiveLog: (obj: GetSpeechSynthesisTaskOutput) => any;
|
|
221
|
-
}
|
|
222
174
|
|
|
223
175
|
export declare class InvalidTaskIdException extends __BaseException {
|
|
224
176
|
readonly name: "InvalidTaskIdException";
|
|
@@ -289,10 +241,6 @@ export interface LexiconDescription {
|
|
|
289
241
|
|
|
290
242
|
Attributes?: LexiconAttributes;
|
|
291
243
|
}
|
|
292
|
-
export declare namespace LexiconDescription {
|
|
293
|
-
|
|
294
|
-
const filterSensitiveLog: (obj: LexiconDescription) => any;
|
|
295
|
-
}
|
|
296
244
|
|
|
297
245
|
export declare class LexiconSizeExceededException extends __BaseException {
|
|
298
246
|
readonly name: "LexiconSizeExceededException";
|
|
@@ -304,20 +252,12 @@ export interface ListLexiconsInput {
|
|
|
304
252
|
|
|
305
253
|
NextToken?: string;
|
|
306
254
|
}
|
|
307
|
-
export declare namespace ListLexiconsInput {
|
|
308
|
-
|
|
309
|
-
const filterSensitiveLog: (obj: ListLexiconsInput) => any;
|
|
310
|
-
}
|
|
311
255
|
export interface ListLexiconsOutput {
|
|
312
256
|
|
|
313
257
|
Lexicons?: LexiconDescription[];
|
|
314
258
|
|
|
315
259
|
NextToken?: string;
|
|
316
260
|
}
|
|
317
|
-
export declare namespace ListLexiconsOutput {
|
|
318
|
-
|
|
319
|
-
const filterSensitiveLog: (obj: ListLexiconsOutput) => any;
|
|
320
|
-
}
|
|
321
261
|
export interface ListSpeechSynthesisTasksInput {
|
|
322
262
|
|
|
323
263
|
MaxResults?: number;
|
|
@@ -326,20 +266,12 @@ export interface ListSpeechSynthesisTasksInput {
|
|
|
326
266
|
|
|
327
267
|
Status?: TaskStatus | string;
|
|
328
268
|
}
|
|
329
|
-
export declare namespace ListSpeechSynthesisTasksInput {
|
|
330
|
-
|
|
331
|
-
const filterSensitiveLog: (obj: ListSpeechSynthesisTasksInput) => any;
|
|
332
|
-
}
|
|
333
269
|
export interface ListSpeechSynthesisTasksOutput {
|
|
334
270
|
|
|
335
271
|
NextToken?: string;
|
|
336
272
|
|
|
337
273
|
SynthesisTasks?: SynthesisTask[];
|
|
338
274
|
}
|
|
339
|
-
export declare namespace ListSpeechSynthesisTasksOutput {
|
|
340
|
-
|
|
341
|
-
const filterSensitiveLog: (obj: ListSpeechSynthesisTasksOutput) => any;
|
|
342
|
-
}
|
|
343
275
|
|
|
344
276
|
export declare class MarksNotSupportedForFormatException extends __BaseException {
|
|
345
277
|
readonly name: "MarksNotSupportedForFormatException";
|
|
@@ -367,16 +299,8 @@ export interface PutLexiconInput {
|
|
|
367
299
|
|
|
368
300
|
Content: string | undefined;
|
|
369
301
|
}
|
|
370
|
-
export declare namespace PutLexiconInput {
|
|
371
|
-
|
|
372
|
-
const filterSensitiveLog: (obj: PutLexiconInput) => any;
|
|
373
|
-
}
|
|
374
302
|
export interface PutLexiconOutput {
|
|
375
303
|
}
|
|
376
|
-
export declare namespace PutLexiconOutput {
|
|
377
|
-
|
|
378
|
-
const filterSensitiveLog: (obj: PutLexiconOutput) => any;
|
|
379
|
-
}
|
|
380
304
|
|
|
381
305
|
export declare class UnsupportedPlsAlphabetException extends __BaseException {
|
|
382
306
|
readonly name: "UnsupportedPlsAlphabetException";
|
|
@@ -424,18 +348,10 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
424
348
|
|
|
425
349
|
VoiceId: VoiceId | string | undefined;
|
|
426
350
|
}
|
|
427
|
-
export declare namespace StartSpeechSynthesisTaskInput {
|
|
428
|
-
|
|
429
|
-
const filterSensitiveLog: (obj: StartSpeechSynthesisTaskInput) => any;
|
|
430
|
-
}
|
|
431
351
|
export interface StartSpeechSynthesisTaskOutput {
|
|
432
352
|
|
|
433
353
|
SynthesisTask?: SynthesisTask;
|
|
434
354
|
}
|
|
435
|
-
export declare namespace StartSpeechSynthesisTaskOutput {
|
|
436
|
-
|
|
437
|
-
const filterSensitiveLog: (obj: StartSpeechSynthesisTaskOutput) => any;
|
|
438
|
-
}
|
|
439
355
|
|
|
440
356
|
export declare class TextLengthExceededException extends __BaseException {
|
|
441
357
|
readonly name: "TextLengthExceededException";
|
|
@@ -463,10 +379,6 @@ export interface SynthesizeSpeechInput {
|
|
|
463
379
|
|
|
464
380
|
VoiceId: VoiceId | string | undefined;
|
|
465
381
|
}
|
|
466
|
-
export declare namespace SynthesizeSpeechInput {
|
|
467
|
-
|
|
468
|
-
const filterSensitiveLog: (obj: SynthesizeSpeechInput) => any;
|
|
469
|
-
}
|
|
470
382
|
export interface SynthesizeSpeechOutput {
|
|
471
383
|
|
|
472
384
|
AudioStream?: Readable | ReadableStream | Blob;
|
|
@@ -475,7 +387,49 @@ export interface SynthesizeSpeechOutput {
|
|
|
475
387
|
|
|
476
388
|
RequestCharacters?: number;
|
|
477
389
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
390
|
+
|
|
391
|
+
export declare const DeleteLexiconInputFilterSensitiveLog: (obj: DeleteLexiconInput) => any;
|
|
392
|
+
|
|
393
|
+
export declare const DeleteLexiconOutputFilterSensitiveLog: (obj: DeleteLexiconOutput) => any;
|
|
394
|
+
|
|
395
|
+
export declare const DescribeVoicesInputFilterSensitiveLog: (obj: DescribeVoicesInput) => any;
|
|
396
|
+
|
|
397
|
+
export declare const VoiceFilterSensitiveLog: (obj: Voice) => any;
|
|
398
|
+
|
|
399
|
+
export declare const DescribeVoicesOutputFilterSensitiveLog: (obj: DescribeVoicesOutput) => any;
|
|
400
|
+
|
|
401
|
+
export declare const GetLexiconInputFilterSensitiveLog: (obj: GetLexiconInput) => any;
|
|
402
|
+
|
|
403
|
+
export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
|
|
404
|
+
|
|
405
|
+
export declare const LexiconAttributesFilterSensitiveLog: (obj: LexiconAttributes) => any;
|
|
406
|
+
|
|
407
|
+
export declare const GetLexiconOutputFilterSensitiveLog: (obj: GetLexiconOutput) => any;
|
|
408
|
+
|
|
409
|
+
export declare const GetSpeechSynthesisTaskInputFilterSensitiveLog: (obj: GetSpeechSynthesisTaskInput) => any;
|
|
410
|
+
|
|
411
|
+
export declare const SynthesisTaskFilterSensitiveLog: (obj: SynthesisTask) => any;
|
|
412
|
+
|
|
413
|
+
export declare const GetSpeechSynthesisTaskOutputFilterSensitiveLog: (obj: GetSpeechSynthesisTaskOutput) => any;
|
|
414
|
+
|
|
415
|
+
export declare const LexiconDescriptionFilterSensitiveLog: (obj: LexiconDescription) => any;
|
|
416
|
+
|
|
417
|
+
export declare const ListLexiconsInputFilterSensitiveLog: (obj: ListLexiconsInput) => any;
|
|
418
|
+
|
|
419
|
+
export declare const ListLexiconsOutputFilterSensitiveLog: (obj: ListLexiconsOutput) => any;
|
|
420
|
+
|
|
421
|
+
export declare const ListSpeechSynthesisTasksInputFilterSensitiveLog: (obj: ListSpeechSynthesisTasksInput) => any;
|
|
422
|
+
|
|
423
|
+
export declare const ListSpeechSynthesisTasksOutputFilterSensitiveLog: (obj: ListSpeechSynthesisTasksOutput) => any;
|
|
424
|
+
|
|
425
|
+
export declare const PutLexiconInputFilterSensitiveLog: (obj: PutLexiconInput) => any;
|
|
426
|
+
|
|
427
|
+
export declare const PutLexiconOutputFilterSensitiveLog: (obj: PutLexiconOutput) => any;
|
|
428
|
+
|
|
429
|
+
export declare const StartSpeechSynthesisTaskInputFilterSensitiveLog: (obj: StartSpeechSynthesisTaskInput) => any;
|
|
430
|
+
|
|
431
|
+
export declare const StartSpeechSynthesisTaskOutputFilterSensitiveLog: (obj: StartSpeechSynthesisTaskOutput) => any;
|
|
432
|
+
|
|
433
|
+
export declare const SynthesizeSpeechInputFilterSensitiveLog: (obj: SynthesizeSpeechInput) => any;
|
|
434
|
+
|
|
435
|
+
export declare const SynthesizeSpeechOutputFilterSensitiveLog: (obj: SynthesizeSpeechOutput) => any;
|
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.141.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.141.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.141.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|