@aws-sdk/client-voice-id 3.1074.0 → 3.1076.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/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultVoiceIDHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AssociateFraudster$, CreateDomain$, CreateWatchlist$, DeleteDomain$, DeleteFraudster$, DeleteSpeaker$, DeleteWatchlist$, DescribeDomain$, DescribeFraudster$, DescribeFraudsterRegistrationJob$, DescribeSpeaker$, DescribeSpeakerEnrollmentJob$, DescribeWatchlist$, DisassociateFraudster$, EvaluateSession$, ListDomains$, ListFraudsterRegistrationJobs$, ListFraudsters$, ListSpeakerEnrollmentJobs$, ListSpeakers$, ListTagsForResource$, ListWatchlists$, OptOutSpeaker$, StartFraudsterRegistrationJob$, StartSpeakerEnrollmentJob$, TagResource$, UntagResource$, UpdateDomain$, UpdateWatchlist$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { VoiceIDServiceException } = require("./models/VoiceIDServiceException");
18
- exports.VoiceIDServiceException = VoiceIDServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultVoiceIDHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "voiceid",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultVoiceIDHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1046 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://voiceid-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://voiceid-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://voiceid.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://voiceid.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class VoiceIDServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, VoiceIDServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends VoiceIDServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class ConflictException extends VoiceIDServiceException {
154
+ name = "ConflictException";
155
+ $fault = "client";
156
+ Message;
157
+ ConflictType;
158
+ constructor(opts) {
159
+ super({
160
+ name: "ConflictException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ConflictException.prototype);
165
+ this.Message = opts.Message;
166
+ this.ConflictType = opts.ConflictType;
167
+ }
168
+ }
169
+ class InternalServerException extends VoiceIDServiceException {
170
+ name = "InternalServerException";
171
+ $fault = "server";
172
+ Message;
173
+ constructor(opts) {
174
+ super({
175
+ name: "InternalServerException",
176
+ $fault: "server",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, InternalServerException.prototype);
180
+ this.Message = opts.Message;
181
+ }
182
+ }
183
+ class ResourceNotFoundException extends VoiceIDServiceException {
184
+ name = "ResourceNotFoundException";
185
+ $fault = "client";
186
+ Message;
187
+ ResourceType;
188
+ constructor(opts) {
189
+ super({
190
+ name: "ResourceNotFoundException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
195
+ this.Message = opts.Message;
196
+ this.ResourceType = opts.ResourceType;
197
+ }
198
+ }
199
+ class ServiceQuotaExceededException extends VoiceIDServiceException {
200
+ name = "ServiceQuotaExceededException";
201
+ $fault = "client";
202
+ Message;
203
+ constructor(opts) {
204
+ super({
205
+ name: "ServiceQuotaExceededException",
206
+ $fault: "client",
207
+ ...opts,
208
+ });
209
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
210
+ this.Message = opts.Message;
211
+ }
212
+ }
213
+ class ThrottlingException extends VoiceIDServiceException {
214
+ name = "ThrottlingException";
215
+ $fault = "client";
216
+ Message;
217
+ constructor(opts) {
218
+ super({
219
+ name: "ThrottlingException",
220
+ $fault: "client",
221
+ ...opts,
222
+ });
223
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
224
+ this.Message = opts.Message;
225
+ }
226
+ }
227
+ class ValidationException extends VoiceIDServiceException {
228
+ name = "ValidationException";
229
+ $fault = "client";
230
+ Message;
231
+ constructor(opts) {
232
+ super({
233
+ name: "ValidationException",
234
+ $fault: "client",
235
+ ...opts,
236
+ });
237
+ Object.setPrototypeOf(this, ValidationException.prototype);
238
+ this.Message = opts.Message;
239
+ }
240
+ }
241
+
242
+ const _A = "Arn";
243
+ const _AAEA = "AudioAggregationEndedAt";
244
+ const _AASA = "AudioAggregationStartedAt";
245
+ const _AC = "AuthenticationConfiguration";
246
+ const _ADE = "AccessDeniedException";
247
+ const _AF = "AssociateFraudster";
248
+ const _AFR = "AssociateFraudsterRequest";
249
+ const _AFRs = "AssociateFraudsterResponse";
250
+ const _AR = "AuthenticationResult";
251
+ const _ARI = "AuthenticationResultId";
252
+ const _AT = "AcceptanceThreshold";
253
+ const _C = "Configuration";
254
+ const _CA = "CreatedAt";
255
+ const _CD = "CreateDomain";
256
+ const _CDR = "CreateDomainRequest";
257
+ const _CDRr = "CreateDomainResponse";
258
+ const _CE = "ConflictException";
259
+ const _CSI = "CustomerSpeakerId";
260
+ const _CT = "ConflictType";
261
+ const _CTl = "ClientToken";
262
+ const _CW = "CreateWatchlist";
263
+ const _CWR = "CreateWatchlistRequest";
264
+ const _CWRr = "CreateWatchlistResponse";
265
+ const _D = "Description";
266
+ const _DARA = "DataAccessRoleArn";
267
+ const _DD = "DeleteDomain";
268
+ const _DDR = "DeleteDomainRequest";
269
+ const _DDRe = "DescribeDomainRequest";
270
+ const _DDRes = "DescribeDomainResponse";
271
+ const _DDe = "DescribeDomain";
272
+ const _DF = "DeleteFraudster";
273
+ const _DFR = "DeleteFraudsterRequest";
274
+ const _DFRJ = "DescribeFraudsterRegistrationJob";
275
+ const _DFRJR = "DescribeFraudsterRegistrationJobRequest";
276
+ const _DFRJRe = "DescribeFraudsterRegistrationJobResponse";
277
+ const _DFRe = "DescribeFraudsterRequest";
278
+ const _DFRes = "DescribeFraudsterResponse";
279
+ const _DFRi = "DisassociateFraudsterRequest";
280
+ const _DFRis = "DisassociateFraudsterResponse";
281
+ const _DFe = "DescribeFraudster";
282
+ const _DFi = "DisassociateFraudster";
283
+ const _DI = "DomainId";
284
+ const _DN = "DomainName";
285
+ const _DRA = "DuplicateRegistrationAction";
286
+ const _DS = "DomainStatus";
287
+ const _DSEJ = "DescribeSpeakerEnrollmentJob";
288
+ const _DSEJR = "DescribeSpeakerEnrollmentJobRequest";
289
+ const _DSEJRe = "DescribeSpeakerEnrollmentJobResponse";
290
+ const _DSR = "DeleteSpeakerRequest";
291
+ const _DSRe = "DescribeSpeakerRequest";
292
+ const _DSRes = "DescribeSpeakerResponse";
293
+ const _DSe = "DeleteSpeaker";
294
+ const _DSes = "DescribeSpeaker";
295
+ const _DSo = "DomainSummary";
296
+ const _DSom = "DomainSummaries";
297
+ const _DW = "DefaultWatchlist";
298
+ const _DWI = "DefaultWatchlistId";
299
+ const _DWR = "DeleteWatchlistRequest";
300
+ const _DWRe = "DescribeWatchlistRequest";
301
+ const _DWRes = "DescribeWatchlistResponse";
302
+ const _DWe = "DeleteWatchlist";
303
+ const _DWes = "DescribeWatchlist";
304
+ const _De = "Decision";
305
+ const _Do = "Domain";
306
+ const _EA = "EndedAt";
307
+ const _EC = "EnrollmentConfig";
308
+ const _EEA = "ExistingEnrollmentAction";
309
+ const _EJFDC = "EnrollmentJobFraudDetectionConfig";
310
+ const _ES = "EvaluateSession";
311
+ const _ESR = "EvaluateSessionRequest";
312
+ const _ESRv = "EvaluateSessionResponse";
313
+ const _F = "Fraudster";
314
+ const _FD = "FailureDetails";
315
+ const _FDA = "FraudDetectionAction";
316
+ const _FDC = "FraudDetectionConfig";
317
+ const _FDCr = "FraudDetectionConfiguration";
318
+ const _FDR = "FraudDetectionResult";
319
+ const _FDRI = "FraudDetectionResultId";
320
+ const _FI = "FraudsterId";
321
+ const _FRD = "FraudRiskDetails";
322
+ const _FRJ = "FraudsterRegistrationJob";
323
+ const _FRJS = "FraudsterRegistrationJobSummary";
324
+ const _FRJSr = "FraudsterRegistrationJobSummaries";
325
+ const _FS = "FraudsterSummary";
326
+ const _FST = "FraudsterSimilarityThreshold";
327
+ const _FSr = "FraudsterSummaries";
328
+ const _GFI = "GeneratedFraudsterId";
329
+ const _GSI = "GeneratedSpeakerId";
330
+ const _IDC = "InputDataConfig";
331
+ const _ISE = "InternalServerException";
332
+ const _J = "Job";
333
+ const _JI = "JobId";
334
+ const _JN = "JobName";
335
+ const _JP = "JobProgress";
336
+ const _JS = "JobStatus";
337
+ const _JSo = "JobSummaries";
338
+ const _K = "Key";
339
+ const _KFR = "KnownFraudsterRisk";
340
+ const _KKI = "KmsKeyId";
341
+ const _LAA = "LastAccessedAt";
342
+ const _LD = "ListDomains";
343
+ const _LDR = "ListDomainsRequest";
344
+ const _LDRi = "ListDomainsResponse";
345
+ const _LF = "ListFraudsters";
346
+ const _LFR = "ListFraudstersRequest";
347
+ const _LFRJ = "ListFraudsterRegistrationJobs";
348
+ const _LFRJR = "ListFraudsterRegistrationJobsRequest";
349
+ const _LFRJRi = "ListFraudsterRegistrationJobsResponse";
350
+ const _LFRi = "ListFraudstersResponse";
351
+ const _LS = "ListSpeakers";
352
+ const _LSEJ = "ListSpeakerEnrollmentJobs";
353
+ const _LSEJR = "ListSpeakerEnrollmentJobsRequest";
354
+ const _LSEJRi = "ListSpeakerEnrollmentJobsResponse";
355
+ const _LSR = "ListSpeakersRequest";
356
+ const _LSRi = "ListSpeakersResponse";
357
+ const _LTFR = "ListTagsForResource";
358
+ const _LTFRR = "ListTagsForResourceRequest";
359
+ const _LTFRRi = "ListTagsForResourceResponse";
360
+ const _LW = "ListWatchlists";
361
+ const _LWR = "ListWatchlistsRequest";
362
+ const _LWRi = "ListWatchlistsResponse";
363
+ const _M = "Message";
364
+ const _MR = "MaxResults";
365
+ const _N = "Name";
366
+ const _NT = "NextToken";
367
+ const _ODC = "OutputDataConfig";
368
+ const _OKKI = "OldKmsKeyId";
369
+ const _OOS = "OptOutSpeaker";
370
+ const _OOSR = "OptOutSpeakerRequest";
371
+ const _OOSRp = "OptOutSpeakerResponse";
372
+ const _PC = "PercentComplete";
373
+ const _R = "Reasons";
374
+ const _RA = "ResourceArn";
375
+ const _RC = "RegistrationConfig";
376
+ const _RD = "RiskDetails";
377
+ const _RNFE = "ResourceNotFoundException";
378
+ const _RS = "RiskScore";
379
+ const _RT = "ResourceType";
380
+ const _RTi = "RiskThreshold";
381
+ const _S = "Score";
382
+ const _SC = "StatusCode";
383
+ const _SEJ = "SpeakerEnrollmentJob";
384
+ const _SEJS = "SpeakerEnrollmentJobSummary";
385
+ const _SEJSp = "SpeakerEnrollmentJobSummaries";
386
+ const _SFRJ = "StartFraudsterRegistrationJob";
387
+ const _SFRJR = "StartFraudsterRegistrationJobRequest";
388
+ const _SFRJRt = "StartFraudsterRegistrationJobResponse";
389
+ const _SI = "SpeakerId";
390
+ const _SIe = "SessionId";
391
+ const _SN = "SessionName";
392
+ const _SNOI = "SessionNameOrId";
393
+ const _SQEE = "ServiceQuotaExceededException";
394
+ const _SS = "StreamingStatus";
395
+ const _SSEC = "ServerSideEncryptionConfiguration";
396
+ const _SSEJ = "StartSpeakerEnrollmentJob";
397
+ const _SSEJR = "StartSpeakerEnrollmentJobRequest";
398
+ const _SSEJRt = "StartSpeakerEnrollmentJobResponse";
399
+ const _SSEUD = "ServerSideEncryptionUpdateDetails";
400
+ const _SSp = "SpeakerSummaries";
401
+ const _SSpe = "SpeakerSummary";
402
+ const _SU = "S3Uri";
403
+ const _Sp = "Speaker";
404
+ const _St = "Status";
405
+ const _T = "Tags";
406
+ const _TE = "ThrottlingException";
407
+ const _TK = "TagKey";
408
+ const _TKL = "TagKeyList";
409
+ const _TKa = "TagKeys";
410
+ const _TL = "TagList";
411
+ const _TR = "TagResource";
412
+ const _TRR = "TagResourceRequest";
413
+ const _TRRa = "TagResourceResponse";
414
+ const _TV = "TagValue";
415
+ const _Ta = "Tag";
416
+ const _UA = "UpdatedAt";
417
+ const _UD = "UpdateDomain";
418
+ const _UDR = "UpdateDomainRequest";
419
+ const _UDRp = "UpdateDomainResponse";
420
+ const _UR = "UntagResource";
421
+ const _URR = "UntagResourceRequest";
422
+ const _URRn = "UntagResourceResponse";
423
+ const _US = "UpdateStatus";
424
+ const _UW = "UpdateWatchlist";
425
+ const _UWR = "UpdateWatchlistRequest";
426
+ const _UWRp = "UpdateWatchlistResponse";
427
+ const _V = "Value";
428
+ const _VE = "ValidationException";
429
+ const _VSR = "VoiceSpoofingRisk";
430
+ const _W = "Watchlist";
431
+ const _WD = "WatchlistDescription";
432
+ const _WDa = "WatchlistDetails";
433
+ const _WI = "WatchlistId";
434
+ const _WIa = "WatchlistIds";
435
+ const _WN = "WatchlistName";
436
+ const _WS = "WatchlistSummaries";
437
+ const _WSa = "WatchlistSummary";
438
+ const _c = "client";
439
+ const _e = "error";
440
+ const _hE = "httpError";
441
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.voiceid";
442
+ const _se = "server";
443
+ const n0 = "com.amazonaws.voiceid";
444
+ const _s_registry = TypeRegistry.for(_s);
445
+ var VoiceIDServiceException$ = [-3, _s, "VoiceIDServiceException", 0, [], []];
446
+ _s_registry.registerError(VoiceIDServiceException$, VoiceIDServiceException);
447
+ const n0_registry = TypeRegistry.for(n0);
448
+ var AccessDeniedException$ = [-3, n0, _ADE,
449
+ { [_e]: _c, [_hE]: 403 },
450
+ [_M],
451
+ [0]
452
+ ];
453
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
454
+ var ConflictException$ = [-3, n0, _CE,
455
+ { [_e]: _c, [_hE]: 409 },
456
+ [_M, _CT],
457
+ [0, 0]
458
+ ];
459
+ n0_registry.registerError(ConflictException$, ConflictException);
460
+ var InternalServerException$ = [-3, n0, _ISE,
461
+ { [_e]: _se, [_hE]: 500 },
462
+ [_M],
463
+ [0]
464
+ ];
465
+ n0_registry.registerError(InternalServerException$, InternalServerException);
466
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
467
+ { [_e]: _c, [_hE]: 404 },
468
+ [_M, _RT],
469
+ [0, 0]
470
+ ];
471
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
472
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
473
+ { [_e]: _c, [_hE]: 402 },
474
+ [_M],
475
+ [0]
476
+ ];
477
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
478
+ var ThrottlingException$ = [-3, n0, _TE,
479
+ { [_e]: _c, [_hE]: 429 },
480
+ [_M],
481
+ [0]
482
+ ];
483
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
484
+ var ValidationException$ = [-3, n0, _VE,
485
+ { [_e]: _c, [_hE]: 400 },
486
+ [_M],
487
+ [0]
488
+ ];
489
+ n0_registry.registerError(ValidationException$, ValidationException);
490
+ const errorTypeRegistries = [
491
+ _s_registry,
492
+ n0_registry,
493
+ ];
494
+ var CustomerSpeakerId = [0, n0, _CSI, 8, 0];
495
+ var Description = [0, n0, _D, 8, 0];
496
+ var DomainName = [0, n0, _DN, 8, 0];
497
+ var FraudsterId = [0, n0, _FI, 8, 0];
498
+ var JobName = [0, n0, _JN, 8, 0];
499
+ var SpeakerId = [0, n0, _SI, 8, 0];
500
+ var TagKey = [0, n0, _TK, 8, 0];
501
+ var TagValue = [0, n0, _TV, 8, 0];
502
+ var WatchlistDescription = [0, n0, _WD, 8, 0];
503
+ var WatchlistName = [0, n0, _WN, 8, 0];
504
+ var AssociateFraudsterRequest$ = [3, n0, _AFR,
505
+ 0,
506
+ [_DI, _WI, _FI],
507
+ [0, 0, [() => FraudsterId, 0]], 3
508
+ ];
509
+ var AssociateFraudsterResponse$ = [3, n0, _AFRs,
510
+ 0,
511
+ [_F],
512
+ [() => Fraudster$]
513
+ ];
514
+ var AuthenticationConfiguration$ = [3, n0, _AC,
515
+ 0,
516
+ [_AT],
517
+ [1], 1
518
+ ];
519
+ var AuthenticationResult$ = [3, n0, _AR,
520
+ 0,
521
+ [_ARI, _AASA, _AAEA, _CSI, _GSI, _De, _S, _C],
522
+ [0, 4, 4, [() => CustomerSpeakerId, 0], 0, 0, 1, () => AuthenticationConfiguration$]
523
+ ];
524
+ var CreateDomainRequest$ = [3, n0, _CDR,
525
+ 0,
526
+ [_N, _SSEC, _D, _CTl, _T],
527
+ [[() => DomainName, 0], () => ServerSideEncryptionConfiguration$, [() => Description, 0], [0, 4], [() => TagList, 0]], 2
528
+ ];
529
+ var CreateDomainResponse$ = [3, n0, _CDRr,
530
+ 0,
531
+ [_Do],
532
+ [[() => Domain$, 0]]
533
+ ];
534
+ var CreateWatchlistRequest$ = [3, n0, _CWR,
535
+ 0,
536
+ [_DI, _N, _D, _CTl],
537
+ [0, [() => WatchlistName, 0], [() => WatchlistDescription, 0], [0, 4]], 2
538
+ ];
539
+ var CreateWatchlistResponse$ = [3, n0, _CWRr,
540
+ 0,
541
+ [_W],
542
+ [[() => Watchlist$, 0]]
543
+ ];
544
+ var DeleteDomainRequest$ = [3, n0, _DDR,
545
+ 0,
546
+ [_DI],
547
+ [0], 1
548
+ ];
549
+ var DeleteFraudsterRequest$ = [3, n0, _DFR,
550
+ 0,
551
+ [_DI, _FI],
552
+ [0, [() => FraudsterId, 0]], 2
553
+ ];
554
+ var DeleteSpeakerRequest$ = [3, n0, _DSR,
555
+ 0,
556
+ [_DI, _SI],
557
+ [0, [() => SpeakerId, 0]], 2
558
+ ];
559
+ var DeleteWatchlistRequest$ = [3, n0, _DWR,
560
+ 0,
561
+ [_DI, _WI],
562
+ [0, 0], 2
563
+ ];
564
+ var DescribeDomainRequest$ = [3, n0, _DDRe,
565
+ 0,
566
+ [_DI],
567
+ [0], 1
568
+ ];
569
+ var DescribeDomainResponse$ = [3, n0, _DDRes,
570
+ 0,
571
+ [_Do],
572
+ [[() => Domain$, 0]]
573
+ ];
574
+ var DescribeFraudsterRegistrationJobRequest$ = [3, n0, _DFRJR,
575
+ 0,
576
+ [_DI, _JI],
577
+ [0, 0], 2
578
+ ];
579
+ var DescribeFraudsterRegistrationJobResponse$ = [3, n0, _DFRJRe,
580
+ 0,
581
+ [_J],
582
+ [[() => FraudsterRegistrationJob$, 0]]
583
+ ];
584
+ var DescribeFraudsterRequest$ = [3, n0, _DFRe,
585
+ 0,
586
+ [_DI, _FI],
587
+ [0, [() => FraudsterId, 0]], 2
588
+ ];
589
+ var DescribeFraudsterResponse$ = [3, n0, _DFRes,
590
+ 0,
591
+ [_F],
592
+ [() => Fraudster$]
593
+ ];
594
+ var DescribeSpeakerEnrollmentJobRequest$ = [3, n0, _DSEJR,
595
+ 0,
596
+ [_DI, _JI],
597
+ [0, 0], 2
598
+ ];
599
+ var DescribeSpeakerEnrollmentJobResponse$ = [3, n0, _DSEJRe,
600
+ 0,
601
+ [_J],
602
+ [[() => SpeakerEnrollmentJob$, 0]]
603
+ ];
604
+ var DescribeSpeakerRequest$ = [3, n0, _DSRe,
605
+ 0,
606
+ [_DI, _SI],
607
+ [0, [() => SpeakerId, 0]], 2
608
+ ];
609
+ var DescribeSpeakerResponse$ = [3, n0, _DSRes,
610
+ 0,
611
+ [_Sp],
612
+ [[() => Speaker$, 0]]
613
+ ];
614
+ var DescribeWatchlistRequest$ = [3, n0, _DWRe,
615
+ 0,
616
+ [_DI, _WI],
617
+ [0, 0], 2
618
+ ];
619
+ var DescribeWatchlistResponse$ = [3, n0, _DWRes,
620
+ 0,
621
+ [_W],
622
+ [[() => Watchlist$, 0]]
623
+ ];
624
+ var DisassociateFraudsterRequest$ = [3, n0, _DFRi,
625
+ 0,
626
+ [_DI, _WI, _FI],
627
+ [0, 0, [() => FraudsterId, 0]], 3
628
+ ];
629
+ var DisassociateFraudsterResponse$ = [3, n0, _DFRis,
630
+ 0,
631
+ [_F],
632
+ [() => Fraudster$]
633
+ ];
634
+ var Domain$ = [3, n0, _Do,
635
+ 0,
636
+ [_DI, _A, _N, _D, _DS, _SSEC, _CA, _UA, _SSEUD, _WDa],
637
+ [0, 0, [() => DomainName, 0], [() => Description, 0], 0, () => ServerSideEncryptionConfiguration$, 4, 4, () => ServerSideEncryptionUpdateDetails$, () => WatchlistDetails$]
638
+ ];
639
+ var DomainSummary$ = [3, n0, _DSo,
640
+ 0,
641
+ [_DI, _A, _N, _D, _DS, _SSEC, _CA, _UA, _SSEUD, _WDa],
642
+ [0, 0, [() => DomainName, 0], [() => Description, 0], 0, () => ServerSideEncryptionConfiguration$, 4, 4, () => ServerSideEncryptionUpdateDetails$, () => WatchlistDetails$]
643
+ ];
644
+ var EnrollmentConfig$ = [3, n0, _EC,
645
+ 0,
646
+ [_EEA, _FDC],
647
+ [0, () => EnrollmentJobFraudDetectionConfig$]
648
+ ];
649
+ var EnrollmentJobFraudDetectionConfig$ = [3, n0, _EJFDC,
650
+ 0,
651
+ [_FDA, _RTi, _WIa],
652
+ [0, 1, 64 | 0]
653
+ ];
654
+ var EvaluateSessionRequest$ = [3, n0, _ESR,
655
+ 0,
656
+ [_DI, _SNOI],
657
+ [0, 0], 2
658
+ ];
659
+ var EvaluateSessionResponse$ = [3, n0, _ESRv,
660
+ 0,
661
+ [_DI, _SIe, _SN, _SS, _AR, _FDR],
662
+ [0, 0, 0, 0, [() => AuthenticationResult$, 0], () => FraudDetectionResult$]
663
+ ];
664
+ var FailureDetails$ = [3, n0, _FD,
665
+ 0,
666
+ [_SC, _M],
667
+ [1, 0]
668
+ ];
669
+ var FraudDetectionConfiguration$ = [3, n0, _FDCr,
670
+ 0,
671
+ [_RTi, _WI],
672
+ [1, 0]
673
+ ];
674
+ var FraudDetectionResult$ = [3, n0, _FDR,
675
+ 0,
676
+ [_FDRI, _AASA, _AAEA, _C, _De, _R, _RD],
677
+ [0, 4, 4, () => FraudDetectionConfiguration$, 0, 64 | 0, () => FraudRiskDetails$]
678
+ ];
679
+ var FraudRiskDetails$ = [3, n0, _FRD,
680
+ 0,
681
+ [_KFR, _VSR],
682
+ [() => KnownFraudsterRisk$, () => VoiceSpoofingRisk$], 2
683
+ ];
684
+ var Fraudster$ = [3, n0, _F,
685
+ 0,
686
+ [_DI, _GFI, _CA, _WIa],
687
+ [0, 0, 4, 64 | 0]
688
+ ];
689
+ var FraudsterRegistrationJob$ = [3, n0, _FRJ,
690
+ 0,
691
+ [_JN, _JI, _JS, _DI, _DARA, _RC, _IDC, _ODC, _CA, _EA, _FD, _JP],
692
+ [[() => JobName, 0], 0, 0, 0, 0, () => RegistrationConfig$, () => InputDataConfig$, () => OutputDataConfig$, 4, 4, () => FailureDetails$, () => JobProgress$]
693
+ ];
694
+ var FraudsterRegistrationJobSummary$ = [3, n0, _FRJS,
695
+ 0,
696
+ [_JN, _JI, _JS, _DI, _CA, _EA, _FD, _JP],
697
+ [[() => JobName, 0], 0, 0, 0, 4, 4, () => FailureDetails$, () => JobProgress$]
698
+ ];
699
+ var FraudsterSummary$ = [3, n0, _FS,
700
+ 0,
701
+ [_DI, _GFI, _CA, _WIa],
702
+ [0, 0, 4, 64 | 0]
703
+ ];
704
+ var InputDataConfig$ = [3, n0, _IDC,
705
+ 0,
706
+ [_SU],
707
+ [0], 1
708
+ ];
709
+ var JobProgress$ = [3, n0, _JP,
710
+ 0,
711
+ [_PC],
712
+ [1]
713
+ ];
714
+ var KnownFraudsterRisk$ = [3, n0, _KFR,
715
+ 0,
716
+ [_RS, _GFI],
717
+ [1, 0], 1
718
+ ];
719
+ var ListDomainsRequest$ = [3, n0, _LDR,
720
+ 0,
721
+ [_MR, _NT],
722
+ [1, 0]
723
+ ];
724
+ var ListDomainsResponse$ = [3, n0, _LDRi,
725
+ 0,
726
+ [_DSom, _NT],
727
+ [[() => DomainSummaries, 0], 0]
728
+ ];
729
+ var ListFraudsterRegistrationJobsRequest$ = [3, n0, _LFRJR,
730
+ 0,
731
+ [_DI, _JS, _MR, _NT],
732
+ [0, 0, 1, 0], 1
733
+ ];
734
+ var ListFraudsterRegistrationJobsResponse$ = [3, n0, _LFRJRi,
735
+ 0,
736
+ [_JSo, _NT],
737
+ [[() => FraudsterRegistrationJobSummaries, 0], 0]
738
+ ];
739
+ var ListFraudstersRequest$ = [3, n0, _LFR,
740
+ 0,
741
+ [_DI, _WI, _MR, _NT],
742
+ [0, 0, 1, 0], 1
743
+ ];
744
+ var ListFraudstersResponse$ = [3, n0, _LFRi,
745
+ 0,
746
+ [_FSr, _NT],
747
+ [() => FraudsterSummaries, 0]
748
+ ];
749
+ var ListSpeakerEnrollmentJobsRequest$ = [3, n0, _LSEJR,
750
+ 0,
751
+ [_DI, _JS, _MR, _NT],
752
+ [0, 0, 1, 0], 1
753
+ ];
754
+ var ListSpeakerEnrollmentJobsResponse$ = [3, n0, _LSEJRi,
755
+ 0,
756
+ [_JSo, _NT],
757
+ [[() => SpeakerEnrollmentJobSummaries, 0], 0]
758
+ ];
759
+ var ListSpeakersRequest$ = [3, n0, _LSR,
760
+ 0,
761
+ [_DI, _MR, _NT],
762
+ [0, 1, 0], 1
763
+ ];
764
+ var ListSpeakersResponse$ = [3, n0, _LSRi,
765
+ 0,
766
+ [_SSp, _NT],
767
+ [[() => SpeakerSummaries, 0], 0]
768
+ ];
769
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
770
+ 0,
771
+ [_RA],
772
+ [0], 1
773
+ ];
774
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
775
+ 0,
776
+ [_T],
777
+ [[() => TagList, 0]]
778
+ ];
779
+ var ListWatchlistsRequest$ = [3, n0, _LWR,
780
+ 0,
781
+ [_DI, _MR, _NT],
782
+ [0, 1, 0], 1
783
+ ];
784
+ var ListWatchlistsResponse$ = [3, n0, _LWRi,
785
+ 0,
786
+ [_WS, _NT],
787
+ [[() => WatchlistSummaries, 0], 0]
788
+ ];
789
+ var OptOutSpeakerRequest$ = [3, n0, _OOSR,
790
+ 0,
791
+ [_DI, _SI],
792
+ [0, [() => SpeakerId, 0]], 2
793
+ ];
794
+ var OptOutSpeakerResponse$ = [3, n0, _OOSRp,
795
+ 0,
796
+ [_Sp],
797
+ [[() => Speaker$, 0]]
798
+ ];
799
+ var OutputDataConfig$ = [3, n0, _ODC,
800
+ 0,
801
+ [_SU, _KKI],
802
+ [0, 0], 1
803
+ ];
804
+ var RegistrationConfig$ = [3, n0, _RC,
805
+ 0,
806
+ [_DRA, _FST, _WIa],
807
+ [0, 1, 64 | 0]
808
+ ];
809
+ var ServerSideEncryptionConfiguration$ = [3, n0, _SSEC,
810
+ 0,
811
+ [_KKI],
812
+ [0], 1
813
+ ];
814
+ var ServerSideEncryptionUpdateDetails$ = [3, n0, _SSEUD,
815
+ 0,
816
+ [_OKKI, _US, _M],
817
+ [0, 0, 0]
818
+ ];
819
+ var Speaker$ = [3, n0, _Sp,
820
+ 0,
821
+ [_DI, _CSI, _GSI, _St, _CA, _UA, _LAA],
822
+ [0, [() => CustomerSpeakerId, 0], 0, 0, 4, 4, 4]
823
+ ];
824
+ var SpeakerEnrollmentJob$ = [3, n0, _SEJ,
825
+ 0,
826
+ [_JN, _JI, _JS, _DI, _DARA, _EC, _IDC, _ODC, _CA, _EA, _FD, _JP],
827
+ [[() => JobName, 0], 0, 0, 0, 0, () => EnrollmentConfig$, () => InputDataConfig$, () => OutputDataConfig$, 4, 4, () => FailureDetails$, () => JobProgress$]
828
+ ];
829
+ var SpeakerEnrollmentJobSummary$ = [3, n0, _SEJS,
830
+ 0,
831
+ [_JN, _JI, _JS, _DI, _CA, _EA, _FD, _JP],
832
+ [[() => JobName, 0], 0, 0, 0, 4, 4, () => FailureDetails$, () => JobProgress$]
833
+ ];
834
+ var SpeakerSummary$ = [3, n0, _SSpe,
835
+ 0,
836
+ [_DI, _CSI, _GSI, _St, _CA, _UA, _LAA],
837
+ [0, [() => CustomerSpeakerId, 0], 0, 0, 4, 4, 4]
838
+ ];
839
+ var StartFraudsterRegistrationJobRequest$ = [3, n0, _SFRJR,
840
+ 0,
841
+ [_DI, _DARA, _IDC, _ODC, _CTl, _JN, _RC],
842
+ [0, 0, () => InputDataConfig$, () => OutputDataConfig$, [0, 4], [() => JobName, 0], () => RegistrationConfig$], 4
843
+ ];
844
+ var StartFraudsterRegistrationJobResponse$ = [3, n0, _SFRJRt,
845
+ 0,
846
+ [_J],
847
+ [[() => FraudsterRegistrationJob$, 0]]
848
+ ];
849
+ var StartSpeakerEnrollmentJobRequest$ = [3, n0, _SSEJR,
850
+ 0,
851
+ [_DI, _DARA, _IDC, _ODC, _CTl, _JN, _EC],
852
+ [0, 0, () => InputDataConfig$, () => OutputDataConfig$, [0, 4], [() => JobName, 0], () => EnrollmentConfig$], 4
853
+ ];
854
+ var StartSpeakerEnrollmentJobResponse$ = [3, n0, _SSEJRt,
855
+ 0,
856
+ [_J],
857
+ [[() => SpeakerEnrollmentJob$, 0]]
858
+ ];
859
+ var Tag$ = [3, n0, _Ta,
860
+ 0,
861
+ [_K, _V],
862
+ [[() => TagKey, 0], [() => TagValue, 0]], 2
863
+ ];
864
+ var TagResourceRequest$ = [3, n0, _TRR,
865
+ 0,
866
+ [_RA, _T],
867
+ [0, [() => TagList, 0]], 2
868
+ ];
869
+ var TagResourceResponse$ = [3, n0, _TRRa,
870
+ 0,
871
+ [],
872
+ []
873
+ ];
874
+ var UntagResourceRequest$ = [3, n0, _URR,
875
+ 0,
876
+ [_RA, _TKa],
877
+ [0, [() => TagKeyList, 0]], 2
878
+ ];
879
+ var UntagResourceResponse$ = [3, n0, _URRn,
880
+ 0,
881
+ [],
882
+ []
883
+ ];
884
+ var UpdateDomainRequest$ = [3, n0, _UDR,
885
+ 0,
886
+ [_DI, _N, _SSEC, _D],
887
+ [0, [() => DomainName, 0], () => ServerSideEncryptionConfiguration$, [() => Description, 0]], 3
888
+ ];
889
+ var UpdateDomainResponse$ = [3, n0, _UDRp,
890
+ 0,
891
+ [_Do],
892
+ [[() => Domain$, 0]]
893
+ ];
894
+ var UpdateWatchlistRequest$ = [3, n0, _UWR,
895
+ 0,
896
+ [_DI, _WI, _N, _D],
897
+ [0, 0, [() => WatchlistName, 0], [() => WatchlistDescription, 0]], 2
898
+ ];
899
+ var UpdateWatchlistResponse$ = [3, n0, _UWRp,
900
+ 0,
901
+ [_W],
902
+ [[() => Watchlist$, 0]]
903
+ ];
904
+ var VoiceSpoofingRisk$ = [3, n0, _VSR,
905
+ 0,
906
+ [_RS],
907
+ [1], 1
908
+ ];
909
+ var Watchlist$ = [3, n0, _W,
910
+ 0,
911
+ [_DI, _WI, _N, _D, _DW, _CA, _UA],
912
+ [0, 0, [() => WatchlistName, 0], [() => WatchlistDescription, 0], 2, 4, 4]
913
+ ];
914
+ var WatchlistDetails$ = [3, n0, _WDa,
915
+ 0,
916
+ [_DWI],
917
+ [0], 1
918
+ ];
919
+ var WatchlistSummary$ = [3, n0, _WSa,
920
+ 0,
921
+ [_DI, _WI, _N, _D, _DW, _CA, _UA],
922
+ [0, 0, [() => WatchlistName, 0], [() => WatchlistDescription, 0], 2, 4, 4]
923
+ ];
924
+ var __Unit = "unit";
925
+ var DomainSummaries = [1, n0, _DSom,
926
+ 0, [() => DomainSummary$,
927
+ 0]
928
+ ];
929
+ var FraudsterRegistrationJobSummaries = [1, n0, _FRJSr,
930
+ 0, [() => FraudsterRegistrationJobSummary$,
931
+ 0]
932
+ ];
933
+ var FraudsterSummaries = [1, n0, _FSr,
934
+ 0, () => FraudsterSummary$
935
+ ];
936
+ var SpeakerEnrollmentJobSummaries = [1, n0, _SEJSp,
937
+ 0, [() => SpeakerEnrollmentJobSummary$,
938
+ 0]
939
+ ];
940
+ var SpeakerSummaries = [1, n0, _SSp,
941
+ 0, [() => SpeakerSummary$,
942
+ 0]
943
+ ];
944
+ var TagKeyList = [1, n0, _TKL,
945
+ 0, [() => TagKey,
946
+ 0]
947
+ ];
948
+ var TagList = [1, n0, _TL,
949
+ 0, [() => Tag$,
950
+ 0]
951
+ ];
952
+ var WatchlistSummaries = [1, n0, _WS,
953
+ 0, [() => WatchlistSummary$,
954
+ 0]
955
+ ];
956
+ var AssociateFraudster$ = [9, n0, _AF,
957
+ 0, () => AssociateFraudsterRequest$, () => AssociateFraudsterResponse$
958
+ ];
959
+ var CreateDomain$ = [9, n0, _CD,
960
+ 2, () => CreateDomainRequest$, () => CreateDomainResponse$
961
+ ];
962
+ var CreateWatchlist$ = [9, n0, _CW,
963
+ 2, () => CreateWatchlistRequest$, () => CreateWatchlistResponse$
964
+ ];
965
+ var DeleteDomain$ = [9, n0, _DD,
966
+ 2, () => DeleteDomainRequest$, () => __Unit
967
+ ];
968
+ var DeleteFraudster$ = [9, n0, _DF,
969
+ 0, () => DeleteFraudsterRequest$, () => __Unit
970
+ ];
971
+ var DeleteSpeaker$ = [9, n0, _DSe,
972
+ 0, () => DeleteSpeakerRequest$, () => __Unit
973
+ ];
974
+ var DeleteWatchlist$ = [9, n0, _DWe,
975
+ 0, () => DeleteWatchlistRequest$, () => __Unit
976
+ ];
977
+ var DescribeDomain$ = [9, n0, _DDe,
978
+ 0, () => DescribeDomainRequest$, () => DescribeDomainResponse$
979
+ ];
980
+ var DescribeFraudster$ = [9, n0, _DFe,
981
+ 0, () => DescribeFraudsterRequest$, () => DescribeFraudsterResponse$
982
+ ];
983
+ var DescribeFraudsterRegistrationJob$ = [9, n0, _DFRJ,
984
+ 0, () => DescribeFraudsterRegistrationJobRequest$, () => DescribeFraudsterRegistrationJobResponse$
985
+ ];
986
+ var DescribeSpeaker$ = [9, n0, _DSes,
987
+ 0, () => DescribeSpeakerRequest$, () => DescribeSpeakerResponse$
988
+ ];
989
+ var DescribeSpeakerEnrollmentJob$ = [9, n0, _DSEJ,
990
+ 0, () => DescribeSpeakerEnrollmentJobRequest$, () => DescribeSpeakerEnrollmentJobResponse$
991
+ ];
992
+ var DescribeWatchlist$ = [9, n0, _DWes,
993
+ 0, () => DescribeWatchlistRequest$, () => DescribeWatchlistResponse$
994
+ ];
995
+ var DisassociateFraudster$ = [9, n0, _DFi,
996
+ 0, () => DisassociateFraudsterRequest$, () => DisassociateFraudsterResponse$
997
+ ];
998
+ var EvaluateSession$ = [9, n0, _ES,
999
+ 0, () => EvaluateSessionRequest$, () => EvaluateSessionResponse$
1000
+ ];
1001
+ var ListDomains$ = [9, n0, _LD,
1002
+ 0, () => ListDomainsRequest$, () => ListDomainsResponse$
1003
+ ];
1004
+ var ListFraudsterRegistrationJobs$ = [9, n0, _LFRJ,
1005
+ 0, () => ListFraudsterRegistrationJobsRequest$, () => ListFraudsterRegistrationJobsResponse$
1006
+ ];
1007
+ var ListFraudsters$ = [9, n0, _LF,
1008
+ 0, () => ListFraudstersRequest$, () => ListFraudstersResponse$
1009
+ ];
1010
+ var ListSpeakerEnrollmentJobs$ = [9, n0, _LSEJ,
1011
+ 0, () => ListSpeakerEnrollmentJobsRequest$, () => ListSpeakerEnrollmentJobsResponse$
1012
+ ];
1013
+ var ListSpeakers$ = [9, n0, _LS,
1014
+ 0, () => ListSpeakersRequest$, () => ListSpeakersResponse$
1015
+ ];
1016
+ var ListTagsForResource$ = [9, n0, _LTFR,
1017
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1018
+ ];
1019
+ var ListWatchlists$ = [9, n0, _LW,
1020
+ 0, () => ListWatchlistsRequest$, () => ListWatchlistsResponse$
1021
+ ];
1022
+ var OptOutSpeaker$ = [9, n0, _OOS,
1023
+ 0, () => OptOutSpeakerRequest$, () => OptOutSpeakerResponse$
1024
+ ];
1025
+ var StartFraudsterRegistrationJob$ = [9, n0, _SFRJ,
1026
+ 2, () => StartFraudsterRegistrationJobRequest$, () => StartFraudsterRegistrationJobResponse$
1027
+ ];
1028
+ var StartSpeakerEnrollmentJob$ = [9, n0, _SSEJ,
1029
+ 2, () => StartSpeakerEnrollmentJobRequest$, () => StartSpeakerEnrollmentJobResponse$
1030
+ ];
1031
+ var TagResource$ = [9, n0, _TR,
1032
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
1033
+ ];
1034
+ var UntagResource$ = [9, n0, _UR,
1035
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
1036
+ ];
1037
+ var UpdateDomain$ = [9, n0, _UD,
1038
+ 0, () => UpdateDomainRequest$, () => UpdateDomainResponse$
1039
+ ];
1040
+ var UpdateWatchlist$ = [9, n0, _UW,
1041
+ 0, () => UpdateWatchlistRequest$, () => UpdateWatchlistResponse$
1042
+ ];
1043
+
1044
+ const getRuntimeConfig$1 = (config) => {
1045
+ return {
1046
+ apiVersion: "2021-09-27",
1047
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1048
+ base64Encoder: config?.base64Encoder ?? toBase64,
1049
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1050
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1051
+ extensions: config?.extensions ?? [],
1052
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultVoiceIDHttpAuthSchemeProvider,
1053
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1054
+ {
1055
+ schemeId: "aws.auth#sigv4",
1056
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1057
+ signer: new AwsSdkSigV4Signer(),
1058
+ },
1059
+ ],
1060
+ logger: config?.logger ?? new NoOpLogger(),
1061
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
1062
+ protocolSettings: config?.protocolSettings ?? {
1063
+ defaultNamespace: "com.amazonaws.voiceid",
1064
+ errorTypeRegistries,
1065
+ version: "2021-09-27",
1066
+ serviceTarget: "VoiceID",
1067
+ },
1068
+ serviceId: config?.serviceId ?? "Voice ID",
1069
+ urlParser: config?.urlParser ?? parseUrl,
1070
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1071
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1072
+ };
1073
+ };
1074
+
1075
+ const getRuntimeConfig = (config) => {
1076
+ emitWarningIfUnsupportedVersion(process.version);
1077
+ const defaultsMode = resolveDefaultsModeConfig(config);
1078
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1079
+ const clientSharedValues = getRuntimeConfig$1(config);
1080
+ emitWarningIfUnsupportedVersion$1(process.version);
1081
+ const loaderConfig = {
1082
+ profile: config?.profile,
1083
+ logger: clientSharedValues.logger,
1084
+ };
1085
+ return {
1086
+ ...clientSharedValues,
1087
+ ...config,
1088
+ runtime: "node",
1089
+ defaultsMode,
1090
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1091
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1092
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1093
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1094
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1095
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1096
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1097
+ retryMode: config?.retryMode ??
1098
+ loadConfig({
1099
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1100
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1101
+ }, config),
1102
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1103
+ streamCollector: config?.streamCollector ?? streamCollector,
1104
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1105
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1106
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1107
+ };
1108
+ };
1109
+
34
1110
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1111
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1112
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -601,51 +1677,181 @@ const StreamingStatus = {
601
1677
  PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
602
1678
  };
603
1679
 
1680
+ exports.AccessDeniedException = AccessDeniedException;
1681
+ exports.AccessDeniedException$ = AccessDeniedException$;
1682
+ exports.AssociateFraudster$ = AssociateFraudster$;
604
1683
  exports.AssociateFraudsterCommand = AssociateFraudsterCommand;
1684
+ exports.AssociateFraudsterRequest$ = AssociateFraudsterRequest$;
1685
+ exports.AssociateFraudsterResponse$ = AssociateFraudsterResponse$;
1686
+ exports.AuthenticationConfiguration$ = AuthenticationConfiguration$;
605
1687
  exports.AuthenticationDecision = AuthenticationDecision;
1688
+ exports.AuthenticationResult$ = AuthenticationResult$;
1689
+ exports.ConflictException = ConflictException;
1690
+ exports.ConflictException$ = ConflictException$;
606
1691
  exports.ConflictType = ConflictType;
1692
+ exports.CreateDomain$ = CreateDomain$;
607
1693
  exports.CreateDomainCommand = CreateDomainCommand;
1694
+ exports.CreateDomainRequest$ = CreateDomainRequest$;
1695
+ exports.CreateDomainResponse$ = CreateDomainResponse$;
1696
+ exports.CreateWatchlist$ = CreateWatchlist$;
608
1697
  exports.CreateWatchlistCommand = CreateWatchlistCommand;
1698
+ exports.CreateWatchlistRequest$ = CreateWatchlistRequest$;
1699
+ exports.CreateWatchlistResponse$ = CreateWatchlistResponse$;
1700
+ exports.DeleteDomain$ = DeleteDomain$;
609
1701
  exports.DeleteDomainCommand = DeleteDomainCommand;
1702
+ exports.DeleteDomainRequest$ = DeleteDomainRequest$;
1703
+ exports.DeleteFraudster$ = DeleteFraudster$;
610
1704
  exports.DeleteFraudsterCommand = DeleteFraudsterCommand;
1705
+ exports.DeleteFraudsterRequest$ = DeleteFraudsterRequest$;
1706
+ exports.DeleteSpeaker$ = DeleteSpeaker$;
611
1707
  exports.DeleteSpeakerCommand = DeleteSpeakerCommand;
1708
+ exports.DeleteSpeakerRequest$ = DeleteSpeakerRequest$;
1709
+ exports.DeleteWatchlist$ = DeleteWatchlist$;
612
1710
  exports.DeleteWatchlistCommand = DeleteWatchlistCommand;
1711
+ exports.DeleteWatchlistRequest$ = DeleteWatchlistRequest$;
1712
+ exports.DescribeDomain$ = DescribeDomain$;
613
1713
  exports.DescribeDomainCommand = DescribeDomainCommand;
1714
+ exports.DescribeDomainRequest$ = DescribeDomainRequest$;
1715
+ exports.DescribeDomainResponse$ = DescribeDomainResponse$;
1716
+ exports.DescribeFraudster$ = DescribeFraudster$;
614
1717
  exports.DescribeFraudsterCommand = DescribeFraudsterCommand;
1718
+ exports.DescribeFraudsterRegistrationJob$ = DescribeFraudsterRegistrationJob$;
615
1719
  exports.DescribeFraudsterRegistrationJobCommand = DescribeFraudsterRegistrationJobCommand;
1720
+ exports.DescribeFraudsterRegistrationJobRequest$ = DescribeFraudsterRegistrationJobRequest$;
1721
+ exports.DescribeFraudsterRegistrationJobResponse$ = DescribeFraudsterRegistrationJobResponse$;
1722
+ exports.DescribeFraudsterRequest$ = DescribeFraudsterRequest$;
1723
+ exports.DescribeFraudsterResponse$ = DescribeFraudsterResponse$;
1724
+ exports.DescribeSpeaker$ = DescribeSpeaker$;
616
1725
  exports.DescribeSpeakerCommand = DescribeSpeakerCommand;
1726
+ exports.DescribeSpeakerEnrollmentJob$ = DescribeSpeakerEnrollmentJob$;
617
1727
  exports.DescribeSpeakerEnrollmentJobCommand = DescribeSpeakerEnrollmentJobCommand;
1728
+ exports.DescribeSpeakerEnrollmentJobRequest$ = DescribeSpeakerEnrollmentJobRequest$;
1729
+ exports.DescribeSpeakerEnrollmentJobResponse$ = DescribeSpeakerEnrollmentJobResponse$;
1730
+ exports.DescribeSpeakerRequest$ = DescribeSpeakerRequest$;
1731
+ exports.DescribeSpeakerResponse$ = DescribeSpeakerResponse$;
1732
+ exports.DescribeWatchlist$ = DescribeWatchlist$;
618
1733
  exports.DescribeWatchlistCommand = DescribeWatchlistCommand;
1734
+ exports.DescribeWatchlistRequest$ = DescribeWatchlistRequest$;
1735
+ exports.DescribeWatchlistResponse$ = DescribeWatchlistResponse$;
1736
+ exports.DisassociateFraudster$ = DisassociateFraudster$;
619
1737
  exports.DisassociateFraudsterCommand = DisassociateFraudsterCommand;
1738
+ exports.DisassociateFraudsterRequest$ = DisassociateFraudsterRequest$;
1739
+ exports.DisassociateFraudsterResponse$ = DisassociateFraudsterResponse$;
1740
+ exports.Domain$ = Domain$;
620
1741
  exports.DomainStatus = DomainStatus;
1742
+ exports.DomainSummary$ = DomainSummary$;
621
1743
  exports.DuplicateRegistrationAction = DuplicateRegistrationAction;
1744
+ exports.EnrollmentConfig$ = EnrollmentConfig$;
1745
+ exports.EnrollmentJobFraudDetectionConfig$ = EnrollmentJobFraudDetectionConfig$;
1746
+ exports.EvaluateSession$ = EvaluateSession$;
622
1747
  exports.EvaluateSessionCommand = EvaluateSessionCommand;
1748
+ exports.EvaluateSessionRequest$ = EvaluateSessionRequest$;
1749
+ exports.EvaluateSessionResponse$ = EvaluateSessionResponse$;
623
1750
  exports.ExistingEnrollmentAction = ExistingEnrollmentAction;
1751
+ exports.FailureDetails$ = FailureDetails$;
624
1752
  exports.FraudDetectionAction = FraudDetectionAction;
1753
+ exports.FraudDetectionConfiguration$ = FraudDetectionConfiguration$;
625
1754
  exports.FraudDetectionDecision = FraudDetectionDecision;
626
1755
  exports.FraudDetectionReason = FraudDetectionReason;
1756
+ exports.FraudDetectionResult$ = FraudDetectionResult$;
1757
+ exports.FraudRiskDetails$ = FraudRiskDetails$;
1758
+ exports.Fraudster$ = Fraudster$;
1759
+ exports.FraudsterRegistrationJob$ = FraudsterRegistrationJob$;
627
1760
  exports.FraudsterRegistrationJobStatus = FraudsterRegistrationJobStatus;
1761
+ exports.FraudsterRegistrationJobSummary$ = FraudsterRegistrationJobSummary$;
1762
+ exports.FraudsterSummary$ = FraudsterSummary$;
1763
+ exports.InputDataConfig$ = InputDataConfig$;
1764
+ exports.InternalServerException = InternalServerException;
1765
+ exports.InternalServerException$ = InternalServerException$;
1766
+ exports.JobProgress$ = JobProgress$;
1767
+ exports.KnownFraudsterRisk$ = KnownFraudsterRisk$;
1768
+ exports.ListDomains$ = ListDomains$;
628
1769
  exports.ListDomainsCommand = ListDomainsCommand;
1770
+ exports.ListDomainsRequest$ = ListDomainsRequest$;
1771
+ exports.ListDomainsResponse$ = ListDomainsResponse$;
1772
+ exports.ListFraudsterRegistrationJobs$ = ListFraudsterRegistrationJobs$;
629
1773
  exports.ListFraudsterRegistrationJobsCommand = ListFraudsterRegistrationJobsCommand;
1774
+ exports.ListFraudsterRegistrationJobsRequest$ = ListFraudsterRegistrationJobsRequest$;
1775
+ exports.ListFraudsterRegistrationJobsResponse$ = ListFraudsterRegistrationJobsResponse$;
1776
+ exports.ListFraudsters$ = ListFraudsters$;
630
1777
  exports.ListFraudstersCommand = ListFraudstersCommand;
1778
+ exports.ListFraudstersRequest$ = ListFraudstersRequest$;
1779
+ exports.ListFraudstersResponse$ = ListFraudstersResponse$;
1780
+ exports.ListSpeakerEnrollmentJobs$ = ListSpeakerEnrollmentJobs$;
631
1781
  exports.ListSpeakerEnrollmentJobsCommand = ListSpeakerEnrollmentJobsCommand;
1782
+ exports.ListSpeakerEnrollmentJobsRequest$ = ListSpeakerEnrollmentJobsRequest$;
1783
+ exports.ListSpeakerEnrollmentJobsResponse$ = ListSpeakerEnrollmentJobsResponse$;
1784
+ exports.ListSpeakers$ = ListSpeakers$;
632
1785
  exports.ListSpeakersCommand = ListSpeakersCommand;
1786
+ exports.ListSpeakersRequest$ = ListSpeakersRequest$;
1787
+ exports.ListSpeakersResponse$ = ListSpeakersResponse$;
1788
+ exports.ListTagsForResource$ = ListTagsForResource$;
633
1789
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1790
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1791
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1792
+ exports.ListWatchlists$ = ListWatchlists$;
634
1793
  exports.ListWatchlistsCommand = ListWatchlistsCommand;
1794
+ exports.ListWatchlistsRequest$ = ListWatchlistsRequest$;
1795
+ exports.ListWatchlistsResponse$ = ListWatchlistsResponse$;
1796
+ exports.OptOutSpeaker$ = OptOutSpeaker$;
635
1797
  exports.OptOutSpeakerCommand = OptOutSpeakerCommand;
1798
+ exports.OptOutSpeakerRequest$ = OptOutSpeakerRequest$;
1799
+ exports.OptOutSpeakerResponse$ = OptOutSpeakerResponse$;
1800
+ exports.OutputDataConfig$ = OutputDataConfig$;
1801
+ exports.RegistrationConfig$ = RegistrationConfig$;
1802
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1803
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
636
1804
  exports.ResourceType = ResourceType;
1805
+ exports.ServerSideEncryptionConfiguration$ = ServerSideEncryptionConfiguration$;
1806
+ exports.ServerSideEncryptionUpdateDetails$ = ServerSideEncryptionUpdateDetails$;
637
1807
  exports.ServerSideEncryptionUpdateStatus = ServerSideEncryptionUpdateStatus;
1808
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1809
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1810
+ exports.Speaker$ = Speaker$;
1811
+ exports.SpeakerEnrollmentJob$ = SpeakerEnrollmentJob$;
638
1812
  exports.SpeakerEnrollmentJobStatus = SpeakerEnrollmentJobStatus;
1813
+ exports.SpeakerEnrollmentJobSummary$ = SpeakerEnrollmentJobSummary$;
639
1814
  exports.SpeakerStatus = SpeakerStatus;
1815
+ exports.SpeakerSummary$ = SpeakerSummary$;
1816
+ exports.StartFraudsterRegistrationJob$ = StartFraudsterRegistrationJob$;
640
1817
  exports.StartFraudsterRegistrationJobCommand = StartFraudsterRegistrationJobCommand;
1818
+ exports.StartFraudsterRegistrationJobRequest$ = StartFraudsterRegistrationJobRequest$;
1819
+ exports.StartFraudsterRegistrationJobResponse$ = StartFraudsterRegistrationJobResponse$;
1820
+ exports.StartSpeakerEnrollmentJob$ = StartSpeakerEnrollmentJob$;
641
1821
  exports.StartSpeakerEnrollmentJobCommand = StartSpeakerEnrollmentJobCommand;
1822
+ exports.StartSpeakerEnrollmentJobRequest$ = StartSpeakerEnrollmentJobRequest$;
1823
+ exports.StartSpeakerEnrollmentJobResponse$ = StartSpeakerEnrollmentJobResponse$;
642
1824
  exports.StreamingStatus = StreamingStatus;
1825
+ exports.Tag$ = Tag$;
1826
+ exports.TagResource$ = TagResource$;
643
1827
  exports.TagResourceCommand = TagResourceCommand;
1828
+ exports.TagResourceRequest$ = TagResourceRequest$;
1829
+ exports.TagResourceResponse$ = TagResourceResponse$;
1830
+ exports.ThrottlingException = ThrottlingException;
1831
+ exports.ThrottlingException$ = ThrottlingException$;
1832
+ exports.UntagResource$ = UntagResource$;
644
1833
  exports.UntagResourceCommand = UntagResourceCommand;
1834
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1835
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1836
+ exports.UpdateDomain$ = UpdateDomain$;
645
1837
  exports.UpdateDomainCommand = UpdateDomainCommand;
1838
+ exports.UpdateDomainRequest$ = UpdateDomainRequest$;
1839
+ exports.UpdateDomainResponse$ = UpdateDomainResponse$;
1840
+ exports.UpdateWatchlist$ = UpdateWatchlist$;
646
1841
  exports.UpdateWatchlistCommand = UpdateWatchlistCommand;
1842
+ exports.UpdateWatchlistRequest$ = UpdateWatchlistRequest$;
1843
+ exports.UpdateWatchlistResponse$ = UpdateWatchlistResponse$;
1844
+ exports.ValidationException = ValidationException;
1845
+ exports.ValidationException$ = ValidationException$;
647
1846
  exports.VoiceID = VoiceID;
648
1847
  exports.VoiceIDClient = VoiceIDClient;
1848
+ exports.VoiceIDServiceException = VoiceIDServiceException;
1849
+ exports.VoiceIDServiceException$ = VoiceIDServiceException$;
1850
+ exports.VoiceSpoofingRisk$ = VoiceSpoofingRisk$;
1851
+ exports.Watchlist$ = Watchlist$;
1852
+ exports.WatchlistDetails$ = WatchlistDetails$;
1853
+ exports.WatchlistSummary$ = WatchlistSummary$;
1854
+ exports.errorTypeRegistries = errorTypeRegistries;
649
1855
  exports.paginateListDomains = paginateListDomains;
650
1856
  exports.paginateListFraudsterRegistrationJobs = paginateListFraudsterRegistrationJobs;
651
1857
  exports.paginateListFraudsters = paginateListFraudsters;