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