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