@aws-sdk/client-resource-explorer-2 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 (116) hide show
  1. package/dist-cjs/index.js +43 -325
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateDefaultViewCommand.js +2 -14
  4. package/dist-es/commands/BatchGetViewCommand.js +2 -14
  5. package/dist-es/commands/CreateIndexCommand.js +2 -14
  6. package/dist-es/commands/CreateResourceExplorerSetupCommand.js +2 -14
  7. package/dist-es/commands/CreateViewCommand.js +2 -14
  8. package/dist-es/commands/DeleteIndexCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourceExplorerSetupCommand.js +2 -14
  10. package/dist-es/commands/DeleteViewCommand.js +2 -14
  11. package/dist-es/commands/DisassociateDefaultViewCommand.js +2 -14
  12. package/dist-es/commands/GetAccountLevelServiceConfigurationCommand.js +2 -14
  13. package/dist-es/commands/GetDefaultViewCommand.js +2 -14
  14. package/dist-es/commands/GetIndexCommand.js +2 -14
  15. package/dist-es/commands/GetManagedViewCommand.js +2 -14
  16. package/dist-es/commands/GetResourceExplorerSetupCommand.js +2 -14
  17. package/dist-es/commands/GetServiceIndexCommand.js +2 -14
  18. package/dist-es/commands/GetServiceViewCommand.js +2 -14
  19. package/dist-es/commands/GetViewCommand.js +2 -14
  20. package/dist-es/commands/ListIndexesCommand.js +2 -14
  21. package/dist-es/commands/ListIndexesForMembersCommand.js +2 -14
  22. package/dist-es/commands/ListManagedViewsCommand.js +2 -14
  23. package/dist-es/commands/ListResourcesCommand.js +2 -14
  24. package/dist-es/commands/ListServiceIndexesCommand.js +2 -14
  25. package/dist-es/commands/ListServiceViewsCommand.js +2 -14
  26. package/dist-es/commands/ListStreamingAccessForServicesCommand.js +2 -14
  27. package/dist-es/commands/ListSupportedResourceTypesCommand.js +2 -14
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  29. package/dist-es/commands/ListViewsCommand.js +2 -14
  30. package/dist-es/commands/SearchCommand.js +2 -14
  31. package/dist-es/commands/TagResourceCommand.js +2 -14
  32. package/dist-es/commands/UntagResourceCommand.js +2 -14
  33. package/dist-es/commands/UpdateIndexTypeCommand.js +2 -14
  34. package/dist-es/commands/UpdateViewCommand.js +2 -14
  35. package/dist-es/index.js +1 -0
  36. package/dist-es/runtimeConfig.browser.js +0 -2
  37. package/dist-es/runtimeConfig.js +1 -2
  38. package/dist-es/runtimeConfig.native.js +0 -2
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +3 -8
  42. package/dist-types/commands/BatchGetViewCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateIndexCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateResourceExplorerSetupCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateViewCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteResourceExplorerSetupCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteViewCommand.d.ts +3 -8
  49. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +3 -8
  50. package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +3 -8
  51. package/dist-types/commands/GetDefaultViewCommand.d.ts +3 -8
  52. package/dist-types/commands/GetIndexCommand.d.ts +3 -8
  53. package/dist-types/commands/GetManagedViewCommand.d.ts +3 -8
  54. package/dist-types/commands/GetResourceExplorerSetupCommand.d.ts +3 -8
  55. package/dist-types/commands/GetServiceIndexCommand.d.ts +3 -8
  56. package/dist-types/commands/GetServiceViewCommand.d.ts +3 -8
  57. package/dist-types/commands/GetViewCommand.d.ts +3 -8
  58. package/dist-types/commands/ListIndexesCommand.d.ts +3 -8
  59. package/dist-types/commands/ListIndexesForMembersCommand.d.ts +3 -8
  60. package/dist-types/commands/ListManagedViewsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListResourcesCommand.d.ts +3 -8
  62. package/dist-types/commands/ListServiceIndexesCommand.d.ts +3 -8
  63. package/dist-types/commands/ListServiceViewsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListStreamingAccessForServicesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +3 -8
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/ListViewsCommand.d.ts +3 -8
  68. package/dist-types/commands/SearchCommand.d.ts +3 -8
  69. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  71. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateViewCommand.d.ts +3 -8
  73. package/dist-types/index.d.ts +1 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  75. package/dist-types/runtimeConfig.d.ts +1 -1
  76. package/dist-types/runtimeConfig.native.d.ts +1 -1
  77. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  78. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  79. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateResourceExplorerSetupCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteResourceExplorerSetupCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetManagedViewCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetResourceExplorerSetupCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetServiceIndexCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetServiceViewCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListManagedViewsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListServiceIndexesCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListServiceViewsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListStreamingAccessForServicesCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/SearchCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/index.d.ts +1 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  116. 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, 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");
@@ -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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultResourceExplorer2HttpAuthSchemeParametersProvider = 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
 
@@ -1077,6 +1079,7 @@ const getRuntimeConfig$1 = (config) => {
1077
1079
  serviceTarget: "ResourceExplorer",
1078
1080
  },
1079
1081
  serviceId: config?.serviceId ?? "Resource Explorer 2",
1082
+ sha256: config?.sha256 ?? Sha256,
1080
1083
  urlParser: config?.urlParser ?? parseUrl,
1081
1084
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1082
1085
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1110,7 +1113,6 @@ const getRuntimeConfig = (config) => {
1110
1113
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1111
1114
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1112
1115
  }, config),
1113
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1114
1116
  streamCollector: config?.streamCollector ?? streamCollector,
1115
1117
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1116
1118
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1198,388 +1200,104 @@ class ResourceExplorer2Client extends Client {
1198
1200
  }
1199
1201
  }
1200
1202
 
1201
- class AssociateDefaultViewCommand extends Command
1202
- .classBuilder()
1203
- .ep(commonParams)
1204
- .m(function (Command, cs, config, o) {
1205
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1206
- })
1207
- .s("ResourceExplorer", "AssociateDefaultView", {})
1208
- .n("ResourceExplorer2Client", "AssociateDefaultViewCommand")
1209
- .sc(AssociateDefaultView$)
1210
- .build() {
1203
+ const command = makeBuilder(commonParams, "ResourceExplorer", "ResourceExplorer2Client", getEndpointPlugin);
1204
+ const _ep0 = {};
1205
+ const _mw0 = (Command, cs, config, o) => [];
1206
+
1207
+ class AssociateDefaultViewCommand extends command(_ep0, _mw0, "AssociateDefaultView", AssociateDefaultView$) {
1211
1208
  }
1212
1209
 
1213
- class BatchGetViewCommand extends Command
1214
- .classBuilder()
1215
- .ep(commonParams)
1216
- .m(function (Command, cs, config, o) {
1217
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1218
- })
1219
- .s("ResourceExplorer", "BatchGetView", {})
1220
- .n("ResourceExplorer2Client", "BatchGetViewCommand")
1221
- .sc(BatchGetView$)
1222
- .build() {
1210
+ class BatchGetViewCommand extends command(_ep0, _mw0, "BatchGetView", BatchGetView$) {
1223
1211
  }
1224
1212
 
1225
- class CreateIndexCommand extends Command
1226
- .classBuilder()
1227
- .ep(commonParams)
1228
- .m(function (Command, cs, config, o) {
1229
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1230
- })
1231
- .s("ResourceExplorer", "CreateIndex", {})
1232
- .n("ResourceExplorer2Client", "CreateIndexCommand")
1233
- .sc(CreateIndex$)
1234
- .build() {
1213
+ class CreateIndexCommand extends command(_ep0, _mw0, "CreateIndex", CreateIndex$) {
1235
1214
  }
1236
1215
 
1237
- class CreateResourceExplorerSetupCommand extends Command
1238
- .classBuilder()
1239
- .ep(commonParams)
1240
- .m(function (Command, cs, config, o) {
1241
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1242
- })
1243
- .s("ResourceExplorer", "CreateResourceExplorerSetup", {})
1244
- .n("ResourceExplorer2Client", "CreateResourceExplorerSetupCommand")
1245
- .sc(CreateResourceExplorerSetup$)
1246
- .build() {
1216
+ class CreateResourceExplorerSetupCommand extends command(_ep0, _mw0, "CreateResourceExplorerSetup", CreateResourceExplorerSetup$) {
1247
1217
  }
1248
1218
 
1249
- class CreateViewCommand extends Command
1250
- .classBuilder()
1251
- .ep(commonParams)
1252
- .m(function (Command, cs, config, o) {
1253
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1254
- })
1255
- .s("ResourceExplorer", "CreateView", {})
1256
- .n("ResourceExplorer2Client", "CreateViewCommand")
1257
- .sc(CreateView$)
1258
- .build() {
1219
+ class CreateViewCommand extends command(_ep0, _mw0, "CreateView", CreateView$) {
1259
1220
  }
1260
1221
 
1261
- class DeleteIndexCommand extends Command
1262
- .classBuilder()
1263
- .ep(commonParams)
1264
- .m(function (Command, cs, config, o) {
1265
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1266
- })
1267
- .s("ResourceExplorer", "DeleteIndex", {})
1268
- .n("ResourceExplorer2Client", "DeleteIndexCommand")
1269
- .sc(DeleteIndex$)
1270
- .build() {
1222
+ class DeleteIndexCommand extends command(_ep0, _mw0, "DeleteIndex", DeleteIndex$) {
1271
1223
  }
1272
1224
 
1273
- class DeleteResourceExplorerSetupCommand extends Command
1274
- .classBuilder()
1275
- .ep(commonParams)
1276
- .m(function (Command, cs, config, o) {
1277
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1278
- })
1279
- .s("ResourceExplorer", "DeleteResourceExplorerSetup", {})
1280
- .n("ResourceExplorer2Client", "DeleteResourceExplorerSetupCommand")
1281
- .sc(DeleteResourceExplorerSetup$)
1282
- .build() {
1225
+ class DeleteResourceExplorerSetupCommand extends command(_ep0, _mw0, "DeleteResourceExplorerSetup", DeleteResourceExplorerSetup$) {
1283
1226
  }
1284
1227
 
1285
- class DeleteViewCommand extends Command
1286
- .classBuilder()
1287
- .ep(commonParams)
1288
- .m(function (Command, cs, config, o) {
1289
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1290
- })
1291
- .s("ResourceExplorer", "DeleteView", {})
1292
- .n("ResourceExplorer2Client", "DeleteViewCommand")
1293
- .sc(DeleteView$)
1294
- .build() {
1228
+ class DeleteViewCommand extends command(_ep0, _mw0, "DeleteView", DeleteView$) {
1295
1229
  }
1296
1230
 
1297
- class DisassociateDefaultViewCommand extends Command
1298
- .classBuilder()
1299
- .ep(commonParams)
1300
- .m(function (Command, cs, config, o) {
1301
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1302
- })
1303
- .s("ResourceExplorer", "DisassociateDefaultView", {})
1304
- .n("ResourceExplorer2Client", "DisassociateDefaultViewCommand")
1305
- .sc(DisassociateDefaultView$)
1306
- .build() {
1231
+ class DisassociateDefaultViewCommand extends command(_ep0, _mw0, "DisassociateDefaultView", DisassociateDefaultView$) {
1307
1232
  }
1308
1233
 
1309
- class GetAccountLevelServiceConfigurationCommand extends Command
1310
- .classBuilder()
1311
- .ep(commonParams)
1312
- .m(function (Command, cs, config, o) {
1313
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1314
- })
1315
- .s("ResourceExplorer", "GetAccountLevelServiceConfiguration", {})
1316
- .n("ResourceExplorer2Client", "GetAccountLevelServiceConfigurationCommand")
1317
- .sc(GetAccountLevelServiceConfiguration$)
1318
- .build() {
1234
+ class GetAccountLevelServiceConfigurationCommand extends command(_ep0, _mw0, "GetAccountLevelServiceConfiguration", GetAccountLevelServiceConfiguration$) {
1319
1235
  }
1320
1236
 
1321
- class GetDefaultViewCommand extends Command
1322
- .classBuilder()
1323
- .ep(commonParams)
1324
- .m(function (Command, cs, config, o) {
1325
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1326
- })
1327
- .s("ResourceExplorer", "GetDefaultView", {})
1328
- .n("ResourceExplorer2Client", "GetDefaultViewCommand")
1329
- .sc(GetDefaultView$)
1330
- .build() {
1237
+ class GetDefaultViewCommand extends command(_ep0, _mw0, "GetDefaultView", GetDefaultView$) {
1331
1238
  }
1332
1239
 
1333
- class GetIndexCommand extends Command
1334
- .classBuilder()
1335
- .ep(commonParams)
1336
- .m(function (Command, cs, config, o) {
1337
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1338
- })
1339
- .s("ResourceExplorer", "GetIndex", {})
1340
- .n("ResourceExplorer2Client", "GetIndexCommand")
1341
- .sc(GetIndex$)
1342
- .build() {
1240
+ class GetIndexCommand extends command(_ep0, _mw0, "GetIndex", GetIndex$) {
1343
1241
  }
1344
1242
 
1345
- class GetManagedViewCommand extends Command
1346
- .classBuilder()
1347
- .ep(commonParams)
1348
- .m(function (Command, cs, config, o) {
1349
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1350
- })
1351
- .s("ResourceExplorer", "GetManagedView", {})
1352
- .n("ResourceExplorer2Client", "GetManagedViewCommand")
1353
- .sc(GetManagedView$)
1354
- .build() {
1243
+ class GetManagedViewCommand extends command(_ep0, _mw0, "GetManagedView", GetManagedView$) {
1355
1244
  }
1356
1245
 
1357
- class GetResourceExplorerSetupCommand extends Command
1358
- .classBuilder()
1359
- .ep(commonParams)
1360
- .m(function (Command, cs, config, o) {
1361
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1362
- })
1363
- .s("ResourceExplorer", "GetResourceExplorerSetup", {})
1364
- .n("ResourceExplorer2Client", "GetResourceExplorerSetupCommand")
1365
- .sc(GetResourceExplorerSetup$)
1366
- .build() {
1246
+ class GetResourceExplorerSetupCommand extends command(_ep0, _mw0, "GetResourceExplorerSetup", GetResourceExplorerSetup$) {
1367
1247
  }
1368
1248
 
1369
- class GetServiceIndexCommand extends Command
1370
- .classBuilder()
1371
- .ep(commonParams)
1372
- .m(function (Command, cs, config, o) {
1373
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1374
- })
1375
- .s("ResourceExplorer", "GetServiceIndex", {})
1376
- .n("ResourceExplorer2Client", "GetServiceIndexCommand")
1377
- .sc(GetServiceIndex$)
1378
- .build() {
1249
+ class GetServiceIndexCommand extends command(_ep0, _mw0, "GetServiceIndex", GetServiceIndex$) {
1379
1250
  }
1380
1251
 
1381
- class GetServiceViewCommand extends Command
1382
- .classBuilder()
1383
- .ep(commonParams)
1384
- .m(function (Command, cs, config, o) {
1385
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1386
- })
1387
- .s("ResourceExplorer", "GetServiceView", {})
1388
- .n("ResourceExplorer2Client", "GetServiceViewCommand")
1389
- .sc(GetServiceView$)
1390
- .build() {
1252
+ class GetServiceViewCommand extends command(_ep0, _mw0, "GetServiceView", GetServiceView$) {
1391
1253
  }
1392
1254
 
1393
- class GetViewCommand extends Command
1394
- .classBuilder()
1395
- .ep(commonParams)
1396
- .m(function (Command, cs, config, o) {
1397
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1398
- })
1399
- .s("ResourceExplorer", "GetView", {})
1400
- .n("ResourceExplorer2Client", "GetViewCommand")
1401
- .sc(GetView$)
1402
- .build() {
1255
+ class GetViewCommand extends command(_ep0, _mw0, "GetView", GetView$) {
1403
1256
  }
1404
1257
 
1405
- class ListIndexesCommand extends Command
1406
- .classBuilder()
1407
- .ep(commonParams)
1408
- .m(function (Command, cs, config, o) {
1409
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1410
- })
1411
- .s("ResourceExplorer", "ListIndexes", {})
1412
- .n("ResourceExplorer2Client", "ListIndexesCommand")
1413
- .sc(ListIndexes$)
1414
- .build() {
1258
+ class ListIndexesCommand extends command(_ep0, _mw0, "ListIndexes", ListIndexes$) {
1415
1259
  }
1416
1260
 
1417
- class ListIndexesForMembersCommand extends Command
1418
- .classBuilder()
1419
- .ep(commonParams)
1420
- .m(function (Command, cs, config, o) {
1421
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1422
- })
1423
- .s("ResourceExplorer", "ListIndexesForMembers", {})
1424
- .n("ResourceExplorer2Client", "ListIndexesForMembersCommand")
1425
- .sc(ListIndexesForMembers$)
1426
- .build() {
1261
+ class ListIndexesForMembersCommand extends command(_ep0, _mw0, "ListIndexesForMembers", ListIndexesForMembers$) {
1427
1262
  }
1428
1263
 
1429
- class ListManagedViewsCommand extends Command
1430
- .classBuilder()
1431
- .ep(commonParams)
1432
- .m(function (Command, cs, config, o) {
1433
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1434
- })
1435
- .s("ResourceExplorer", "ListManagedViews", {})
1436
- .n("ResourceExplorer2Client", "ListManagedViewsCommand")
1437
- .sc(ListManagedViews$)
1438
- .build() {
1264
+ class ListManagedViewsCommand extends command(_ep0, _mw0, "ListManagedViews", ListManagedViews$) {
1439
1265
  }
1440
1266
 
1441
- class ListResourcesCommand extends Command
1442
- .classBuilder()
1443
- .ep(commonParams)
1444
- .m(function (Command, cs, config, o) {
1445
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1446
- })
1447
- .s("ResourceExplorer", "ListResources", {})
1448
- .n("ResourceExplorer2Client", "ListResourcesCommand")
1449
- .sc(ListResources$)
1450
- .build() {
1267
+ class ListResourcesCommand extends command(_ep0, _mw0, "ListResources", ListResources$) {
1451
1268
  }
1452
1269
 
1453
- class ListServiceIndexesCommand extends Command
1454
- .classBuilder()
1455
- .ep(commonParams)
1456
- .m(function (Command, cs, config, o) {
1457
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1458
- })
1459
- .s("ResourceExplorer", "ListServiceIndexes", {})
1460
- .n("ResourceExplorer2Client", "ListServiceIndexesCommand")
1461
- .sc(ListServiceIndexes$)
1462
- .build() {
1270
+ class ListServiceIndexesCommand extends command(_ep0, _mw0, "ListServiceIndexes", ListServiceIndexes$) {
1463
1271
  }
1464
1272
 
1465
- class ListServiceViewsCommand extends Command
1466
- .classBuilder()
1467
- .ep(commonParams)
1468
- .m(function (Command, cs, config, o) {
1469
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1470
- })
1471
- .s("ResourceExplorer", "ListServiceViews", {})
1472
- .n("ResourceExplorer2Client", "ListServiceViewsCommand")
1473
- .sc(ListServiceViews$)
1474
- .build() {
1273
+ class ListServiceViewsCommand extends command(_ep0, _mw0, "ListServiceViews", ListServiceViews$) {
1475
1274
  }
1476
1275
 
1477
- class ListStreamingAccessForServicesCommand extends Command
1478
- .classBuilder()
1479
- .ep(commonParams)
1480
- .m(function (Command, cs, config, o) {
1481
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1482
- })
1483
- .s("ResourceExplorer", "ListStreamingAccessForServices", {})
1484
- .n("ResourceExplorer2Client", "ListStreamingAccessForServicesCommand")
1485
- .sc(ListStreamingAccessForServices$)
1486
- .build() {
1276
+ class ListStreamingAccessForServicesCommand extends command(_ep0, _mw0, "ListStreamingAccessForServices", ListStreamingAccessForServices$) {
1487
1277
  }
1488
1278
 
1489
- class ListSupportedResourceTypesCommand extends Command
1490
- .classBuilder()
1491
- .ep(commonParams)
1492
- .m(function (Command, cs, config, o) {
1493
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1494
- })
1495
- .s("ResourceExplorer", "ListSupportedResourceTypes", {})
1496
- .n("ResourceExplorer2Client", "ListSupportedResourceTypesCommand")
1497
- .sc(ListSupportedResourceTypes$)
1498
- .build() {
1279
+ class ListSupportedResourceTypesCommand extends command(_ep0, _mw0, "ListSupportedResourceTypes", ListSupportedResourceTypes$) {
1499
1280
  }
1500
1281
 
1501
- class ListTagsForResourceCommand extends Command
1502
- .classBuilder()
1503
- .ep(commonParams)
1504
- .m(function (Command, cs, config, o) {
1505
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1506
- })
1507
- .s("ResourceExplorer", "ListTagsForResource", {})
1508
- .n("ResourceExplorer2Client", "ListTagsForResourceCommand")
1509
- .sc(ListTagsForResource$)
1510
- .build() {
1282
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1511
1283
  }
1512
1284
 
1513
- class ListViewsCommand extends Command
1514
- .classBuilder()
1515
- .ep(commonParams)
1516
- .m(function (Command, cs, config, o) {
1517
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1518
- })
1519
- .s("ResourceExplorer", "ListViews", {})
1520
- .n("ResourceExplorer2Client", "ListViewsCommand")
1521
- .sc(ListViews$)
1522
- .build() {
1285
+ class ListViewsCommand extends command(_ep0, _mw0, "ListViews", ListViews$) {
1523
1286
  }
1524
1287
 
1525
- class SearchCommand extends Command
1526
- .classBuilder()
1527
- .ep(commonParams)
1528
- .m(function (Command, cs, config, o) {
1529
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1530
- })
1531
- .s("ResourceExplorer", "Search", {})
1532
- .n("ResourceExplorer2Client", "SearchCommand")
1533
- .sc(Search$)
1534
- .build() {
1288
+ class SearchCommand extends command(_ep0, _mw0, "Search", Search$) {
1535
1289
  }
1536
1290
 
1537
- class TagResourceCommand extends Command
1538
- .classBuilder()
1539
- .ep(commonParams)
1540
- .m(function (Command, cs, config, o) {
1541
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1542
- })
1543
- .s("ResourceExplorer", "TagResource", {})
1544
- .n("ResourceExplorer2Client", "TagResourceCommand")
1545
- .sc(TagResource$)
1546
- .build() {
1291
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1547
1292
  }
1548
1293
 
1549
- class UntagResourceCommand extends Command
1550
- .classBuilder()
1551
- .ep(commonParams)
1552
- .m(function (Command, cs, config, o) {
1553
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1554
- })
1555
- .s("ResourceExplorer", "UntagResource", {})
1556
- .n("ResourceExplorer2Client", "UntagResourceCommand")
1557
- .sc(UntagResource$)
1558
- .build() {
1294
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1559
1295
  }
1560
1296
 
1561
- class UpdateIndexTypeCommand extends Command
1562
- .classBuilder()
1563
- .ep(commonParams)
1564
- .m(function (Command, cs, config, o) {
1565
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1566
- })
1567
- .s("ResourceExplorer", "UpdateIndexType", {})
1568
- .n("ResourceExplorer2Client", "UpdateIndexTypeCommand")
1569
- .sc(UpdateIndexType$)
1570
- .build() {
1297
+ class UpdateIndexTypeCommand extends command(_ep0, _mw0, "UpdateIndexType", UpdateIndexType$) {
1571
1298
  }
1572
1299
 
1573
- class UpdateViewCommand extends Command
1574
- .classBuilder()
1575
- .ep(commonParams)
1576
- .m(function (Command, cs, config, o) {
1577
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1578
- })
1579
- .s("ResourceExplorer", "UpdateView", {})
1580
- .n("ResourceExplorer2Client", "UpdateViewCommand")
1581
- .sc(UpdateView$)
1582
- .build() {
1300
+ class UpdateViewCommand extends command(_ep0, _mw0, "UpdateView", UpdateView$) {
1583
1301
  }
1584
1302
 
1585
1303
  const paginateGetResourceExplorerSetup = createPaginator(ResourceExplorer2Client, GetResourceExplorerSetupCommand, "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, "ResourceExplorer", "ResourceExplorer2Client", 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 { AssociateDefaultView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateDefaultViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "AssociateDefaultView", {})
13
- .n("ResourceExplorer2Client", "AssociateDefaultViewCommand")
14
- .sc(AssociateDefaultView$)
15
- .build() {
3
+ export class AssociateDefaultViewCommand extends command(_ep0, _mw0, "AssociateDefaultView", AssociateDefaultView$) {
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 { BatchGetView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "BatchGetView", {})
13
- .n("ResourceExplorer2Client", "BatchGetViewCommand")
14
- .sc(BatchGetView$)
15
- .build() {
3
+ export class BatchGetViewCommand extends command(_ep0, _mw0, "BatchGetView", BatchGetView$) {
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 { CreateIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "CreateIndex", {})
13
- .n("ResourceExplorer2Client", "CreateIndexCommand")
14
- .sc(CreateIndex$)
15
- .build() {
3
+ export class CreateIndexCommand extends command(_ep0, _mw0, "CreateIndex", CreateIndex$) {
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 { CreateResourceExplorerSetup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateResourceExplorerSetupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "CreateResourceExplorerSetup", {})
13
- .n("ResourceExplorer2Client", "CreateResourceExplorerSetupCommand")
14
- .sc(CreateResourceExplorerSetup$)
15
- .build() {
3
+ export class CreateResourceExplorerSetupCommand extends command(_ep0, _mw0, "CreateResourceExplorerSetup", CreateResourceExplorerSetup$) {
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 { CreateView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "CreateView", {})
13
- .n("ResourceExplorer2Client", "CreateViewCommand")
14
- .sc(CreateView$)
15
- .build() {
3
+ export class CreateViewCommand extends command(_ep0, _mw0, "CreateView", CreateView$) {
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 { DeleteIndex$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIndexCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "DeleteIndex", {})
13
- .n("ResourceExplorer2Client", "DeleteIndexCommand")
14
- .sc(DeleteIndex$)
15
- .build() {
3
+ export class DeleteIndexCommand extends command(_ep0, _mw0, "DeleteIndex", DeleteIndex$) {
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 { DeleteResourceExplorerSetup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourceExplorerSetupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "DeleteResourceExplorerSetup", {})
13
- .n("ResourceExplorer2Client", "DeleteResourceExplorerSetupCommand")
14
- .sc(DeleteResourceExplorerSetup$)
15
- .build() {
3
+ export class DeleteResourceExplorerSetupCommand extends command(_ep0, _mw0, "DeleteResourceExplorerSetup", DeleteResourceExplorerSetup$) {
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 { DeleteView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "DeleteView", {})
13
- .n("ResourceExplorer2Client", "DeleteViewCommand")
14
- .sc(DeleteView$)
15
- .build() {
3
+ export class DeleteViewCommand extends command(_ep0, _mw0, "DeleteView", DeleteView$) {
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 { DisassociateDefaultView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateDefaultViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceExplorer", "DisassociateDefaultView", {})
13
- .n("ResourceExplorer2Client", "DisassociateDefaultViewCommand")
14
- .sc(DisassociateDefaultView$)
15
- .build() {
3
+ export class DisassociateDefaultViewCommand extends command(_ep0, _mw0, "DisassociateDefaultView", DisassociateDefaultView$) {
16
4
  }