@aws-sdk/client-polly 3.686.0 → 3.691.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.
|
@@ -120,7 +120,7 @@ export interface DescribeVoicesInput {
|
|
|
120
120
|
* processing input text for speech synthesis. </p>
|
|
121
121
|
* @public
|
|
122
122
|
*/
|
|
123
|
-
Engine?: Engine;
|
|
123
|
+
Engine?: Engine | undefined;
|
|
124
124
|
/**
|
|
125
125
|
* <p> The language identification tag (ISO 639 code for the language
|
|
126
126
|
* name-ISO 3166 country code) for filtering the list of voices returned. If
|
|
@@ -128,7 +128,7 @@ export interface DescribeVoicesInput {
|
|
|
128
128
|
* returned. </p>
|
|
129
129
|
* @public
|
|
130
130
|
*/
|
|
131
|
-
LanguageCode?: LanguageCode;
|
|
131
|
+
LanguageCode?: LanguageCode | undefined;
|
|
132
132
|
/**
|
|
133
133
|
* <p>Boolean value indicating whether to return any bilingual voices that
|
|
134
134
|
* use the specified language as an additional language. For instance, if you
|
|
@@ -138,14 +138,14 @@ export interface DescribeVoicesInput {
|
|
|
138
138
|
* <code>no</code>.</p>
|
|
139
139
|
* @public
|
|
140
140
|
*/
|
|
141
|
-
IncludeAdditionalLanguageCodes?: boolean;
|
|
141
|
+
IncludeAdditionalLanguageCodes?: boolean | undefined;
|
|
142
142
|
/**
|
|
143
143
|
* <p>An opaque pagination token returned from the previous
|
|
144
144
|
* <code>DescribeVoices</code> operation. If present, this indicates where
|
|
145
145
|
* to continue the listing.</p>
|
|
146
146
|
* @public
|
|
147
147
|
*/
|
|
148
|
-
NextToken?: string;
|
|
148
|
+
NextToken?: string | undefined;
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
151
|
* @public
|
|
@@ -276,30 +276,30 @@ export interface Voice {
|
|
|
276
276
|
* <p>Gender of the voice.</p>
|
|
277
277
|
* @public
|
|
278
278
|
*/
|
|
279
|
-
Gender?: Gender;
|
|
279
|
+
Gender?: Gender | undefined;
|
|
280
280
|
/**
|
|
281
281
|
* <p>Amazon Polly assigned voice ID. This is the ID that you specify when
|
|
282
282
|
* calling the <code>SynthesizeSpeech</code> operation.</p>
|
|
283
283
|
* @public
|
|
284
284
|
*/
|
|
285
|
-
Id?: VoiceId;
|
|
285
|
+
Id?: VoiceId | undefined;
|
|
286
286
|
/**
|
|
287
287
|
* <p>Language code of the voice.</p>
|
|
288
288
|
* @public
|
|
289
289
|
*/
|
|
290
|
-
LanguageCode?: LanguageCode;
|
|
290
|
+
LanguageCode?: LanguageCode | undefined;
|
|
291
291
|
/**
|
|
292
292
|
* <p>Human readable name of the language in English.</p>
|
|
293
293
|
* @public
|
|
294
294
|
*/
|
|
295
|
-
LanguageName?: string;
|
|
295
|
+
LanguageName?: string | undefined;
|
|
296
296
|
/**
|
|
297
297
|
* <p>Name of the voice (for example, Salli, Kendra, etc.). This provides
|
|
298
298
|
* a human readable voice name that you might display in your
|
|
299
299
|
* application.</p>
|
|
300
300
|
* @public
|
|
301
301
|
*/
|
|
302
|
-
Name?: string;
|
|
302
|
+
Name?: string | undefined;
|
|
303
303
|
/**
|
|
304
304
|
* <p>Additional codes for languages available for the specified voice in
|
|
305
305
|
* addition to its default language. </p>
|
|
@@ -309,13 +309,13 @@ export interface Voice {
|
|
|
309
309
|
* code <code>hi-IN</code>.</p>
|
|
310
310
|
* @public
|
|
311
311
|
*/
|
|
312
|
-
AdditionalLanguageCodes?: LanguageCode[];
|
|
312
|
+
AdditionalLanguageCodes?: LanguageCode[] | undefined;
|
|
313
313
|
/**
|
|
314
314
|
* <p>Specifies which engines (<code>standard</code>, <code>neural</code>,
|
|
315
315
|
* <code>long-form</code> or <code>generative</code>) are supported by a given voice.</p>
|
|
316
316
|
* @public
|
|
317
317
|
*/
|
|
318
|
-
SupportedEngines?: Engine[];
|
|
318
|
+
SupportedEngines?: Engine[] | undefined;
|
|
319
319
|
}
|
|
320
320
|
/**
|
|
321
321
|
* @public
|
|
@@ -325,14 +325,14 @@ export interface DescribeVoicesOutput {
|
|
|
325
325
|
* <p>A list of voices with their properties.</p>
|
|
326
326
|
* @public
|
|
327
327
|
*/
|
|
328
|
-
Voices?: Voice[];
|
|
328
|
+
Voices?: Voice[] | undefined;
|
|
329
329
|
/**
|
|
330
330
|
* <p>The pagination token to use in the next request to continue the
|
|
331
331
|
* listing of voices. <code>NextToken</code> is returned only if the response
|
|
332
332
|
* is truncated.</p>
|
|
333
333
|
* @public
|
|
334
334
|
*/
|
|
335
|
-
NextToken?: string;
|
|
335
|
+
NextToken?: string | undefined;
|
|
336
336
|
}
|
|
337
337
|
/**
|
|
338
338
|
* <p>The NextToken is invalid. Verify that it's spelled correctly, and
|
|
@@ -383,12 +383,12 @@ export interface Lexicon {
|
|
|
383
383
|
* in PLS format.</p>
|
|
384
384
|
* @public
|
|
385
385
|
*/
|
|
386
|
-
Content?: string;
|
|
386
|
+
Content?: string | undefined;
|
|
387
387
|
/**
|
|
388
388
|
* <p>Name of the lexicon.</p>
|
|
389
389
|
* @public
|
|
390
390
|
*/
|
|
391
|
-
Name?: string;
|
|
391
|
+
Name?: string | undefined;
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
394
|
* <p>Contains metadata describing the lexicon such as the number of
|
|
@@ -401,34 +401,34 @@ export interface LexiconAttributes {
|
|
|
401
401
|
* <code>ipa</code> and <code>x-sampa</code>.</p>
|
|
402
402
|
* @public
|
|
403
403
|
*/
|
|
404
|
-
Alphabet?: string;
|
|
404
|
+
Alphabet?: string | undefined;
|
|
405
405
|
/**
|
|
406
406
|
* <p>Language code that the lexicon applies to. A lexicon with a
|
|
407
407
|
* language code such as "en" would be applied to all English languages
|
|
408
408
|
* (en-GB, en-US, en-AUS, en-WLS, and so on.</p>
|
|
409
409
|
* @public
|
|
410
410
|
*/
|
|
411
|
-
LanguageCode?: LanguageCode;
|
|
411
|
+
LanguageCode?: LanguageCode | undefined;
|
|
412
412
|
/**
|
|
413
413
|
* <p>Date lexicon was last modified (a timestamp value).</p>
|
|
414
414
|
* @public
|
|
415
415
|
*/
|
|
416
|
-
LastModified?: Date;
|
|
416
|
+
LastModified?: Date | undefined;
|
|
417
417
|
/**
|
|
418
418
|
* <p>Amazon Resource Name (ARN) of the lexicon.</p>
|
|
419
419
|
* @public
|
|
420
420
|
*/
|
|
421
|
-
LexiconArn?: string;
|
|
421
|
+
LexiconArn?: string | undefined;
|
|
422
422
|
/**
|
|
423
423
|
* <p>Number of lexemes in the lexicon.</p>
|
|
424
424
|
* @public
|
|
425
425
|
*/
|
|
426
|
-
LexemesCount?: number;
|
|
426
|
+
LexemesCount?: number | undefined;
|
|
427
427
|
/**
|
|
428
428
|
* <p>Total size of the lexicon, in characters.</p>
|
|
429
429
|
* @public
|
|
430
430
|
*/
|
|
431
|
-
Size?: number;
|
|
431
|
+
Size?: number | undefined;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* @public
|
|
@@ -439,14 +439,14 @@ export interface GetLexiconOutput {
|
|
|
439
439
|
* lexicon. </p>
|
|
440
440
|
* @public
|
|
441
441
|
*/
|
|
442
|
-
Lexicon?: Lexicon;
|
|
442
|
+
Lexicon?: Lexicon | undefined;
|
|
443
443
|
/**
|
|
444
444
|
* <p>Metadata of the lexicon, including phonetic alphabetic used,
|
|
445
445
|
* language code, lexicon ARN, number of lexemes defined in the lexicon, and
|
|
446
446
|
* size of lexicon in bytes.</p>
|
|
447
447
|
* @public
|
|
448
448
|
*/
|
|
449
|
-
LexiconAttributes?: LexiconAttributes;
|
|
449
|
+
LexiconAttributes?: LexiconAttributes | undefined;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @public
|
|
@@ -525,58 +525,58 @@ export interface SynthesisTask {
|
|
|
525
525
|
* is not supported for the engine selected will result in an error.</p>
|
|
526
526
|
* @public
|
|
527
527
|
*/
|
|
528
|
-
Engine?: Engine;
|
|
528
|
+
Engine?: Engine | undefined;
|
|
529
529
|
/**
|
|
530
530
|
* <p>The Amazon Polly generated identifier for a speech synthesis task.</p>
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
|
-
TaskId?: string;
|
|
533
|
+
TaskId?: string | undefined;
|
|
534
534
|
/**
|
|
535
535
|
* <p>Current status of the individual speech synthesis task.</p>
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
|
-
TaskStatus?: TaskStatus;
|
|
538
|
+
TaskStatus?: TaskStatus | undefined;
|
|
539
539
|
/**
|
|
540
540
|
* <p>Reason for the current status of a specific speech synthesis task,
|
|
541
541
|
* including errors if the task has failed.</p>
|
|
542
542
|
* @public
|
|
543
543
|
*/
|
|
544
|
-
TaskStatusReason?: string;
|
|
544
|
+
TaskStatusReason?: string | undefined;
|
|
545
545
|
/**
|
|
546
546
|
* <p>Pathway for the output speech file.</p>
|
|
547
547
|
* @public
|
|
548
548
|
*/
|
|
549
|
-
OutputUri?: string;
|
|
549
|
+
OutputUri?: string | undefined;
|
|
550
550
|
/**
|
|
551
551
|
* <p>Timestamp for the time the synthesis task was started.</p>
|
|
552
552
|
* @public
|
|
553
553
|
*/
|
|
554
|
-
CreationTime?: Date;
|
|
554
|
+
CreationTime?: Date | undefined;
|
|
555
555
|
/**
|
|
556
556
|
* <p>Number of billable characters synthesized.</p>
|
|
557
557
|
* @public
|
|
558
558
|
*/
|
|
559
|
-
RequestCharacters?: number;
|
|
559
|
+
RequestCharacters?: number | undefined;
|
|
560
560
|
/**
|
|
561
561
|
* <p>ARN for the SNS topic optionally used for providing status
|
|
562
562
|
* notification for a speech synthesis task.</p>
|
|
563
563
|
* @public
|
|
564
564
|
*/
|
|
565
|
-
SnsTopicArn?: string;
|
|
565
|
+
SnsTopicArn?: string | undefined;
|
|
566
566
|
/**
|
|
567
567
|
* <p>List of one or more pronunciation lexicon names you want the service
|
|
568
568
|
* to apply during synthesis. Lexicons are applied only if the language of
|
|
569
569
|
* the lexicon is the same as the language of the voice. </p>
|
|
570
570
|
* @public
|
|
571
571
|
*/
|
|
572
|
-
LexiconNames?: string[];
|
|
572
|
+
LexiconNames?: string[] | undefined;
|
|
573
573
|
/**
|
|
574
574
|
* <p>The format in which the returned output will be encoded. For audio
|
|
575
575
|
* stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will
|
|
576
576
|
* be json. </p>
|
|
577
577
|
* @public
|
|
578
578
|
*/
|
|
579
|
-
OutputFormat?: OutputFormat;
|
|
579
|
+
OutputFormat?: OutputFormat | undefined;
|
|
580
580
|
/**
|
|
581
581
|
* <p>The audio frequency specified in Hz.</p>
|
|
582
582
|
* <p>The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050",
|
|
@@ -587,23 +587,23 @@ export interface SynthesisTask {
|
|
|
587
587
|
* "16000". </p>
|
|
588
588
|
* @public
|
|
589
589
|
*/
|
|
590
|
-
SampleRate?: string;
|
|
590
|
+
SampleRate?: string | undefined;
|
|
591
591
|
/**
|
|
592
592
|
* <p>The type of speech marks returned for the input text.</p>
|
|
593
593
|
* @public
|
|
594
594
|
*/
|
|
595
|
-
SpeechMarkTypes?: SpeechMarkType[];
|
|
595
|
+
SpeechMarkTypes?: SpeechMarkType[] | undefined;
|
|
596
596
|
/**
|
|
597
597
|
* <p>Specifies whether the input text is plain text or SSML. The default
|
|
598
598
|
* value is plain text. </p>
|
|
599
599
|
* @public
|
|
600
600
|
*/
|
|
601
|
-
TextType?: TextType;
|
|
601
|
+
TextType?: TextType | undefined;
|
|
602
602
|
/**
|
|
603
603
|
* <p>Voice ID to use for the synthesis. </p>
|
|
604
604
|
* @public
|
|
605
605
|
*/
|
|
606
|
-
VoiceId?: VoiceId;
|
|
606
|
+
VoiceId?: VoiceId | undefined;
|
|
607
607
|
/**
|
|
608
608
|
* <p>Optional language code for a synthesis task. This is only necessary if
|
|
609
609
|
* using a bilingual voice, such as Aditi, which can be used for either
|
|
@@ -615,7 +615,7 @@ export interface SynthesisTask {
|
|
|
615
615
|
* Indian English rather than Hindi.</p>
|
|
616
616
|
* @public
|
|
617
617
|
*/
|
|
618
|
-
LanguageCode?: LanguageCode;
|
|
618
|
+
LanguageCode?: LanguageCode | undefined;
|
|
619
619
|
}
|
|
620
620
|
/**
|
|
621
621
|
* @public
|
|
@@ -627,7 +627,7 @@ export interface GetSpeechSynthesisTaskOutput {
|
|
|
627
627
|
* on.</p>
|
|
628
628
|
* @public
|
|
629
629
|
*/
|
|
630
|
-
SynthesisTask?: SynthesisTask;
|
|
630
|
+
SynthesisTask?: SynthesisTask | undefined;
|
|
631
631
|
}
|
|
632
632
|
/**
|
|
633
633
|
* <p>The provided Task ID is not valid. Please provide a valid Task ID and
|
|
@@ -754,12 +754,12 @@ export interface LexiconDescription {
|
|
|
754
754
|
* <p>Name of the lexicon.</p>
|
|
755
755
|
* @public
|
|
756
756
|
*/
|
|
757
|
-
Name?: string;
|
|
757
|
+
Name?: string | undefined;
|
|
758
758
|
/**
|
|
759
759
|
* <p>Provides lexicon metadata.</p>
|
|
760
760
|
* @public
|
|
761
761
|
*/
|
|
762
|
-
Attributes?: LexiconAttributes;
|
|
762
|
+
Attributes?: LexiconAttributes | undefined;
|
|
763
763
|
}
|
|
764
764
|
/**
|
|
765
765
|
* <p>The maximum size of the specified lexicon would be exceeded by this
|
|
@@ -784,7 +784,7 @@ export interface ListLexiconsInput {
|
|
|
784
784
|
* continue the list of lexicons.</p>
|
|
785
785
|
* @public
|
|
786
786
|
*/
|
|
787
|
-
NextToken?: string;
|
|
787
|
+
NextToken?: string | undefined;
|
|
788
788
|
}
|
|
789
789
|
/**
|
|
790
790
|
* @public
|
|
@@ -794,14 +794,14 @@ export interface ListLexiconsOutput {
|
|
|
794
794
|
* <p>A list of lexicon names and attributes.</p>
|
|
795
795
|
* @public
|
|
796
796
|
*/
|
|
797
|
-
Lexicons?: LexiconDescription[];
|
|
797
|
+
Lexicons?: LexiconDescription[] | undefined;
|
|
798
798
|
/**
|
|
799
799
|
* <p>The pagination token to use in the next request to continue the
|
|
800
800
|
* listing of lexicons. <code>NextToken</code> is returned only if the
|
|
801
801
|
* response is truncated.</p>
|
|
802
802
|
* @public
|
|
803
803
|
*/
|
|
804
|
-
NextToken?: string;
|
|
804
|
+
NextToken?: string | undefined;
|
|
805
805
|
}
|
|
806
806
|
/**
|
|
807
807
|
* @public
|
|
@@ -812,19 +812,19 @@ export interface ListSpeechSynthesisTasksInput {
|
|
|
812
812
|
* operation.</p>
|
|
813
813
|
* @public
|
|
814
814
|
*/
|
|
815
|
-
MaxResults?: number;
|
|
815
|
+
MaxResults?: number | undefined;
|
|
816
816
|
/**
|
|
817
817
|
* <p>The pagination token to use in the next request to continue the
|
|
818
818
|
* listing of speech synthesis tasks. </p>
|
|
819
819
|
* @public
|
|
820
820
|
*/
|
|
821
|
-
NextToken?: string;
|
|
821
|
+
NextToken?: string | undefined;
|
|
822
822
|
/**
|
|
823
823
|
* <p>Status of the speech synthesis tasks returned in a List
|
|
824
824
|
* operation</p>
|
|
825
825
|
* @public
|
|
826
826
|
*/
|
|
827
|
-
Status?: TaskStatus;
|
|
827
|
+
Status?: TaskStatus | undefined;
|
|
828
828
|
}
|
|
829
829
|
/**
|
|
830
830
|
* @public
|
|
@@ -836,14 +836,14 @@ export interface ListSpeechSynthesisTasksOutput {
|
|
|
836
836
|
* listing.</p>
|
|
837
837
|
* @public
|
|
838
838
|
*/
|
|
839
|
-
NextToken?: string;
|
|
839
|
+
NextToken?: string | undefined;
|
|
840
840
|
/**
|
|
841
841
|
* <p>List of SynthesisTask objects that provides information from the
|
|
842
842
|
* specified task in the list request, including output format, creation
|
|
843
843
|
* time, task status, and so on.</p>
|
|
844
844
|
* @public
|
|
845
845
|
*/
|
|
846
|
-
SynthesisTasks?: SynthesisTask[];
|
|
846
|
+
SynthesisTasks?: SynthesisTask[] | undefined;
|
|
847
847
|
}
|
|
848
848
|
/**
|
|
849
849
|
* <p>Speech marks are not supported for the <code>OutputFormat</code>
|
|
@@ -957,7 +957,7 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
957
957
|
* is not supported for the engine selected will result in an error.</p>
|
|
958
958
|
* @public
|
|
959
959
|
*/
|
|
960
|
-
Engine?: Engine;
|
|
960
|
+
Engine?: Engine | undefined;
|
|
961
961
|
/**
|
|
962
962
|
* <p>Optional language code for the Speech Synthesis request. This is only
|
|
963
963
|
* necessary if using a bilingual voice, such as Aditi, which can be used for
|
|
@@ -969,14 +969,14 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
969
969
|
* Indian English rather than Hindi.</p>
|
|
970
970
|
* @public
|
|
971
971
|
*/
|
|
972
|
-
LanguageCode?: LanguageCode;
|
|
972
|
+
LanguageCode?: LanguageCode | undefined;
|
|
973
973
|
/**
|
|
974
974
|
* <p>List of one or more pronunciation lexicon names you want the service
|
|
975
975
|
* to apply during synthesis. Lexicons are applied only if the language of
|
|
976
976
|
* the lexicon is the same as the language of the voice. </p>
|
|
977
977
|
* @public
|
|
978
978
|
*/
|
|
979
|
-
LexiconNames?: string[];
|
|
979
|
+
LexiconNames?: string[] | undefined;
|
|
980
980
|
/**
|
|
981
981
|
* <p>The format in which the returned output will be encoded. For audio
|
|
982
982
|
* stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will
|
|
@@ -993,7 +993,7 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
993
993
|
* <p>The Amazon S3 key prefix for the output speech file.</p>
|
|
994
994
|
* @public
|
|
995
995
|
*/
|
|
996
|
-
OutputS3KeyPrefix?: string;
|
|
996
|
+
OutputS3KeyPrefix?: string | undefined;
|
|
997
997
|
/**
|
|
998
998
|
* <p>The audio frequency specified in Hz.</p>
|
|
999
999
|
* <p>The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050",
|
|
@@ -1004,18 +1004,18 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
1004
1004
|
* "16000". </p>
|
|
1005
1005
|
* @public
|
|
1006
1006
|
*/
|
|
1007
|
-
SampleRate?: string;
|
|
1007
|
+
SampleRate?: string | undefined;
|
|
1008
1008
|
/**
|
|
1009
1009
|
* <p>ARN for the SNS topic optionally used for providing status
|
|
1010
1010
|
* notification for a speech synthesis task.</p>
|
|
1011
1011
|
* @public
|
|
1012
1012
|
*/
|
|
1013
|
-
SnsTopicArn?: string;
|
|
1013
|
+
SnsTopicArn?: string | undefined;
|
|
1014
1014
|
/**
|
|
1015
1015
|
* <p>The type of speech marks returned for the input text.</p>
|
|
1016
1016
|
* @public
|
|
1017
1017
|
*/
|
|
1018
|
-
SpeechMarkTypes?: SpeechMarkType[];
|
|
1018
|
+
SpeechMarkTypes?: SpeechMarkType[] | undefined;
|
|
1019
1019
|
/**
|
|
1020
1020
|
* <p>The input text to synthesize. If you specify ssml as the TextType,
|
|
1021
1021
|
* follow the SSML format for the input text. </p>
|
|
@@ -1027,7 +1027,7 @@ export interface StartSpeechSynthesisTaskInput {
|
|
|
1027
1027
|
* value is plain text. </p>
|
|
1028
1028
|
* @public
|
|
1029
1029
|
*/
|
|
1030
|
-
TextType?: TextType;
|
|
1030
|
+
TextType?: TextType | undefined;
|
|
1031
1031
|
/**
|
|
1032
1032
|
* <p>Voice ID to use for the synthesis. </p>
|
|
1033
1033
|
* @public
|
|
@@ -1043,7 +1043,7 @@ export interface StartSpeechSynthesisTaskOutput {
|
|
|
1043
1043
|
* newly submitted speech synthesis task.</p>
|
|
1044
1044
|
* @public
|
|
1045
1045
|
*/
|
|
1046
|
-
SynthesisTask?: SynthesisTask;
|
|
1046
|
+
SynthesisTask?: SynthesisTask | undefined;
|
|
1047
1047
|
}
|
|
1048
1048
|
/**
|
|
1049
1049
|
* <p>The value of the "Text" parameter is longer than the accepted
|
|
@@ -1082,7 +1082,7 @@ export interface SynthesizeSpeechInput {
|
|
|
1082
1082
|
* <p>Required: Yes</p>
|
|
1083
1083
|
* @public
|
|
1084
1084
|
*/
|
|
1085
|
-
Engine?: Engine;
|
|
1085
|
+
Engine?: Engine | undefined;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* <p>Optional language code for the Synthesize Speech request. This is only
|
|
1088
1088
|
* necessary if using a bilingual voice, such as Aditi, which can be used for
|
|
@@ -1094,7 +1094,7 @@ export interface SynthesizeSpeechInput {
|
|
|
1094
1094
|
* Indian English rather than Hindi.</p>
|
|
1095
1095
|
* @public
|
|
1096
1096
|
*/
|
|
1097
|
-
LanguageCode?: LanguageCode;
|
|
1097
|
+
LanguageCode?: LanguageCode | undefined;
|
|
1098
1098
|
/**
|
|
1099
1099
|
* <p>List of one or more pronunciation lexicon names you want the
|
|
1100
1100
|
* service to apply during synthesis. Lexicons are applied only if the
|
|
@@ -1102,7 +1102,7 @@ export interface SynthesizeSpeechInput {
|
|
|
1102
1102
|
* information about storing lexicons, see <a href="https://docs.aws.amazon.com/polly/latest/dg/API_PutLexicon.html">PutLexicon</a>.</p>
|
|
1103
1103
|
* @public
|
|
1104
1104
|
*/
|
|
1105
|
-
LexiconNames?: string[];
|
|
1105
|
+
LexiconNames?: string[] | undefined;
|
|
1106
1106
|
/**
|
|
1107
1107
|
* <p> The format in which the returned output will be encoded. For audio
|
|
1108
1108
|
* stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will
|
|
@@ -1122,12 +1122,12 @@ export interface SynthesizeSpeechInput {
|
|
|
1122
1122
|
* "16000". </p>
|
|
1123
1123
|
* @public
|
|
1124
1124
|
*/
|
|
1125
|
-
SampleRate?: string;
|
|
1125
|
+
SampleRate?: string | undefined;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* <p>The type of speech marks returned for the input text.</p>
|
|
1128
1128
|
* @public
|
|
1129
1129
|
*/
|
|
1130
|
-
SpeechMarkTypes?: SpeechMarkType[];
|
|
1130
|
+
SpeechMarkTypes?: SpeechMarkType[] | undefined;
|
|
1131
1131
|
/**
|
|
1132
1132
|
* <p> Input text to synthesize. If you specify <code>ssml</code> as the
|
|
1133
1133
|
* <code>TextType</code>, follow the SSML format for the input text.
|
|
@@ -1141,7 +1141,7 @@ export interface SynthesizeSpeechInput {
|
|
|
1141
1141
|
* SSML</a>.</p>
|
|
1142
1142
|
* @public
|
|
1143
1143
|
*/
|
|
1144
|
-
TextType?: TextType;
|
|
1144
|
+
TextType?: TextType | undefined;
|
|
1145
1145
|
/**
|
|
1146
1146
|
* <p> Voice ID to use for the synthesis. You can get a list of available
|
|
1147
1147
|
* voice IDs by calling the <a href="https://docs.aws.amazon.com/polly/latest/dg/API_DescribeVoices.html">DescribeVoices</a> operation. </p>
|
|
@@ -1157,7 +1157,7 @@ export interface SynthesizeSpeechOutput {
|
|
|
1157
1157
|
* <p> Stream containing the synthesized speech. </p>
|
|
1158
1158
|
* @public
|
|
1159
1159
|
*/
|
|
1160
|
-
AudioStream?: StreamingBlobTypes;
|
|
1160
|
+
AudioStream?: StreamingBlobTypes | undefined;
|
|
1161
1161
|
/**
|
|
1162
1162
|
* <p> Specifies the type audio stream. This should reflect the
|
|
1163
1163
|
* <code>OutputFormat</code> parameter in your request. </p>
|
|
@@ -1187,12 +1187,12 @@ export interface SynthesizeSpeechOutput {
|
|
|
1187
1187
|
* <p> </p>
|
|
1188
1188
|
* @public
|
|
1189
1189
|
*/
|
|
1190
|
-
ContentType?: string;
|
|
1190
|
+
ContentType?: string | undefined;
|
|
1191
1191
|
/**
|
|
1192
1192
|
* <p>Number of characters synthesized.</p>
|
|
1193
1193
|
* @public
|
|
1194
1194
|
*/
|
|
1195
|
-
RequestCharacters?: number;
|
|
1195
|
+
RequestCharacters?: number | undefined;
|
|
1196
1196
|
}
|
|
1197
1197
|
/**
|
|
1198
1198
|
* @internal
|
|
@@ -71,10 +71,10 @@ export declare const LanguageCode: {
|
|
|
71
71
|
};
|
|
72
72
|
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
73
73
|
export interface DescribeVoicesInput {
|
|
74
|
-
Engine?: Engine;
|
|
75
|
-
LanguageCode?: LanguageCode;
|
|
76
|
-
IncludeAdditionalLanguageCodes?: boolean;
|
|
77
|
-
NextToken?: string;
|
|
74
|
+
Engine?: Engine | undefined;
|
|
75
|
+
LanguageCode?: LanguageCode | undefined;
|
|
76
|
+
IncludeAdditionalLanguageCodes?: boolean | undefined;
|
|
77
|
+
NextToken?: string | undefined;
|
|
78
78
|
}
|
|
79
79
|
export declare const Gender: {
|
|
80
80
|
readonly Female: "Female";
|
|
@@ -183,17 +183,17 @@ export declare const VoiceId: {
|
|
|
183
183
|
};
|
|
184
184
|
export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
|
|
185
185
|
export interface Voice {
|
|
186
|
-
Gender?: Gender;
|
|
187
|
-
Id?: VoiceId;
|
|
188
|
-
LanguageCode?: LanguageCode;
|
|
189
|
-
LanguageName?: string;
|
|
190
|
-
Name?: string;
|
|
191
|
-
AdditionalLanguageCodes?: LanguageCode[];
|
|
192
|
-
SupportedEngines?: Engine[];
|
|
186
|
+
Gender?: Gender | undefined;
|
|
187
|
+
Id?: VoiceId | undefined;
|
|
188
|
+
LanguageCode?: LanguageCode | undefined;
|
|
189
|
+
LanguageName?: string | undefined;
|
|
190
|
+
Name?: string | undefined;
|
|
191
|
+
AdditionalLanguageCodes?: LanguageCode[] | undefined;
|
|
192
|
+
SupportedEngines?: Engine[] | undefined;
|
|
193
193
|
}
|
|
194
194
|
export interface DescribeVoicesOutput {
|
|
195
|
-
Voices?: Voice[];
|
|
196
|
-
NextToken?: string;
|
|
195
|
+
Voices?: Voice[] | undefined;
|
|
196
|
+
NextToken?: string | undefined;
|
|
197
197
|
}
|
|
198
198
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
199
199
|
readonly name: "InvalidNextTokenException";
|
|
@@ -213,20 +213,20 @@ export interface GetLexiconInput {
|
|
|
213
213
|
Name: string | undefined;
|
|
214
214
|
}
|
|
215
215
|
export interface Lexicon {
|
|
216
|
-
Content?: string;
|
|
217
|
-
Name?: string;
|
|
216
|
+
Content?: string | undefined;
|
|
217
|
+
Name?: string | undefined;
|
|
218
218
|
}
|
|
219
219
|
export interface LexiconAttributes {
|
|
220
|
-
Alphabet?: string;
|
|
221
|
-
LanguageCode?: LanguageCode;
|
|
222
|
-
LastModified?: Date;
|
|
223
|
-
LexiconArn?: string;
|
|
224
|
-
LexemesCount?: number;
|
|
225
|
-
Size?: number;
|
|
220
|
+
Alphabet?: string | undefined;
|
|
221
|
+
LanguageCode?: LanguageCode | undefined;
|
|
222
|
+
LastModified?: Date | undefined;
|
|
223
|
+
LexiconArn?: string | undefined;
|
|
224
|
+
LexemesCount?: number | undefined;
|
|
225
|
+
Size?: number | undefined;
|
|
226
226
|
}
|
|
227
227
|
export interface GetLexiconOutput {
|
|
228
|
-
Lexicon?: Lexicon;
|
|
229
|
-
LexiconAttributes?: LexiconAttributes;
|
|
228
|
+
Lexicon?: Lexicon | undefined;
|
|
229
|
+
LexiconAttributes?: LexiconAttributes | undefined;
|
|
230
230
|
}
|
|
231
231
|
export interface GetSpeechSynthesisTaskInput {
|
|
232
232
|
TaskId: string | undefined;
|
|
@@ -259,24 +259,24 @@ export declare const TextType: {
|
|
|
259
259
|
};
|
|
260
260
|
export type TextType = (typeof TextType)[keyof typeof TextType];
|
|
261
261
|
export interface SynthesisTask {
|
|
262
|
-
Engine?: Engine;
|
|
263
|
-
TaskId?: string;
|
|
264
|
-
TaskStatus?: TaskStatus;
|
|
265
|
-
TaskStatusReason?: string;
|
|
266
|
-
OutputUri?: string;
|
|
267
|
-
CreationTime?: Date;
|
|
268
|
-
RequestCharacters?: number;
|
|
269
|
-
SnsTopicArn?: string;
|
|
270
|
-
LexiconNames?: string[];
|
|
271
|
-
OutputFormat?: OutputFormat;
|
|
272
|
-
SampleRate?: string;
|
|
273
|
-
SpeechMarkTypes?: SpeechMarkType[];
|
|
274
|
-
TextType?: TextType;
|
|
275
|
-
VoiceId?: VoiceId;
|
|
276
|
-
LanguageCode?: LanguageCode;
|
|
262
|
+
Engine?: Engine | undefined;
|
|
263
|
+
TaskId?: string | undefined;
|
|
264
|
+
TaskStatus?: TaskStatus | undefined;
|
|
265
|
+
TaskStatusReason?: string | undefined;
|
|
266
|
+
OutputUri?: string | undefined;
|
|
267
|
+
CreationTime?: Date | undefined;
|
|
268
|
+
RequestCharacters?: number | undefined;
|
|
269
|
+
SnsTopicArn?: string | undefined;
|
|
270
|
+
LexiconNames?: string[] | undefined;
|
|
271
|
+
OutputFormat?: OutputFormat | undefined;
|
|
272
|
+
SampleRate?: string | undefined;
|
|
273
|
+
SpeechMarkTypes?: SpeechMarkType[] | undefined;
|
|
274
|
+
TextType?: TextType | undefined;
|
|
275
|
+
VoiceId?: VoiceId | undefined;
|
|
276
|
+
LanguageCode?: LanguageCode | undefined;
|
|
277
277
|
}
|
|
278
278
|
export interface GetSpeechSynthesisTaskOutput {
|
|
279
|
-
SynthesisTask?: SynthesisTask;
|
|
279
|
+
SynthesisTask?: SynthesisTask | undefined;
|
|
280
280
|
}
|
|
281
281
|
export declare class InvalidTaskIdException extends __BaseException {
|
|
282
282
|
readonly name: "InvalidTaskIdException";
|
|
@@ -342,8 +342,8 @@ export declare class LanguageNotSupportedException extends __BaseException {
|
|
|
342
342
|
);
|
|
343
343
|
}
|
|
344
344
|
export interface LexiconDescription {
|
|
345
|
-
Name?: string;
|
|
346
|
-
Attributes?: LexiconAttributes;
|
|
345
|
+
Name?: string | undefined;
|
|
346
|
+
Attributes?: LexiconAttributes | undefined;
|
|
347
347
|
}
|
|
348
348
|
export declare class LexiconSizeExceededException extends __BaseException {
|
|
349
349
|
readonly name: "LexiconSizeExceededException";
|
|
@@ -353,20 +353,20 @@ export declare class LexiconSizeExceededException extends __BaseException {
|
|
|
353
353
|
);
|
|
354
354
|
}
|
|
355
355
|
export interface ListLexiconsInput {
|
|
356
|
-
NextToken?: string;
|
|
356
|
+
NextToken?: string | undefined;
|
|
357
357
|
}
|
|
358
358
|
export interface ListLexiconsOutput {
|
|
359
|
-
Lexicons?: LexiconDescription[];
|
|
360
|
-
NextToken?: string;
|
|
359
|
+
Lexicons?: LexiconDescription[] | undefined;
|
|
360
|
+
NextToken?: string | undefined;
|
|
361
361
|
}
|
|
362
362
|
export interface ListSpeechSynthesisTasksInput {
|
|
363
|
-
MaxResults?: number;
|
|
364
|
-
NextToken?: string;
|
|
365
|
-
Status?: TaskStatus;
|
|
363
|
+
MaxResults?: number | undefined;
|
|
364
|
+
NextToken?: string | undefined;
|
|
365
|
+
Status?: TaskStatus | undefined;
|
|
366
366
|
}
|
|
367
367
|
export interface ListSpeechSynthesisTasksOutput {
|
|
368
|
-
NextToken?: string;
|
|
369
|
-
SynthesisTasks?: SynthesisTask[];
|
|
368
|
+
NextToken?: string | undefined;
|
|
369
|
+
SynthesisTasks?: SynthesisTask[] | undefined;
|
|
370
370
|
}
|
|
371
371
|
export declare class MarksNotSupportedForFormatException extends __BaseException {
|
|
372
372
|
readonly name: "MarksNotSupportedForFormatException";
|
|
@@ -434,21 +434,21 @@ export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseExc
|
|
|
434
434
|
);
|
|
435
435
|
}
|
|
436
436
|
export interface StartSpeechSynthesisTaskInput {
|
|
437
|
-
Engine?: Engine;
|
|
438
|
-
LanguageCode?: LanguageCode;
|
|
439
|
-
LexiconNames?: string[];
|
|
437
|
+
Engine?: Engine | undefined;
|
|
438
|
+
LanguageCode?: LanguageCode | undefined;
|
|
439
|
+
LexiconNames?: string[] | undefined;
|
|
440
440
|
OutputFormat: OutputFormat | undefined;
|
|
441
441
|
OutputS3BucketName: string | undefined;
|
|
442
|
-
OutputS3KeyPrefix?: string;
|
|
443
|
-
SampleRate?: string;
|
|
444
|
-
SnsTopicArn?: string;
|
|
445
|
-
SpeechMarkTypes?: SpeechMarkType[];
|
|
442
|
+
OutputS3KeyPrefix?: string | undefined;
|
|
443
|
+
SampleRate?: string | undefined;
|
|
444
|
+
SnsTopicArn?: string | undefined;
|
|
445
|
+
SpeechMarkTypes?: SpeechMarkType[] | undefined;
|
|
446
446
|
Text: string | undefined;
|
|
447
|
-
TextType?: TextType;
|
|
447
|
+
TextType?: TextType | undefined;
|
|
448
448
|
VoiceId: VoiceId | undefined;
|
|
449
449
|
}
|
|
450
450
|
export interface StartSpeechSynthesisTaskOutput {
|
|
451
|
-
SynthesisTask?: SynthesisTask;
|
|
451
|
+
SynthesisTask?: SynthesisTask | undefined;
|
|
452
452
|
}
|
|
453
453
|
export declare class TextLengthExceededException extends __BaseException {
|
|
454
454
|
readonly name: "TextLengthExceededException";
|
|
@@ -458,20 +458,20 @@ export declare class TextLengthExceededException extends __BaseException {
|
|
|
458
458
|
);
|
|
459
459
|
}
|
|
460
460
|
export interface SynthesizeSpeechInput {
|
|
461
|
-
Engine?: Engine;
|
|
462
|
-
LanguageCode?: LanguageCode;
|
|
463
|
-
LexiconNames?: string[];
|
|
461
|
+
Engine?: Engine | undefined;
|
|
462
|
+
LanguageCode?: LanguageCode | undefined;
|
|
463
|
+
LexiconNames?: string[] | undefined;
|
|
464
464
|
OutputFormat: OutputFormat | undefined;
|
|
465
|
-
SampleRate?: string;
|
|
466
|
-
SpeechMarkTypes?: SpeechMarkType[];
|
|
465
|
+
SampleRate?: string | undefined;
|
|
466
|
+
SpeechMarkTypes?: SpeechMarkType[] | undefined;
|
|
467
467
|
Text: string | undefined;
|
|
468
|
-
TextType?: TextType;
|
|
468
|
+
TextType?: TextType | undefined;
|
|
469
469
|
VoiceId: VoiceId | undefined;
|
|
470
470
|
}
|
|
471
471
|
export interface SynthesizeSpeechOutput {
|
|
472
|
-
AudioStream?: StreamingBlobTypes;
|
|
473
|
-
ContentType?: string;
|
|
474
|
-
RequestCharacters?: number;
|
|
472
|
+
AudioStream?: StreamingBlobTypes | undefined;
|
|
473
|
+
ContentType?: string | undefined;
|
|
474
|
+
RequestCharacters?: number | undefined;
|
|
475
475
|
}
|
|
476
476
|
export declare const LexiconFilterSensitiveLog: (obj: Lexicon) => any;
|
|
477
477
|
export declare const GetLexiconOutputFilterSensitiveLog: (
|
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.691.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|