@aws-sdk/client-voice-id 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2 -2
- package/dist-es/VoiceID.js +93 -86
- package/dist-es/VoiceIDClient.js +28 -22
- package/dist-es/commands/CreateDomainCommand.js +28 -21
- package/dist-es/commands/DeleteDomainCommand.js +29 -22
- package/dist-es/commands/DeleteFraudsterCommand.js +29 -22
- package/dist-es/commands/DeleteSpeakerCommand.js +29 -22
- package/dist-es/commands/DescribeDomainCommand.js +28 -21
- package/dist-es/commands/DescribeFraudsterCommand.js +28 -21
- package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +28 -21
- package/dist-es/commands/DescribeSpeakerCommand.js +28 -21
- package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +28 -21
- package/dist-es/commands/EvaluateSessionCommand.js +28 -21
- package/dist-es/commands/ListDomainsCommand.js +28 -21
- package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +28 -21
- package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +28 -21
- package/dist-es/commands/ListSpeakersCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/OptOutSpeakerCommand.js +28 -21
- package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +28 -21
- package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateDomainCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/VoiceIDServiceException.js +10 -5
- package/dist-es/models/models_0.js +162 -333
- package/dist-es/pagination/ListDomainsPaginator.js +68 -25
- package/dist-es/pagination/ListFraudsterRegistrationJobsPaginator.js +68 -25
- package/dist-es/pagination/ListSpeakerEnrollmentJobsPaginator.js +68 -25
- package/dist-es/pagination/ListSpeakersPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_0.js +1984 -1529
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.Message = opts.Message;
|
|
12
|
+
return _this;
|
|
14
13
|
}
|
|
15
|
-
|
|
14
|
+
return AccessDeniedException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { AccessDeniedException };
|
|
16
17
|
export var AuthenticationDecision;
|
|
17
18
|
(function (AuthenticationDecision) {
|
|
18
19
|
AuthenticationDecision["ACCEPT"] = "ACCEPT";
|
|
@@ -34,20 +35,20 @@ export var ConflictType;
|
|
|
34
35
|
ConflictType["SPEAKER_NOT_SET"] = "SPEAKER_NOT_SET";
|
|
35
36
|
ConflictType["SPEAKER_OPTED_OUT"] = "SPEAKER_OPTED_OUT";
|
|
36
37
|
})(ConflictType || (ConflictType = {}));
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
this.Message = opts.Message;
|
|
48
|
-
this.ConflictType = opts.ConflictType;
|
|
38
|
+
var ConflictException = (function (_super) {
|
|
39
|
+
__extends(ConflictException, _super);
|
|
40
|
+
function ConflictException(opts) {
|
|
41
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
42
|
+
_this.name = "ConflictException";
|
|
43
|
+
_this.$fault = "client";
|
|
44
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
45
|
+
_this.Message = opts.Message;
|
|
46
|
+
_this.ConflictType = opts.ConflictType;
|
|
47
|
+
return _this;
|
|
49
48
|
}
|
|
50
|
-
|
|
49
|
+
return ConflictException;
|
|
50
|
+
}(__BaseException));
|
|
51
|
+
export { ConflictException };
|
|
51
52
|
export var DomainStatus;
|
|
52
53
|
(function (DomainStatus) {
|
|
53
54
|
DomainStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -60,19 +61,19 @@ export var ServerSideEncryptionUpdateStatus;
|
|
|
60
61
|
ServerSideEncryptionUpdateStatus["FAILED"] = "FAILED";
|
|
61
62
|
ServerSideEncryptionUpdateStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
62
63
|
})(ServerSideEncryptionUpdateStatus || (ServerSideEncryptionUpdateStatus = {}));
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
73
|
-
this.Message = opts.Message;
|
|
64
|
+
var InternalServerException = (function (_super) {
|
|
65
|
+
__extends(InternalServerException, _super);
|
|
66
|
+
function InternalServerException(opts) {
|
|
67
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
68
|
+
_this.name = "InternalServerException";
|
|
69
|
+
_this.$fault = "server";
|
|
70
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
71
|
+
_this.Message = opts.Message;
|
|
72
|
+
return _this;
|
|
74
73
|
}
|
|
75
|
-
|
|
74
|
+
return InternalServerException;
|
|
75
|
+
}(__BaseException));
|
|
76
|
+
export { InternalServerException };
|
|
76
77
|
export var ResourceType;
|
|
77
78
|
(function (ResourceType) {
|
|
78
79
|
ResourceType["BATCH_JOB"] = "BATCH_JOB";
|
|
@@ -82,59 +83,59 @@ export var ResourceType;
|
|
|
82
83
|
ResourceType["SESSION"] = "SESSION";
|
|
83
84
|
ResourceType["SPEAKER"] = "SPEAKER";
|
|
84
85
|
})(ResourceType || (ResourceType = {}));
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
this.Message = opts.Message;
|
|
96
|
-
this.ResourceType = opts.ResourceType;
|
|
86
|
+
var ResourceNotFoundException = (function (_super) {
|
|
87
|
+
__extends(ResourceNotFoundException, _super);
|
|
88
|
+
function ResourceNotFoundException(opts) {
|
|
89
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
90
|
+
_this.name = "ResourceNotFoundException";
|
|
91
|
+
_this.$fault = "client";
|
|
92
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
93
|
+
_this.Message = opts.Message;
|
|
94
|
+
_this.ResourceType = opts.ResourceType;
|
|
95
|
+
return _this;
|
|
97
96
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
97
|
+
return ResourceNotFoundException;
|
|
98
|
+
}(__BaseException));
|
|
99
|
+
export { ResourceNotFoundException };
|
|
100
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
101
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
102
|
+
function ServiceQuotaExceededException(opts) {
|
|
103
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
104
|
+
_this.name = "ServiceQuotaExceededException";
|
|
105
|
+
_this.$fault = "client";
|
|
106
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
107
|
+
_this.Message = opts.Message;
|
|
108
|
+
return _this;
|
|
110
109
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
110
|
+
return ServiceQuotaExceededException;
|
|
111
|
+
}(__BaseException));
|
|
112
|
+
export { ServiceQuotaExceededException };
|
|
113
|
+
var ThrottlingException = (function (_super) {
|
|
114
|
+
__extends(ThrottlingException, _super);
|
|
115
|
+
function ThrottlingException(opts) {
|
|
116
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
117
|
+
_this.name = "ThrottlingException";
|
|
118
|
+
_this.$fault = "client";
|
|
119
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
120
|
+
_this.Message = opts.Message;
|
|
121
|
+
return _this;
|
|
123
122
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
123
|
+
return ThrottlingException;
|
|
124
|
+
}(__BaseException));
|
|
125
|
+
export { ThrottlingException };
|
|
126
|
+
var ValidationException = (function (_super) {
|
|
127
|
+
__extends(ValidationException, _super);
|
|
128
|
+
function ValidationException(opts) {
|
|
129
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
130
|
+
_this.name = "ValidationException";
|
|
131
|
+
_this.$fault = "client";
|
|
132
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
133
|
+
_this.Message = opts.Message;
|
|
134
|
+
return _this;
|
|
136
135
|
}
|
|
137
|
-
|
|
136
|
+
return ValidationException;
|
|
137
|
+
}(__BaseException));
|
|
138
|
+
export { ValidationException };
|
|
138
139
|
export var FraudsterRegistrationJobStatus;
|
|
139
140
|
(function (FraudsterRegistrationJobStatus) {
|
|
140
141
|
FraudsterRegistrationJobStatus["COMPLETED"] = "COMPLETED";
|
|
@@ -190,250 +191,78 @@ export var StreamingStatus;
|
|
|
190
191
|
StreamingStatus["ONGOING"] = "ONGOING";
|
|
191
192
|
StreamingStatus["PENDING_CONFIGURATION"] = "PENDING_CONFIGURATION";
|
|
192
193
|
})(StreamingStatus || (StreamingStatus = {}));
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
});
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
});
|
|
200
|
-
export
|
|
201
|
-
|
|
202
|
-
});
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
});
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
});
|
|
214
|
-
export
|
|
215
|
-
|
|
216
|
-
});
|
|
217
|
-
export
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
});
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
});
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
})
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
});
|
|
233
|
-
export
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
});
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
})
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
});
|
|
248
|
-
export
|
|
249
|
-
|
|
250
|
-
});
|
|
251
|
-
export
|
|
252
|
-
|
|
253
|
-
})
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
});
|
|
257
|
-
export
|
|
258
|
-
|
|
259
|
-
});
|
|
260
|
-
export
|
|
261
|
-
|
|
262
|
-
});
|
|
263
|
-
export
|
|
264
|
-
|
|
265
|
-
});
|
|
266
|
-
export
|
|
267
|
-
|
|
268
|
-
});
|
|
269
|
-
export const RegistrationConfigFilterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
});
|
|
272
|
-
export const FraudsterRegistrationJobFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
...(obj.JobName && { JobName: SENSITIVE_STRING }),
|
|
275
|
-
});
|
|
276
|
-
export const DescribeFraudsterRegistrationJobResponseFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
...(obj.Job && { Job: FraudsterRegistrationJobFilterSensitiveLog(obj.Job) }),
|
|
279
|
-
});
|
|
280
|
-
export const DescribeSpeakerRequestFilterSensitiveLog = (obj) => ({
|
|
281
|
-
...obj,
|
|
282
|
-
...(obj.SpeakerId && { SpeakerId: SENSITIVE_STRING }),
|
|
283
|
-
});
|
|
284
|
-
export const SpeakerFilterSensitiveLog = (obj) => ({
|
|
285
|
-
...obj,
|
|
286
|
-
...(obj.CustomerSpeakerId && { CustomerSpeakerId: SENSITIVE_STRING }),
|
|
287
|
-
});
|
|
288
|
-
export const DescribeSpeakerResponseFilterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
...(obj.Speaker && { Speaker: SpeakerFilterSensitiveLog(obj.Speaker) }),
|
|
291
|
-
});
|
|
292
|
-
export const DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog = (obj) => ({
|
|
293
|
-
...obj,
|
|
294
|
-
});
|
|
295
|
-
export const EnrollmentJobFraudDetectionConfigFilterSensitiveLog = (obj) => ({
|
|
296
|
-
...obj,
|
|
297
|
-
});
|
|
298
|
-
export const EnrollmentConfigFilterSensitiveLog = (obj) => ({
|
|
299
|
-
...obj,
|
|
300
|
-
});
|
|
301
|
-
export const SpeakerEnrollmentJobFilterSensitiveLog = (obj) => ({
|
|
302
|
-
...obj,
|
|
303
|
-
...(obj.JobName && { JobName: SENSITIVE_STRING }),
|
|
304
|
-
});
|
|
305
|
-
export const DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
-
...obj,
|
|
307
|
-
...(obj.Job && { Job: SpeakerEnrollmentJobFilterSensitiveLog(obj.Job) }),
|
|
308
|
-
});
|
|
309
|
-
export const ListDomainsRequestFilterSensitiveLog = (obj) => ({
|
|
310
|
-
...obj,
|
|
311
|
-
});
|
|
312
|
-
export const DomainSummaryFilterSensitiveLog = (obj) => ({
|
|
313
|
-
...obj,
|
|
314
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
315
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
316
|
-
});
|
|
317
|
-
export const ListDomainsResponseFilterSensitiveLog = (obj) => ({
|
|
318
|
-
...obj,
|
|
319
|
-
...(obj.DomainSummaries && {
|
|
320
|
-
DomainSummaries: obj.DomainSummaries.map((item) => DomainSummaryFilterSensitiveLog(item)),
|
|
321
|
-
}),
|
|
322
|
-
});
|
|
323
|
-
export const UpdateDomainRequestFilterSensitiveLog = (obj) => ({
|
|
324
|
-
...obj,
|
|
325
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
326
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
327
|
-
});
|
|
328
|
-
export const UpdateDomainResponseFilterSensitiveLog = (obj) => ({
|
|
329
|
-
...obj,
|
|
330
|
-
...(obj.Domain && { Domain: DomainFilterSensitiveLog(obj.Domain) }),
|
|
331
|
-
});
|
|
332
|
-
export const EvaluateSessionRequestFilterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
});
|
|
335
|
-
export const FraudDetectionConfigurationFilterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
});
|
|
338
|
-
export const KnownFraudsterRiskFilterSensitiveLog = (obj) => ({
|
|
339
|
-
...obj,
|
|
340
|
-
});
|
|
341
|
-
export const VoiceSpoofingRiskFilterSensitiveLog = (obj) => ({
|
|
342
|
-
...obj,
|
|
343
|
-
});
|
|
344
|
-
export const FraudRiskDetailsFilterSensitiveLog = (obj) => ({
|
|
345
|
-
...obj,
|
|
346
|
-
});
|
|
347
|
-
export const FraudDetectionResultFilterSensitiveLog = (obj) => ({
|
|
348
|
-
...obj,
|
|
349
|
-
});
|
|
350
|
-
export const EvaluateSessionResponseFilterSensitiveLog = (obj) => ({
|
|
351
|
-
...obj,
|
|
352
|
-
...(obj.AuthenticationResult && {
|
|
353
|
-
AuthenticationResult: AuthenticationResultFilterSensitiveLog(obj.AuthenticationResult),
|
|
354
|
-
}),
|
|
355
|
-
});
|
|
356
|
-
export const FraudsterRegistrationJobSummaryFilterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
...(obj.JobName && { JobName: SENSITIVE_STRING }),
|
|
359
|
-
});
|
|
360
|
-
export const ListFraudsterRegistrationJobsRequestFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
export const ListFraudsterRegistrationJobsResponseFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
...(obj.JobSummaries && {
|
|
366
|
-
JobSummaries: obj.JobSummaries.map((item) => FraudsterRegistrationJobSummaryFilterSensitiveLog(item)),
|
|
367
|
-
}),
|
|
368
|
-
});
|
|
369
|
-
export const ListSpeakerEnrollmentJobsRequestFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
});
|
|
372
|
-
export const SpeakerEnrollmentJobSummaryFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
...(obj.JobName && { JobName: SENSITIVE_STRING }),
|
|
375
|
-
});
|
|
376
|
-
export const ListSpeakerEnrollmentJobsResponseFilterSensitiveLog = (obj) => ({
|
|
377
|
-
...obj,
|
|
378
|
-
...(obj.JobSummaries && {
|
|
379
|
-
JobSummaries: obj.JobSummaries.map((item) => SpeakerEnrollmentJobSummaryFilterSensitiveLog(item)),
|
|
380
|
-
}),
|
|
381
|
-
});
|
|
382
|
-
export const ListSpeakersRequestFilterSensitiveLog = (obj) => ({
|
|
383
|
-
...obj,
|
|
384
|
-
});
|
|
385
|
-
export const SpeakerSummaryFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
...(obj.CustomerSpeakerId && { CustomerSpeakerId: SENSITIVE_STRING }),
|
|
388
|
-
});
|
|
389
|
-
export const ListSpeakersResponseFilterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
...(obj.SpeakerSummaries && {
|
|
392
|
-
SpeakerSummaries: obj.SpeakerSummaries.map((item) => SpeakerSummaryFilterSensitiveLog(item)),
|
|
393
|
-
}),
|
|
394
|
-
});
|
|
395
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
});
|
|
398
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
399
|
-
...obj,
|
|
400
|
-
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
401
|
-
});
|
|
402
|
-
export const OptOutSpeakerRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
-
...obj,
|
|
404
|
-
...(obj.SpeakerId && { SpeakerId: SENSITIVE_STRING }),
|
|
405
|
-
});
|
|
406
|
-
export const OptOutSpeakerResponseFilterSensitiveLog = (obj) => ({
|
|
407
|
-
...obj,
|
|
408
|
-
...(obj.Speaker && { Speaker: SpeakerFilterSensitiveLog(obj.Speaker) }),
|
|
409
|
-
});
|
|
410
|
-
export const StartFraudsterRegistrationJobRequestFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
...(obj.JobName && { JobName: SENSITIVE_STRING }),
|
|
413
|
-
});
|
|
414
|
-
export const StartFraudsterRegistrationJobResponseFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
...(obj.Job && { Job: FraudsterRegistrationJobFilterSensitiveLog(obj.Job) }),
|
|
417
|
-
});
|
|
418
|
-
export const StartSpeakerEnrollmentJobRequestFilterSensitiveLog = (obj) => ({
|
|
419
|
-
...obj,
|
|
420
|
-
...(obj.JobName && { JobName: SENSITIVE_STRING }),
|
|
421
|
-
});
|
|
422
|
-
export const StartSpeakerEnrollmentJobResponseFilterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
...(obj.Job && { Job: SpeakerEnrollmentJobFilterSensitiveLog(obj.Job) }),
|
|
425
|
-
});
|
|
426
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
...(obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }),
|
|
429
|
-
});
|
|
430
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
});
|
|
433
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
434
|
-
...obj,
|
|
435
|
-
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
436
|
-
});
|
|
437
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
438
|
-
...obj,
|
|
439
|
-
});
|
|
194
|
+
export var AuthenticationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var AuthenticationResultFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CustomerSpeakerId && { CustomerSpeakerId: SENSITIVE_STRING }))); };
|
|
196
|
+
export var ServerSideEncryptionConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var TagFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Key && { Key: SENSITIVE_STRING })), (obj.Value && { Value: SENSITIVE_STRING }))); };
|
|
198
|
+
export var CreateDomainRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING })), (obj.Tags && { Tags: obj.Tags.map(function (item) { return TagFilterSensitiveLog(item); }) }))); };
|
|
199
|
+
export var ServerSideEncryptionUpdateDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
+
export var DomainFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
201
|
+
export var CreateDomainResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Domain && { Domain: DomainFilterSensitiveLog(obj.Domain) }))); };
|
|
202
|
+
export var DeleteDomainRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
export var DeleteFraudsterRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.FraudsterId && { FraudsterId: SENSITIVE_STRING }))); };
|
|
204
|
+
export var DeleteSpeakerRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SpeakerId && { SpeakerId: SENSITIVE_STRING }))); };
|
|
205
|
+
export var DescribeDomainRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var DescribeDomainResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Domain && { Domain: DomainFilterSensitiveLog(obj.Domain) }))); };
|
|
207
|
+
export var DescribeFraudsterRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.FraudsterId && { FraudsterId: SENSITIVE_STRING }))); };
|
|
208
|
+
export var FraudsterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
export var DescribeFraudsterResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
export var DescribeFraudsterRegistrationJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
export var FailureDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var InputDataConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var JobProgressFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var OutputDataConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var RegistrationConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var FraudsterRegistrationJobFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobName && { JobName: SENSITIVE_STRING }))); };
|
|
217
|
+
export var DescribeFraudsterRegistrationJobResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Job && { Job: FraudsterRegistrationJobFilterSensitiveLog(obj.Job) }))); };
|
|
218
|
+
export var DescribeSpeakerRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SpeakerId && { SpeakerId: SENSITIVE_STRING }))); };
|
|
219
|
+
export var SpeakerFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CustomerSpeakerId && { CustomerSpeakerId: SENSITIVE_STRING }))); };
|
|
220
|
+
export var DescribeSpeakerResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Speaker && { Speaker: SpeakerFilterSensitiveLog(obj.Speaker) }))); };
|
|
221
|
+
export var DescribeSpeakerEnrollmentJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var EnrollmentJobFraudDetectionConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var EnrollmentConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var SpeakerEnrollmentJobFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobName && { JobName: SENSITIVE_STRING }))); };
|
|
225
|
+
export var DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Job && { Job: SpeakerEnrollmentJobFilterSensitiveLog(obj.Job) }))); };
|
|
226
|
+
export var ListDomainsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var DomainSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
228
|
+
export var ListDomainsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DomainSummaries && {
|
|
229
|
+
DomainSummaries: obj.DomainSummaries.map(function (item) { return DomainSummaryFilterSensitiveLog(item); }),
|
|
230
|
+
}))); };
|
|
231
|
+
export var UpdateDomainRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
232
|
+
export var UpdateDomainResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Domain && { Domain: DomainFilterSensitiveLog(obj.Domain) }))); };
|
|
233
|
+
export var EvaluateSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var FraudDetectionConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var KnownFraudsterRiskFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var VoiceSpoofingRiskFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var FraudRiskDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
+
export var FraudDetectionResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
export var EvaluateSessionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationResult && {
|
|
240
|
+
AuthenticationResult: AuthenticationResultFilterSensitiveLog(obj.AuthenticationResult),
|
|
241
|
+
}))); };
|
|
242
|
+
export var FraudsterRegistrationJobSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobName && { JobName: SENSITIVE_STRING }))); };
|
|
243
|
+
export var ListFraudsterRegistrationJobsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
244
|
+
export var ListFraudsterRegistrationJobsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobSummaries && {
|
|
245
|
+
JobSummaries: obj.JobSummaries.map(function (item) { return FraudsterRegistrationJobSummaryFilterSensitiveLog(item); }),
|
|
246
|
+
}))); };
|
|
247
|
+
export var ListSpeakerEnrollmentJobsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
|
+
export var SpeakerEnrollmentJobSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobName && { JobName: SENSITIVE_STRING }))); };
|
|
249
|
+
export var ListSpeakerEnrollmentJobsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobSummaries && {
|
|
250
|
+
JobSummaries: obj.JobSummaries.map(function (item) { return SpeakerEnrollmentJobSummaryFilterSensitiveLog(item); }),
|
|
251
|
+
}))); };
|
|
252
|
+
export var ListSpeakersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
253
|
+
export var SpeakerSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CustomerSpeakerId && { CustomerSpeakerId: SENSITIVE_STRING }))); };
|
|
254
|
+
export var ListSpeakersResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SpeakerSummaries && {
|
|
255
|
+
SpeakerSummaries: obj.SpeakerSummaries.map(function (item) { return SpeakerSummaryFilterSensitiveLog(item); }),
|
|
256
|
+
}))); };
|
|
257
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
258
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: obj.Tags.map(function (item) { return TagFilterSensitiveLog(item); }) }))); };
|
|
259
|
+
export var OptOutSpeakerRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SpeakerId && { SpeakerId: SENSITIVE_STRING }))); };
|
|
260
|
+
export var OptOutSpeakerResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Speaker && { Speaker: SpeakerFilterSensitiveLog(obj.Speaker) }))); };
|
|
261
|
+
export var StartFraudsterRegistrationJobRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobName && { JobName: SENSITIVE_STRING }))); };
|
|
262
|
+
export var StartFraudsterRegistrationJobResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Job && { Job: FraudsterRegistrationJobFilterSensitiveLog(obj.Job) }))); };
|
|
263
|
+
export var StartSpeakerEnrollmentJobRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.JobName && { JobName: SENSITIVE_STRING }))); };
|
|
264
|
+
export var StartSpeakerEnrollmentJobResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Job && { Job: SpeakerEnrollmentJobFilterSensitiveLog(obj.Job) }))); };
|
|
265
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: obj.Tags.map(function (item) { return TagFilterSensitiveLog(item); }) }))); };
|
|
266
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TagKeys && { TagKeys: SENSITIVE_STRING }))); };
|
|
268
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListDomainsCommand } from "../commands/ListDomainsCommand";
|
|
2
3
|
import { VoiceID } from "../VoiceID";
|
|
3
4
|
import { VoiceIDClient } from "../VoiceIDClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDomainsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listDomains.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof VoiceID) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof VoiceIDClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected VoiceID | VoiceIDClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListDomains(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListDomains_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof VoiceID)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof VoiceIDClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected VoiceID | VoiceIDClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|