@aws-sdk/client-voice-id 3.1077.0 → 3.1078.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.
Files changed (95) hide show
  1. package/dist-cjs/index.js +37 -293
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateFraudsterCommand.js +2 -14
  4. package/dist-es/commands/CreateDomainCommand.js +2 -14
  5. package/dist-es/commands/CreateWatchlistCommand.js +2 -14
  6. package/dist-es/commands/DeleteDomainCommand.js +2 -14
  7. package/dist-es/commands/DeleteFraudsterCommand.js +2 -14
  8. package/dist-es/commands/DeleteSpeakerCommand.js +2 -14
  9. package/dist-es/commands/DeleteWatchlistCommand.js +2 -14
  10. package/dist-es/commands/DescribeDomainCommand.js +2 -14
  11. package/dist-es/commands/DescribeFraudsterCommand.js +2 -14
  12. package/dist-es/commands/DescribeFraudsterRegistrationJobCommand.js +2 -14
  13. package/dist-es/commands/DescribeSpeakerCommand.js +2 -14
  14. package/dist-es/commands/DescribeSpeakerEnrollmentJobCommand.js +2 -14
  15. package/dist-es/commands/DescribeWatchlistCommand.js +2 -14
  16. package/dist-es/commands/DisassociateFraudsterCommand.js +2 -14
  17. package/dist-es/commands/EvaluateSessionCommand.js +2 -14
  18. package/dist-es/commands/ListDomainsCommand.js +2 -14
  19. package/dist-es/commands/ListFraudsterRegistrationJobsCommand.js +2 -14
  20. package/dist-es/commands/ListFraudstersCommand.js +2 -14
  21. package/dist-es/commands/ListSpeakerEnrollmentJobsCommand.js +2 -14
  22. package/dist-es/commands/ListSpeakersCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/ListWatchlistsCommand.js +2 -14
  25. package/dist-es/commands/OptOutSpeakerCommand.js +2 -14
  26. package/dist-es/commands/StartFraudsterRegistrationJobCommand.js +2 -14
  27. package/dist-es/commands/StartSpeakerEnrollmentJobCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateDomainCommand.js +2 -14
  31. package/dist-es/commands/UpdateWatchlistCommand.js +2 -14
  32. package/dist-es/index.js +1 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/AssociateFraudsterCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateDomainCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateWatchlistCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteDomainCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteFraudsterCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteSpeakerCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteWatchlistCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeDomainCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeFraudsterCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeSpeakerCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeWatchlistCommand.d.ts +3 -8
  47. package/dist-types/commands/DisassociateFraudsterCommand.d.ts +3 -8
  48. package/dist-types/commands/EvaluateSessionCommand.d.ts +3 -8
  49. package/dist-types/commands/ListDomainsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListFraudstersCommand.d.ts +3 -8
  52. package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListSpeakersCommand.d.ts +3 -8
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  55. package/dist-types/commands/ListWatchlistsCommand.d.ts +3 -8
  56. package/dist-types/commands/OptOutSpeakerCommand.d.ts +3 -8
  57. package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +3 -8
  58. package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +3 -8
  59. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateDomainCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateWatchlistCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/AssociateFraudsterCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/CreateWatchlistCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DeleteFraudsterCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DeleteSpeakerCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteWatchlistCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DescribeFraudsterCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeFraudsterRegistrationJobCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DescribeSpeakerCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DescribeWatchlistCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DisassociateFraudsterCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/EvaluateSessionCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListFraudsterRegistrationJobsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListFraudstersCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListSpeakerEnrollmentJobsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListSpeakersCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListWatchlistsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/OptOutSpeakerCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/StartFraudsterRegistrationJobCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/StartSpeakerEnrollmentJobCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateWatchlistCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/index.d.ts +1 -0
  95. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
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");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  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
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1188,352 +1189,95 @@ class VoiceIDClient extends Client {
1188
1189
  }
1189
1190
  }
1190
1191
 
1191
- class AssociateFraudsterCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("VoiceID", "AssociateFraudster", {})
1198
- .n("VoiceIDClient", "AssociateFraudsterCommand")
1199
- .sc(AssociateFraudster$)
1200
- .build() {
1192
+ const command = makeBuilder(commonParams, "VoiceID", "VoiceIDClient", getEndpointPlugin);
1193
+ const _ep0 = {};
1194
+ const _mw0 = (Command, cs, config, o) => [];
1195
+
1196
+ class AssociateFraudsterCommand extends command(_ep0, _mw0, "AssociateFraudster", AssociateFraudster$) {
1201
1197
  }
1202
1198
 
1203
- class CreateDomainCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("VoiceID", "CreateDomain", {})
1210
- .n("VoiceIDClient", "CreateDomainCommand")
1211
- .sc(CreateDomain$)
1212
- .build() {
1199
+ class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
1213
1200
  }
1214
1201
 
1215
- class CreateWatchlistCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("VoiceID", "CreateWatchlist", {})
1222
- .n("VoiceIDClient", "CreateWatchlistCommand")
1223
- .sc(CreateWatchlist$)
1224
- .build() {
1202
+ class CreateWatchlistCommand extends command(_ep0, _mw0, "CreateWatchlist", CreateWatchlist$) {
1225
1203
  }
1226
1204
 
1227
- class DeleteDomainCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("VoiceID", "DeleteDomain", {})
1234
- .n("VoiceIDClient", "DeleteDomainCommand")
1235
- .sc(DeleteDomain$)
1236
- .build() {
1205
+ class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
1237
1206
  }
1238
1207
 
1239
- class DeleteFraudsterCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("VoiceID", "DeleteFraudster", {})
1246
- .n("VoiceIDClient", "DeleteFraudsterCommand")
1247
- .sc(DeleteFraudster$)
1248
- .build() {
1208
+ class DeleteFraudsterCommand extends command(_ep0, _mw0, "DeleteFraudster", DeleteFraudster$) {
1249
1209
  }
1250
1210
 
1251
- class DeleteSpeakerCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("VoiceID", "DeleteSpeaker", {})
1258
- .n("VoiceIDClient", "DeleteSpeakerCommand")
1259
- .sc(DeleteSpeaker$)
1260
- .build() {
1211
+ class DeleteSpeakerCommand extends command(_ep0, _mw0, "DeleteSpeaker", DeleteSpeaker$) {
1261
1212
  }
1262
1213
 
1263
- class DeleteWatchlistCommand extends Command
1264
- .classBuilder()
1265
- .ep(commonParams)
1266
- .m(function (Command, cs, config, o) {
1267
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
- })
1269
- .s("VoiceID", "DeleteWatchlist", {})
1270
- .n("VoiceIDClient", "DeleteWatchlistCommand")
1271
- .sc(DeleteWatchlist$)
1272
- .build() {
1214
+ class DeleteWatchlistCommand extends command(_ep0, _mw0, "DeleteWatchlist", DeleteWatchlist$) {
1273
1215
  }
1274
1216
 
1275
- class DescribeDomainCommand extends Command
1276
- .classBuilder()
1277
- .ep(commonParams)
1278
- .m(function (Command, cs, config, o) {
1279
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
- })
1281
- .s("VoiceID", "DescribeDomain", {})
1282
- .n("VoiceIDClient", "DescribeDomainCommand")
1283
- .sc(DescribeDomain$)
1284
- .build() {
1217
+ class DescribeDomainCommand extends command(_ep0, _mw0, "DescribeDomain", DescribeDomain$) {
1285
1218
  }
1286
1219
 
1287
- class DescribeFraudsterCommand extends Command
1288
- .classBuilder()
1289
- .ep(commonParams)
1290
- .m(function (Command, cs, config, o) {
1291
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1292
- })
1293
- .s("VoiceID", "DescribeFraudster", {})
1294
- .n("VoiceIDClient", "DescribeFraudsterCommand")
1295
- .sc(DescribeFraudster$)
1296
- .build() {
1220
+ class DescribeFraudsterCommand extends command(_ep0, _mw0, "DescribeFraudster", DescribeFraudster$) {
1297
1221
  }
1298
1222
 
1299
- class DescribeFraudsterRegistrationJobCommand extends Command
1300
- .classBuilder()
1301
- .ep(commonParams)
1302
- .m(function (Command, cs, config, o) {
1303
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
- })
1305
- .s("VoiceID", "DescribeFraudsterRegistrationJob", {})
1306
- .n("VoiceIDClient", "DescribeFraudsterRegistrationJobCommand")
1307
- .sc(DescribeFraudsterRegistrationJob$)
1308
- .build() {
1223
+ class DescribeFraudsterRegistrationJobCommand extends command(_ep0, _mw0, "DescribeFraudsterRegistrationJob", DescribeFraudsterRegistrationJob$) {
1309
1224
  }
1310
1225
 
1311
- class DescribeSpeakerCommand extends Command
1312
- .classBuilder()
1313
- .ep(commonParams)
1314
- .m(function (Command, cs, config, o) {
1315
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
- })
1317
- .s("VoiceID", "DescribeSpeaker", {})
1318
- .n("VoiceIDClient", "DescribeSpeakerCommand")
1319
- .sc(DescribeSpeaker$)
1320
- .build() {
1226
+ class DescribeSpeakerCommand extends command(_ep0, _mw0, "DescribeSpeaker", DescribeSpeaker$) {
1321
1227
  }
1322
1228
 
1323
- class DescribeSpeakerEnrollmentJobCommand extends Command
1324
- .classBuilder()
1325
- .ep(commonParams)
1326
- .m(function (Command, cs, config, o) {
1327
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
- })
1329
- .s("VoiceID", "DescribeSpeakerEnrollmentJob", {})
1330
- .n("VoiceIDClient", "DescribeSpeakerEnrollmentJobCommand")
1331
- .sc(DescribeSpeakerEnrollmentJob$)
1332
- .build() {
1229
+ class DescribeSpeakerEnrollmentJobCommand extends command(_ep0, _mw0, "DescribeSpeakerEnrollmentJob", DescribeSpeakerEnrollmentJob$) {
1333
1230
  }
1334
1231
 
1335
- class DescribeWatchlistCommand extends Command
1336
- .classBuilder()
1337
- .ep(commonParams)
1338
- .m(function (Command, cs, config, o) {
1339
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
- })
1341
- .s("VoiceID", "DescribeWatchlist", {})
1342
- .n("VoiceIDClient", "DescribeWatchlistCommand")
1343
- .sc(DescribeWatchlist$)
1344
- .build() {
1232
+ class DescribeWatchlistCommand extends command(_ep0, _mw0, "DescribeWatchlist", DescribeWatchlist$) {
1345
1233
  }
1346
1234
 
1347
- class DisassociateFraudsterCommand extends Command
1348
- .classBuilder()
1349
- .ep(commonParams)
1350
- .m(function (Command, cs, config, o) {
1351
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
- })
1353
- .s("VoiceID", "DisassociateFraudster", {})
1354
- .n("VoiceIDClient", "DisassociateFraudsterCommand")
1355
- .sc(DisassociateFraudster$)
1356
- .build() {
1235
+ class DisassociateFraudsterCommand extends command(_ep0, _mw0, "DisassociateFraudster", DisassociateFraudster$) {
1357
1236
  }
1358
1237
 
1359
- class EvaluateSessionCommand extends Command
1360
- .classBuilder()
1361
- .ep(commonParams)
1362
- .m(function (Command, cs, config, o) {
1363
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1364
- })
1365
- .s("VoiceID", "EvaluateSession", {})
1366
- .n("VoiceIDClient", "EvaluateSessionCommand")
1367
- .sc(EvaluateSession$)
1368
- .build() {
1238
+ class EvaluateSessionCommand extends command(_ep0, _mw0, "EvaluateSession", EvaluateSession$) {
1369
1239
  }
1370
1240
 
1371
- class ListDomainsCommand extends Command
1372
- .classBuilder()
1373
- .ep(commonParams)
1374
- .m(function (Command, cs, config, o) {
1375
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1376
- })
1377
- .s("VoiceID", "ListDomains", {})
1378
- .n("VoiceIDClient", "ListDomainsCommand")
1379
- .sc(ListDomains$)
1380
- .build() {
1241
+ class ListDomainsCommand extends command(_ep0, _mw0, "ListDomains", ListDomains$) {
1381
1242
  }
1382
1243
 
1383
- class ListFraudsterRegistrationJobsCommand extends Command
1384
- .classBuilder()
1385
- .ep(commonParams)
1386
- .m(function (Command, cs, config, o) {
1387
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1388
- })
1389
- .s("VoiceID", "ListFraudsterRegistrationJobs", {})
1390
- .n("VoiceIDClient", "ListFraudsterRegistrationJobsCommand")
1391
- .sc(ListFraudsterRegistrationJobs$)
1392
- .build() {
1244
+ class ListFraudsterRegistrationJobsCommand extends command(_ep0, _mw0, "ListFraudsterRegistrationJobs", ListFraudsterRegistrationJobs$) {
1393
1245
  }
1394
1246
 
1395
- class ListFraudstersCommand extends Command
1396
- .classBuilder()
1397
- .ep(commonParams)
1398
- .m(function (Command, cs, config, o) {
1399
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1400
- })
1401
- .s("VoiceID", "ListFraudsters", {})
1402
- .n("VoiceIDClient", "ListFraudstersCommand")
1403
- .sc(ListFraudsters$)
1404
- .build() {
1247
+ class ListFraudstersCommand extends command(_ep0, _mw0, "ListFraudsters", ListFraudsters$) {
1405
1248
  }
1406
1249
 
1407
- class ListSpeakerEnrollmentJobsCommand extends Command
1408
- .classBuilder()
1409
- .ep(commonParams)
1410
- .m(function (Command, cs, config, o) {
1411
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1412
- })
1413
- .s("VoiceID", "ListSpeakerEnrollmentJobs", {})
1414
- .n("VoiceIDClient", "ListSpeakerEnrollmentJobsCommand")
1415
- .sc(ListSpeakerEnrollmentJobs$)
1416
- .build() {
1250
+ class ListSpeakerEnrollmentJobsCommand extends command(_ep0, _mw0, "ListSpeakerEnrollmentJobs", ListSpeakerEnrollmentJobs$) {
1417
1251
  }
1418
1252
 
1419
- class ListSpeakersCommand extends Command
1420
- .classBuilder()
1421
- .ep(commonParams)
1422
- .m(function (Command, cs, config, o) {
1423
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1424
- })
1425
- .s("VoiceID", "ListSpeakers", {})
1426
- .n("VoiceIDClient", "ListSpeakersCommand")
1427
- .sc(ListSpeakers$)
1428
- .build() {
1253
+ class ListSpeakersCommand extends command(_ep0, _mw0, "ListSpeakers", ListSpeakers$) {
1429
1254
  }
1430
1255
 
1431
- class ListTagsForResourceCommand extends Command
1432
- .classBuilder()
1433
- .ep(commonParams)
1434
- .m(function (Command, cs, config, o) {
1435
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1436
- })
1437
- .s("VoiceID", "ListTagsForResource", {})
1438
- .n("VoiceIDClient", "ListTagsForResourceCommand")
1439
- .sc(ListTagsForResource$)
1440
- .build() {
1256
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1441
1257
  }
1442
1258
 
1443
- class ListWatchlistsCommand extends Command
1444
- .classBuilder()
1445
- .ep(commonParams)
1446
- .m(function (Command, cs, config, o) {
1447
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1448
- })
1449
- .s("VoiceID", "ListWatchlists", {})
1450
- .n("VoiceIDClient", "ListWatchlistsCommand")
1451
- .sc(ListWatchlists$)
1452
- .build() {
1259
+ class ListWatchlistsCommand extends command(_ep0, _mw0, "ListWatchlists", ListWatchlists$) {
1453
1260
  }
1454
1261
 
1455
- class OptOutSpeakerCommand extends Command
1456
- .classBuilder()
1457
- .ep(commonParams)
1458
- .m(function (Command, cs, config, o) {
1459
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1460
- })
1461
- .s("VoiceID", "OptOutSpeaker", {})
1462
- .n("VoiceIDClient", "OptOutSpeakerCommand")
1463
- .sc(OptOutSpeaker$)
1464
- .build() {
1262
+ class OptOutSpeakerCommand extends command(_ep0, _mw0, "OptOutSpeaker", OptOutSpeaker$) {
1465
1263
  }
1466
1264
 
1467
- class StartFraudsterRegistrationJobCommand extends Command
1468
- .classBuilder()
1469
- .ep(commonParams)
1470
- .m(function (Command, cs, config, o) {
1471
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1472
- })
1473
- .s("VoiceID", "StartFraudsterRegistrationJob", {})
1474
- .n("VoiceIDClient", "StartFraudsterRegistrationJobCommand")
1475
- .sc(StartFraudsterRegistrationJob$)
1476
- .build() {
1265
+ class StartFraudsterRegistrationJobCommand extends command(_ep0, _mw0, "StartFraudsterRegistrationJob", StartFraudsterRegistrationJob$) {
1477
1266
  }
1478
1267
 
1479
- class StartSpeakerEnrollmentJobCommand extends Command
1480
- .classBuilder()
1481
- .ep(commonParams)
1482
- .m(function (Command, cs, config, o) {
1483
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1484
- })
1485
- .s("VoiceID", "StartSpeakerEnrollmentJob", {})
1486
- .n("VoiceIDClient", "StartSpeakerEnrollmentJobCommand")
1487
- .sc(StartSpeakerEnrollmentJob$)
1488
- .build() {
1268
+ class StartSpeakerEnrollmentJobCommand extends command(_ep0, _mw0, "StartSpeakerEnrollmentJob", StartSpeakerEnrollmentJob$) {
1489
1269
  }
1490
1270
 
1491
- class TagResourceCommand extends Command
1492
- .classBuilder()
1493
- .ep(commonParams)
1494
- .m(function (Command, cs, config, o) {
1495
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1496
- })
1497
- .s("VoiceID", "TagResource", {})
1498
- .n("VoiceIDClient", "TagResourceCommand")
1499
- .sc(TagResource$)
1500
- .build() {
1271
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1501
1272
  }
1502
1273
 
1503
- class UntagResourceCommand extends Command
1504
- .classBuilder()
1505
- .ep(commonParams)
1506
- .m(function (Command, cs, config, o) {
1507
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
- })
1509
- .s("VoiceID", "UntagResource", {})
1510
- .n("VoiceIDClient", "UntagResourceCommand")
1511
- .sc(UntagResource$)
1512
- .build() {
1274
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1513
1275
  }
1514
1276
 
1515
- class UpdateDomainCommand extends Command
1516
- .classBuilder()
1517
- .ep(commonParams)
1518
- .m(function (Command, cs, config, o) {
1519
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1520
- })
1521
- .s("VoiceID", "UpdateDomain", {})
1522
- .n("VoiceIDClient", "UpdateDomainCommand")
1523
- .sc(UpdateDomain$)
1524
- .build() {
1277
+ class UpdateDomainCommand extends command(_ep0, _mw0, "UpdateDomain", UpdateDomain$) {
1525
1278
  }
1526
1279
 
1527
- class UpdateWatchlistCommand extends Command
1528
- .classBuilder()
1529
- .ep(commonParams)
1530
- .m(function (Command, cs, config, o) {
1531
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1532
- })
1533
- .s("VoiceID", "UpdateWatchlist", {})
1534
- .n("VoiceIDClient", "UpdateWatchlistCommand")
1535
- .sc(UpdateWatchlist$)
1536
- .build() {
1280
+ class UpdateWatchlistCommand extends command(_ep0, _mw0, "UpdateWatchlist", UpdateWatchlist$) {
1537
1281
  }
1538
1282
 
1539
1283
  const paginateListDomains = createPaginator(VoiceIDClient, ListDomainsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "VoiceID", "VoiceIDClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateFraudster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateFraudsterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "AssociateFraudster", {})
13
- .n("VoiceIDClient", "AssociateFraudsterCommand")
14
- .sc(AssociateFraudster$)
15
- .build() {
3
+ export class AssociateFraudsterCommand extends command(_ep0, _mw0, "AssociateFraudster", AssociateFraudster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "CreateDomain", {})
13
- .n("VoiceIDClient", "CreateDomainCommand")
14
- .sc(CreateDomain$)
15
- .build() {
3
+ export class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateWatchlist$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWatchlistCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "CreateWatchlist", {})
13
- .n("VoiceIDClient", "CreateWatchlistCommand")
14
- .sc(CreateWatchlist$)
15
- .build() {
3
+ export class CreateWatchlistCommand extends command(_ep0, _mw0, "CreateWatchlist", CreateWatchlist$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DeleteDomain", {})
13
- .n("VoiceIDClient", "DeleteDomainCommand")
14
- .sc(DeleteDomain$)
15
- .build() {
3
+ export class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteFraudster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFraudsterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DeleteFraudster", {})
13
- .n("VoiceIDClient", "DeleteFraudsterCommand")
14
- .sc(DeleteFraudster$)
15
- .build() {
3
+ export class DeleteFraudsterCommand extends command(_ep0, _mw0, "DeleteFraudster", DeleteFraudster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSpeaker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSpeakerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DeleteSpeaker", {})
13
- .n("VoiceIDClient", "DeleteSpeakerCommand")
14
- .sc(DeleteSpeaker$)
15
- .build() {
3
+ export class DeleteSpeakerCommand extends command(_ep0, _mw0, "DeleteSpeaker", DeleteSpeaker$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteWatchlist$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWatchlistCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DeleteWatchlist", {})
13
- .n("VoiceIDClient", "DeleteWatchlistCommand")
14
- .sc(DeleteWatchlist$)
15
- .build() {
3
+ export class DeleteWatchlistCommand extends command(_ep0, _mw0, "DeleteWatchlist", DeleteWatchlist$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeDomain$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeDomainCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeDomain", {})
13
- .n("VoiceIDClient", "DescribeDomainCommand")
14
- .sc(DescribeDomain$)
15
- .build() {
3
+ export class DescribeDomainCommand extends command(_ep0, _mw0, "DescribeDomain", DescribeDomain$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeFraudster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFraudsterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeFraudster", {})
13
- .n("VoiceIDClient", "DescribeFraudsterCommand")
14
- .sc(DescribeFraudster$)
15
- .build() {
3
+ export class DescribeFraudsterCommand extends command(_ep0, _mw0, "DescribeFraudster", DescribeFraudster$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeFraudsterRegistrationJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFraudsterRegistrationJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeFraudsterRegistrationJob", {})
13
- .n("VoiceIDClient", "DescribeFraudsterRegistrationJobCommand")
14
- .sc(DescribeFraudsterRegistrationJob$)
15
- .build() {
3
+ export class DescribeFraudsterRegistrationJobCommand extends command(_ep0, _mw0, "DescribeFraudsterRegistrationJob", DescribeFraudsterRegistrationJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSpeaker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSpeakerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeSpeaker", {})
13
- .n("VoiceIDClient", "DescribeSpeakerCommand")
14
- .sc(DescribeSpeaker$)
15
- .build() {
3
+ export class DescribeSpeakerCommand extends command(_ep0, _mw0, "DescribeSpeaker", DescribeSpeaker$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSpeakerEnrollmentJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSpeakerEnrollmentJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("VoiceID", "DescribeSpeakerEnrollmentJob", {})
13
- .n("VoiceIDClient", "DescribeSpeakerEnrollmentJobCommand")
14
- .sc(DescribeSpeakerEnrollmentJob$)
15
- .build() {
3
+ export class DescribeSpeakerEnrollmentJobCommand extends command(_ep0, _mw0, "DescribeSpeakerEnrollmentJob", DescribeSpeakerEnrollmentJob$) {
16
4
  }