@aws-sdk/client-managedblockchain 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 (101) hide show
  1. package/dist-cjs/index.js +38 -275
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAccessorCommand.js +2 -14
  4. package/dist-es/commands/CreateMemberCommand.js +2 -14
  5. package/dist-es/commands/CreateNetworkCommand.js +2 -14
  6. package/dist-es/commands/CreateNodeCommand.js +2 -14
  7. package/dist-es/commands/CreateProposalCommand.js +2 -14
  8. package/dist-es/commands/DeleteAccessorCommand.js +2 -14
  9. package/dist-es/commands/DeleteMemberCommand.js +2 -14
  10. package/dist-es/commands/DeleteNodeCommand.js +2 -14
  11. package/dist-es/commands/GetAccessorCommand.js +2 -14
  12. package/dist-es/commands/GetMemberCommand.js +2 -14
  13. package/dist-es/commands/GetNetworkCommand.js +2 -14
  14. package/dist-es/commands/GetNodeCommand.js +2 -14
  15. package/dist-es/commands/GetProposalCommand.js +2 -14
  16. package/dist-es/commands/ListAccessorsCommand.js +2 -14
  17. package/dist-es/commands/ListInvitationsCommand.js +2 -14
  18. package/dist-es/commands/ListMembersCommand.js +2 -14
  19. package/dist-es/commands/ListNetworksCommand.js +2 -14
  20. package/dist-es/commands/ListNodesCommand.js +2 -14
  21. package/dist-es/commands/ListProposalVotesCommand.js +2 -14
  22. package/dist-es/commands/ListProposalsCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/RejectInvitationCommand.js +2 -14
  25. package/dist-es/commands/TagResourceCommand.js +2 -14
  26. package/dist-es/commands/UntagResourceCommand.js +2 -14
  27. package/dist-es/commands/UpdateMemberCommand.js +2 -14
  28. package/dist-es/commands/UpdateNodeCommand.js +2 -14
  29. package/dist-es/commands/VoteOnProposalCommand.js +2 -14
  30. package/dist-es/index.js +1 -0
  31. package/dist-es/runtimeConfig.browser.js +0 -2
  32. package/dist-es/runtimeConfig.js +1 -2
  33. package/dist-es/runtimeConfig.native.js +0 -2
  34. package/dist-es/runtimeConfig.shared.js +2 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/CreateAccessorCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateMemberCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateNetworkCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateNodeCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateProposalCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteAccessorCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteMemberCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteNodeCommand.d.ts +3 -8
  44. package/dist-types/commands/GetAccessorCommand.d.ts +3 -8
  45. package/dist-types/commands/GetMemberCommand.d.ts +3 -8
  46. package/dist-types/commands/GetNetworkCommand.d.ts +3 -8
  47. package/dist-types/commands/GetNodeCommand.d.ts +3 -8
  48. package/dist-types/commands/GetProposalCommand.d.ts +3 -8
  49. package/dist-types/commands/ListAccessorsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListMembersCommand.d.ts +3 -8
  52. package/dist-types/commands/ListNetworksCommand.d.ts +3 -8
  53. package/dist-types/commands/ListNodesCommand.d.ts +3 -8
  54. package/dist-types/commands/ListProposalVotesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListProposalsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  57. package/dist-types/commands/RejectInvitationCommand.d.ts +3 -8
  58. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateMemberCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateNodeCommand.d.ts +3 -8
  62. package/dist-types/commands/VoteOnProposalCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  65. package/dist-types/runtimeConfig.d.ts +1 -1
  66. package/dist-types/runtimeConfig.native.d.ts +1 -1
  67. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/CreateAccessorCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateNodeCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateProposalCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteAccessorCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetAccessorCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetProposalCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListAccessorsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListProposalVotesCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListProposalsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateMemberCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UpdateNodeCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/VoteOnProposalCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/index.d.ts +1 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  101. 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 defaultManagedBlockchainHttpAuthSchemeParametersProvider = 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
 
@@ -1164,6 +1166,7 @@ const getRuntimeConfig$1 = (config) => {
1164
1166
  serviceTarget: "TaigaWebService",
1165
1167
  },
1166
1168
  serviceId: config?.serviceId ?? "ManagedBlockchain",
1169
+ sha256: config?.sha256 ?? Sha256,
1167
1170
  urlParser: config?.urlParser ?? parseUrl,
1168
1171
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1169
1172
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1197,7 +1200,6 @@ const getRuntimeConfig = (config) => {
1197
1200
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1198
1201
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1199
1202
  }, config),
1200
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1201
1203
  streamCollector: config?.streamCollector ?? streamCollector,
1202
1204
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1203
1205
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1285,328 +1287,89 @@ class ManagedBlockchainClient extends Client {
1285
1287
  }
1286
1288
  }
1287
1289
 
1288
- class CreateAccessorCommand extends Command
1289
- .classBuilder()
1290
- .ep(commonParams)
1291
- .m(function (Command, cs, config, o) {
1292
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1293
- })
1294
- .s("TaigaWebService", "CreateAccessor", {})
1295
- .n("ManagedBlockchainClient", "CreateAccessorCommand")
1296
- .sc(CreateAccessor$)
1297
- .build() {
1290
+ const command = makeBuilder(commonParams, "TaigaWebService", "ManagedBlockchainClient", getEndpointPlugin);
1291
+ const _ep0 = {};
1292
+ const _mw0 = (Command, cs, config, o) => [];
1293
+
1294
+ class CreateAccessorCommand extends command(_ep0, _mw0, "CreateAccessor", CreateAccessor$) {
1298
1295
  }
1299
1296
 
1300
- class CreateMemberCommand extends Command
1301
- .classBuilder()
1302
- .ep(commonParams)
1303
- .m(function (Command, cs, config, o) {
1304
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1305
- })
1306
- .s("TaigaWebService", "CreateMember", {})
1307
- .n("ManagedBlockchainClient", "CreateMemberCommand")
1308
- .sc(CreateMember$)
1309
- .build() {
1297
+ class CreateMemberCommand extends command(_ep0, _mw0, "CreateMember", CreateMember$) {
1310
1298
  }
1311
1299
 
1312
- class CreateNetworkCommand extends Command
1313
- .classBuilder()
1314
- .ep(commonParams)
1315
- .m(function (Command, cs, config, o) {
1316
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1317
- })
1318
- .s("TaigaWebService", "CreateNetwork", {})
1319
- .n("ManagedBlockchainClient", "CreateNetworkCommand")
1320
- .sc(CreateNetwork$)
1321
- .build() {
1300
+ class CreateNetworkCommand extends command(_ep0, _mw0, "CreateNetwork", CreateNetwork$) {
1322
1301
  }
1323
1302
 
1324
- class CreateNodeCommand extends Command
1325
- .classBuilder()
1326
- .ep(commonParams)
1327
- .m(function (Command, cs, config, o) {
1328
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1329
- })
1330
- .s("TaigaWebService", "CreateNode", {})
1331
- .n("ManagedBlockchainClient", "CreateNodeCommand")
1332
- .sc(CreateNode$)
1333
- .build() {
1303
+ class CreateNodeCommand extends command(_ep0, _mw0, "CreateNode", CreateNode$) {
1334
1304
  }
1335
1305
 
1336
- class CreateProposalCommand extends Command
1337
- .classBuilder()
1338
- .ep(commonParams)
1339
- .m(function (Command, cs, config, o) {
1340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1341
- })
1342
- .s("TaigaWebService", "CreateProposal", {})
1343
- .n("ManagedBlockchainClient", "CreateProposalCommand")
1344
- .sc(CreateProposal$)
1345
- .build() {
1306
+ class CreateProposalCommand extends command(_ep0, _mw0, "CreateProposal", CreateProposal$) {
1346
1307
  }
1347
1308
 
1348
- class DeleteAccessorCommand extends Command
1349
- .classBuilder()
1350
- .ep(commonParams)
1351
- .m(function (Command, cs, config, o) {
1352
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1353
- })
1354
- .s("TaigaWebService", "DeleteAccessor", {})
1355
- .n("ManagedBlockchainClient", "DeleteAccessorCommand")
1356
- .sc(DeleteAccessor$)
1357
- .build() {
1309
+ class DeleteAccessorCommand extends command(_ep0, _mw0, "DeleteAccessor", DeleteAccessor$) {
1358
1310
  }
1359
1311
 
1360
- class DeleteMemberCommand extends Command
1361
- .classBuilder()
1362
- .ep(commonParams)
1363
- .m(function (Command, cs, config, o) {
1364
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1365
- })
1366
- .s("TaigaWebService", "DeleteMember", {})
1367
- .n("ManagedBlockchainClient", "DeleteMemberCommand")
1368
- .sc(DeleteMember$)
1369
- .build() {
1312
+ class DeleteMemberCommand extends command(_ep0, _mw0, "DeleteMember", DeleteMember$) {
1370
1313
  }
1371
1314
 
1372
- class DeleteNodeCommand extends Command
1373
- .classBuilder()
1374
- .ep(commonParams)
1375
- .m(function (Command, cs, config, o) {
1376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1377
- })
1378
- .s("TaigaWebService", "DeleteNode", {})
1379
- .n("ManagedBlockchainClient", "DeleteNodeCommand")
1380
- .sc(DeleteNode$)
1381
- .build() {
1315
+ class DeleteNodeCommand extends command(_ep0, _mw0, "DeleteNode", DeleteNode$) {
1382
1316
  }
1383
1317
 
1384
- class GetAccessorCommand extends Command
1385
- .classBuilder()
1386
- .ep(commonParams)
1387
- .m(function (Command, cs, config, o) {
1388
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1389
- })
1390
- .s("TaigaWebService", "GetAccessor", {})
1391
- .n("ManagedBlockchainClient", "GetAccessorCommand")
1392
- .sc(GetAccessor$)
1393
- .build() {
1318
+ class GetAccessorCommand extends command(_ep0, _mw0, "GetAccessor", GetAccessor$) {
1394
1319
  }
1395
1320
 
1396
- class GetMemberCommand extends Command
1397
- .classBuilder()
1398
- .ep(commonParams)
1399
- .m(function (Command, cs, config, o) {
1400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
- })
1402
- .s("TaigaWebService", "GetMember", {})
1403
- .n("ManagedBlockchainClient", "GetMemberCommand")
1404
- .sc(GetMember$)
1405
- .build() {
1321
+ class GetMemberCommand extends command(_ep0, _mw0, "GetMember", GetMember$) {
1406
1322
  }
1407
1323
 
1408
- class GetNetworkCommand extends Command
1409
- .classBuilder()
1410
- .ep(commonParams)
1411
- .m(function (Command, cs, config, o) {
1412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
- })
1414
- .s("TaigaWebService", "GetNetwork", {})
1415
- .n("ManagedBlockchainClient", "GetNetworkCommand")
1416
- .sc(GetNetwork$)
1417
- .build() {
1324
+ class GetNetworkCommand extends command(_ep0, _mw0, "GetNetwork", GetNetwork$) {
1418
1325
  }
1419
1326
 
1420
- class GetNodeCommand extends Command
1421
- .classBuilder()
1422
- .ep(commonParams)
1423
- .m(function (Command, cs, config, o) {
1424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
- })
1426
- .s("TaigaWebService", "GetNode", {})
1427
- .n("ManagedBlockchainClient", "GetNodeCommand")
1428
- .sc(GetNode$)
1429
- .build() {
1327
+ class GetNodeCommand extends command(_ep0, _mw0, "GetNode", GetNode$) {
1430
1328
  }
1431
1329
 
1432
- class GetProposalCommand extends Command
1433
- .classBuilder()
1434
- .ep(commonParams)
1435
- .m(function (Command, cs, config, o) {
1436
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1437
- })
1438
- .s("TaigaWebService", "GetProposal", {})
1439
- .n("ManagedBlockchainClient", "GetProposalCommand")
1440
- .sc(GetProposal$)
1441
- .build() {
1330
+ class GetProposalCommand extends command(_ep0, _mw0, "GetProposal", GetProposal$) {
1442
1331
  }
1443
1332
 
1444
- class ListAccessorsCommand extends Command
1445
- .classBuilder()
1446
- .ep(commonParams)
1447
- .m(function (Command, cs, config, o) {
1448
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1449
- })
1450
- .s("TaigaWebService", "ListAccessors", {})
1451
- .n("ManagedBlockchainClient", "ListAccessorsCommand")
1452
- .sc(ListAccessors$)
1453
- .build() {
1333
+ class ListAccessorsCommand extends command(_ep0, _mw0, "ListAccessors", ListAccessors$) {
1454
1334
  }
1455
1335
 
1456
- class ListInvitationsCommand extends Command
1457
- .classBuilder()
1458
- .ep(commonParams)
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("TaigaWebService", "ListInvitations", {})
1463
- .n("ManagedBlockchainClient", "ListInvitationsCommand")
1464
- .sc(ListInvitations$)
1465
- .build() {
1336
+ class ListInvitationsCommand extends command(_ep0, _mw0, "ListInvitations", ListInvitations$) {
1466
1337
  }
1467
1338
 
1468
- class ListMembersCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("TaigaWebService", "ListMembers", {})
1475
- .n("ManagedBlockchainClient", "ListMembersCommand")
1476
- .sc(ListMembers$)
1477
- .build() {
1339
+ class ListMembersCommand extends command(_ep0, _mw0, "ListMembers", ListMembers$) {
1478
1340
  }
1479
1341
 
1480
- class ListNetworksCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("TaigaWebService", "ListNetworks", {})
1487
- .n("ManagedBlockchainClient", "ListNetworksCommand")
1488
- .sc(ListNetworks$)
1489
- .build() {
1342
+ class ListNetworksCommand extends command(_ep0, _mw0, "ListNetworks", ListNetworks$) {
1490
1343
  }
1491
1344
 
1492
- class ListNodesCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("TaigaWebService", "ListNodes", {})
1499
- .n("ManagedBlockchainClient", "ListNodesCommand")
1500
- .sc(ListNodes$)
1501
- .build() {
1345
+ class ListNodesCommand extends command(_ep0, _mw0, "ListNodes", ListNodes$) {
1502
1346
  }
1503
1347
 
1504
- class ListProposalsCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("TaigaWebService", "ListProposals", {})
1511
- .n("ManagedBlockchainClient", "ListProposalsCommand")
1512
- .sc(ListProposals$)
1513
- .build() {
1348
+ class ListProposalsCommand extends command(_ep0, _mw0, "ListProposals", ListProposals$) {
1514
1349
  }
1515
1350
 
1516
- class ListProposalVotesCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("TaigaWebService", "ListProposalVotes", {})
1523
- .n("ManagedBlockchainClient", "ListProposalVotesCommand")
1524
- .sc(ListProposalVotes$)
1525
- .build() {
1351
+ class ListProposalVotesCommand extends command(_ep0, _mw0, "ListProposalVotes", ListProposalVotes$) {
1526
1352
  }
1527
1353
 
1528
- class ListTagsForResourceCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("TaigaWebService", "ListTagsForResource", {})
1535
- .n("ManagedBlockchainClient", "ListTagsForResourceCommand")
1536
- .sc(ListTagsForResource$)
1537
- .build() {
1354
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1538
1355
  }
1539
1356
 
1540
- class RejectInvitationCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("TaigaWebService", "RejectInvitation", {})
1547
- .n("ManagedBlockchainClient", "RejectInvitationCommand")
1548
- .sc(RejectInvitation$)
1549
- .build() {
1357
+ class RejectInvitationCommand extends command(_ep0, _mw0, "RejectInvitation", RejectInvitation$) {
1550
1358
  }
1551
1359
 
1552
- class TagResourceCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("TaigaWebService", "TagResource", {})
1559
- .n("ManagedBlockchainClient", "TagResourceCommand")
1560
- .sc(TagResource$)
1561
- .build() {
1360
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1562
1361
  }
1563
1362
 
1564
- class UntagResourceCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("TaigaWebService", "UntagResource", {})
1571
- .n("ManagedBlockchainClient", "UntagResourceCommand")
1572
- .sc(UntagResource$)
1573
- .build() {
1363
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1574
1364
  }
1575
1365
 
1576
- class UpdateMemberCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("TaigaWebService", "UpdateMember", {})
1583
- .n("ManagedBlockchainClient", "UpdateMemberCommand")
1584
- .sc(UpdateMember$)
1585
- .build() {
1366
+ class UpdateMemberCommand extends command(_ep0, _mw0, "UpdateMember", UpdateMember$) {
1586
1367
  }
1587
1368
 
1588
- class UpdateNodeCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("TaigaWebService", "UpdateNode", {})
1595
- .n("ManagedBlockchainClient", "UpdateNodeCommand")
1596
- .sc(UpdateNode$)
1597
- .build() {
1369
+ class UpdateNodeCommand extends command(_ep0, _mw0, "UpdateNode", UpdateNode$) {
1598
1370
  }
1599
1371
 
1600
- class VoteOnProposalCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("TaigaWebService", "VoteOnProposal", {})
1607
- .n("ManagedBlockchainClient", "VoteOnProposalCommand")
1608
- .sc(VoteOnProposal$)
1609
- .build() {
1372
+ class VoteOnProposalCommand extends command(_ep0, _mw0, "VoteOnProposal", VoteOnProposal$) {
1610
1373
  }
1611
1374
 
1612
1375
  const paginateListAccessors = createPaginator(ManagedBlockchainClient, ListAccessorsCommand, "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, "TaigaWebService", "ManagedBlockchainClient", 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 { CreateAccessor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccessorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "CreateAccessor", {})
13
- .n("ManagedBlockchainClient", "CreateAccessorCommand")
14
- .sc(CreateAccessor$)
15
- .build() {
3
+ export class CreateAccessorCommand extends command(_ep0, _mw0, "CreateAccessor", CreateAccessor$) {
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 { CreateMember$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateMemberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "CreateMember", {})
13
- .n("ManagedBlockchainClient", "CreateMemberCommand")
14
- .sc(CreateMember$)
15
- .build() {
3
+ export class CreateMemberCommand extends command(_ep0, _mw0, "CreateMember", CreateMember$) {
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 { CreateNetwork$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateNetworkCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "CreateNetwork", {})
13
- .n("ManagedBlockchainClient", "CreateNetworkCommand")
14
- .sc(CreateNetwork$)
15
- .build() {
3
+ export class CreateNetworkCommand extends command(_ep0, _mw0, "CreateNetwork", CreateNetwork$) {
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 { CreateNode$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateNodeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "CreateNode", {})
13
- .n("ManagedBlockchainClient", "CreateNodeCommand")
14
- .sc(CreateNode$)
15
- .build() {
3
+ export class CreateNodeCommand extends command(_ep0, _mw0, "CreateNode", CreateNode$) {
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 { CreateProposal$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProposalCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "CreateProposal", {})
13
- .n("ManagedBlockchainClient", "CreateProposalCommand")
14
- .sc(CreateProposal$)
15
- .build() {
3
+ export class CreateProposalCommand extends command(_ep0, _mw0, "CreateProposal", CreateProposal$) {
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 { DeleteAccessor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAccessorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "DeleteAccessor", {})
13
- .n("ManagedBlockchainClient", "DeleteAccessorCommand")
14
- .sc(DeleteAccessor$)
15
- .build() {
3
+ export class DeleteAccessorCommand extends command(_ep0, _mw0, "DeleteAccessor", DeleteAccessor$) {
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 { DeleteMember$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMemberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "DeleteMember", {})
13
- .n("ManagedBlockchainClient", "DeleteMemberCommand")
14
- .sc(DeleteMember$)
15
- .build() {
3
+ export class DeleteMemberCommand extends command(_ep0, _mw0, "DeleteMember", DeleteMember$) {
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 { DeleteNode$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteNodeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "DeleteNode", {})
13
- .n("ManagedBlockchainClient", "DeleteNodeCommand")
14
- .sc(DeleteNode$)
15
- .build() {
3
+ export class DeleteNodeCommand extends command(_ep0, _mw0, "DeleteNode", DeleteNode$) {
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 { GetAccessor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccessorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "GetAccessor", {})
13
- .n("ManagedBlockchainClient", "GetAccessorCommand")
14
- .sc(GetAccessor$)
15
- .build() {
3
+ export class GetAccessorCommand extends command(_ep0, _mw0, "GetAccessor", GetAccessor$) {
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 { GetMember$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMemberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "GetMember", {})
13
- .n("ManagedBlockchainClient", "GetMemberCommand")
14
- .sc(GetMember$)
15
- .build() {
3
+ export class GetMemberCommand extends command(_ep0, _mw0, "GetMember", GetMember$) {
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 { GetNetwork$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetNetworkCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "GetNetwork", {})
13
- .n("ManagedBlockchainClient", "GetNetworkCommand")
14
- .sc(GetNetwork$)
15
- .build() {
3
+ export class GetNetworkCommand extends command(_ep0, _mw0, "GetNetwork", GetNetwork$) {
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 { GetNode$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetNodeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TaigaWebService", "GetNode", {})
13
- .n("ManagedBlockchainClient", "GetNodeCommand")
14
- .sc(GetNode$)
15
- .build() {
3
+ export class GetNodeCommand extends command(_ep0, _mw0, "GetNode", GetNode$) {
16
4
  }