@aws-sdk/client-polly 3.296.0 → 3.298.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/commands/DeleteLexiconCommand.js +2 -3
- package/dist-cjs/commands/DescribeVoicesCommand.js +2 -3
- package/dist-cjs/commands/GetLexiconCommand.js +1 -1
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +2 -3
- package/dist-cjs/commands/ListLexiconsCommand.js +2 -3
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +2 -3
- package/dist-cjs/commands/PutLexiconCommand.js +1 -1
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +2 -3
- package/dist-cjs/commands/SynthesizeSpeechCommand.js +1 -1
- package/dist-cjs/models/models_0.js +1 -78
- package/dist-es/commands/DeleteLexiconCommand.js +2 -3
- package/dist-es/commands/DescribeVoicesCommand.js +2 -3
- package/dist-es/commands/GetLexiconCommand.js +2 -2
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +2 -3
- package/dist-es/commands/ListLexiconsCommand.js +2 -3
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +2 -3
- package/dist-es/commands/PutLexiconCommand.js +2 -2
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +2 -3
- package/dist-es/commands/SynthesizeSpeechCommand.js +2 -2
- package/dist-es/models/models_0.js +0 -57
- package/dist-types/Polly.d.ts +10 -0
- package/dist-types/PollyClient.d.ts +24 -4
- package/dist-types/commands/DeleteLexiconCommand.d.ts +16 -0
- package/dist-types/commands/DescribeVoicesCommand.d.ts +16 -0
- package/dist-types/commands/GetLexiconCommand.d.ts +16 -0
- package/dist-types/commands/GetSpeechSynthesisTaskCommand.d.ts +16 -0
- package/dist-types/commands/ListLexiconsCommand.d.ts +16 -0
- package/dist-types/commands/ListSpeechSynthesisTasksCommand.d.ts +16 -0
- package/dist-types/commands/PutLexiconCommand.d.ts +16 -0
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +16 -0
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +16 -0
- package/dist-types/models/PollyServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +105 -77
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListSpeechSynthesisTasksPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -55
- package/package.json +4 -3
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
4
|
import { PollyServiceException as __BaseException } from "./PollyServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
5
8
|
export interface DeleteLexiconInput {
|
|
6
9
|
/**
|
|
7
10
|
* <p>The name of the lexicon to delete. Must be an existing lexicon in
|
|
@@ -9,9 +12,13 @@ export interface DeleteLexiconInput {
|
|
|
9
12
|
*/
|
|
10
13
|
Name: string | undefined;
|
|
11
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
12
18
|
export interface DeleteLexiconOutput {
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
21
|
+
* @public
|
|
15
22
|
* <p>Amazon Polly can't find the specified lexicon. This could be caused by a
|
|
16
23
|
* lexicon that is missing, its name is misspelled or specifying a lexicon
|
|
17
24
|
* that is in a different region.</p>
|
|
@@ -27,6 +34,7 @@ export declare class LexiconNotFoundException extends __BaseException {
|
|
|
27
34
|
constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
|
|
28
35
|
}
|
|
29
36
|
/**
|
|
37
|
+
* @public
|
|
30
38
|
* <p>An unknown condition has caused a service failure.</p>
|
|
31
39
|
*/
|
|
32
40
|
export declare class ServiceFailureException extends __BaseException {
|
|
@@ -37,10 +45,16 @@ export declare class ServiceFailureException extends __BaseException {
|
|
|
37
45
|
*/
|
|
38
46
|
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
39
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
40
51
|
export declare enum Engine {
|
|
41
52
|
NEURAL = "neural",
|
|
42
53
|
STANDARD = "standard"
|
|
43
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
44
58
|
export declare enum LanguageCode {
|
|
45
59
|
ar_AE = "ar-AE",
|
|
46
60
|
arb = "arb",
|
|
@@ -79,6 +93,9 @@ export declare enum LanguageCode {
|
|
|
79
93
|
tr_TR = "tr-TR",
|
|
80
94
|
yue_CN = "yue-CN"
|
|
81
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
82
99
|
export interface DescribeVoicesInput {
|
|
83
100
|
/**
|
|
84
101
|
* <p>Specifies the engine (<code>standard</code> or <code>neural</code>)
|
|
@@ -108,10 +125,16 @@ export interface DescribeVoicesInput {
|
|
|
108
125
|
*/
|
|
109
126
|
NextToken?: string;
|
|
110
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
111
131
|
export declare enum Gender {
|
|
112
132
|
Female = "Female",
|
|
113
133
|
Male = "Male"
|
|
114
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
115
138
|
export declare enum VoiceId {
|
|
116
139
|
Aditi = "Aditi",
|
|
117
140
|
Adriano = "Adriano",
|
|
@@ -203,6 +226,7 @@ export declare enum VoiceId {
|
|
|
203
226
|
Zhiyu = "Zhiyu"
|
|
204
227
|
}
|
|
205
228
|
/**
|
|
229
|
+
* @public
|
|
206
230
|
* <p>Description of the voice.</p>
|
|
207
231
|
*/
|
|
208
232
|
export interface Voice {
|
|
@@ -244,6 +268,9 @@ export interface Voice {
|
|
|
244
268
|
*/
|
|
245
269
|
SupportedEngines?: (Engine | string)[];
|
|
246
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
247
274
|
export interface DescribeVoicesOutput {
|
|
248
275
|
/**
|
|
249
276
|
* <p>A list of voices with their properties.</p>
|
|
@@ -257,6 +284,7 @@ export interface DescribeVoicesOutput {
|
|
|
257
284
|
NextToken?: string;
|
|
258
285
|
}
|
|
259
286
|
/**
|
|
287
|
+
* @public
|
|
260
288
|
* <p>The NextToken is invalid. Verify that it's spelled correctly, and
|
|
261
289
|
* then try again.</p>
|
|
262
290
|
*/
|
|
@@ -269,6 +297,7 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
269
297
|
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
270
298
|
}
|
|
271
299
|
/**
|
|
300
|
+
* @public
|
|
272
301
|
* <p>This engine is not compatible with the voice that you have designated.
|
|
273
302
|
* Choose a new voice that is compatible with the engine or change the engine
|
|
274
303
|
* and restart the operation.</p>
|
|
@@ -281,6 +310,9 @@ export declare class EngineNotSupportedException extends __BaseException {
|
|
|
281
310
|
*/
|
|
282
311
|
constructor(opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>);
|
|
283
312
|
}
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
284
316
|
export interface GetLexiconInput {
|
|
285
317
|
/**
|
|
286
318
|
* <p>Name of the lexicon.</p>
|
|
@@ -288,6 +320,7 @@ export interface GetLexiconInput {
|
|
|
288
320
|
Name: string | undefined;
|
|
289
321
|
}
|
|
290
322
|
/**
|
|
323
|
+
* @public
|
|
291
324
|
* <p>Provides lexicon name and lexicon content in string format. For
|
|
292
325
|
* more information, see <a href="https://www.w3.org/TR/pronunciation-lexicon/">Pronunciation Lexicon
|
|
293
326
|
* Specification (PLS) Version 1.0</a>.</p>
|
|
@@ -304,6 +337,7 @@ export interface Lexicon {
|
|
|
304
337
|
Name?: string;
|
|
305
338
|
}
|
|
306
339
|
/**
|
|
340
|
+
* @public
|
|
307
341
|
* <p>Contains metadata describing the lexicon such as the number of
|
|
308
342
|
* lexemes, language code, and so on. For more information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html">Managing Lexicons</a>.</p>
|
|
309
343
|
*/
|
|
@@ -336,6 +370,9 @@ export interface LexiconAttributes {
|
|
|
336
370
|
*/
|
|
337
371
|
Size?: number;
|
|
338
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
339
376
|
export interface GetLexiconOutput {
|
|
340
377
|
/**
|
|
341
378
|
* <p>Lexicon object that provides name and the string content of the
|
|
@@ -349,35 +386,51 @@ export interface GetLexiconOutput {
|
|
|
349
386
|
*/
|
|
350
387
|
LexiconAttributes?: LexiconAttributes;
|
|
351
388
|
}
|
|
389
|
+
/**
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
352
392
|
export interface GetSpeechSynthesisTaskInput {
|
|
353
393
|
/**
|
|
354
394
|
* <p>The Amazon Polly generated identifier for a speech synthesis task.</p>
|
|
355
395
|
*/
|
|
356
396
|
TaskId: string | undefined;
|
|
357
397
|
}
|
|
398
|
+
/**
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
358
401
|
export declare enum OutputFormat {
|
|
359
402
|
JSON = "json",
|
|
360
403
|
MP3 = "mp3",
|
|
361
404
|
OGG_VORBIS = "ogg_vorbis",
|
|
362
405
|
PCM = "pcm"
|
|
363
406
|
}
|
|
407
|
+
/**
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
364
410
|
export declare enum SpeechMarkType {
|
|
365
411
|
SENTENCE = "sentence",
|
|
366
412
|
SSML = "ssml",
|
|
367
413
|
VISEME = "viseme",
|
|
368
414
|
WORD = "word"
|
|
369
415
|
}
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
370
419
|
export declare enum TaskStatus {
|
|
371
420
|
COMPLETED = "completed",
|
|
372
421
|
FAILED = "failed",
|
|
373
422
|
IN_PROGRESS = "inProgress",
|
|
374
423
|
SCHEDULED = "scheduled"
|
|
375
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
376
428
|
export declare enum TextType {
|
|
377
429
|
SSML = "ssml",
|
|
378
430
|
TEXT = "text"
|
|
379
431
|
}
|
|
380
432
|
/**
|
|
433
|
+
* @public
|
|
381
434
|
* <p>SynthesisTask object that provides information about a speech
|
|
382
435
|
* synthesis task.</p>
|
|
383
436
|
*/
|
|
@@ -465,6 +518,9 @@ export interface SynthesisTask {
|
|
|
465
518
|
*/
|
|
466
519
|
LanguageCode?: LanguageCode | string;
|
|
467
520
|
}
|
|
521
|
+
/**
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
468
524
|
export interface GetSpeechSynthesisTaskOutput {
|
|
469
525
|
/**
|
|
470
526
|
* <p>SynthesisTask object that provides information from the requested
|
|
@@ -474,6 +530,7 @@ export interface GetSpeechSynthesisTaskOutput {
|
|
|
474
530
|
SynthesisTask?: SynthesisTask;
|
|
475
531
|
}
|
|
476
532
|
/**
|
|
533
|
+
* @public
|
|
477
534
|
* <p>The provided Task ID is not valid. Please provide a valid Task ID and
|
|
478
535
|
* try again.</p>
|
|
479
536
|
*/
|
|
@@ -486,6 +543,7 @@ export declare class InvalidTaskIdException extends __BaseException {
|
|
|
486
543
|
constructor(opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>);
|
|
487
544
|
}
|
|
488
545
|
/**
|
|
546
|
+
* @public
|
|
489
547
|
* <p>The Speech Synthesis task with requested Task ID cannot be
|
|
490
548
|
* found.</p>
|
|
491
549
|
*/
|
|
@@ -498,6 +556,7 @@ export declare class SynthesisTaskNotFoundException extends __BaseException {
|
|
|
498
556
|
constructor(opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>);
|
|
499
557
|
}
|
|
500
558
|
/**
|
|
559
|
+
* @public
|
|
501
560
|
* <p>Amazon Polly can't find the specified lexicon. Verify that the lexicon's
|
|
502
561
|
* name is spelled correctly, and then try again.</p>
|
|
503
562
|
*/
|
|
@@ -510,6 +569,7 @@ export declare class InvalidLexiconException extends __BaseException {
|
|
|
510
569
|
constructor(opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>);
|
|
511
570
|
}
|
|
512
571
|
/**
|
|
572
|
+
* @public
|
|
513
573
|
* <p>The provided Amazon S3 bucket name is invalid. Please check your input
|
|
514
574
|
* with S3 bucket naming requirements and try again.</p>
|
|
515
575
|
*/
|
|
@@ -522,6 +582,7 @@ export declare class InvalidS3BucketException extends __BaseException {
|
|
|
522
582
|
constructor(opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>);
|
|
523
583
|
}
|
|
524
584
|
/**
|
|
585
|
+
* @public
|
|
525
586
|
* <p>The provided Amazon S3 key prefix is invalid. Please provide a valid
|
|
526
587
|
* S3 object key name.</p>
|
|
527
588
|
*/
|
|
@@ -534,6 +595,7 @@ export declare class InvalidS3KeyException extends __BaseException {
|
|
|
534
595
|
constructor(opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>);
|
|
535
596
|
}
|
|
536
597
|
/**
|
|
598
|
+
* @public
|
|
537
599
|
* <p>The specified sample rate is not valid.</p>
|
|
538
600
|
*/
|
|
539
601
|
export declare class InvalidSampleRateException extends __BaseException {
|
|
@@ -545,6 +607,7 @@ export declare class InvalidSampleRateException extends __BaseException {
|
|
|
545
607
|
constructor(opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>);
|
|
546
608
|
}
|
|
547
609
|
/**
|
|
610
|
+
* @public
|
|
548
611
|
* <p>The provided SNS topic ARN is invalid. Please provide a valid SNS
|
|
549
612
|
* topic ARN and try again.</p>
|
|
550
613
|
*/
|
|
@@ -557,6 +620,7 @@ export declare class InvalidSnsTopicArnException extends __BaseException {
|
|
|
557
620
|
constructor(opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>);
|
|
558
621
|
}
|
|
559
622
|
/**
|
|
623
|
+
* @public
|
|
560
624
|
* <p>The SSML you provided is invalid. Verify the SSML syntax, spelling
|
|
561
625
|
* of tags and values, and then try again.</p>
|
|
562
626
|
*/
|
|
@@ -569,6 +633,7 @@ export declare class InvalidSsmlException extends __BaseException {
|
|
|
569
633
|
constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
|
|
570
634
|
}
|
|
571
635
|
/**
|
|
636
|
+
* @public
|
|
572
637
|
* <p>The language specified is not currently supported by Amazon Polly in this
|
|
573
638
|
* capacity.</p>
|
|
574
639
|
*/
|
|
@@ -581,6 +646,7 @@ export declare class LanguageNotSupportedException extends __BaseException {
|
|
|
581
646
|
constructor(opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>);
|
|
582
647
|
}
|
|
583
648
|
/**
|
|
649
|
+
* @public
|
|
584
650
|
* <p>Describes the content of the lexicon.</p>
|
|
585
651
|
*/
|
|
586
652
|
export interface LexiconDescription {
|
|
@@ -594,6 +660,7 @@ export interface LexiconDescription {
|
|
|
594
660
|
Attributes?: LexiconAttributes;
|
|
595
661
|
}
|
|
596
662
|
/**
|
|
663
|
+
* @public
|
|
597
664
|
* <p>The maximum size of the specified lexicon would be exceeded by this
|
|
598
665
|
* operation.</p>
|
|
599
666
|
*/
|
|
@@ -605,6 +672,9 @@ export declare class LexiconSizeExceededException extends __BaseException {
|
|
|
605
672
|
*/
|
|
606
673
|
constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
|
|
607
674
|
}
|
|
675
|
+
/**
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
608
678
|
export interface ListLexiconsInput {
|
|
609
679
|
/**
|
|
610
680
|
* <p>An opaque pagination token returned from previous
|
|
@@ -613,6 +683,9 @@ export interface ListLexiconsInput {
|
|
|
613
683
|
*/
|
|
614
684
|
NextToken?: string;
|
|
615
685
|
}
|
|
686
|
+
/**
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
616
689
|
export interface ListLexiconsOutput {
|
|
617
690
|
/**
|
|
618
691
|
* <p>A list of lexicon names and attributes.</p>
|
|
@@ -625,6 +698,9 @@ export interface ListLexiconsOutput {
|
|
|
625
698
|
*/
|
|
626
699
|
NextToken?: string;
|
|
627
700
|
}
|
|
701
|
+
/**
|
|
702
|
+
* @public
|
|
703
|
+
*/
|
|
628
704
|
export interface ListSpeechSynthesisTasksInput {
|
|
629
705
|
/**
|
|
630
706
|
* <p>Maximum number of speech synthesis tasks returned in a List
|
|
@@ -642,6 +718,9 @@ export interface ListSpeechSynthesisTasksInput {
|
|
|
642
718
|
*/
|
|
643
719
|
Status?: TaskStatus | string;
|
|
644
720
|
}
|
|
721
|
+
/**
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
645
724
|
export interface ListSpeechSynthesisTasksOutput {
|
|
646
725
|
/**
|
|
647
726
|
* <p>An opaque pagination token returned from the previous List operation
|
|
@@ -657,6 +736,7 @@ export interface ListSpeechSynthesisTasksOutput {
|
|
|
657
736
|
SynthesisTasks?: SynthesisTask[];
|
|
658
737
|
}
|
|
659
738
|
/**
|
|
739
|
+
* @public
|
|
660
740
|
* <p>Speech marks are not supported for the <code>OutputFormat</code>
|
|
661
741
|
* selected. Speech marks are only available for content in <code>json</code>
|
|
662
742
|
* format.</p>
|
|
@@ -670,6 +750,7 @@ export declare class MarksNotSupportedForFormatException extends __BaseException
|
|
|
670
750
|
constructor(opts: __ExceptionOptionType<MarksNotSupportedForFormatException, __BaseException>);
|
|
671
751
|
}
|
|
672
752
|
/**
|
|
753
|
+
* @public
|
|
673
754
|
* <p>The maximum size of the lexeme would be exceeded by this
|
|
674
755
|
* operation.</p>
|
|
675
756
|
*/
|
|
@@ -682,6 +763,7 @@ export declare class MaxLexemeLengthExceededException extends __BaseException {
|
|
|
682
763
|
constructor(opts: __ExceptionOptionType<MaxLexemeLengthExceededException, __BaseException>);
|
|
683
764
|
}
|
|
684
765
|
/**
|
|
766
|
+
* @public
|
|
685
767
|
* <p>The maximum number of lexicons would be exceeded by this
|
|
686
768
|
* operation.</p>
|
|
687
769
|
*/
|
|
@@ -693,10 +775,13 @@ export declare class MaxLexiconsNumberExceededException extends __BaseException
|
|
|
693
775
|
*/
|
|
694
776
|
constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
|
|
695
777
|
}
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
696
781
|
export interface PutLexiconInput {
|
|
697
782
|
/**
|
|
698
783
|
* <p>Name of the lexicon. The name must follow the regular express
|
|
699
|
-
* format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive
|
|
784
|
+
* format [0-9A-Za-z]\{1,20\}. That is, the name is a case-sensitive
|
|
700
785
|
* alphanumeric string up to 20 characters long. </p>
|
|
701
786
|
*/
|
|
702
787
|
Name: string | undefined;
|
|
@@ -705,9 +790,13 @@ export interface PutLexiconInput {
|
|
|
705
790
|
*/
|
|
706
791
|
Content: string | undefined;
|
|
707
792
|
}
|
|
793
|
+
/**
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
708
796
|
export interface PutLexiconOutput {
|
|
709
797
|
}
|
|
710
798
|
/**
|
|
799
|
+
* @public
|
|
711
800
|
* <p>The alphabet specified by the lexicon is not a supported alphabet.
|
|
712
801
|
* Valid values are <code>x-sampa</code> and <code>ipa</code>.</p>
|
|
713
802
|
*/
|
|
@@ -720,6 +809,7 @@ export declare class UnsupportedPlsAlphabetException extends __BaseException {
|
|
|
720
809
|
constructor(opts: __ExceptionOptionType<UnsupportedPlsAlphabetException, __BaseException>);
|
|
721
810
|
}
|
|
722
811
|
/**
|
|
812
|
+
* @public
|
|
723
813
|
* <p>The language specified in the lexicon is unsupported. For a list of
|
|
724
814
|
* supported languages, see <a href="https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html">Lexicon Attributes</a>.</p>
|
|
725
815
|
*/
|
|
@@ -732,6 +822,7 @@ export declare class UnsupportedPlsLanguageException extends __BaseException {
|
|
|
732
822
|
constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
|
|
733
823
|
}
|
|
734
824
|
/**
|
|
825
|
+
* @public
|
|
735
826
|
* <p>SSML speech marks are not supported for plain text-type
|
|
736
827
|
* input.</p>
|
|
737
828
|
*/
|
|
@@ -743,6 +834,9 @@ export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseExc
|
|
|
743
834
|
*/
|
|
744
835
|
constructor(opts: __ExceptionOptionType<SsmlMarksNotSupportedForTextTypeException, __BaseException>);
|
|
745
836
|
}
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
746
840
|
export interface StartSpeechSynthesisTaskInput {
|
|
747
841
|
/**
|
|
748
842
|
* <p>Specifies the engine (<code>standard</code> or <code>neural</code>)
|
|
@@ -815,6 +909,9 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
815
909
|
*/
|
|
816
910
|
VoiceId: VoiceId | string | undefined;
|
|
817
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
818
915
|
export interface StartSpeechSynthesisTaskOutput {
|
|
819
916
|
/**
|
|
820
917
|
* <p>SynthesisTask object that provides information and attributes about a
|
|
@@ -823,6 +920,7 @@ export interface StartSpeechSynthesisTaskOutput {
|
|
|
823
920
|
SynthesisTask?: SynthesisTask;
|
|
824
921
|
}
|
|
825
922
|
/**
|
|
923
|
+
* @public
|
|
826
924
|
* <p>The value of the "Text" parameter is longer than the accepted
|
|
827
925
|
* limits. For the <code>SynthesizeSpeech</code> API, the limit for input
|
|
828
926
|
* text is a maximum of 6000 characters total, of which no more than 3000 can
|
|
@@ -839,6 +937,9 @@ export declare class TextLengthExceededException extends __BaseException {
|
|
|
839
937
|
*/
|
|
840
938
|
constructor(opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>);
|
|
841
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
842
943
|
export interface SynthesizeSpeechInput {
|
|
843
944
|
/**
|
|
844
945
|
* <p>Specifies the engine (<code>standard</code> or <code>neural</code>)
|
|
@@ -922,6 +1023,9 @@ export interface SynthesizeSpeechInput {
|
|
|
922
1023
|
*/
|
|
923
1024
|
VoiceId: VoiceId | string | undefined;
|
|
924
1025
|
}
|
|
1026
|
+
/**
|
|
1027
|
+
* @public
|
|
1028
|
+
*/
|
|
925
1029
|
export interface SynthesizeSpeechOutput {
|
|
926
1030
|
/**
|
|
927
1031
|
* <p> Stream containing the synthesized speech. </p>
|
|
@@ -961,94 +1065,18 @@ export interface SynthesizeSpeechOutput {
|
|
|
961
1065
|
*/
|
|
962
1066
|
RequestCharacters?: number;
|
|
963
1067
|
}
|
|
964
|
-
/**
|
|
965
|
-
* @internal
|
|
966
|
-
*/
|
|
967
|
-
export declare const DeleteLexiconInputFilterSensitiveLog: (obj: DeleteLexiconInput) => any;
|
|
968
|
-
/**
|
|
969
|
-
* @internal
|
|
970
|
-
*/
|
|
971
|
-
export declare const DeleteLexiconOutputFilterSensitiveLog: (obj: DeleteLexiconOutput) => any;
|
|
972
|
-
/**
|
|
973
|
-
* @internal
|
|
974
|
-
*/
|
|
975
|
-
export declare const DescribeVoicesInputFilterSensitiveLog: (obj: DescribeVoicesInput) => any;
|
|
976
|
-
/**
|
|
977
|
-
* @internal
|
|
978
|
-
*/
|
|
979
|
-
export declare const VoiceFilterSensitiveLog: (obj: Voice) => any;
|
|
980
|
-
/**
|
|
981
|
-
* @internal
|
|
982
|
-
*/
|
|
983
|
-
export declare const DescribeVoicesOutputFilterSensitiveLog: (obj: DescribeVoicesOutput) => any;
|
|
984
|
-
/**
|
|
985
|
-
* @internal
|
|
986
|
-
*/
|
|
987
|
-
export declare const GetLexiconInputFilterSensitiveLog: (obj: GetLexiconInput) => any;
|
|
988
1068
|
/**
|
|
989
1069
|
* @internal
|
|
990
1070
|
*/
|
|
991
1071
|
export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
|
|
992
|
-
/**
|
|
993
|
-
* @internal
|
|
994
|
-
*/
|
|
995
|
-
export declare const LexiconAttributesFilterSensitiveLog: (obj: LexiconAttributes) => any;
|
|
996
1072
|
/**
|
|
997
1073
|
* @internal
|
|
998
1074
|
*/
|
|
999
1075
|
export declare const GetLexiconOutputFilterSensitiveLog: (obj: GetLexiconOutput) => any;
|
|
1000
|
-
/**
|
|
1001
|
-
* @internal
|
|
1002
|
-
*/
|
|
1003
|
-
export declare const GetSpeechSynthesisTaskInputFilterSensitiveLog: (obj: GetSpeechSynthesisTaskInput) => any;
|
|
1004
|
-
/**
|
|
1005
|
-
* @internal
|
|
1006
|
-
*/
|
|
1007
|
-
export declare const SynthesisTaskFilterSensitiveLog: (obj: SynthesisTask) => any;
|
|
1008
|
-
/**
|
|
1009
|
-
* @internal
|
|
1010
|
-
*/
|
|
1011
|
-
export declare const GetSpeechSynthesisTaskOutputFilterSensitiveLog: (obj: GetSpeechSynthesisTaskOutput) => any;
|
|
1012
|
-
/**
|
|
1013
|
-
* @internal
|
|
1014
|
-
*/
|
|
1015
|
-
export declare const LexiconDescriptionFilterSensitiveLog: (obj: LexiconDescription) => any;
|
|
1016
|
-
/**
|
|
1017
|
-
* @internal
|
|
1018
|
-
*/
|
|
1019
|
-
export declare const ListLexiconsInputFilterSensitiveLog: (obj: ListLexiconsInput) => any;
|
|
1020
|
-
/**
|
|
1021
|
-
* @internal
|
|
1022
|
-
*/
|
|
1023
|
-
export declare const ListLexiconsOutputFilterSensitiveLog: (obj: ListLexiconsOutput) => any;
|
|
1024
|
-
/**
|
|
1025
|
-
* @internal
|
|
1026
|
-
*/
|
|
1027
|
-
export declare const ListSpeechSynthesisTasksInputFilterSensitiveLog: (obj: ListSpeechSynthesisTasksInput) => any;
|
|
1028
|
-
/**
|
|
1029
|
-
* @internal
|
|
1030
|
-
*/
|
|
1031
|
-
export declare const ListSpeechSynthesisTasksOutputFilterSensitiveLog: (obj: ListSpeechSynthesisTasksOutput) => any;
|
|
1032
1076
|
/**
|
|
1033
1077
|
* @internal
|
|
1034
1078
|
*/
|
|
1035
1079
|
export declare const PutLexiconInputFilterSensitiveLog: (obj: PutLexiconInput) => any;
|
|
1036
|
-
/**
|
|
1037
|
-
* @internal
|
|
1038
|
-
*/
|
|
1039
|
-
export declare const PutLexiconOutputFilterSensitiveLog: (obj: PutLexiconOutput) => any;
|
|
1040
|
-
/**
|
|
1041
|
-
* @internal
|
|
1042
|
-
*/
|
|
1043
|
-
export declare const StartSpeechSynthesisTaskInputFilterSensitiveLog: (obj: StartSpeechSynthesisTaskInput) => any;
|
|
1044
|
-
/**
|
|
1045
|
-
* @internal
|
|
1046
|
-
*/
|
|
1047
|
-
export declare const StartSpeechSynthesisTaskOutputFilterSensitiveLog: (obj: StartSpeechSynthesisTaskOutput) => any;
|
|
1048
|
-
/**
|
|
1049
|
-
* @internal
|
|
1050
|
-
*/
|
|
1051
|
-
export declare const SynthesizeSpeechInputFilterSensitiveLog: (obj: SynthesizeSpeechInput) => any;
|
|
1052
1080
|
/**
|
|
1053
1081
|
* @internal
|
|
1054
1082
|
*/
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListSpeechSynthesisTasksCommandInput, ListSpeechSynthesisTasksCommandOutput } from "../commands/ListSpeechSynthesisTasksCommand";
|
|
3
3
|
import { PollyPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListSpeechSynthesisTasks(config: PollyPaginationConfiguration, input: ListSpeechSynthesisTasksCommandInput, ...additionalArguments: any): Paginator<ListSpeechSynthesisTasksCommandOutput>;
|
|
@@ -447,68 +447,13 @@ export interface SynthesizeSpeechOutput {
|
|
|
447
447
|
ContentType?: string;
|
|
448
448
|
RequestCharacters?: number;
|
|
449
449
|
}
|
|
450
|
-
export declare const DeleteLexiconInputFilterSensitiveLog: (
|
|
451
|
-
obj: DeleteLexiconInput
|
|
452
|
-
) => any;
|
|
453
|
-
export declare const DeleteLexiconOutputFilterSensitiveLog: (
|
|
454
|
-
obj: DeleteLexiconOutput
|
|
455
|
-
) => any;
|
|
456
|
-
export declare const DescribeVoicesInputFilterSensitiveLog: (
|
|
457
|
-
obj: DescribeVoicesInput
|
|
458
|
-
) => any;
|
|
459
|
-
export declare const VoiceFilterSensitiveLog: (obj: Voice) => any;
|
|
460
|
-
export declare const DescribeVoicesOutputFilterSensitiveLog: (
|
|
461
|
-
obj: DescribeVoicesOutput
|
|
462
|
-
) => any;
|
|
463
|
-
export declare const GetLexiconInputFilterSensitiveLog: (
|
|
464
|
-
obj: GetLexiconInput
|
|
465
|
-
) => any;
|
|
466
450
|
export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
|
|
467
|
-
export declare const LexiconAttributesFilterSensitiveLog: (
|
|
468
|
-
obj: LexiconAttributes
|
|
469
|
-
) => any;
|
|
470
451
|
export declare const GetLexiconOutputFilterSensitiveLog: (
|
|
471
452
|
obj: GetLexiconOutput
|
|
472
453
|
) => any;
|
|
473
|
-
export declare const GetSpeechSynthesisTaskInputFilterSensitiveLog: (
|
|
474
|
-
obj: GetSpeechSynthesisTaskInput
|
|
475
|
-
) => any;
|
|
476
|
-
export declare const SynthesisTaskFilterSensitiveLog: (
|
|
477
|
-
obj: SynthesisTask
|
|
478
|
-
) => any;
|
|
479
|
-
export declare const GetSpeechSynthesisTaskOutputFilterSensitiveLog: (
|
|
480
|
-
obj: GetSpeechSynthesisTaskOutput
|
|
481
|
-
) => any;
|
|
482
|
-
export declare const LexiconDescriptionFilterSensitiveLog: (
|
|
483
|
-
obj: LexiconDescription
|
|
484
|
-
) => any;
|
|
485
|
-
export declare const ListLexiconsInputFilterSensitiveLog: (
|
|
486
|
-
obj: ListLexiconsInput
|
|
487
|
-
) => any;
|
|
488
|
-
export declare const ListLexiconsOutputFilterSensitiveLog: (
|
|
489
|
-
obj: ListLexiconsOutput
|
|
490
|
-
) => any;
|
|
491
|
-
export declare const ListSpeechSynthesisTasksInputFilterSensitiveLog: (
|
|
492
|
-
obj: ListSpeechSynthesisTasksInput
|
|
493
|
-
) => any;
|
|
494
|
-
export declare const ListSpeechSynthesisTasksOutputFilterSensitiveLog: (
|
|
495
|
-
obj: ListSpeechSynthesisTasksOutput
|
|
496
|
-
) => any;
|
|
497
454
|
export declare const PutLexiconInputFilterSensitiveLog: (
|
|
498
455
|
obj: PutLexiconInput
|
|
499
456
|
) => any;
|
|
500
|
-
export declare const PutLexiconOutputFilterSensitiveLog: (
|
|
501
|
-
obj: PutLexiconOutput
|
|
502
|
-
) => any;
|
|
503
|
-
export declare const StartSpeechSynthesisTaskInputFilterSensitiveLog: (
|
|
504
|
-
obj: StartSpeechSynthesisTaskInput
|
|
505
|
-
) => any;
|
|
506
|
-
export declare const StartSpeechSynthesisTaskOutputFilterSensitiveLog: (
|
|
507
|
-
obj: StartSpeechSynthesisTaskOutput
|
|
508
|
-
) => any;
|
|
509
|
-
export declare const SynthesizeSpeechInputFilterSensitiveLog: (
|
|
510
|
-
obj: SynthesizeSpeechInput
|
|
511
|
-
) => any;
|
|
512
457
|
export declare const SynthesizeSpeechOutputFilterSensitiveLog: (
|
|
513
458
|
obj: SynthesizeSpeechOutput
|
|
514
459
|
) => 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.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo polly"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|