@aws-sdk/client-polly 3.933.0 → 3.935.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.
@@ -1,190 +1,24 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { StreamingBlobTypes } from "@smithy/types";
3
- import { PollyServiceException as __BaseException } from "./PollyServiceException";
2
+ import {
3
+ Engine,
4
+ Gender,
5
+ LanguageCode,
6
+ OutputFormat,
7
+ SpeechMarkType,
8
+ TaskStatus,
9
+ TextType,
10
+ VoiceId,
11
+ } from "./enums";
4
12
  export interface DeleteLexiconInput {
5
13
  Name: string | undefined;
6
14
  }
7
15
  export interface DeleteLexiconOutput {}
8
- export declare class LexiconNotFoundException extends __BaseException {
9
- readonly name: "LexiconNotFoundException";
10
- readonly $fault: "client";
11
- constructor(
12
- opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>
13
- );
14
- }
15
- export declare class ServiceFailureException extends __BaseException {
16
- readonly name: "ServiceFailureException";
17
- readonly $fault: "server";
18
- constructor(
19
- opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
20
- );
21
- }
22
- export declare const Engine: {
23
- readonly GENERATIVE: "generative";
24
- readonly LONG_FORM: "long-form";
25
- readonly NEURAL: "neural";
26
- readonly STANDARD: "standard";
27
- };
28
- export type Engine = (typeof Engine)[keyof typeof Engine];
29
- export declare const LanguageCode: {
30
- readonly ar_AE: "ar-AE";
31
- readonly arb: "arb";
32
- readonly ca_ES: "ca-ES";
33
- readonly cmn_CN: "cmn-CN";
34
- readonly cs_CZ: "cs-CZ";
35
- readonly cy_GB: "cy-GB";
36
- readonly da_DK: "da-DK";
37
- readonly de_AT: "de-AT";
38
- readonly de_CH: "de-CH";
39
- readonly de_DE: "de-DE";
40
- readonly en_AU: "en-AU";
41
- readonly en_GB: "en-GB";
42
- readonly en_GB_WLS: "en-GB-WLS";
43
- readonly en_IE: "en-IE";
44
- readonly en_IN: "en-IN";
45
- readonly en_NZ: "en-NZ";
46
- readonly en_SG: "en-SG";
47
- readonly en_US: "en-US";
48
- readonly en_ZA: "en-ZA";
49
- readonly es_ES: "es-ES";
50
- readonly es_MX: "es-MX";
51
- readonly es_US: "es-US";
52
- readonly fi_FI: "fi-FI";
53
- readonly fr_BE: "fr-BE";
54
- readonly fr_CA: "fr-CA";
55
- readonly fr_FR: "fr-FR";
56
- readonly hi_IN: "hi-IN";
57
- readonly is_IS: "is-IS";
58
- readonly it_IT: "it-IT";
59
- readonly ja_JP: "ja-JP";
60
- readonly ko_KR: "ko-KR";
61
- readonly nb_NO: "nb-NO";
62
- readonly nl_BE: "nl-BE";
63
- readonly nl_NL: "nl-NL";
64
- readonly pl_PL: "pl-PL";
65
- readonly pt_BR: "pt-BR";
66
- readonly pt_PT: "pt-PT";
67
- readonly ro_RO: "ro-RO";
68
- readonly ru_RU: "ru-RU";
69
- readonly sv_SE: "sv-SE";
70
- readonly tr_TR: "tr-TR";
71
- readonly yue_CN: "yue-CN";
72
- };
73
- export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
74
16
  export interface DescribeVoicesInput {
75
17
  Engine?: Engine | undefined;
76
18
  LanguageCode?: LanguageCode | undefined;
77
19
  IncludeAdditionalLanguageCodes?: boolean | undefined;
78
20
  NextToken?: string | undefined;
79
21
  }
80
- export declare const Gender: {
81
- readonly Female: "Female";
82
- readonly Male: "Male";
83
- };
84
- export type Gender = (typeof Gender)[keyof typeof Gender];
85
- export declare const VoiceId: {
86
- readonly Aditi: "Aditi";
87
- readonly Adriano: "Adriano";
88
- readonly Amy: "Amy";
89
- readonly Andres: "Andres";
90
- readonly Aria: "Aria";
91
- readonly Arlet: "Arlet";
92
- readonly Arthur: "Arthur";
93
- readonly Astrid: "Astrid";
94
- readonly Ayanda: "Ayanda";
95
- readonly Bianca: "Bianca";
96
- readonly Brian: "Brian";
97
- readonly Burcu: "Burcu";
98
- readonly Camila: "Camila";
99
- readonly Carla: "Carla";
100
- readonly Carmen: "Carmen";
101
- readonly Celine: "Celine";
102
- readonly Chantal: "Chantal";
103
- readonly Conchita: "Conchita";
104
- readonly Cristiano: "Cristiano";
105
- readonly Daniel: "Daniel";
106
- readonly Danielle: "Danielle";
107
- readonly Dora: "Dora";
108
- readonly Elin: "Elin";
109
- readonly Emma: "Emma";
110
- readonly Enrique: "Enrique";
111
- readonly Ewa: "Ewa";
112
- readonly Filiz: "Filiz";
113
- readonly Gabrielle: "Gabrielle";
114
- readonly Geraint: "Geraint";
115
- readonly Giorgio: "Giorgio";
116
- readonly Gregory: "Gregory";
117
- readonly Gwyneth: "Gwyneth";
118
- readonly Hala: "Hala";
119
- readonly Hannah: "Hannah";
120
- readonly Hans: "Hans";
121
- readonly Hiujin: "Hiujin";
122
- readonly Ida: "Ida";
123
- readonly Ines: "Ines";
124
- readonly Isabelle: "Isabelle";
125
- readonly Ivy: "Ivy";
126
- readonly Jacek: "Jacek";
127
- readonly Jan: "Jan";
128
- readonly Jasmine: "Jasmine";
129
- readonly Jihye: "Jihye";
130
- readonly Jitka: "Jitka";
131
- readonly Joanna: "Joanna";
132
- readonly Joey: "Joey";
133
- readonly Justin: "Justin";
134
- readonly Kajal: "Kajal";
135
- readonly Karl: "Karl";
136
- readonly Kazuha: "Kazuha";
137
- readonly Kendra: "Kendra";
138
- readonly Kevin: "Kevin";
139
- readonly Kimberly: "Kimberly";
140
- readonly Laura: "Laura";
141
- readonly Lea: "Lea";
142
- readonly Liam: "Liam";
143
- readonly Lisa: "Lisa";
144
- readonly Liv: "Liv";
145
- readonly Lotte: "Lotte";
146
- readonly Lucia: "Lucia";
147
- readonly Lupe: "Lupe";
148
- readonly Mads: "Mads";
149
- readonly Maja: "Maja";
150
- readonly Marlene: "Marlene";
151
- readonly Mathieu: "Mathieu";
152
- readonly Matthew: "Matthew";
153
- readonly Maxim: "Maxim";
154
- readonly Mia: "Mia";
155
- readonly Miguel: "Miguel";
156
- readonly Mizuki: "Mizuki";
157
- readonly Naja: "Naja";
158
- readonly Niamh: "Niamh";
159
- readonly Nicole: "Nicole";
160
- readonly Ola: "Ola";
161
- readonly Olivia: "Olivia";
162
- readonly Pedro: "Pedro";
163
- readonly Penelope: "Penelope";
164
- readonly Raveena: "Raveena";
165
- readonly Remi: "Remi";
166
- readonly Ricardo: "Ricardo";
167
- readonly Ruben: "Ruben";
168
- readonly Russell: "Russell";
169
- readonly Ruth: "Ruth";
170
- readonly Sabrina: "Sabrina";
171
- readonly Salli: "Salli";
172
- readonly Seoyeon: "Seoyeon";
173
- readonly Sergio: "Sergio";
174
- readonly Sofie: "Sofie";
175
- readonly Stephen: "Stephen";
176
- readonly Suvi: "Suvi";
177
- readonly Takumi: "Takumi";
178
- readonly Tatyana: "Tatyana";
179
- readonly Thiago: "Thiago";
180
- readonly Tomoko: "Tomoko";
181
- readonly Vicki: "Vicki";
182
- readonly Vitoria: "Vitoria";
183
- readonly Zayd: "Zayd";
184
- readonly Zeina: "Zeina";
185
- readonly Zhiyu: "Zhiyu";
186
- };
187
- export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
188
22
  export interface Voice {
189
23
  Gender?: Gender | undefined;
190
24
  Id?: VoiceId | undefined;
@@ -198,20 +32,6 @@ export interface DescribeVoicesOutput {
198
32
  Voices?: Voice[] | undefined;
199
33
  NextToken?: string | undefined;
200
34
  }
201
- export declare class InvalidNextTokenException extends __BaseException {
202
- readonly name: "InvalidNextTokenException";
203
- readonly $fault: "client";
204
- constructor(
205
- opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
206
- );
207
- }
208
- export declare class EngineNotSupportedException extends __BaseException {
209
- readonly name: "EngineNotSupportedException";
210
- readonly $fault: "client";
211
- constructor(
212
- opts: __ExceptionOptionType<EngineNotSupportedException, __BaseException>
213
- );
214
- }
215
35
  export interface GetLexiconInput {
216
36
  Name: string | undefined;
217
37
  }
@@ -234,34 +54,6 @@ export interface GetLexiconOutput {
234
54
  export interface GetSpeechSynthesisTaskInput {
235
55
  TaskId: string | undefined;
236
56
  }
237
- export declare const OutputFormat: {
238
- readonly JSON: "json";
239
- readonly MP3: "mp3";
240
- readonly OGG_OPUS: "ogg_opus";
241
- readonly OGG_VORBIS: "ogg_vorbis";
242
- readonly PCM: "pcm";
243
- };
244
- export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
245
- export declare const SpeechMarkType: {
246
- readonly SENTENCE: "sentence";
247
- readonly SSML: "ssml";
248
- readonly VISEME: "viseme";
249
- readonly WORD: "word";
250
- };
251
- export type SpeechMarkType =
252
- (typeof SpeechMarkType)[keyof typeof SpeechMarkType];
253
- export declare const TaskStatus: {
254
- readonly COMPLETED: "completed";
255
- readonly FAILED: "failed";
256
- readonly IN_PROGRESS: "inProgress";
257
- readonly SCHEDULED: "scheduled";
258
- };
259
- export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
260
- export declare const TextType: {
261
- readonly SSML: "ssml";
262
- readonly TEXT: "text";
263
- };
264
- export type TextType = (typeof TextType)[keyof typeof TextType];
265
57
  export interface SynthesisTask {
266
58
  Engine?: Engine | undefined;
267
59
  TaskId?: string | undefined;
@@ -282,80 +74,10 @@ export interface SynthesisTask {
282
74
  export interface GetSpeechSynthesisTaskOutput {
283
75
  SynthesisTask?: SynthesisTask | undefined;
284
76
  }
285
- export declare class InvalidTaskIdException extends __BaseException {
286
- readonly name: "InvalidTaskIdException";
287
- readonly $fault: "client";
288
- constructor(
289
- opts: __ExceptionOptionType<InvalidTaskIdException, __BaseException>
290
- );
291
- }
292
- export declare class SynthesisTaskNotFoundException extends __BaseException {
293
- readonly name: "SynthesisTaskNotFoundException";
294
- readonly $fault: "client";
295
- constructor(
296
- opts: __ExceptionOptionType<SynthesisTaskNotFoundException, __BaseException>
297
- );
298
- }
299
- export declare class InvalidLexiconException extends __BaseException {
300
- readonly name: "InvalidLexiconException";
301
- readonly $fault: "client";
302
- constructor(
303
- opts: __ExceptionOptionType<InvalidLexiconException, __BaseException>
304
- );
305
- }
306
- export declare class InvalidS3BucketException extends __BaseException {
307
- readonly name: "InvalidS3BucketException";
308
- readonly $fault: "client";
309
- constructor(
310
- opts: __ExceptionOptionType<InvalidS3BucketException, __BaseException>
311
- );
312
- }
313
- export declare class InvalidS3KeyException extends __BaseException {
314
- readonly name: "InvalidS3KeyException";
315
- readonly $fault: "client";
316
- constructor(
317
- opts: __ExceptionOptionType<InvalidS3KeyException, __BaseException>
318
- );
319
- }
320
- export declare class InvalidSampleRateException extends __BaseException {
321
- readonly name: "InvalidSampleRateException";
322
- readonly $fault: "client";
323
- constructor(
324
- opts: __ExceptionOptionType<InvalidSampleRateException, __BaseException>
325
- );
326
- }
327
- export declare class InvalidSnsTopicArnException extends __BaseException {
328
- readonly name: "InvalidSnsTopicArnException";
329
- readonly $fault: "client";
330
- constructor(
331
- opts: __ExceptionOptionType<InvalidSnsTopicArnException, __BaseException>
332
- );
333
- }
334
- export declare class InvalidSsmlException extends __BaseException {
335
- readonly name: "InvalidSsmlException";
336
- readonly $fault: "client";
337
- constructor(
338
- opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>
339
- );
340
- }
341
- export declare class LanguageNotSupportedException extends __BaseException {
342
- readonly name: "LanguageNotSupportedException";
343
- readonly $fault: "client";
344
- constructor(
345
- opts: __ExceptionOptionType<LanguageNotSupportedException, __BaseException>
346
- );
347
- }
348
77
  export interface LexiconDescription {
349
78
  Name?: string | undefined;
350
79
  Attributes?: LexiconAttributes | undefined;
351
80
  }
352
- export declare class LexiconSizeExceededException extends __BaseException {
353
- readonly name: "LexiconSizeExceededException";
354
- readonly $fault: "client";
355
- constructor(
356
- opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>
357
- );
358
- }
359
81
  export interface ListLexiconsInput {
360
82
  NextToken?: string | undefined;
361
83
  }
@@ -372,71 +94,11 @@ export interface ListSpeechSynthesisTasksOutput {
372
94
  NextToken?: string | undefined;
373
95
  SynthesisTasks?: SynthesisTask[] | undefined;
374
96
  }
375
- export declare class MarksNotSupportedForFormatException extends __BaseException {
376
- readonly name: "MarksNotSupportedForFormatException";
377
- readonly $fault: "client";
378
- constructor(
379
- opts: __ExceptionOptionType<
380
- MarksNotSupportedForFormatException,
381
- __BaseException
382
- >
383
- );
384
- }
385
- export declare class MaxLexemeLengthExceededException extends __BaseException {
386
- readonly name: "MaxLexemeLengthExceededException";
387
- readonly $fault: "client";
388
- constructor(
389
- opts: __ExceptionOptionType<
390
- MaxLexemeLengthExceededException,
391
- __BaseException
392
- >
393
- );
394
- }
395
- export declare class MaxLexiconsNumberExceededException extends __BaseException {
396
- readonly name: "MaxLexiconsNumberExceededException";
397
- readonly $fault: "client";
398
- constructor(
399
- opts: __ExceptionOptionType<
400
- MaxLexiconsNumberExceededException,
401
- __BaseException
402
- >
403
- );
404
- }
405
97
  export interface PutLexiconInput {
406
98
  Name: string | undefined;
407
99
  Content: string | undefined;
408
100
  }
409
101
  export interface PutLexiconOutput {}
410
- export declare class UnsupportedPlsAlphabetException extends __BaseException {
411
- readonly name: "UnsupportedPlsAlphabetException";
412
- readonly $fault: "client";
413
- constructor(
414
- opts: __ExceptionOptionType<
415
- UnsupportedPlsAlphabetException,
416
- __BaseException
417
- >
418
- );
419
- }
420
- export declare class UnsupportedPlsLanguageException extends __BaseException {
421
- readonly name: "UnsupportedPlsLanguageException";
422
- readonly $fault: "client";
423
- constructor(
424
- opts: __ExceptionOptionType<
425
- UnsupportedPlsLanguageException,
426
- __BaseException
427
- >
428
- );
429
- }
430
- export declare class SsmlMarksNotSupportedForTextTypeException extends __BaseException {
431
- readonly name: "SsmlMarksNotSupportedForTextTypeException";
432
- readonly $fault: "client";
433
- constructor(
434
- opts: __ExceptionOptionType<
435
- SsmlMarksNotSupportedForTextTypeException,
436
- __BaseException
437
- >
438
- );
439
- }
440
102
  export interface StartSpeechSynthesisTaskInput {
441
103
  Engine?: Engine | undefined;
442
104
  LanguageCode?: LanguageCode | undefined;
@@ -454,13 +116,6 @@ export interface StartSpeechSynthesisTaskInput {
454
116
  export interface StartSpeechSynthesisTaskOutput {
455
117
  SynthesisTask?: SynthesisTask | undefined;
456
118
  }
457
- export declare class TextLengthExceededException extends __BaseException {
458
- readonly name: "TextLengthExceededException";
459
- readonly $fault: "client";
460
- constructor(
461
- opts: __ExceptionOptionType<TextLengthExceededException, __BaseException>
462
- );
463
- }
464
119
  export interface SynthesizeSpeechInput {
465
120
  Engine?: Engine | undefined;
466
121
  LanguageCode?: LanguageCode | undefined;
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.933.0",
4
+ "version": "3.935.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";