@aws-sdk/client-polly 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/Polly.js +0 -9
- package/dist-cjs/PollyClient.js +0 -14
- package/dist-cjs/commands/DeleteLexiconCommand.js +0 -28
- package/dist-cjs/commands/DescribeVoicesCommand.js +0 -43
- package/dist-cjs/commands/GetLexiconCommand.js +0 -26
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js +0 -28
- package/dist-cjs/commands/ListLexiconsCommand.js +0 -25
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js +0 -27
- package/dist-cjs/commands/PutLexiconCommand.js +0 -30
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js +0 -34
- package/dist-cjs/commands/SynthesizeSpeechCommand.js +0 -29
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -14
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -133
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListSpeechSynthesisTasksPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Polly.js +0 -1
- package/dist-es/PollyClient.js +0 -1
- package/dist-es/commands/DeleteLexiconCommand.js +0 -1
- package/dist-es/commands/DescribeVoicesCommand.js +0 -1
- package/dist-es/commands/GetLexiconCommand.js +0 -1
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js +0 -1
- package/dist-es/commands/ListLexiconsCommand.js +0 -1
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js +0 -1
- package/dist-es/commands/PutLexiconCommand.js +0 -1
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js +0 -1
- package/dist-es/commands/SynthesizeSpeechCommand.js +0 -1
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -14
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListSpeechSynthesisTasksPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +4 -13
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/Polly.d.ts +10 -80
- package/dist-types/ts3.4/PollyClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/DeleteLexiconCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeVoicesCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/GetLexiconCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetSpeechSynthesisTaskCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListLexiconsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSpeechSynthesisTasksCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutLexiconCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/StartSpeechSynthesisTaskCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/SynthesizeSpeechCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +4 -13
- package/dist-types/ts3.4/models/models_0.d.ts +150 -642
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Polly.js.map +0 -1
- package/dist-cjs/PollyClient.js.map +0 -1
- package/dist-cjs/commands/DeleteLexiconCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVoicesCommand.js.map +0 -1
- package/dist-cjs/commands/GetLexiconCommand.js.map +0 -1
- package/dist-cjs/commands/GetSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-cjs/commands/ListLexiconsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSpeechSynthesisTasksCommand.js.map +0 -1
- package/dist-cjs/commands/PutLexiconCommand.js.map +0 -1
- package/dist-cjs/commands/StartSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-cjs/commands/SynthesizeSpeechCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListSpeechSynthesisTasksPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Polly.js.map +0 -1
- package/dist-es/PollyClient.js.map +0 -1
- package/dist-es/commands/DeleteLexiconCommand.js.map +0 -1
- package/dist-es/commands/DescribeVoicesCommand.js.map +0 -1
- package/dist-es/commands/GetLexiconCommand.js.map +0 -1
- package/dist-es/commands/GetSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-es/commands/ListLexiconsCommand.js.map +0 -1
- package/dist-es/commands/ListSpeechSynthesisTasksCommand.js.map +0 -1
- package/dist-es/commands/PutLexiconCommand.js.map +0 -1
- package/dist-es/commands/StartSpeechSynthesisTaskCommand.js.map +0 -1
- package/dist-es/commands/SynthesizeSpeechCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListSpeechSynthesisTasksPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Polly.ts +0 -368
- package/src/PollyClient.ts +0 -277
- package/src/commands/DeleteLexiconCommand.ts +0 -98
- package/src/commands/DescribeVoicesCommand.ts +0 -113
- package/src/commands/GetLexiconCommand.ts +0 -96
- package/src/commands/GetSpeechSynthesisTaskCommand.ts +0 -98
- package/src/commands/ListLexiconsCommand.ts +0 -95
- package/src/commands/ListSpeechSynthesisTasksCommand.ts +0 -97
- package/src/commands/PutLexiconCommand.ts +0 -100
- package/src/commands/StartSpeechSynthesisTaskCommand.ts +0 -104
- package/src/commands/SynthesizeSpeechCommand.ts +0 -99
- package/src/endpoints.ts +0 -82
- package/src/index.ts +0 -14
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1374
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListSpeechSynthesisTasksPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -1712
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -4,36 +4,24 @@ exports.SynthesizeSpeechOutput = exports.SynthesizeSpeechInput = exports.TextLen
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
var DeleteLexiconInput;
|
|
6
6
|
(function (DeleteLexiconInput) {
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
7
|
DeleteLexiconInput.filterSensitiveLog = (obj) => ({
|
|
11
8
|
...obj,
|
|
12
9
|
});
|
|
13
10
|
})(DeleteLexiconInput = exports.DeleteLexiconInput || (exports.DeleteLexiconInput = {}));
|
|
14
11
|
var DeleteLexiconOutput;
|
|
15
12
|
(function (DeleteLexiconOutput) {
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
13
|
DeleteLexiconOutput.filterSensitiveLog = (obj) => ({
|
|
20
14
|
...obj,
|
|
21
15
|
});
|
|
22
16
|
})(DeleteLexiconOutput = exports.DeleteLexiconOutput || (exports.DeleteLexiconOutput = {}));
|
|
23
17
|
var LexiconNotFoundException;
|
|
24
18
|
(function (LexiconNotFoundException) {
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
19
|
LexiconNotFoundException.filterSensitiveLog = (obj) => ({
|
|
29
20
|
...obj,
|
|
30
21
|
});
|
|
31
22
|
})(LexiconNotFoundException = exports.LexiconNotFoundException || (exports.LexiconNotFoundException = {}));
|
|
32
23
|
var ServiceFailureException;
|
|
33
24
|
(function (ServiceFailureException) {
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
25
|
ServiceFailureException.filterSensitiveLog = (obj) => ({
|
|
38
26
|
...obj,
|
|
39
27
|
});
|
|
@@ -45,63 +33,42 @@ var Engine;
|
|
|
45
33
|
})(Engine = exports.Engine || (exports.Engine = {}));
|
|
46
34
|
var DescribeVoicesInput;
|
|
47
35
|
(function (DescribeVoicesInput) {
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
36
|
DescribeVoicesInput.filterSensitiveLog = (obj) => ({
|
|
52
37
|
...obj,
|
|
53
38
|
});
|
|
54
39
|
})(DescribeVoicesInput = exports.DescribeVoicesInput || (exports.DescribeVoicesInput = {}));
|
|
55
40
|
var Voice;
|
|
56
41
|
(function (Voice) {
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
42
|
Voice.filterSensitiveLog = (obj) => ({
|
|
61
43
|
...obj,
|
|
62
44
|
});
|
|
63
45
|
})(Voice = exports.Voice || (exports.Voice = {}));
|
|
64
46
|
var DescribeVoicesOutput;
|
|
65
47
|
(function (DescribeVoicesOutput) {
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
48
|
DescribeVoicesOutput.filterSensitiveLog = (obj) => ({
|
|
70
49
|
...obj,
|
|
71
50
|
});
|
|
72
51
|
})(DescribeVoicesOutput = exports.DescribeVoicesOutput || (exports.DescribeVoicesOutput = {}));
|
|
73
52
|
var InvalidNextTokenException;
|
|
74
53
|
(function (InvalidNextTokenException) {
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
54
|
InvalidNextTokenException.filterSensitiveLog = (obj) => ({
|
|
79
55
|
...obj,
|
|
80
56
|
});
|
|
81
57
|
})(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
|
|
82
58
|
var EngineNotSupportedException;
|
|
83
59
|
(function (EngineNotSupportedException) {
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
60
|
EngineNotSupportedException.filterSensitiveLog = (obj) => ({
|
|
88
61
|
...obj,
|
|
89
62
|
});
|
|
90
63
|
})(EngineNotSupportedException = exports.EngineNotSupportedException || (exports.EngineNotSupportedException = {}));
|
|
91
64
|
var GetLexiconInput;
|
|
92
65
|
(function (GetLexiconInput) {
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
66
|
GetLexiconInput.filterSensitiveLog = (obj) => ({
|
|
97
67
|
...obj,
|
|
98
68
|
});
|
|
99
69
|
})(GetLexiconInput = exports.GetLexiconInput || (exports.GetLexiconInput = {}));
|
|
100
70
|
var Lexicon;
|
|
101
71
|
(function (Lexicon) {
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
72
|
Lexicon.filterSensitiveLog = (obj) => ({
|
|
106
73
|
...obj,
|
|
107
74
|
...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -109,18 +76,12 @@ var Lexicon;
|
|
|
109
76
|
})(Lexicon = exports.Lexicon || (exports.Lexicon = {}));
|
|
110
77
|
var LexiconAttributes;
|
|
111
78
|
(function (LexiconAttributes) {
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
79
|
LexiconAttributes.filterSensitiveLog = (obj) => ({
|
|
116
80
|
...obj,
|
|
117
81
|
});
|
|
118
82
|
})(LexiconAttributes = exports.LexiconAttributes || (exports.LexiconAttributes = {}));
|
|
119
83
|
var GetLexiconOutput;
|
|
120
84
|
(function (GetLexiconOutput) {
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
85
|
GetLexiconOutput.filterSensitiveLog = (obj) => ({
|
|
125
86
|
...obj,
|
|
126
87
|
...(obj.Lexicon && { Lexicon: Lexicon.filterSensitiveLog(obj.Lexicon) }),
|
|
@@ -128,9 +89,6 @@ var GetLexiconOutput;
|
|
|
128
89
|
})(GetLexiconOutput = exports.GetLexiconOutput || (exports.GetLexiconOutput = {}));
|
|
129
90
|
var GetSpeechSynthesisTaskInput;
|
|
130
91
|
(function (GetSpeechSynthesisTaskInput) {
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
92
|
GetSpeechSynthesisTaskInput.filterSensitiveLog = (obj) => ({
|
|
135
93
|
...obj,
|
|
136
94
|
});
|
|
@@ -163,189 +121,126 @@ var TextType;
|
|
|
163
121
|
})(TextType = exports.TextType || (exports.TextType = {}));
|
|
164
122
|
var SynthesisTask;
|
|
165
123
|
(function (SynthesisTask) {
|
|
166
|
-
/**
|
|
167
|
-
* @internal
|
|
168
|
-
*/
|
|
169
124
|
SynthesisTask.filterSensitiveLog = (obj) => ({
|
|
170
125
|
...obj,
|
|
171
126
|
});
|
|
172
127
|
})(SynthesisTask = exports.SynthesisTask || (exports.SynthesisTask = {}));
|
|
173
128
|
var GetSpeechSynthesisTaskOutput;
|
|
174
129
|
(function (GetSpeechSynthesisTaskOutput) {
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
130
|
GetSpeechSynthesisTaskOutput.filterSensitiveLog = (obj) => ({
|
|
179
131
|
...obj,
|
|
180
132
|
});
|
|
181
133
|
})(GetSpeechSynthesisTaskOutput = exports.GetSpeechSynthesisTaskOutput || (exports.GetSpeechSynthesisTaskOutput = {}));
|
|
182
134
|
var InvalidTaskIdException;
|
|
183
135
|
(function (InvalidTaskIdException) {
|
|
184
|
-
/**
|
|
185
|
-
* @internal
|
|
186
|
-
*/
|
|
187
136
|
InvalidTaskIdException.filterSensitiveLog = (obj) => ({
|
|
188
137
|
...obj,
|
|
189
138
|
});
|
|
190
139
|
})(InvalidTaskIdException = exports.InvalidTaskIdException || (exports.InvalidTaskIdException = {}));
|
|
191
140
|
var SynthesisTaskNotFoundException;
|
|
192
141
|
(function (SynthesisTaskNotFoundException) {
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
*/
|
|
196
142
|
SynthesisTaskNotFoundException.filterSensitiveLog = (obj) => ({
|
|
197
143
|
...obj,
|
|
198
144
|
});
|
|
199
145
|
})(SynthesisTaskNotFoundException = exports.SynthesisTaskNotFoundException || (exports.SynthesisTaskNotFoundException = {}));
|
|
200
146
|
var InvalidLexiconException;
|
|
201
147
|
(function (InvalidLexiconException) {
|
|
202
|
-
/**
|
|
203
|
-
* @internal
|
|
204
|
-
*/
|
|
205
148
|
InvalidLexiconException.filterSensitiveLog = (obj) => ({
|
|
206
149
|
...obj,
|
|
207
150
|
});
|
|
208
151
|
})(InvalidLexiconException = exports.InvalidLexiconException || (exports.InvalidLexiconException = {}));
|
|
209
152
|
var InvalidS3BucketException;
|
|
210
153
|
(function (InvalidS3BucketException) {
|
|
211
|
-
/**
|
|
212
|
-
* @internal
|
|
213
|
-
*/
|
|
214
154
|
InvalidS3BucketException.filterSensitiveLog = (obj) => ({
|
|
215
155
|
...obj,
|
|
216
156
|
});
|
|
217
157
|
})(InvalidS3BucketException = exports.InvalidS3BucketException || (exports.InvalidS3BucketException = {}));
|
|
218
158
|
var InvalidS3KeyException;
|
|
219
159
|
(function (InvalidS3KeyException) {
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
160
|
InvalidS3KeyException.filterSensitiveLog = (obj) => ({
|
|
224
161
|
...obj,
|
|
225
162
|
});
|
|
226
163
|
})(InvalidS3KeyException = exports.InvalidS3KeyException || (exports.InvalidS3KeyException = {}));
|
|
227
164
|
var InvalidSampleRateException;
|
|
228
165
|
(function (InvalidSampleRateException) {
|
|
229
|
-
/**
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
166
|
InvalidSampleRateException.filterSensitiveLog = (obj) => ({
|
|
233
167
|
...obj,
|
|
234
168
|
});
|
|
235
169
|
})(InvalidSampleRateException = exports.InvalidSampleRateException || (exports.InvalidSampleRateException = {}));
|
|
236
170
|
var InvalidSnsTopicArnException;
|
|
237
171
|
(function (InvalidSnsTopicArnException) {
|
|
238
|
-
/**
|
|
239
|
-
* @internal
|
|
240
|
-
*/
|
|
241
172
|
InvalidSnsTopicArnException.filterSensitiveLog = (obj) => ({
|
|
242
173
|
...obj,
|
|
243
174
|
});
|
|
244
175
|
})(InvalidSnsTopicArnException = exports.InvalidSnsTopicArnException || (exports.InvalidSnsTopicArnException = {}));
|
|
245
176
|
var InvalidSsmlException;
|
|
246
177
|
(function (InvalidSsmlException) {
|
|
247
|
-
/**
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
178
|
InvalidSsmlException.filterSensitiveLog = (obj) => ({
|
|
251
179
|
...obj,
|
|
252
180
|
});
|
|
253
181
|
})(InvalidSsmlException = exports.InvalidSsmlException || (exports.InvalidSsmlException = {}));
|
|
254
182
|
var LanguageNotSupportedException;
|
|
255
183
|
(function (LanguageNotSupportedException) {
|
|
256
|
-
/**
|
|
257
|
-
* @internal
|
|
258
|
-
*/
|
|
259
184
|
LanguageNotSupportedException.filterSensitiveLog = (obj) => ({
|
|
260
185
|
...obj,
|
|
261
186
|
});
|
|
262
187
|
})(LanguageNotSupportedException = exports.LanguageNotSupportedException || (exports.LanguageNotSupportedException = {}));
|
|
263
188
|
var LexiconDescription;
|
|
264
189
|
(function (LexiconDescription) {
|
|
265
|
-
/**
|
|
266
|
-
* @internal
|
|
267
|
-
*/
|
|
268
190
|
LexiconDescription.filterSensitiveLog = (obj) => ({
|
|
269
191
|
...obj,
|
|
270
192
|
});
|
|
271
193
|
})(LexiconDescription = exports.LexiconDescription || (exports.LexiconDescription = {}));
|
|
272
194
|
var LexiconSizeExceededException;
|
|
273
195
|
(function (LexiconSizeExceededException) {
|
|
274
|
-
/**
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
196
|
LexiconSizeExceededException.filterSensitiveLog = (obj) => ({
|
|
278
197
|
...obj,
|
|
279
198
|
});
|
|
280
199
|
})(LexiconSizeExceededException = exports.LexiconSizeExceededException || (exports.LexiconSizeExceededException = {}));
|
|
281
200
|
var ListLexiconsInput;
|
|
282
201
|
(function (ListLexiconsInput) {
|
|
283
|
-
/**
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
202
|
ListLexiconsInput.filterSensitiveLog = (obj) => ({
|
|
287
203
|
...obj,
|
|
288
204
|
});
|
|
289
205
|
})(ListLexiconsInput = exports.ListLexiconsInput || (exports.ListLexiconsInput = {}));
|
|
290
206
|
var ListLexiconsOutput;
|
|
291
207
|
(function (ListLexiconsOutput) {
|
|
292
|
-
/**
|
|
293
|
-
* @internal
|
|
294
|
-
*/
|
|
295
208
|
ListLexiconsOutput.filterSensitiveLog = (obj) => ({
|
|
296
209
|
...obj,
|
|
297
210
|
});
|
|
298
211
|
})(ListLexiconsOutput = exports.ListLexiconsOutput || (exports.ListLexiconsOutput = {}));
|
|
299
212
|
var ListSpeechSynthesisTasksInput;
|
|
300
213
|
(function (ListSpeechSynthesisTasksInput) {
|
|
301
|
-
/**
|
|
302
|
-
* @internal
|
|
303
|
-
*/
|
|
304
214
|
ListSpeechSynthesisTasksInput.filterSensitiveLog = (obj) => ({
|
|
305
215
|
...obj,
|
|
306
216
|
});
|
|
307
217
|
})(ListSpeechSynthesisTasksInput = exports.ListSpeechSynthesisTasksInput || (exports.ListSpeechSynthesisTasksInput = {}));
|
|
308
218
|
var ListSpeechSynthesisTasksOutput;
|
|
309
219
|
(function (ListSpeechSynthesisTasksOutput) {
|
|
310
|
-
/**
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
313
220
|
ListSpeechSynthesisTasksOutput.filterSensitiveLog = (obj) => ({
|
|
314
221
|
...obj,
|
|
315
222
|
});
|
|
316
223
|
})(ListSpeechSynthesisTasksOutput = exports.ListSpeechSynthesisTasksOutput || (exports.ListSpeechSynthesisTasksOutput = {}));
|
|
317
224
|
var MarksNotSupportedForFormatException;
|
|
318
225
|
(function (MarksNotSupportedForFormatException) {
|
|
319
|
-
/**
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
226
|
MarksNotSupportedForFormatException.filterSensitiveLog = (obj) => ({
|
|
323
227
|
...obj,
|
|
324
228
|
});
|
|
325
229
|
})(MarksNotSupportedForFormatException = exports.MarksNotSupportedForFormatException || (exports.MarksNotSupportedForFormatException = {}));
|
|
326
230
|
var MaxLexemeLengthExceededException;
|
|
327
231
|
(function (MaxLexemeLengthExceededException) {
|
|
328
|
-
/**
|
|
329
|
-
* @internal
|
|
330
|
-
*/
|
|
331
232
|
MaxLexemeLengthExceededException.filterSensitiveLog = (obj) => ({
|
|
332
233
|
...obj,
|
|
333
234
|
});
|
|
334
235
|
})(MaxLexemeLengthExceededException = exports.MaxLexemeLengthExceededException || (exports.MaxLexemeLengthExceededException = {}));
|
|
335
236
|
var MaxLexiconsNumberExceededException;
|
|
336
237
|
(function (MaxLexiconsNumberExceededException) {
|
|
337
|
-
/**
|
|
338
|
-
* @internal
|
|
339
|
-
*/
|
|
340
238
|
MaxLexiconsNumberExceededException.filterSensitiveLog = (obj) => ({
|
|
341
239
|
...obj,
|
|
342
240
|
});
|
|
343
241
|
})(MaxLexiconsNumberExceededException = exports.MaxLexiconsNumberExceededException || (exports.MaxLexiconsNumberExceededException = {}));
|
|
344
242
|
var PutLexiconInput;
|
|
345
243
|
(function (PutLexiconInput) {
|
|
346
|
-
/**
|
|
347
|
-
* @internal
|
|
348
|
-
*/
|
|
349
244
|
PutLexiconInput.filterSensitiveLog = (obj) => ({
|
|
350
245
|
...obj,
|
|
351
246
|
...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -353,83 +248,55 @@ var PutLexiconInput;
|
|
|
353
248
|
})(PutLexiconInput = exports.PutLexiconInput || (exports.PutLexiconInput = {}));
|
|
354
249
|
var PutLexiconOutput;
|
|
355
250
|
(function (PutLexiconOutput) {
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
251
|
PutLexiconOutput.filterSensitiveLog = (obj) => ({
|
|
360
252
|
...obj,
|
|
361
253
|
});
|
|
362
254
|
})(PutLexiconOutput = exports.PutLexiconOutput || (exports.PutLexiconOutput = {}));
|
|
363
255
|
var UnsupportedPlsAlphabetException;
|
|
364
256
|
(function (UnsupportedPlsAlphabetException) {
|
|
365
|
-
/**
|
|
366
|
-
* @internal
|
|
367
|
-
*/
|
|
368
257
|
UnsupportedPlsAlphabetException.filterSensitiveLog = (obj) => ({
|
|
369
258
|
...obj,
|
|
370
259
|
});
|
|
371
260
|
})(UnsupportedPlsAlphabetException = exports.UnsupportedPlsAlphabetException || (exports.UnsupportedPlsAlphabetException = {}));
|
|
372
261
|
var UnsupportedPlsLanguageException;
|
|
373
262
|
(function (UnsupportedPlsLanguageException) {
|
|
374
|
-
/**
|
|
375
|
-
* @internal
|
|
376
|
-
*/
|
|
377
263
|
UnsupportedPlsLanguageException.filterSensitiveLog = (obj) => ({
|
|
378
264
|
...obj,
|
|
379
265
|
});
|
|
380
266
|
})(UnsupportedPlsLanguageException = exports.UnsupportedPlsLanguageException || (exports.UnsupportedPlsLanguageException = {}));
|
|
381
267
|
var SsmlMarksNotSupportedForTextTypeException;
|
|
382
268
|
(function (SsmlMarksNotSupportedForTextTypeException) {
|
|
383
|
-
/**
|
|
384
|
-
* @internal
|
|
385
|
-
*/
|
|
386
269
|
SsmlMarksNotSupportedForTextTypeException.filterSensitiveLog = (obj) => ({
|
|
387
270
|
...obj,
|
|
388
271
|
});
|
|
389
272
|
})(SsmlMarksNotSupportedForTextTypeException = exports.SsmlMarksNotSupportedForTextTypeException || (exports.SsmlMarksNotSupportedForTextTypeException = {}));
|
|
390
273
|
var StartSpeechSynthesisTaskInput;
|
|
391
274
|
(function (StartSpeechSynthesisTaskInput) {
|
|
392
|
-
/**
|
|
393
|
-
* @internal
|
|
394
|
-
*/
|
|
395
275
|
StartSpeechSynthesisTaskInput.filterSensitiveLog = (obj) => ({
|
|
396
276
|
...obj,
|
|
397
277
|
});
|
|
398
278
|
})(StartSpeechSynthesisTaskInput = exports.StartSpeechSynthesisTaskInput || (exports.StartSpeechSynthesisTaskInput = {}));
|
|
399
279
|
var StartSpeechSynthesisTaskOutput;
|
|
400
280
|
(function (StartSpeechSynthesisTaskOutput) {
|
|
401
|
-
/**
|
|
402
|
-
* @internal
|
|
403
|
-
*/
|
|
404
281
|
StartSpeechSynthesisTaskOutput.filterSensitiveLog = (obj) => ({
|
|
405
282
|
...obj,
|
|
406
283
|
});
|
|
407
284
|
})(StartSpeechSynthesisTaskOutput = exports.StartSpeechSynthesisTaskOutput || (exports.StartSpeechSynthesisTaskOutput = {}));
|
|
408
285
|
var TextLengthExceededException;
|
|
409
286
|
(function (TextLengthExceededException) {
|
|
410
|
-
/**
|
|
411
|
-
* @internal
|
|
412
|
-
*/
|
|
413
287
|
TextLengthExceededException.filterSensitiveLog = (obj) => ({
|
|
414
288
|
...obj,
|
|
415
289
|
});
|
|
416
290
|
})(TextLengthExceededException = exports.TextLengthExceededException || (exports.TextLengthExceededException = {}));
|
|
417
291
|
var SynthesizeSpeechInput;
|
|
418
292
|
(function (SynthesizeSpeechInput) {
|
|
419
|
-
/**
|
|
420
|
-
* @internal
|
|
421
|
-
*/
|
|
422
293
|
SynthesizeSpeechInput.filterSensitiveLog = (obj) => ({
|
|
423
294
|
...obj,
|
|
424
295
|
});
|
|
425
296
|
})(SynthesizeSpeechInput = exports.SynthesizeSpeechInput || (exports.SynthesizeSpeechInput = {}));
|
|
426
297
|
var SynthesizeSpeechOutput;
|
|
427
298
|
(function (SynthesizeSpeechOutput) {
|
|
428
|
-
/**
|
|
429
|
-
* @internal
|
|
430
|
-
*/
|
|
431
299
|
SynthesizeSpeechOutput.filterSensitiveLog = (obj) => ({
|
|
432
300
|
...obj,
|
|
433
301
|
});
|
|
434
302
|
})(SynthesizeSpeechOutput = exports.SynthesizeSpeechOutput || (exports.SynthesizeSpeechOutput = {}));
|
|
435
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListSpeechSynthesisTasks = void 0;
|
|
|
4
4
|
const ListSpeechSynthesisTasksCommand_1 = require("../commands/ListSpeechSynthesisTasksCommand");
|
|
5
5
|
const Polly_1 = require("../Polly");
|
|
6
6
|
const PollyClient_1 = require("../PollyClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListSpeechSynthesisTasksCommand_1.ListSpeechSynthesisTasksCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listSpeechSynthesisTasks(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListSpeechSynthesisTasks(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListSpeechSynthesisTasks(config, input, ...additionalArg
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListSpeechSynthesisTasks = paginateListSpeechSynthesisTasks;
|
|
46
|
-
//# sourceMappingURL=ListSpeechSynthesisTasksPaginator.js.map
|
|
@@ -1394,14 +1394,12 @@ const deserializeMetadata = (output) => {
|
|
|
1394
1394
|
cfId: output.headers["x-amz-cf-id"],
|
|
1395
1395
|
});
|
|
1396
1396
|
};
|
|
1397
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1398
1397
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1399
1398
|
if (streamBody instanceof Uint8Array) {
|
|
1400
1399
|
return Promise.resolve(streamBody);
|
|
1401
1400
|
}
|
|
1402
1401
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1403
1402
|
};
|
|
1404
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1405
1403
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1406
1404
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1407
1405
|
value !== null &&
|
|
@@ -1414,9 +1412,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1414
1412
|
}
|
|
1415
1413
|
return {};
|
|
1416
1414
|
});
|
|
1417
|
-
/**
|
|
1418
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
1419
|
-
*/
|
|
1420
1415
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1421
1416
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1422
1417
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -1441,4 +1436,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1441
1436
|
}
|
|
1442
1437
|
return "";
|
|
1443
1438
|
};
|
|
1444
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
6
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
7
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
|
10
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
12
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
13
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
14
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
39
35
|
};
|
|
40
36
|
};
|
|
41
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
42
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
6
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
11
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
18
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
19
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
|
-
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
44
40
|
};
|
|
45
41
|
};
|
|
46
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
47
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
package/dist-es/Polly.js
CHANGED
package/dist-es/PollyClient.js
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./DeleteLexiconCommand";
|
|
2
|
+
export * from "./DescribeVoicesCommand";
|
|
3
|
+
export * from "./GetLexiconCommand";
|
|
4
|
+
export * from "./GetSpeechSynthesisTaskCommand";
|
|
5
|
+
export * from "./ListLexiconsCommand";
|
|
6
|
+
export * from "./ListSpeechSynthesisTasksCommand";
|
|
7
|
+
export * from "./PutLexiconCommand";
|
|
8
|
+
export * from "./StartSpeechSynthesisTaskCommand";
|
|
9
|
+
export * from "./SynthesizeSpeechCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -58,7 +58,7 @@ var partitionHash = {
|
|
|
58
58
|
hostname: "polly.{region}.amazonaws.com.cn",
|
|
59
59
|
},
|
|
60
60
|
"aws-iso": {
|
|
61
|
-
regions: ["us-iso-east-1"],
|
|
61
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
62
62
|
hostname: "polly.{region}.c2s.ic.gov",
|
|
63
63
|
},
|
|
64
64
|
"aws-iso-b": {
|
|
@@ -75,4 +75,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
75
75
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "polly", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
76
76
|
});
|
|
77
77
|
}); };
|
|
78
|
-
//# sourceMappingURL=endpoints.js.map
|