@aws-sdk/client-voice-id 3.716.0 → 3.723.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
@@ -226,7 +226,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
226
226
  }, "resolveRuntimeExtensions");
227
227
 
228
228
  // src/VoiceIDClient.ts
229
- var _VoiceIDClient = class _VoiceIDClient extends import_smithy_client.Client {
229
+ var VoiceIDClient = class extends import_smithy_client.Client {
230
+ static {
231
+ __name(this, "VoiceIDClient");
232
+ }
233
+ /**
234
+ * The resolved configuration of VoiceIDClient class. This is resolved and normalized from the {@link VoiceIDClientConfig | constructor configuration interface}.
235
+ */
236
+ config;
230
237
  constructor(...[configuration]) {
231
238
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
232
239
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -236,7 +243,7 @@ var _VoiceIDClient = class _VoiceIDClient extends import_smithy_client.Client {
236
243
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
237
244
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
238
245
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
239
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
246
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
240
247
  super(_config_8);
241
248
  this.config = _config_8;
242
249
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -264,8 +271,6 @@ var _VoiceIDClient = class _VoiceIDClient extends import_smithy_client.Client {
264
271
  super.destroy();
265
272
  }
266
273
  };
267
- __name(_VoiceIDClient, "VoiceIDClient");
268
- var VoiceIDClient = _VoiceIDClient;
269
274
 
270
275
  // src/VoiceID.ts
271
276
 
@@ -280,7 +285,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
280
285
 
281
286
  // src/models/VoiceIDServiceException.ts
282
287
 
283
- var _VoiceIDServiceException = class _VoiceIDServiceException extends import_smithy_client.ServiceException {
288
+ var VoiceIDServiceException = class _VoiceIDServiceException extends import_smithy_client.ServiceException {
289
+ static {
290
+ __name(this, "VoiceIDServiceException");
291
+ }
284
292
  /**
285
293
  * @internal
286
294
  */
@@ -289,11 +297,15 @@ var _VoiceIDServiceException = class _VoiceIDServiceException extends import_smi
289
297
  Object.setPrototypeOf(this, _VoiceIDServiceException.prototype);
290
298
  }
291
299
  };
292
- __name(_VoiceIDServiceException, "VoiceIDServiceException");
293
- var VoiceIDServiceException = _VoiceIDServiceException;
294
300
 
295
301
  // src/models/models_0.ts
296
- var _AccessDeniedException = class _AccessDeniedException extends VoiceIDServiceException {
302
+ var AccessDeniedException = class _AccessDeniedException extends VoiceIDServiceException {
303
+ static {
304
+ __name(this, "AccessDeniedException");
305
+ }
306
+ name = "AccessDeniedException";
307
+ $fault = "client";
308
+ Message;
297
309
  /**
298
310
  * @internal
299
311
  */
@@ -303,14 +315,10 @@ var _AccessDeniedException = class _AccessDeniedException extends VoiceIDService
303
315
  $fault: "client",
304
316
  ...opts
305
317
  });
306
- this.name = "AccessDeniedException";
307
- this.$fault = "client";
308
318
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
309
319
  this.Message = opts.Message;
310
320
  }
311
321
  };
312
- __name(_AccessDeniedException, "AccessDeniedException");
313
- var AccessDeniedException = _AccessDeniedException;
314
322
  var ConflictType = {
315
323
  ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM",
316
324
  CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
@@ -323,7 +331,50 @@ var ConflictType = {
323
331
  SPEAKER_NOT_SET: "SPEAKER_NOT_SET",
324
332
  SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT"
325
333
  };
326
- var _ConflictException = class _ConflictException extends VoiceIDServiceException {
334
+ var ConflictException = class _ConflictException extends VoiceIDServiceException {
335
+ static {
336
+ __name(this, "ConflictException");
337
+ }
338
+ name = "ConflictException";
339
+ $fault = "client";
340
+ Message;
341
+ /**
342
+ * <p>The type of conflict which caused a ConflictException. Possible types and the
343
+ * corresponding error messages are as follows:</p>
344
+ * <ul>
345
+ * <li>
346
+ * <p>
347
+ * <code>DOMAIN_NOT_ACTIVE</code>: The domain is not active.</p>
348
+ * </li>
349
+ * <li>
350
+ * <p>
351
+ * <code>CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT</code>: You cannot change the
352
+ * speaker ID after an enrollment has been requested.</p>
353
+ * </li>
354
+ * <li>
355
+ * <p>
356
+ * <code>ENROLLMENT_ALREADY_EXISTS</code>: There is already an enrollment for
357
+ * this session.</p>
358
+ * </li>
359
+ * <li>
360
+ * <p>
361
+ * <code>SPEAKER_NOT_SET</code>: You must set the speaker ID before requesting an
362
+ * enrollment.</p>
363
+ * </li>
364
+ * <li>
365
+ * <p>
366
+ * <code>SPEAKER_OPTED_OUT</code>: You cannot request an enrollment for an opted
367
+ * out speaker.</p>
368
+ * </li>
369
+ * <li>
370
+ * <p>
371
+ * <code>CONCURRENT_CHANGES</code>: The request could not be processed as the
372
+ * resource was modified by another request during execution.</p>
373
+ * </li>
374
+ * </ul>
375
+ * @public
376
+ */
377
+ ConflictType;
327
378
  /**
328
379
  * @internal
329
380
  */
@@ -333,16 +384,18 @@ var _ConflictException = class _ConflictException extends VoiceIDServiceExceptio
333
384
  $fault: "client",
334
385
  ...opts
335
386
  });
336
- this.name = "ConflictException";
337
- this.$fault = "client";
338
387
  Object.setPrototypeOf(this, _ConflictException.prototype);
339
388
  this.Message = opts.Message;
340
389
  this.ConflictType = opts.ConflictType;
341
390
  }
342
391
  };
343
- __name(_ConflictException, "ConflictException");
344
- var ConflictException = _ConflictException;
345
- var _InternalServerException = class _InternalServerException extends VoiceIDServiceException {
392
+ var InternalServerException = class _InternalServerException extends VoiceIDServiceException {
393
+ static {
394
+ __name(this, "InternalServerException");
395
+ }
396
+ name = "InternalServerException";
397
+ $fault = "server";
398
+ Message;
346
399
  /**
347
400
  * @internal
348
401
  */
@@ -352,14 +405,10 @@ var _InternalServerException = class _InternalServerException extends VoiceIDSer
352
405
  $fault: "server",
353
406
  ...opts
354
407
  });
355
- this.name = "InternalServerException";
356
- this.$fault = "server";
357
408
  Object.setPrototypeOf(this, _InternalServerException.prototype);
358
409
  this.Message = opts.Message;
359
410
  }
360
411
  };
361
- __name(_InternalServerException, "InternalServerException");
362
- var InternalServerException = _InternalServerException;
363
412
  var ResourceType = {
364
413
  BATCH_JOB: "BATCH_JOB",
365
414
  COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT",
@@ -369,7 +418,20 @@ var ResourceType = {
369
418
  SPEAKER: "SPEAKER",
370
419
  WATCHLIST: "WATCHLIST"
371
420
  };
372
- var _ResourceNotFoundException = class _ResourceNotFoundException extends VoiceIDServiceException {
421
+ var ResourceNotFoundException = class _ResourceNotFoundException extends VoiceIDServiceException {
422
+ static {
423
+ __name(this, "ResourceNotFoundException");
424
+ }
425
+ name = "ResourceNotFoundException";
426
+ $fault = "client";
427
+ Message;
428
+ /**
429
+ * <p>The type of resource which cannot not be found. Possible types are
430
+ * <code>BATCH_JOB</code>, <code>COMPLIANCE_CONSENT</code>, <code>DOMAIN</code>,
431
+ * <code>FRAUDSTER</code>, <code>SESSION</code> and <code>SPEAKER</code>.</p>
432
+ * @public
433
+ */
434
+ ResourceType;
373
435
  /**
374
436
  * @internal
375
437
  */
@@ -379,16 +441,18 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends VoiceI
379
441
  $fault: "client",
380
442
  ...opts
381
443
  });
382
- this.name = "ResourceNotFoundException";
383
- this.$fault = "client";
384
444
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
385
445
  this.Message = opts.Message;
386
446
  this.ResourceType = opts.ResourceType;
387
447
  }
388
448
  };
389
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
390
- var ResourceNotFoundException = _ResourceNotFoundException;
391
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends VoiceIDServiceException {
449
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends VoiceIDServiceException {
450
+ static {
451
+ __name(this, "ServiceQuotaExceededException");
452
+ }
453
+ name = "ServiceQuotaExceededException";
454
+ $fault = "client";
455
+ Message;
392
456
  /**
393
457
  * @internal
394
458
  */
@@ -398,15 +462,17 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
398
462
  $fault: "client",
399
463
  ...opts
400
464
  });
401
- this.name = "ServiceQuotaExceededException";
402
- this.$fault = "client";
403
465
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
404
466
  this.Message = opts.Message;
405
467
  }
406
468
  };
407
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
408
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
409
- var _ThrottlingException = class _ThrottlingException extends VoiceIDServiceException {
469
+ var ThrottlingException = class _ThrottlingException extends VoiceIDServiceException {
470
+ static {
471
+ __name(this, "ThrottlingException");
472
+ }
473
+ name = "ThrottlingException";
474
+ $fault = "client";
475
+ Message;
410
476
  /**
411
477
  * @internal
412
478
  */
@@ -416,15 +482,17 @@ var _ThrottlingException = class _ThrottlingException extends VoiceIDServiceExce
416
482
  $fault: "client",
417
483
  ...opts
418
484
  });
419
- this.name = "ThrottlingException";
420
- this.$fault = "client";
421
485
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
422
486
  this.Message = opts.Message;
423
487
  }
424
488
  };
425
- __name(_ThrottlingException, "ThrottlingException");
426
- var ThrottlingException = _ThrottlingException;
427
- var _ValidationException = class _ValidationException extends VoiceIDServiceException {
489
+ var ValidationException = class _ValidationException extends VoiceIDServiceException {
490
+ static {
491
+ __name(this, "ValidationException");
492
+ }
493
+ name = "ValidationException";
494
+ $fault = "client";
495
+ Message;
428
496
  /**
429
497
  * @internal
430
498
  */
@@ -434,14 +502,10 @@ var _ValidationException = class _ValidationException extends VoiceIDServiceExce
434
502
  $fault: "client",
435
503
  ...opts
436
504
  });
437
- this.name = "ValidationException";
438
- this.$fault = "client";
439
505
  Object.setPrototypeOf(this, _ValidationException.prototype);
440
506
  this.Message = opts.Message;
441
507
  }
442
508
  };
443
- __name(_ValidationException, "ValidationException");
444
- var ValidationException = _ValidationException;
445
509
  var AuthenticationDecision = {
446
510
  ACCEPT: "ACCEPT",
447
511
  NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH",
@@ -1755,407 +1819,436 @@ function sharedHeaders(operation) {
1755
1819
  __name(sharedHeaders, "sharedHeaders");
1756
1820
 
1757
1821
  // src/commands/AssociateFraudsterCommand.ts
1758
- var _AssociateFraudsterCommand = class _AssociateFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1822
+ var AssociateFraudsterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1759
1823
  return [
1760
1824
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1761
1825
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1762
1826
  ];
1763
1827
  }).s("VoiceID", "AssociateFraudster", {}).n("VoiceIDClient", "AssociateFraudsterCommand").f(AssociateFraudsterRequestFilterSensitiveLog, void 0).ser(se_AssociateFraudsterCommand).de(de_AssociateFraudsterCommand).build() {
1828
+ static {
1829
+ __name(this, "AssociateFraudsterCommand");
1830
+ }
1764
1831
  };
1765
- __name(_AssociateFraudsterCommand, "AssociateFraudsterCommand");
1766
- var AssociateFraudsterCommand = _AssociateFraudsterCommand;
1767
1832
 
1768
1833
  // src/commands/CreateDomainCommand.ts
1769
1834
 
1770
1835
 
1771
1836
 
1772
- var _CreateDomainCommand = class _CreateDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1837
+ var CreateDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1773
1838
  return [
1774
1839
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1775
1840
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1776
1841
  ];
1777
1842
  }).s("VoiceID", "CreateDomain", {}).n("VoiceIDClient", "CreateDomainCommand").f(CreateDomainRequestFilterSensitiveLog, CreateDomainResponseFilterSensitiveLog).ser(se_CreateDomainCommand).de(de_CreateDomainCommand).build() {
1843
+ static {
1844
+ __name(this, "CreateDomainCommand");
1845
+ }
1778
1846
  };
1779
- __name(_CreateDomainCommand, "CreateDomainCommand");
1780
- var CreateDomainCommand = _CreateDomainCommand;
1781
1847
 
1782
1848
  // src/commands/CreateWatchlistCommand.ts
1783
1849
 
1784
1850
 
1785
1851
 
1786
- var _CreateWatchlistCommand = class _CreateWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1852
+ var CreateWatchlistCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1787
1853
  return [
1788
1854
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1789
1855
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1790
1856
  ];
1791
1857
  }).s("VoiceID", "CreateWatchlist", {}).n("VoiceIDClient", "CreateWatchlistCommand").f(CreateWatchlistRequestFilterSensitiveLog, CreateWatchlistResponseFilterSensitiveLog).ser(se_CreateWatchlistCommand).de(de_CreateWatchlistCommand).build() {
1858
+ static {
1859
+ __name(this, "CreateWatchlistCommand");
1860
+ }
1792
1861
  };
1793
- __name(_CreateWatchlistCommand, "CreateWatchlistCommand");
1794
- var CreateWatchlistCommand = _CreateWatchlistCommand;
1795
1862
 
1796
1863
  // src/commands/DeleteDomainCommand.ts
1797
1864
 
1798
1865
 
1799
1866
 
1800
- var _DeleteDomainCommand = class _DeleteDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1867
+ var DeleteDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1801
1868
  return [
1802
1869
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1803
1870
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1804
1871
  ];
1805
1872
  }).s("VoiceID", "DeleteDomain", {}).n("VoiceIDClient", "DeleteDomainCommand").f(void 0, void 0).ser(se_DeleteDomainCommand).de(de_DeleteDomainCommand).build() {
1873
+ static {
1874
+ __name(this, "DeleteDomainCommand");
1875
+ }
1806
1876
  };
1807
- __name(_DeleteDomainCommand, "DeleteDomainCommand");
1808
- var DeleteDomainCommand = _DeleteDomainCommand;
1809
1877
 
1810
1878
  // src/commands/DeleteFraudsterCommand.ts
1811
1879
 
1812
1880
 
1813
1881
 
1814
- var _DeleteFraudsterCommand = class _DeleteFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1882
+ var DeleteFraudsterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1815
1883
  return [
1816
1884
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1817
1885
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1818
1886
  ];
1819
1887
  }).s("VoiceID", "DeleteFraudster", {}).n("VoiceIDClient", "DeleteFraudsterCommand").f(DeleteFraudsterRequestFilterSensitiveLog, void 0).ser(se_DeleteFraudsterCommand).de(de_DeleteFraudsterCommand).build() {
1888
+ static {
1889
+ __name(this, "DeleteFraudsterCommand");
1890
+ }
1820
1891
  };
1821
- __name(_DeleteFraudsterCommand, "DeleteFraudsterCommand");
1822
- var DeleteFraudsterCommand = _DeleteFraudsterCommand;
1823
1892
 
1824
1893
  // src/commands/DeleteSpeakerCommand.ts
1825
1894
 
1826
1895
 
1827
1896
 
1828
- var _DeleteSpeakerCommand = class _DeleteSpeakerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1897
+ var DeleteSpeakerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1829
1898
  return [
1830
1899
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1831
1900
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1832
1901
  ];
1833
1902
  }).s("VoiceID", "DeleteSpeaker", {}).n("VoiceIDClient", "DeleteSpeakerCommand").f(DeleteSpeakerRequestFilterSensitiveLog, void 0).ser(se_DeleteSpeakerCommand).de(de_DeleteSpeakerCommand).build() {
1903
+ static {
1904
+ __name(this, "DeleteSpeakerCommand");
1905
+ }
1834
1906
  };
1835
- __name(_DeleteSpeakerCommand, "DeleteSpeakerCommand");
1836
- var DeleteSpeakerCommand = _DeleteSpeakerCommand;
1837
1907
 
1838
1908
  // src/commands/DeleteWatchlistCommand.ts
1839
1909
 
1840
1910
 
1841
1911
 
1842
- var _DeleteWatchlistCommand = class _DeleteWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1912
+ var DeleteWatchlistCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1843
1913
  return [
1844
1914
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1845
1915
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1846
1916
  ];
1847
1917
  }).s("VoiceID", "DeleteWatchlist", {}).n("VoiceIDClient", "DeleteWatchlistCommand").f(void 0, void 0).ser(se_DeleteWatchlistCommand).de(de_DeleteWatchlistCommand).build() {
1918
+ static {
1919
+ __name(this, "DeleteWatchlistCommand");
1920
+ }
1848
1921
  };
1849
- __name(_DeleteWatchlistCommand, "DeleteWatchlistCommand");
1850
- var DeleteWatchlistCommand = _DeleteWatchlistCommand;
1851
1922
 
1852
1923
  // src/commands/DescribeDomainCommand.ts
1853
1924
 
1854
1925
 
1855
1926
 
1856
- var _DescribeDomainCommand = class _DescribeDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1927
+ var DescribeDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1857
1928
  return [
1858
1929
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1859
1930
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1860
1931
  ];
1861
1932
  }).s("VoiceID", "DescribeDomain", {}).n("VoiceIDClient", "DescribeDomainCommand").f(void 0, DescribeDomainResponseFilterSensitiveLog).ser(se_DescribeDomainCommand).de(de_DescribeDomainCommand).build() {
1933
+ static {
1934
+ __name(this, "DescribeDomainCommand");
1935
+ }
1862
1936
  };
1863
- __name(_DescribeDomainCommand, "DescribeDomainCommand");
1864
- var DescribeDomainCommand = _DescribeDomainCommand;
1865
1937
 
1866
1938
  // src/commands/DescribeFraudsterCommand.ts
1867
1939
 
1868
1940
 
1869
1941
 
1870
- var _DescribeFraudsterCommand = class _DescribeFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1942
+ var DescribeFraudsterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1871
1943
  return [
1872
1944
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1873
1945
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1874
1946
  ];
1875
1947
  }).s("VoiceID", "DescribeFraudster", {}).n("VoiceIDClient", "DescribeFraudsterCommand").f(DescribeFraudsterRequestFilterSensitiveLog, void 0).ser(se_DescribeFraudsterCommand).de(de_DescribeFraudsterCommand).build() {
1948
+ static {
1949
+ __name(this, "DescribeFraudsterCommand");
1950
+ }
1876
1951
  };
1877
- __name(_DescribeFraudsterCommand, "DescribeFraudsterCommand");
1878
- var DescribeFraudsterCommand = _DescribeFraudsterCommand;
1879
1952
 
1880
1953
  // src/commands/DescribeFraudsterRegistrationJobCommand.ts
1881
1954
 
1882
1955
 
1883
1956
 
1884
- var _DescribeFraudsterRegistrationJobCommand = class _DescribeFraudsterRegistrationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1957
+ var DescribeFraudsterRegistrationJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1885
1958
  return [
1886
1959
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1887
1960
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1888
1961
  ];
1889
1962
  }).s("VoiceID", "DescribeFraudsterRegistrationJob", {}).n("VoiceIDClient", "DescribeFraudsterRegistrationJobCommand").f(void 0, DescribeFraudsterRegistrationJobResponseFilterSensitiveLog).ser(se_DescribeFraudsterRegistrationJobCommand).de(de_DescribeFraudsterRegistrationJobCommand).build() {
1963
+ static {
1964
+ __name(this, "DescribeFraudsterRegistrationJobCommand");
1965
+ }
1890
1966
  };
1891
- __name(_DescribeFraudsterRegistrationJobCommand, "DescribeFraudsterRegistrationJobCommand");
1892
- var DescribeFraudsterRegistrationJobCommand = _DescribeFraudsterRegistrationJobCommand;
1893
1967
 
1894
1968
  // src/commands/DescribeSpeakerCommand.ts
1895
1969
 
1896
1970
 
1897
1971
 
1898
- var _DescribeSpeakerCommand = class _DescribeSpeakerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1972
+ var DescribeSpeakerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1899
1973
  return [
1900
1974
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1901
1975
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1902
1976
  ];
1903
1977
  }).s("VoiceID", "DescribeSpeaker", {}).n("VoiceIDClient", "DescribeSpeakerCommand").f(DescribeSpeakerRequestFilterSensitiveLog, DescribeSpeakerResponseFilterSensitiveLog).ser(se_DescribeSpeakerCommand).de(de_DescribeSpeakerCommand).build() {
1978
+ static {
1979
+ __name(this, "DescribeSpeakerCommand");
1980
+ }
1904
1981
  };
1905
- __name(_DescribeSpeakerCommand, "DescribeSpeakerCommand");
1906
- var DescribeSpeakerCommand = _DescribeSpeakerCommand;
1907
1982
 
1908
1983
  // src/commands/DescribeSpeakerEnrollmentJobCommand.ts
1909
1984
 
1910
1985
 
1911
1986
 
1912
- var _DescribeSpeakerEnrollmentJobCommand = class _DescribeSpeakerEnrollmentJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1987
+ var DescribeSpeakerEnrollmentJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1913
1988
  return [
1914
1989
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1915
1990
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1916
1991
  ];
1917
1992
  }).s("VoiceID", "DescribeSpeakerEnrollmentJob", {}).n("VoiceIDClient", "DescribeSpeakerEnrollmentJobCommand").f(void 0, DescribeSpeakerEnrollmentJobResponseFilterSensitiveLog).ser(se_DescribeSpeakerEnrollmentJobCommand).de(de_DescribeSpeakerEnrollmentJobCommand).build() {
1993
+ static {
1994
+ __name(this, "DescribeSpeakerEnrollmentJobCommand");
1995
+ }
1918
1996
  };
1919
- __name(_DescribeSpeakerEnrollmentJobCommand, "DescribeSpeakerEnrollmentJobCommand");
1920
- var DescribeSpeakerEnrollmentJobCommand = _DescribeSpeakerEnrollmentJobCommand;
1921
1997
 
1922
1998
  // src/commands/DescribeWatchlistCommand.ts
1923
1999
 
1924
2000
 
1925
2001
 
1926
- var _DescribeWatchlistCommand = class _DescribeWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2002
+ var DescribeWatchlistCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1927
2003
  return [
1928
2004
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1929
2005
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1930
2006
  ];
1931
2007
  }).s("VoiceID", "DescribeWatchlist", {}).n("VoiceIDClient", "DescribeWatchlistCommand").f(void 0, DescribeWatchlistResponseFilterSensitiveLog).ser(se_DescribeWatchlistCommand).de(de_DescribeWatchlistCommand).build() {
2008
+ static {
2009
+ __name(this, "DescribeWatchlistCommand");
2010
+ }
1932
2011
  };
1933
- __name(_DescribeWatchlistCommand, "DescribeWatchlistCommand");
1934
- var DescribeWatchlistCommand = _DescribeWatchlistCommand;
1935
2012
 
1936
2013
  // src/commands/DisassociateFraudsterCommand.ts
1937
2014
 
1938
2015
 
1939
2016
 
1940
- var _DisassociateFraudsterCommand = class _DisassociateFraudsterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2017
+ var DisassociateFraudsterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1941
2018
  return [
1942
2019
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1943
2020
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1944
2021
  ];
1945
2022
  }).s("VoiceID", "DisassociateFraudster", {}).n("VoiceIDClient", "DisassociateFraudsterCommand").f(DisassociateFraudsterRequestFilterSensitiveLog, void 0).ser(se_DisassociateFraudsterCommand).de(de_DisassociateFraudsterCommand).build() {
2023
+ static {
2024
+ __name(this, "DisassociateFraudsterCommand");
2025
+ }
1946
2026
  };
1947
- __name(_DisassociateFraudsterCommand, "DisassociateFraudsterCommand");
1948
- var DisassociateFraudsterCommand = _DisassociateFraudsterCommand;
1949
2027
 
1950
2028
  // src/commands/EvaluateSessionCommand.ts
1951
2029
 
1952
2030
 
1953
2031
 
1954
- var _EvaluateSessionCommand = class _EvaluateSessionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2032
+ var EvaluateSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1955
2033
  return [
1956
2034
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1957
2035
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1958
2036
  ];
1959
2037
  }).s("VoiceID", "EvaluateSession", {}).n("VoiceIDClient", "EvaluateSessionCommand").f(void 0, EvaluateSessionResponseFilterSensitiveLog).ser(se_EvaluateSessionCommand).de(de_EvaluateSessionCommand).build() {
2038
+ static {
2039
+ __name(this, "EvaluateSessionCommand");
2040
+ }
1960
2041
  };
1961
- __name(_EvaluateSessionCommand, "EvaluateSessionCommand");
1962
- var EvaluateSessionCommand = _EvaluateSessionCommand;
1963
2042
 
1964
2043
  // src/commands/ListDomainsCommand.ts
1965
2044
 
1966
2045
 
1967
2046
 
1968
- var _ListDomainsCommand = class _ListDomainsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2047
+ var ListDomainsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1969
2048
  return [
1970
2049
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1971
2050
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1972
2051
  ];
1973
2052
  }).s("VoiceID", "ListDomains", {}).n("VoiceIDClient", "ListDomainsCommand").f(void 0, ListDomainsResponseFilterSensitiveLog).ser(se_ListDomainsCommand).de(de_ListDomainsCommand).build() {
2053
+ static {
2054
+ __name(this, "ListDomainsCommand");
2055
+ }
1974
2056
  };
1975
- __name(_ListDomainsCommand, "ListDomainsCommand");
1976
- var ListDomainsCommand = _ListDomainsCommand;
1977
2057
 
1978
2058
  // src/commands/ListFraudsterRegistrationJobsCommand.ts
1979
2059
 
1980
2060
 
1981
2061
 
1982
- var _ListFraudsterRegistrationJobsCommand = class _ListFraudsterRegistrationJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2062
+ var ListFraudsterRegistrationJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1983
2063
  return [
1984
2064
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1985
2065
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1986
2066
  ];
1987
2067
  }).s("VoiceID", "ListFraudsterRegistrationJobs", {}).n("VoiceIDClient", "ListFraudsterRegistrationJobsCommand").f(void 0, ListFraudsterRegistrationJobsResponseFilterSensitiveLog).ser(se_ListFraudsterRegistrationJobsCommand).de(de_ListFraudsterRegistrationJobsCommand).build() {
2068
+ static {
2069
+ __name(this, "ListFraudsterRegistrationJobsCommand");
2070
+ }
1988
2071
  };
1989
- __name(_ListFraudsterRegistrationJobsCommand, "ListFraudsterRegistrationJobsCommand");
1990
- var ListFraudsterRegistrationJobsCommand = _ListFraudsterRegistrationJobsCommand;
1991
2072
 
1992
2073
  // src/commands/ListFraudstersCommand.ts
1993
2074
 
1994
2075
 
1995
2076
 
1996
- var _ListFraudstersCommand = class _ListFraudstersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2077
+ var ListFraudstersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1997
2078
  return [
1998
2079
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1999
2080
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2000
2081
  ];
2001
2082
  }).s("VoiceID", "ListFraudsters", {}).n("VoiceIDClient", "ListFraudstersCommand").f(void 0, void 0).ser(se_ListFraudstersCommand).de(de_ListFraudstersCommand).build() {
2083
+ static {
2084
+ __name(this, "ListFraudstersCommand");
2085
+ }
2002
2086
  };
2003
- __name(_ListFraudstersCommand, "ListFraudstersCommand");
2004
- var ListFraudstersCommand = _ListFraudstersCommand;
2005
2087
 
2006
2088
  // src/commands/ListSpeakerEnrollmentJobsCommand.ts
2007
2089
 
2008
2090
 
2009
2091
 
2010
- var _ListSpeakerEnrollmentJobsCommand = class _ListSpeakerEnrollmentJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2092
+ var ListSpeakerEnrollmentJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2011
2093
  return [
2012
2094
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2013
2095
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2014
2096
  ];
2015
2097
  }).s("VoiceID", "ListSpeakerEnrollmentJobs", {}).n("VoiceIDClient", "ListSpeakerEnrollmentJobsCommand").f(void 0, ListSpeakerEnrollmentJobsResponseFilterSensitiveLog).ser(se_ListSpeakerEnrollmentJobsCommand).de(de_ListSpeakerEnrollmentJobsCommand).build() {
2098
+ static {
2099
+ __name(this, "ListSpeakerEnrollmentJobsCommand");
2100
+ }
2016
2101
  };
2017
- __name(_ListSpeakerEnrollmentJobsCommand, "ListSpeakerEnrollmentJobsCommand");
2018
- var ListSpeakerEnrollmentJobsCommand = _ListSpeakerEnrollmentJobsCommand;
2019
2102
 
2020
2103
  // src/commands/ListSpeakersCommand.ts
2021
2104
 
2022
2105
 
2023
2106
 
2024
- var _ListSpeakersCommand = class _ListSpeakersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2107
+ var ListSpeakersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2025
2108
  return [
2026
2109
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2027
2110
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2028
2111
  ];
2029
2112
  }).s("VoiceID", "ListSpeakers", {}).n("VoiceIDClient", "ListSpeakersCommand").f(void 0, ListSpeakersResponseFilterSensitiveLog).ser(se_ListSpeakersCommand).de(de_ListSpeakersCommand).build() {
2113
+ static {
2114
+ __name(this, "ListSpeakersCommand");
2115
+ }
2030
2116
  };
2031
- __name(_ListSpeakersCommand, "ListSpeakersCommand");
2032
- var ListSpeakersCommand = _ListSpeakersCommand;
2033
2117
 
2034
2118
  // src/commands/ListTagsForResourceCommand.ts
2035
2119
 
2036
2120
 
2037
2121
 
2038
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2122
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2039
2123
  return [
2040
2124
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2041
2125
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2042
2126
  ];
2043
2127
  }).s("VoiceID", "ListTagsForResource", {}).n("VoiceIDClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2128
+ static {
2129
+ __name(this, "ListTagsForResourceCommand");
2130
+ }
2044
2131
  };
2045
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2046
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2047
2132
 
2048
2133
  // src/commands/ListWatchlistsCommand.ts
2049
2134
 
2050
2135
 
2051
2136
 
2052
- var _ListWatchlistsCommand = class _ListWatchlistsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2137
+ var ListWatchlistsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2053
2138
  return [
2054
2139
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2055
2140
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2056
2141
  ];
2057
2142
  }).s("VoiceID", "ListWatchlists", {}).n("VoiceIDClient", "ListWatchlistsCommand").f(void 0, ListWatchlistsResponseFilterSensitiveLog).ser(se_ListWatchlistsCommand).de(de_ListWatchlistsCommand).build() {
2143
+ static {
2144
+ __name(this, "ListWatchlistsCommand");
2145
+ }
2058
2146
  };
2059
- __name(_ListWatchlistsCommand, "ListWatchlistsCommand");
2060
- var ListWatchlistsCommand = _ListWatchlistsCommand;
2061
2147
 
2062
2148
  // src/commands/OptOutSpeakerCommand.ts
2063
2149
 
2064
2150
 
2065
2151
 
2066
- var _OptOutSpeakerCommand = class _OptOutSpeakerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2152
+ var OptOutSpeakerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2067
2153
  return [
2068
2154
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2069
2155
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2070
2156
  ];
2071
2157
  }).s("VoiceID", "OptOutSpeaker", {}).n("VoiceIDClient", "OptOutSpeakerCommand").f(OptOutSpeakerRequestFilterSensitiveLog, OptOutSpeakerResponseFilterSensitiveLog).ser(se_OptOutSpeakerCommand).de(de_OptOutSpeakerCommand).build() {
2158
+ static {
2159
+ __name(this, "OptOutSpeakerCommand");
2160
+ }
2072
2161
  };
2073
- __name(_OptOutSpeakerCommand, "OptOutSpeakerCommand");
2074
- var OptOutSpeakerCommand = _OptOutSpeakerCommand;
2075
2162
 
2076
2163
  // src/commands/StartFraudsterRegistrationJobCommand.ts
2077
2164
 
2078
2165
 
2079
2166
 
2080
- var _StartFraudsterRegistrationJobCommand = class _StartFraudsterRegistrationJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2167
+ var StartFraudsterRegistrationJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2081
2168
  return [
2082
2169
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2083
2170
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2084
2171
  ];
2085
2172
  }).s("VoiceID", "StartFraudsterRegistrationJob", {}).n("VoiceIDClient", "StartFraudsterRegistrationJobCommand").f(StartFraudsterRegistrationJobRequestFilterSensitiveLog, StartFraudsterRegistrationJobResponseFilterSensitiveLog).ser(se_StartFraudsterRegistrationJobCommand).de(de_StartFraudsterRegistrationJobCommand).build() {
2173
+ static {
2174
+ __name(this, "StartFraudsterRegistrationJobCommand");
2175
+ }
2086
2176
  };
2087
- __name(_StartFraudsterRegistrationJobCommand, "StartFraudsterRegistrationJobCommand");
2088
- var StartFraudsterRegistrationJobCommand = _StartFraudsterRegistrationJobCommand;
2089
2177
 
2090
2178
  // src/commands/StartSpeakerEnrollmentJobCommand.ts
2091
2179
 
2092
2180
 
2093
2181
 
2094
- var _StartSpeakerEnrollmentJobCommand = class _StartSpeakerEnrollmentJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2182
+ var StartSpeakerEnrollmentJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2095
2183
  return [
2096
2184
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2097
2185
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2098
2186
  ];
2099
2187
  }).s("VoiceID", "StartSpeakerEnrollmentJob", {}).n("VoiceIDClient", "StartSpeakerEnrollmentJobCommand").f(StartSpeakerEnrollmentJobRequestFilterSensitiveLog, StartSpeakerEnrollmentJobResponseFilterSensitiveLog).ser(se_StartSpeakerEnrollmentJobCommand).de(de_StartSpeakerEnrollmentJobCommand).build() {
2188
+ static {
2189
+ __name(this, "StartSpeakerEnrollmentJobCommand");
2190
+ }
2100
2191
  };
2101
- __name(_StartSpeakerEnrollmentJobCommand, "StartSpeakerEnrollmentJobCommand");
2102
- var StartSpeakerEnrollmentJobCommand = _StartSpeakerEnrollmentJobCommand;
2103
2192
 
2104
2193
  // src/commands/TagResourceCommand.ts
2105
2194
 
2106
2195
 
2107
2196
 
2108
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2197
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2109
2198
  return [
2110
2199
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2111
2200
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2112
2201
  ];
2113
2202
  }).s("VoiceID", "TagResource", {}).n("VoiceIDClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2203
+ static {
2204
+ __name(this, "TagResourceCommand");
2205
+ }
2114
2206
  };
2115
- __name(_TagResourceCommand, "TagResourceCommand");
2116
- var TagResourceCommand = _TagResourceCommand;
2117
2207
 
2118
2208
  // src/commands/UntagResourceCommand.ts
2119
2209
 
2120
2210
 
2121
2211
 
2122
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2212
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2123
2213
  return [
2124
2214
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2125
2215
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2126
2216
  ];
2127
2217
  }).s("VoiceID", "UntagResource", {}).n("VoiceIDClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2218
+ static {
2219
+ __name(this, "UntagResourceCommand");
2220
+ }
2128
2221
  };
2129
- __name(_UntagResourceCommand, "UntagResourceCommand");
2130
- var UntagResourceCommand = _UntagResourceCommand;
2131
2222
 
2132
2223
  // src/commands/UpdateDomainCommand.ts
2133
2224
 
2134
2225
 
2135
2226
 
2136
- var _UpdateDomainCommand = class _UpdateDomainCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2227
+ var UpdateDomainCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2137
2228
  return [
2138
2229
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2139
2230
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2140
2231
  ];
2141
2232
  }).s("VoiceID", "UpdateDomain", {}).n("VoiceIDClient", "UpdateDomainCommand").f(UpdateDomainRequestFilterSensitiveLog, UpdateDomainResponseFilterSensitiveLog).ser(se_UpdateDomainCommand).de(de_UpdateDomainCommand).build() {
2233
+ static {
2234
+ __name(this, "UpdateDomainCommand");
2235
+ }
2142
2236
  };
2143
- __name(_UpdateDomainCommand, "UpdateDomainCommand");
2144
- var UpdateDomainCommand = _UpdateDomainCommand;
2145
2237
 
2146
2238
  // src/commands/UpdateWatchlistCommand.ts
2147
2239
 
2148
2240
 
2149
2241
 
2150
- var _UpdateWatchlistCommand = class _UpdateWatchlistCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2242
+ var UpdateWatchlistCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2151
2243
  return [
2152
2244
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2153
2245
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2154
2246
  ];
2155
2247
  }).s("VoiceID", "UpdateWatchlist", {}).n("VoiceIDClient", "UpdateWatchlistCommand").f(UpdateWatchlistRequestFilterSensitiveLog, UpdateWatchlistResponseFilterSensitiveLog).ser(se_UpdateWatchlistCommand).de(de_UpdateWatchlistCommand).build() {
2248
+ static {
2249
+ __name(this, "UpdateWatchlistCommand");
2250
+ }
2156
2251
  };
2157
- __name(_UpdateWatchlistCommand, "UpdateWatchlistCommand");
2158
- var UpdateWatchlistCommand = _UpdateWatchlistCommand;
2159
2252
 
2160
2253
  // src/VoiceID.ts
2161
2254
  var commands = {
@@ -2189,10 +2282,11 @@ var commands = {
2189
2282
  UpdateDomainCommand,
2190
2283
  UpdateWatchlistCommand
2191
2284
  };
2192
- var _VoiceID = class _VoiceID extends VoiceIDClient {
2285
+ var VoiceID = class extends VoiceIDClient {
2286
+ static {
2287
+ __name(this, "VoiceID");
2288
+ }
2193
2289
  };
2194
- __name(_VoiceID, "VoiceID");
2195
- var VoiceID = _VoiceID;
2196
2290
  (0, import_smithy_client.createAggregatedClient)(commands, VoiceID);
2197
2291
 
2198
2292
  // src/pagination/ListDomainsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class VoiceIDClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,14 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
@@ -26,28 +27,31 @@ export const ConflictType = {
26
27
  SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT",
27
28
  };
28
29
  export class ConflictException extends __BaseException {
30
+ name = "ConflictException";
31
+ $fault = "client";
32
+ Message;
33
+ ConflictType;
29
34
  constructor(opts) {
30
35
  super({
31
36
  name: "ConflictException",
32
37
  $fault: "client",
33
38
  ...opts,
34
39
  });
35
- this.name = "ConflictException";
36
- this.$fault = "client";
37
40
  Object.setPrototypeOf(this, ConflictException.prototype);
38
41
  this.Message = opts.Message;
39
42
  this.ConflictType = opts.ConflictType;
40
43
  }
41
44
  }
42
45
  export class InternalServerException extends __BaseException {
46
+ name = "InternalServerException";
47
+ $fault = "server";
48
+ Message;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "InternalServerException",
46
52
  $fault: "server",
47
53
  ...opts,
48
54
  });
49
- this.name = "InternalServerException";
50
- this.$fault = "server";
51
55
  Object.setPrototypeOf(this, InternalServerException.prototype);
52
56
  this.Message = opts.Message;
53
57
  }
@@ -62,54 +66,59 @@ export const ResourceType = {
62
66
  WATCHLIST: "WATCHLIST",
63
67
  };
64
68
  export class ResourceNotFoundException extends __BaseException {
69
+ name = "ResourceNotFoundException";
70
+ $fault = "client";
71
+ Message;
72
+ ResourceType;
65
73
  constructor(opts) {
66
74
  super({
67
75
  name: "ResourceNotFoundException",
68
76
  $fault: "client",
69
77
  ...opts,
70
78
  });
71
- this.name = "ResourceNotFoundException";
72
- this.$fault = "client";
73
79
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
74
80
  this.Message = opts.Message;
75
81
  this.ResourceType = opts.ResourceType;
76
82
  }
77
83
  }
78
84
  export class ServiceQuotaExceededException extends __BaseException {
85
+ name = "ServiceQuotaExceededException";
86
+ $fault = "client";
87
+ Message;
79
88
  constructor(opts) {
80
89
  super({
81
90
  name: "ServiceQuotaExceededException",
82
91
  $fault: "client",
83
92
  ...opts,
84
93
  });
85
- this.name = "ServiceQuotaExceededException";
86
- this.$fault = "client";
87
94
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
88
95
  this.Message = opts.Message;
89
96
  }
90
97
  }
91
98
  export class ThrottlingException extends __BaseException {
99
+ name = "ThrottlingException";
100
+ $fault = "client";
101
+ Message;
92
102
  constructor(opts) {
93
103
  super({
94
104
  name: "ThrottlingException",
95
105
  $fault: "client",
96
106
  ...opts,
97
107
  });
98
- this.name = "ThrottlingException";
99
- this.$fault = "client";
100
108
  Object.setPrototypeOf(this, ThrottlingException.prototype);
101
109
  this.Message = opts.Message;
102
110
  }
103
111
  }
104
112
  export class ValidationException extends __BaseException {
113
+ name = "ValidationException";
114
+ $fault = "client";
115
+ Message;
105
116
  constructor(opts) {
106
117
  super({
107
118
  name: "ValidationException",
108
119
  $fault: "client",
109
120
  ...opts,
110
121
  });
111
- this.name = "ValidationException";
112
- this.$fault = "client";
113
122
  Object.setPrototypeOf(this, ValidationException.prototype);
114
123
  this.Message = opts.Message;
115
124
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: VoiceIDClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-voice-id",
3
3
  "description": "AWS SDK for JavaScript Voice Id Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-voice-id",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {