@aws-sdk/client-polly 3.1172.0 → 3.1173.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/README.md +21 -0
- package/dist-cjs/index.js +384 -137
- package/dist-es/Polly.js +11 -1
- package/dist-es/commands/CreateVoiceCommand.js +4 -0
- package/dist-es/commands/DeleteVoiceCommand.js +4 -0
- package/dist-es/commands/GetVoiceCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +49 -21
- package/dist-es/models/errors.js +129 -97
- package/dist-es/schemas/schemas_0.js +125 -17
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForVoiceActive.js +40 -0
- package/dist-types/Polly.d.ts +29 -1
- package/dist-types/PollyClient.d.ts +5 -2
- package/dist-types/commands/CreateVoiceCommand.d.ts +174 -0
- package/dist-types/commands/DeleteVoiceCommand.d.ts +99 -0
- package/dist-types/commands/DescribeVoicesCommand.d.ts +45 -9
- package/dist-types/commands/GetVoiceCommand.d.ts +129 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/StartSpeechSynthesisStreamCommand.d.ts +26 -2
- package/dist-types/commands/StartSpeechSynthesisTaskCommand.d.ts +31 -10
- package/dist-types/commands/SynthesizeSpeechCommand.d.ts +24 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +101 -41
- package/dist-types/models/errors.d.ts +183 -126
- package/dist-types/models/models_0.d.ts +369 -77
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/Polly.d.ts +47 -0
- package/dist-types/ts3.4/PollyClient.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateVoiceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteVoiceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetVoiceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +60 -27
- package/dist-types/ts3.4/models/errors.d.ts +61 -46
- package/dist-types/ts3.4/models/models_0.d.ts +64 -16
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForVoiceActive.d.ts +12 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForVoiceActive.d.ts +15 -0
- package/package.json +1 -1
|
@@ -2,16 +2,45 @@
|
|
|
2
2
|
* @public
|
|
3
3
|
* @enum
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
5
|
+
export declare const AudioFormat: {
|
|
6
|
+
readonly FLAC: "flac";
|
|
7
|
+
readonly MP3: "mp3";
|
|
8
|
+
readonly OGG_VORBIS: "ogg_vorbis";
|
|
9
|
+
readonly WAV: "wav";
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
14
|
+
export type AudioFormat = (typeof AudioFormat)[keyof typeof AudioFormat];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const ResourceType: {
|
|
20
|
+
readonly LEXICON: "lexicon";
|
|
21
|
+
readonly VOICE: "voice";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const CustomVoiceLanguageCode: {
|
|
32
|
+
readonly DE_DE: "de-DE";
|
|
33
|
+
readonly EN_US: "en-US";
|
|
34
|
+
readonly ES_US: "es-US";
|
|
35
|
+
readonly FR_FR: "fr-FR";
|
|
36
|
+
readonly HI_IN: "hi-IN";
|
|
37
|
+
readonly IT_IT: "it-IT";
|
|
38
|
+
readonly PT_BR: "pt-BR";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export type CustomVoiceLanguageCode = (typeof CustomVoiceLanguageCode)[keyof typeof CustomVoiceLanguageCode];
|
|
15
44
|
/**
|
|
16
45
|
* @public
|
|
17
46
|
* @enum
|
|
@@ -206,70 +235,65 @@ export type VoiceId = (typeof VoiceId)[keyof typeof VoiceId];
|
|
|
206
235
|
* @public
|
|
207
236
|
* @enum
|
|
208
237
|
*/
|
|
209
|
-
export declare const
|
|
210
|
-
readonly
|
|
211
|
-
readonly
|
|
212
|
-
readonly MP3: "mp3";
|
|
213
|
-
readonly MULAW: "mulaw";
|
|
214
|
-
readonly OGG_OPUS: "ogg_opus";
|
|
215
|
-
readonly OGG_VORBIS: "ogg_vorbis";
|
|
216
|
-
readonly PCM: "pcm";
|
|
238
|
+
export declare const VoiceOrigin: {
|
|
239
|
+
readonly AWS: "aws";
|
|
240
|
+
readonly CUSTOMER: "customer";
|
|
217
241
|
};
|
|
218
242
|
/**
|
|
219
243
|
* @public
|
|
220
244
|
*/
|
|
221
|
-
export type
|
|
245
|
+
export type VoiceOrigin = (typeof VoiceOrigin)[keyof typeof VoiceOrigin];
|
|
222
246
|
/**
|
|
223
247
|
* @public
|
|
224
248
|
* @enum
|
|
225
249
|
*/
|
|
226
|
-
export declare const
|
|
227
|
-
readonly
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
230
|
-
readonly WORD: "word";
|
|
250
|
+
export declare const VoiceStatus: {
|
|
251
|
+
readonly ACTIVE: "active";
|
|
252
|
+
readonly FAILED: "failed";
|
|
253
|
+
readonly PENDING: "pending";
|
|
231
254
|
};
|
|
232
255
|
/**
|
|
233
256
|
* @public
|
|
234
257
|
*/
|
|
235
|
-
export type
|
|
258
|
+
export type VoiceStatus = (typeof VoiceStatus)[keyof typeof VoiceStatus];
|
|
236
259
|
/**
|
|
237
260
|
* @public
|
|
238
261
|
* @enum
|
|
239
262
|
*/
|
|
240
|
-
export declare const
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
244
|
-
readonly
|
|
263
|
+
export declare const Engine: {
|
|
264
|
+
readonly GENERATIVE: "generative";
|
|
265
|
+
readonly LONG_FORM: "long-form";
|
|
266
|
+
readonly NEURAL: "neural";
|
|
267
|
+
readonly STANDARD: "standard";
|
|
245
268
|
};
|
|
246
269
|
/**
|
|
247
270
|
* @public
|
|
248
271
|
*/
|
|
249
|
-
export type
|
|
272
|
+
export type Engine = (typeof Engine)[keyof typeof Engine];
|
|
250
273
|
/**
|
|
251
274
|
* @public
|
|
252
275
|
* @enum
|
|
253
276
|
*/
|
|
254
|
-
export declare const
|
|
255
|
-
readonly
|
|
256
|
-
readonly
|
|
277
|
+
export declare const QuotaCode: {
|
|
278
|
+
readonly CUSTOM_VOICE_MAX_COUNT: "custom-voice-max-count";
|
|
279
|
+
readonly INPUT_STREAM_INBOUND_EVENT_TIMEOUT: "input-stream-inbound-event-timeout";
|
|
280
|
+
readonly INPUT_STREAM_TIMEOUT: "input-stream-timeout";
|
|
257
281
|
};
|
|
258
282
|
/**
|
|
259
283
|
* @public
|
|
260
284
|
*/
|
|
261
|
-
export type
|
|
285
|
+
export type QuotaCode = (typeof QuotaCode)[keyof typeof QuotaCode];
|
|
262
286
|
/**
|
|
263
287
|
* @public
|
|
264
288
|
* @enum
|
|
265
289
|
*/
|
|
266
|
-
export declare const
|
|
267
|
-
readonly
|
|
290
|
+
export declare const ServiceCode: {
|
|
291
|
+
readonly POLLY: "polly";
|
|
268
292
|
};
|
|
269
293
|
/**
|
|
270
294
|
* @public
|
|
271
295
|
*/
|
|
272
|
-
export type
|
|
296
|
+
export type ServiceCode = (typeof ServiceCode)[keyof typeof ServiceCode];
|
|
273
297
|
/**
|
|
274
298
|
* @public
|
|
275
299
|
* @enum
|
|
@@ -277,6 +301,8 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
277
301
|
export declare const ValidationExceptionReason: {
|
|
278
302
|
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
279
303
|
readonly INVALID_INBOUND_EVENT: "invalidInboundEvent";
|
|
304
|
+
readonly KMS_KEY_NOT_FOUND: "kmsKeyNotFound";
|
|
305
|
+
readonly KMS_KEY_UNUSABLE: "kmsKeyUnusable";
|
|
280
306
|
readonly OTHER: "other";
|
|
281
307
|
readonly UNSUPPORTED_OPERATION: "unsupportedOperation";
|
|
282
308
|
};
|
|
@@ -288,22 +314,56 @@ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof
|
|
|
288
314
|
* @public
|
|
289
315
|
* @enum
|
|
290
316
|
*/
|
|
291
|
-
export declare const
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
317
|
+
export declare const OutputFormat: {
|
|
318
|
+
readonly ALAW: "alaw";
|
|
319
|
+
readonly JSON: "json";
|
|
320
|
+
readonly MP3: "mp3";
|
|
321
|
+
readonly MULAW: "mulaw";
|
|
322
|
+
readonly OGG_OPUS: "ogg_opus";
|
|
323
|
+
readonly OGG_VORBIS: "ogg_vorbis";
|
|
324
|
+
readonly PCM: "pcm";
|
|
294
325
|
};
|
|
295
326
|
/**
|
|
296
327
|
* @public
|
|
297
328
|
*/
|
|
298
|
-
export type
|
|
329
|
+
export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
299
330
|
/**
|
|
300
331
|
* @public
|
|
301
332
|
* @enum
|
|
302
333
|
*/
|
|
303
|
-
export declare const
|
|
304
|
-
readonly
|
|
334
|
+
export declare const SpeechMarkType: {
|
|
335
|
+
readonly SENTENCE: "sentence";
|
|
336
|
+
readonly SSML: "ssml";
|
|
337
|
+
readonly VISEME: "viseme";
|
|
338
|
+
readonly WORD: "word";
|
|
305
339
|
};
|
|
306
340
|
/**
|
|
307
341
|
* @public
|
|
308
342
|
*/
|
|
309
|
-
export type
|
|
343
|
+
export type SpeechMarkType = (typeof SpeechMarkType)[keyof typeof SpeechMarkType];
|
|
344
|
+
/**
|
|
345
|
+
* @public
|
|
346
|
+
* @enum
|
|
347
|
+
*/
|
|
348
|
+
export declare const TaskStatus: {
|
|
349
|
+
readonly COMPLETED: "completed";
|
|
350
|
+
readonly FAILED: "failed";
|
|
351
|
+
readonly IN_PROGRESS: "inProgress";
|
|
352
|
+
readonly SCHEDULED: "scheduled";
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
* @enum
|
|
361
|
+
*/
|
|
362
|
+
export declare const TextType: {
|
|
363
|
+
readonly SSML: "ssml";
|
|
364
|
+
readonly TEXT: "text";
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
export type TextType = (typeof TextType)[keyof typeof TextType];
|
|
@@ -2,6 +2,172 @@ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/
|
|
|
2
2
|
import type { QuotaCode, ResourceType, ServiceCode, ValidationExceptionReason } from "./enums";
|
|
3
3
|
import type { ThrottlingReason, ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { PollyServiceException as __BaseException } from "./PollyServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* <p>You don't have sufficient permissions to perform this action. For a
|
|
7
|
+
* custom voice that uses a customer managed key, Amazon Polly also returns this
|
|
8
|
+
* exception if you don't have the required Amazon Web Services KMS permissions on the
|
|
9
|
+
* key.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
13
|
+
static readonly shapeId: string;
|
|
14
|
+
readonly name: "AccessDeniedException";
|
|
15
|
+
readonly $fault: "client";
|
|
16
|
+
Message?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>The request conflicts with the current state of the resource. For
|
|
24
|
+
* a custom voice, the voice isn't in the status that the operation
|
|
25
|
+
* requires. Check the status with <code>GetVoice</code>, and then try
|
|
26
|
+
* again.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export declare class ConflictException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
31
|
+
readonly name: "ConflictException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
/**
|
|
34
|
+
* <p>The ID of the resource that the request conflicts with.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
resourceId: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The type of the resource that the request conflicts with.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
resourceType: ResourceType | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* <p>The resource ARN or a tag in the request isn't valid. Specify the ARN
|
|
50
|
+
* of a supported resource in the Amazon Web Services account and Region of the request.
|
|
51
|
+
* Tag keys can have a maximum length of 128 characters, and tag values can
|
|
52
|
+
* have a maximum length of 256 characters. Correct the ARN or the tags, and
|
|
53
|
+
* then try again.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export declare class InvalidTagParameterException extends __BaseException {
|
|
57
|
+
static readonly shapeId: string;
|
|
58
|
+
readonly name: "InvalidTagParameterException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* <p>An unknown condition has caused a service failure.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
70
|
+
static readonly shapeId: string;
|
|
71
|
+
readonly name: "ServiceFailureException";
|
|
72
|
+
readonly $fault: "server";
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
83
|
+
static readonly shapeId: string;
|
|
84
|
+
readonly name: "ServiceQuotaExceededException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
/**
|
|
87
|
+
* <p>The quota code identifying the specific quota.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
quotaCode: QuotaCode | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The service code identifying the originating service.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
serviceCode: ServiceCode | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* <p>The request was denied because of request throttling.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class ThrottlingException extends __BaseException {
|
|
106
|
+
static readonly shapeId: string;
|
|
107
|
+
readonly name: "ThrottlingException";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
/**
|
|
110
|
+
* <p>A list of reasons explaining why the request was throttled.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
throttlingReasons?: ThrottlingReason[] | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* <p>The list of tags on the resource is over the limit. The maximum number
|
|
121
|
+
* of tags that can be applied to a resource is 50. Remove unused tags or
|
|
122
|
+
* reduce the number of tags in the request, and then try again.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
126
|
+
static readonly shapeId: string;
|
|
127
|
+
readonly name: "TooManyTagsException";
|
|
128
|
+
readonly $fault: "client";
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class ValidationException extends __BaseException {
|
|
139
|
+
static readonly shapeId: string;
|
|
140
|
+
readonly name: "ValidationException";
|
|
141
|
+
readonly $fault: "client";
|
|
142
|
+
/**
|
|
143
|
+
* <p>The reason the request failed validation. If Amazon Polly can't use the
|
|
144
|
+
* Amazon Web Services KMS key that you specified in <code>CreateVoice</code>,
|
|
145
|
+
* <code>fields</code> names <code>CustomerManagedEncryption.KmsKeyArn</code>
|
|
146
|
+
* and the reason is one of the following:</p>
|
|
147
|
+
* <dl>
|
|
148
|
+
* <dt>kmsKeyNotFound</dt>
|
|
149
|
+
* <dd>
|
|
150
|
+
* <p>No key with the specified ARN exists.</p>
|
|
151
|
+
* </dd>
|
|
152
|
+
* <dt>kmsKeyUnusable</dt>
|
|
153
|
+
* <dd>
|
|
154
|
+
* <p>The key is disabled, scheduled for deletion, or missing its
|
|
155
|
+
* key material, or it isn't a symmetric encryption key.</p>
|
|
156
|
+
* </dd>
|
|
157
|
+
* </dl>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
reason: ValidationExceptionReason | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The fields that caused the validation error.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
170
|
+
}
|
|
5
171
|
/**
|
|
6
172
|
* <p>Amazon Polly can't find the specified lexicon. This could be caused by a
|
|
7
173
|
* lexicon that is missing, its name is misspelled or specifying a lexicon
|
|
@@ -20,17 +186,29 @@ export declare class LexiconNotFoundException extends __BaseException {
|
|
|
20
186
|
constructor(opts: __ExceptionOptionType<LexiconNotFoundException, __BaseException>);
|
|
21
187
|
}
|
|
22
188
|
/**
|
|
23
|
-
* <p>
|
|
189
|
+
* <p>Amazon Polly can't find the specified resource. Verify that the resource
|
|
190
|
+
* exists in the Amazon Web Services account and Region of the request and that its ARN or
|
|
191
|
+
* ID is spelled correctly, and then try again.</p>
|
|
24
192
|
* @public
|
|
25
193
|
*/
|
|
26
|
-
export declare class
|
|
194
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
27
195
|
static readonly shapeId: string;
|
|
28
|
-
readonly name: "
|
|
29
|
-
readonly $fault: "
|
|
196
|
+
readonly name: "ResourceNotFoundException";
|
|
197
|
+
readonly $fault: "client";
|
|
198
|
+
/**
|
|
199
|
+
* <p>The identifier of the resource that wasn't found.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
resourceId: string | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The type of the resource that wasn't found.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
resourceType: ResourceType | undefined;
|
|
30
208
|
/**
|
|
31
209
|
* @internal
|
|
32
210
|
*/
|
|
33
|
-
constructor(opts: __ExceptionOptionType<
|
|
211
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
34
212
|
}
|
|
35
213
|
/**
|
|
36
214
|
* <p>The NextToken is invalid. Verify that it's spelled correctly, and
|
|
@@ -172,23 +350,6 @@ export declare class InvalidSsmlException extends __BaseException {
|
|
|
172
350
|
*/
|
|
173
351
|
constructor(opts: __ExceptionOptionType<InvalidSsmlException, __BaseException>);
|
|
174
352
|
}
|
|
175
|
-
/**
|
|
176
|
-
* <p>The resource ARN or a tag in the request isn't valid. Specify the ARN
|
|
177
|
-
* of a supported resource in the Amazon Web Services account and Region of the request.
|
|
178
|
-
* Tag keys can have a maximum length of 128 characters, and tag values can
|
|
179
|
-
* have a maximum length of 256 characters. Correct the ARN or the tags, and
|
|
180
|
-
* then try again.</p>
|
|
181
|
-
* @public
|
|
182
|
-
*/
|
|
183
|
-
export declare class InvalidTagParameterException extends __BaseException {
|
|
184
|
-
static readonly shapeId: string;
|
|
185
|
-
readonly name: "InvalidTagParameterException";
|
|
186
|
-
readonly $fault: "client";
|
|
187
|
-
/**
|
|
188
|
-
* @internal
|
|
189
|
-
*/
|
|
190
|
-
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
191
|
-
}
|
|
192
353
|
/**
|
|
193
354
|
* <p>The language specified is not currently supported by Amazon Polly in this
|
|
194
355
|
* capacity.</p>
|
|
@@ -217,72 +378,6 @@ export declare class LexiconSizeExceededException extends __BaseException {
|
|
|
217
378
|
*/
|
|
218
379
|
constructor(opts: __ExceptionOptionType<LexiconSizeExceededException, __BaseException>);
|
|
219
380
|
}
|
|
220
|
-
/**
|
|
221
|
-
* <p>Amazon Polly can't find the specified resource. Verify that the resource
|
|
222
|
-
* exists in the Amazon Web Services account and Region of the request and that its ARN is
|
|
223
|
-
* spelled correctly, and then try again.</p>
|
|
224
|
-
* @public
|
|
225
|
-
*/
|
|
226
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
227
|
-
static readonly shapeId: string;
|
|
228
|
-
readonly name: "ResourceNotFoundException";
|
|
229
|
-
readonly $fault: "client";
|
|
230
|
-
/**
|
|
231
|
-
* <p>The identifier of the resource that wasn't found.</p>
|
|
232
|
-
* @public
|
|
233
|
-
*/
|
|
234
|
-
resourceId: string | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* <p>The type of the resource that wasn't found.</p>
|
|
237
|
-
* @public
|
|
238
|
-
*/
|
|
239
|
-
resourceType: ResourceType | undefined;
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* <p>The request was denied because of request throttling.</p>
|
|
247
|
-
* @public
|
|
248
|
-
*/
|
|
249
|
-
export declare class ThrottlingException extends __BaseException {
|
|
250
|
-
static readonly shapeId: string;
|
|
251
|
-
readonly name: "ThrottlingException";
|
|
252
|
-
readonly $fault: "client";
|
|
253
|
-
/**
|
|
254
|
-
* <p>A list of reasons explaining why the request was throttled.</p>
|
|
255
|
-
* @public
|
|
256
|
-
*/
|
|
257
|
-
throttlingReasons?: ThrottlingReason[] | undefined;
|
|
258
|
-
/**
|
|
259
|
-
* @internal
|
|
260
|
-
*/
|
|
261
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
265
|
-
* @public
|
|
266
|
-
*/
|
|
267
|
-
export declare class ValidationException extends __BaseException {
|
|
268
|
-
static readonly shapeId: string;
|
|
269
|
-
readonly name: "ValidationException";
|
|
270
|
-
readonly $fault: "client";
|
|
271
|
-
/**
|
|
272
|
-
* <p>The reason the request failed validation.</p>
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
reason: ValidationExceptionReason | undefined;
|
|
276
|
-
/**
|
|
277
|
-
* <p>The fields that caused the validation error.</p>
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
fields?: ValidationExceptionField[] | undefined;
|
|
281
|
-
/**
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
285
|
-
}
|
|
286
381
|
/**
|
|
287
382
|
* <p>Speech marks are not supported for the <code>OutputFormat</code>
|
|
288
383
|
* selected. Speech marks are only available for content in <code>json</code>
|
|
@@ -326,21 +421,6 @@ export declare class MaxLexiconsNumberExceededException extends __BaseException
|
|
|
326
421
|
*/
|
|
327
422
|
constructor(opts: __ExceptionOptionType<MaxLexiconsNumberExceededException, __BaseException>);
|
|
328
423
|
}
|
|
329
|
-
/**
|
|
330
|
-
* <p>The list of tags on the resource is over the limit. The maximum number
|
|
331
|
-
* of tags that can be applied to a resource is 50. Remove unused tags or
|
|
332
|
-
* reduce the number of tags in the request, and then try again.</p>
|
|
333
|
-
* @public
|
|
334
|
-
*/
|
|
335
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
336
|
-
static readonly shapeId: string;
|
|
337
|
-
readonly name: "TooManyTagsException";
|
|
338
|
-
readonly $fault: "client";
|
|
339
|
-
/**
|
|
340
|
-
* @internal
|
|
341
|
-
*/
|
|
342
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
343
|
-
}
|
|
344
424
|
/**
|
|
345
425
|
* <p>The alphabet specified by the lexicon is not a supported alphabet.
|
|
346
426
|
* Valid values are <code>ipa</code>, <code>x-sampa</code>,
|
|
@@ -373,29 +453,6 @@ export declare class UnsupportedPlsLanguageException extends __BaseException {
|
|
|
373
453
|
*/
|
|
374
454
|
constructor(opts: __ExceptionOptionType<UnsupportedPlsLanguageException, __BaseException>);
|
|
375
455
|
}
|
|
376
|
-
/**
|
|
377
|
-
* <p>The request would cause a service quota to be exceeded.</p>
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
380
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
381
|
-
static readonly shapeId: string;
|
|
382
|
-
readonly name: "ServiceQuotaExceededException";
|
|
383
|
-
readonly $fault: "client";
|
|
384
|
-
/**
|
|
385
|
-
* <p>The quota code identifying the specific quota.</p>
|
|
386
|
-
* @public
|
|
387
|
-
*/
|
|
388
|
-
quotaCode: QuotaCode | undefined;
|
|
389
|
-
/**
|
|
390
|
-
* <p>The service code identifying the originating service.</p>
|
|
391
|
-
* @public
|
|
392
|
-
*/
|
|
393
|
-
serviceCode: ServiceCode | undefined;
|
|
394
|
-
/**
|
|
395
|
-
* @internal
|
|
396
|
-
*/
|
|
397
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
398
|
-
}
|
|
399
456
|
/**
|
|
400
457
|
* <p>SSML speech marks are not supported for plain text-type
|
|
401
458
|
* input.</p>
|