@aws-sdk/client-cloudsearch 3.1077.0 → 3.1079.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 (86) hide show
  1. package/dist-cjs/index.js +34 -263
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BuildSuggestersCommand.js +2 -14
  4. package/dist-es/commands/CreateDomainCommand.js +2 -14
  5. package/dist-es/commands/DefineAnalysisSchemeCommand.js +2 -14
  6. package/dist-es/commands/DefineExpressionCommand.js +2 -14
  7. package/dist-es/commands/DefineIndexFieldCommand.js +2 -14
  8. package/dist-es/commands/DefineSuggesterCommand.js +2 -14
  9. package/dist-es/commands/DeleteAnalysisSchemeCommand.js +2 -14
  10. package/dist-es/commands/DeleteDomainCommand.js +2 -14
  11. package/dist-es/commands/DeleteExpressionCommand.js +2 -14
  12. package/dist-es/commands/DeleteIndexFieldCommand.js +2 -14
  13. package/dist-es/commands/DeleteSuggesterCommand.js +2 -14
  14. package/dist-es/commands/DescribeAnalysisSchemesCommand.js +2 -14
  15. package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +2 -14
  16. package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +2 -14
  17. package/dist-es/commands/DescribeDomainsCommand.js +2 -14
  18. package/dist-es/commands/DescribeExpressionsCommand.js +2 -14
  19. package/dist-es/commands/DescribeIndexFieldsCommand.js +2 -14
  20. package/dist-es/commands/DescribeScalingParametersCommand.js +2 -14
  21. package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +2 -14
  22. package/dist-es/commands/DescribeSuggestersCommand.js +2 -14
  23. package/dist-es/commands/IndexDocumentsCommand.js +2 -14
  24. package/dist-es/commands/ListDomainNamesCommand.js +2 -14
  25. package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +2 -14
  26. package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +2 -14
  27. package/dist-es/commands/UpdateScalingParametersCommand.js +2 -14
  28. package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +2 -14
  29. package/dist-es/index.js +1 -0
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/BuildSuggestersCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateDomainCommand.d.ts +3 -8
  33. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +3 -8
  34. package/dist-types/commands/DefineExpressionCommand.d.ts +3 -8
  35. package/dist-types/commands/DefineIndexFieldCommand.d.ts +3 -8
  36. package/dist-types/commands/DefineSuggesterCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteDomainCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteExpressionCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteSuggesterCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeDomainsCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeExpressionsCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeSuggestersCommand.d.ts +3 -8
  51. package/dist-types/commands/IndexDocumentsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListDomainNamesCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +3 -8
  55. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +3 -8
  57. package/dist-types/index.d.ts +1 -0
  58. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  59. package/dist-types/ts3.4/commands/BuildSuggestersCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DefineAnalysisSchemeCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DefineExpressionCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DefineIndexFieldCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DefineSuggesterCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DeleteAnalysisSchemeCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/DeleteExpressionCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DeleteIndexFieldCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DeleteSuggesterCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DescribeAnalysisSchemesCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DescribeAvailabilityOptionsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DescribeDomainEndpointOptionsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeExpressionsCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DescribeIndexFieldsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DescribeScalingParametersCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DescribeServiceAccessPoliciesCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DescribeSuggestersCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/IndexDocumentsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdateAvailabilityOptionsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UpdateDomainEndpointOptionsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateScalingParametersCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/UpdateServiceAccessPoliciesCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/index.d.ts +1 -0
  86. 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 } = 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.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1166,316 +1167,86 @@ class CloudSearchClient extends Client {
1166
1167
  }
1167
1168
  }
1168
1169
 
1169
- class BuildSuggestersCommand extends Command
1170
- .classBuilder()
1171
- .ep(commonParams)
1172
- .m(function (Command, cs, config, o) {
1173
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1174
- })
1175
- .s("A9SearchCloudConfigService2013", "BuildSuggesters", {})
1176
- .n("CloudSearchClient", "BuildSuggestersCommand")
1177
- .sc(BuildSuggesters$)
1178
- .build() {
1170
+ const command = makeBuilder(commonParams, "A9SearchCloudConfigService2013", "CloudSearchClient", getEndpointPlugin);
1171
+ const _ep0 = {};
1172
+ const _mw0 = (Command, cs, config, o) => [];
1173
+
1174
+ class BuildSuggestersCommand extends command(_ep0, _mw0, "BuildSuggesters", BuildSuggesters$) {
1179
1175
  }
1180
1176
 
1181
- class CreateDomainCommand extends Command
1182
- .classBuilder()
1183
- .ep(commonParams)
1184
- .m(function (Command, cs, config, o) {
1185
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1186
- })
1187
- .s("A9SearchCloudConfigService2013", "CreateDomain", {})
1188
- .n("CloudSearchClient", "CreateDomainCommand")
1189
- .sc(CreateDomain$)
1190
- .build() {
1177
+ class CreateDomainCommand extends command(_ep0, _mw0, "CreateDomain", CreateDomain$) {
1191
1178
  }
1192
1179
 
1193
- class DefineAnalysisSchemeCommand extends Command
1194
- .classBuilder()
1195
- .ep(commonParams)
1196
- .m(function (Command, cs, config, o) {
1197
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1198
- })
1199
- .s("A9SearchCloudConfigService2013", "DefineAnalysisScheme", {})
1200
- .n("CloudSearchClient", "DefineAnalysisSchemeCommand")
1201
- .sc(DefineAnalysisScheme$)
1202
- .build() {
1180
+ class DefineAnalysisSchemeCommand extends command(_ep0, _mw0, "DefineAnalysisScheme", DefineAnalysisScheme$) {
1203
1181
  }
1204
1182
 
1205
- class DefineExpressionCommand extends Command
1206
- .classBuilder()
1207
- .ep(commonParams)
1208
- .m(function (Command, cs, config, o) {
1209
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1210
- })
1211
- .s("A9SearchCloudConfigService2013", "DefineExpression", {})
1212
- .n("CloudSearchClient", "DefineExpressionCommand")
1213
- .sc(DefineExpression$)
1214
- .build() {
1183
+ class DefineExpressionCommand extends command(_ep0, _mw0, "DefineExpression", DefineExpression$) {
1215
1184
  }
1216
1185
 
1217
- class DefineIndexFieldCommand extends Command
1218
- .classBuilder()
1219
- .ep(commonParams)
1220
- .m(function (Command, cs, config, o) {
1221
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1222
- })
1223
- .s("A9SearchCloudConfigService2013", "DefineIndexField", {})
1224
- .n("CloudSearchClient", "DefineIndexFieldCommand")
1225
- .sc(DefineIndexField$)
1226
- .build() {
1186
+ class DefineIndexFieldCommand extends command(_ep0, _mw0, "DefineIndexField", DefineIndexField$) {
1227
1187
  }
1228
1188
 
1229
- class DefineSuggesterCommand extends Command
1230
- .classBuilder()
1231
- .ep(commonParams)
1232
- .m(function (Command, cs, config, o) {
1233
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1234
- })
1235
- .s("A9SearchCloudConfigService2013", "DefineSuggester", {})
1236
- .n("CloudSearchClient", "DefineSuggesterCommand")
1237
- .sc(DefineSuggester$)
1238
- .build() {
1189
+ class DefineSuggesterCommand extends command(_ep0, _mw0, "DefineSuggester", DefineSuggester$) {
1239
1190
  }
1240
1191
 
1241
- class DeleteAnalysisSchemeCommand extends Command
1242
- .classBuilder()
1243
- .ep(commonParams)
1244
- .m(function (Command, cs, config, o) {
1245
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1246
- })
1247
- .s("A9SearchCloudConfigService2013", "DeleteAnalysisScheme", {})
1248
- .n("CloudSearchClient", "DeleteAnalysisSchemeCommand")
1249
- .sc(DeleteAnalysisScheme$)
1250
- .build() {
1192
+ class DeleteAnalysisSchemeCommand extends command(_ep0, _mw0, "DeleteAnalysisScheme", DeleteAnalysisScheme$) {
1251
1193
  }
1252
1194
 
1253
- class DeleteDomainCommand extends Command
1254
- .classBuilder()
1255
- .ep(commonParams)
1256
- .m(function (Command, cs, config, o) {
1257
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1258
- })
1259
- .s("A9SearchCloudConfigService2013", "DeleteDomain", {})
1260
- .n("CloudSearchClient", "DeleteDomainCommand")
1261
- .sc(DeleteDomain$)
1262
- .build() {
1195
+ class DeleteDomainCommand extends command(_ep0, _mw0, "DeleteDomain", DeleteDomain$) {
1263
1196
  }
1264
1197
 
1265
- class DeleteExpressionCommand extends Command
1266
- .classBuilder()
1267
- .ep(commonParams)
1268
- .m(function (Command, cs, config, o) {
1269
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1270
- })
1271
- .s("A9SearchCloudConfigService2013", "DeleteExpression", {})
1272
- .n("CloudSearchClient", "DeleteExpressionCommand")
1273
- .sc(DeleteExpression$)
1274
- .build() {
1198
+ class DeleteExpressionCommand extends command(_ep0, _mw0, "DeleteExpression", DeleteExpression$) {
1275
1199
  }
1276
1200
 
1277
- class DeleteIndexFieldCommand extends Command
1278
- .classBuilder()
1279
- .ep(commonParams)
1280
- .m(function (Command, cs, config, o) {
1281
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1282
- })
1283
- .s("A9SearchCloudConfigService2013", "DeleteIndexField", {})
1284
- .n("CloudSearchClient", "DeleteIndexFieldCommand")
1285
- .sc(DeleteIndexField$)
1286
- .build() {
1201
+ class DeleteIndexFieldCommand extends command(_ep0, _mw0, "DeleteIndexField", DeleteIndexField$) {
1287
1202
  }
1288
1203
 
1289
- class DeleteSuggesterCommand extends Command
1290
- .classBuilder()
1291
- .ep(commonParams)
1292
- .m(function (Command, cs, config, o) {
1293
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1294
- })
1295
- .s("A9SearchCloudConfigService2013", "DeleteSuggester", {})
1296
- .n("CloudSearchClient", "DeleteSuggesterCommand")
1297
- .sc(DeleteSuggester$)
1298
- .build() {
1204
+ class DeleteSuggesterCommand extends command(_ep0, _mw0, "DeleteSuggester", DeleteSuggester$) {
1299
1205
  }
1300
1206
 
1301
- class DescribeAnalysisSchemesCommand extends Command
1302
- .classBuilder()
1303
- .ep(commonParams)
1304
- .m(function (Command, cs, config, o) {
1305
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1306
- })
1307
- .s("A9SearchCloudConfigService2013", "DescribeAnalysisSchemes", {})
1308
- .n("CloudSearchClient", "DescribeAnalysisSchemesCommand")
1309
- .sc(DescribeAnalysisSchemes$)
1310
- .build() {
1207
+ class DescribeAnalysisSchemesCommand extends command(_ep0, _mw0, "DescribeAnalysisSchemes", DescribeAnalysisSchemes$) {
1311
1208
  }
1312
1209
 
1313
- class DescribeAvailabilityOptionsCommand extends Command
1314
- .classBuilder()
1315
- .ep(commonParams)
1316
- .m(function (Command, cs, config, o) {
1317
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1318
- })
1319
- .s("A9SearchCloudConfigService2013", "DescribeAvailabilityOptions", {})
1320
- .n("CloudSearchClient", "DescribeAvailabilityOptionsCommand")
1321
- .sc(DescribeAvailabilityOptions$)
1322
- .build() {
1210
+ class DescribeAvailabilityOptionsCommand extends command(_ep0, _mw0, "DescribeAvailabilityOptions", DescribeAvailabilityOptions$) {
1323
1211
  }
1324
1212
 
1325
- class DescribeDomainEndpointOptionsCommand extends Command
1326
- .classBuilder()
1327
- .ep(commonParams)
1328
- .m(function (Command, cs, config, o) {
1329
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1330
- })
1331
- .s("A9SearchCloudConfigService2013", "DescribeDomainEndpointOptions", {})
1332
- .n("CloudSearchClient", "DescribeDomainEndpointOptionsCommand")
1333
- .sc(DescribeDomainEndpointOptions$)
1334
- .build() {
1213
+ class DescribeDomainEndpointOptionsCommand extends command(_ep0, _mw0, "DescribeDomainEndpointOptions", DescribeDomainEndpointOptions$) {
1335
1214
  }
1336
1215
 
1337
- class DescribeDomainsCommand extends Command
1338
- .classBuilder()
1339
- .ep(commonParams)
1340
- .m(function (Command, cs, config, o) {
1341
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1342
- })
1343
- .s("A9SearchCloudConfigService2013", "DescribeDomains", {})
1344
- .n("CloudSearchClient", "DescribeDomainsCommand")
1345
- .sc(DescribeDomains$)
1346
- .build() {
1216
+ class DescribeDomainsCommand extends command(_ep0, _mw0, "DescribeDomains", DescribeDomains$) {
1347
1217
  }
1348
1218
 
1349
- class DescribeExpressionsCommand extends Command
1350
- .classBuilder()
1351
- .ep(commonParams)
1352
- .m(function (Command, cs, config, o) {
1353
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1354
- })
1355
- .s("A9SearchCloudConfigService2013", "DescribeExpressions", {})
1356
- .n("CloudSearchClient", "DescribeExpressionsCommand")
1357
- .sc(DescribeExpressions$)
1358
- .build() {
1219
+ class DescribeExpressionsCommand extends command(_ep0, _mw0, "DescribeExpressions", DescribeExpressions$) {
1359
1220
  }
1360
1221
 
1361
- class DescribeIndexFieldsCommand extends Command
1362
- .classBuilder()
1363
- .ep(commonParams)
1364
- .m(function (Command, cs, config, o) {
1365
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1366
- })
1367
- .s("A9SearchCloudConfigService2013", "DescribeIndexFields", {})
1368
- .n("CloudSearchClient", "DescribeIndexFieldsCommand")
1369
- .sc(DescribeIndexFields$)
1370
- .build() {
1222
+ class DescribeIndexFieldsCommand extends command(_ep0, _mw0, "DescribeIndexFields", DescribeIndexFields$) {
1371
1223
  }
1372
1224
 
1373
- class DescribeScalingParametersCommand extends Command
1374
- .classBuilder()
1375
- .ep(commonParams)
1376
- .m(function (Command, cs, config, o) {
1377
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1378
- })
1379
- .s("A9SearchCloudConfigService2013", "DescribeScalingParameters", {})
1380
- .n("CloudSearchClient", "DescribeScalingParametersCommand")
1381
- .sc(DescribeScalingParameters$)
1382
- .build() {
1225
+ class DescribeScalingParametersCommand extends command(_ep0, _mw0, "DescribeScalingParameters", DescribeScalingParameters$) {
1383
1226
  }
1384
1227
 
1385
- class DescribeServiceAccessPoliciesCommand extends Command
1386
- .classBuilder()
1387
- .ep(commonParams)
1388
- .m(function (Command, cs, config, o) {
1389
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1390
- })
1391
- .s("A9SearchCloudConfigService2013", "DescribeServiceAccessPolicies", {})
1392
- .n("CloudSearchClient", "DescribeServiceAccessPoliciesCommand")
1393
- .sc(DescribeServiceAccessPolicies$)
1394
- .build() {
1228
+ class DescribeServiceAccessPoliciesCommand extends command(_ep0, _mw0, "DescribeServiceAccessPolicies", DescribeServiceAccessPolicies$) {
1395
1229
  }
1396
1230
 
1397
- class DescribeSuggestersCommand extends Command
1398
- .classBuilder()
1399
- .ep(commonParams)
1400
- .m(function (Command, cs, config, o) {
1401
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1402
- })
1403
- .s("A9SearchCloudConfigService2013", "DescribeSuggesters", {})
1404
- .n("CloudSearchClient", "DescribeSuggestersCommand")
1405
- .sc(DescribeSuggesters$)
1406
- .build() {
1231
+ class DescribeSuggestersCommand extends command(_ep0, _mw0, "DescribeSuggesters", DescribeSuggesters$) {
1407
1232
  }
1408
1233
 
1409
- class IndexDocumentsCommand extends Command
1410
- .classBuilder()
1411
- .ep(commonParams)
1412
- .m(function (Command, cs, config, o) {
1413
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1414
- })
1415
- .s("A9SearchCloudConfigService2013", "IndexDocuments", {})
1416
- .n("CloudSearchClient", "IndexDocumentsCommand")
1417
- .sc(IndexDocuments$)
1418
- .build() {
1234
+ class IndexDocumentsCommand extends command(_ep0, _mw0, "IndexDocuments", IndexDocuments$) {
1419
1235
  }
1420
1236
 
1421
- class ListDomainNamesCommand extends Command
1422
- .classBuilder()
1423
- .ep(commonParams)
1424
- .m(function (Command, cs, config, o) {
1425
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1426
- })
1427
- .s("A9SearchCloudConfigService2013", "ListDomainNames", {})
1428
- .n("CloudSearchClient", "ListDomainNamesCommand")
1429
- .sc(ListDomainNames$)
1430
- .build() {
1237
+ class ListDomainNamesCommand extends command(_ep0, _mw0, "ListDomainNames", ListDomainNames$) {
1431
1238
  }
1432
1239
 
1433
- class UpdateAvailabilityOptionsCommand extends Command
1434
- .classBuilder()
1435
- .ep(commonParams)
1436
- .m(function (Command, cs, config, o) {
1437
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1438
- })
1439
- .s("A9SearchCloudConfigService2013", "UpdateAvailabilityOptions", {})
1440
- .n("CloudSearchClient", "UpdateAvailabilityOptionsCommand")
1441
- .sc(UpdateAvailabilityOptions$)
1442
- .build() {
1240
+ class UpdateAvailabilityOptionsCommand extends command(_ep0, _mw0, "UpdateAvailabilityOptions", UpdateAvailabilityOptions$) {
1443
1241
  }
1444
1242
 
1445
- class UpdateDomainEndpointOptionsCommand extends Command
1446
- .classBuilder()
1447
- .ep(commonParams)
1448
- .m(function (Command, cs, config, o) {
1449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
- })
1451
- .s("A9SearchCloudConfigService2013", "UpdateDomainEndpointOptions", {})
1452
- .n("CloudSearchClient", "UpdateDomainEndpointOptionsCommand")
1453
- .sc(UpdateDomainEndpointOptions$)
1454
- .build() {
1243
+ class UpdateDomainEndpointOptionsCommand extends command(_ep0, _mw0, "UpdateDomainEndpointOptions", UpdateDomainEndpointOptions$) {
1455
1244
  }
1456
1245
 
1457
- class UpdateScalingParametersCommand extends Command
1458
- .classBuilder()
1459
- .ep(commonParams)
1460
- .m(function (Command, cs, config, o) {
1461
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1462
- })
1463
- .s("A9SearchCloudConfigService2013", "UpdateScalingParameters", {})
1464
- .n("CloudSearchClient", "UpdateScalingParametersCommand")
1465
- .sc(UpdateScalingParameters$)
1466
- .build() {
1246
+ class UpdateScalingParametersCommand extends command(_ep0, _mw0, "UpdateScalingParameters", UpdateScalingParameters$) {
1467
1247
  }
1468
1248
 
1469
- class UpdateServiceAccessPoliciesCommand extends Command
1470
- .classBuilder()
1471
- .ep(commonParams)
1472
- .m(function (Command, cs, config, o) {
1473
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
- })
1475
- .s("A9SearchCloudConfigService2013", "UpdateServiceAccessPolicies", {})
1476
- .n("CloudSearchClient", "UpdateServiceAccessPoliciesCommand")
1477
- .sc(UpdateServiceAccessPolicies$)
1478
- .build() {
1249
+ class UpdateServiceAccessPoliciesCommand extends command(_ep0, _mw0, "UpdateServiceAccessPolicies", UpdateServiceAccessPolicies$) {
1479
1250
  }
1480
1251
 
1481
1252
  const commands = {
@@ -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, "A9SearchCloudConfigService2013", "CloudSearchClient", 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 { BuildSuggesters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BuildSuggestersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "BuildSuggesters", {})
13
- .n("CloudSearchClient", "BuildSuggestersCommand")
14
- .sc(BuildSuggesters$)
15
- .build() {
3
+ export class BuildSuggestersCommand extends command(_ep0, _mw0, "BuildSuggesters", BuildSuggesters$) {
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("A9SearchCloudConfigService2013", "CreateDomain", {})
13
- .n("CloudSearchClient", "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 { DefineAnalysisScheme$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DefineAnalysisSchemeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DefineAnalysisScheme", {})
13
- .n("CloudSearchClient", "DefineAnalysisSchemeCommand")
14
- .sc(DefineAnalysisScheme$)
15
- .build() {
3
+ export class DefineAnalysisSchemeCommand extends command(_ep0, _mw0, "DefineAnalysisScheme", DefineAnalysisScheme$) {
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 { DefineExpression$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DefineExpressionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DefineExpression", {})
13
- .n("CloudSearchClient", "DefineExpressionCommand")
14
- .sc(DefineExpression$)
15
- .build() {
3
+ export class DefineExpressionCommand extends command(_ep0, _mw0, "DefineExpression", DefineExpression$) {
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 { DefineIndexField$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DefineIndexFieldCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DefineIndexField", {})
13
- .n("CloudSearchClient", "DefineIndexFieldCommand")
14
- .sc(DefineIndexField$)
15
- .build() {
3
+ export class DefineIndexFieldCommand extends command(_ep0, _mw0, "DefineIndexField", DefineIndexField$) {
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 { DefineSuggester$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DefineSuggesterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DefineSuggester", {})
13
- .n("CloudSearchClient", "DefineSuggesterCommand")
14
- .sc(DefineSuggester$)
15
- .build() {
3
+ export class DefineSuggesterCommand extends command(_ep0, _mw0, "DefineSuggester", DefineSuggester$) {
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 { DeleteAnalysisScheme$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAnalysisSchemeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DeleteAnalysisScheme", {})
13
- .n("CloudSearchClient", "DeleteAnalysisSchemeCommand")
14
- .sc(DeleteAnalysisScheme$)
15
- .build() {
3
+ export class DeleteAnalysisSchemeCommand extends command(_ep0, _mw0, "DeleteAnalysisScheme", DeleteAnalysisScheme$) {
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("A9SearchCloudConfigService2013", "DeleteDomain", {})
13
- .n("CloudSearchClient", "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 { DeleteExpression$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteExpressionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DeleteExpression", {})
13
- .n("CloudSearchClient", "DeleteExpressionCommand")
14
- .sc(DeleteExpression$)
15
- .build() {
3
+ export class DeleteExpressionCommand extends command(_ep0, _mw0, "DeleteExpression", DeleteExpression$) {
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 { DeleteIndexField$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIndexFieldCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DeleteIndexField", {})
13
- .n("CloudSearchClient", "DeleteIndexFieldCommand")
14
- .sc(DeleteIndexField$)
15
- .build() {
3
+ export class DeleteIndexFieldCommand extends command(_ep0, _mw0, "DeleteIndexField", DeleteIndexField$) {
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 { DeleteSuggester$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSuggesterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DeleteSuggester", {})
13
- .n("CloudSearchClient", "DeleteSuggesterCommand")
14
- .sc(DeleteSuggester$)
15
- .build() {
3
+ export class DeleteSuggesterCommand extends command(_ep0, _mw0, "DeleteSuggester", DeleteSuggester$) {
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 { DescribeAnalysisSchemes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAnalysisSchemesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DescribeAnalysisSchemes", {})
13
- .n("CloudSearchClient", "DescribeAnalysisSchemesCommand")
14
- .sc(DescribeAnalysisSchemes$)
15
- .build() {
3
+ export class DescribeAnalysisSchemesCommand extends command(_ep0, _mw0, "DescribeAnalysisSchemes", DescribeAnalysisSchemes$) {
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 { DescribeAvailabilityOptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAvailabilityOptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DescribeAvailabilityOptions", {})
13
- .n("CloudSearchClient", "DescribeAvailabilityOptionsCommand")
14
- .sc(DescribeAvailabilityOptions$)
15
- .build() {
3
+ export class DescribeAvailabilityOptionsCommand extends command(_ep0, _mw0, "DescribeAvailabilityOptions", DescribeAvailabilityOptions$) {
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 { DescribeDomainEndpointOptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeDomainEndpointOptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("A9SearchCloudConfigService2013", "DescribeDomainEndpointOptions", {})
13
- .n("CloudSearchClient", "DescribeDomainEndpointOptionsCommand")
14
- .sc(DescribeDomainEndpointOptions$)
15
- .build() {
3
+ export class DescribeDomainEndpointOptionsCommand extends command(_ep0, _mw0, "DescribeDomainEndpointOptions", DescribeDomainEndpointOptions$) {
16
4
  }