@aws-sdk/client-tnb 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 (119) hide show
  1. package/dist-cjs/index.js +44 -335
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelSolNetworkOperationCommand.js +2 -14
  4. package/dist-es/commands/CreateSolFunctionPackageCommand.js +2 -14
  5. package/dist-es/commands/CreateSolNetworkInstanceCommand.js +2 -14
  6. package/dist-es/commands/CreateSolNetworkPackageCommand.js +2 -14
  7. package/dist-es/commands/DeleteSolFunctionPackageCommand.js +2 -14
  8. package/dist-es/commands/DeleteSolNetworkInstanceCommand.js +2 -14
  9. package/dist-es/commands/DeleteSolNetworkPackageCommand.js +2 -14
  10. package/dist-es/commands/GetSolFunctionInstanceCommand.js +2 -14
  11. package/dist-es/commands/GetSolFunctionPackageCommand.js +2 -14
  12. package/dist-es/commands/GetSolFunctionPackageContentCommand.js +2 -14
  13. package/dist-es/commands/GetSolFunctionPackageDescriptorCommand.js +2 -14
  14. package/dist-es/commands/GetSolNetworkInstanceCommand.js +2 -14
  15. package/dist-es/commands/GetSolNetworkOperationCommand.js +2 -14
  16. package/dist-es/commands/GetSolNetworkPackageCommand.js +2 -14
  17. package/dist-es/commands/GetSolNetworkPackageContentCommand.js +2 -14
  18. package/dist-es/commands/GetSolNetworkPackageDescriptorCommand.js +2 -14
  19. package/dist-es/commands/InstantiateSolNetworkInstanceCommand.js +2 -14
  20. package/dist-es/commands/ListSolFunctionInstancesCommand.js +2 -14
  21. package/dist-es/commands/ListSolFunctionPackagesCommand.js +2 -14
  22. package/dist-es/commands/ListSolNetworkInstancesCommand.js +2 -14
  23. package/dist-es/commands/ListSolNetworkOperationsCommand.js +2 -14
  24. package/dist-es/commands/ListSolNetworkPackagesCommand.js +2 -14
  25. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  26. package/dist-es/commands/PutSolFunctionPackageContentCommand.js +2 -14
  27. package/dist-es/commands/PutSolNetworkPackageContentCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/TerminateSolNetworkInstanceCommand.js +2 -14
  30. package/dist-es/commands/UntagResourceCommand.js +2 -14
  31. package/dist-es/commands/UpdateSolFunctionPackageCommand.js +2 -14
  32. package/dist-es/commands/UpdateSolNetworkInstanceCommand.js +2 -14
  33. package/dist-es/commands/UpdateSolNetworkPackageCommand.js +2 -14
  34. package/dist-es/commands/ValidateSolFunctionPackageContentCommand.js +2 -14
  35. package/dist-es/commands/ValidateSolNetworkPackageContentCommand.js +2 -14
  36. package/dist-es/index.js +1 -0
  37. package/dist-es/runtimeConfig.browser.js +0 -2
  38. package/dist-es/runtimeConfig.js +1 -2
  39. package/dist-es/runtimeConfig.native.js +0 -2
  40. package/dist-es/runtimeConfig.shared.js +2 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/CancelSolNetworkOperationCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateSolFunctionPackageCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateSolNetworkInstanceCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateSolNetworkPackageCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteSolFunctionPackageCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteSolNetworkInstanceCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteSolNetworkPackageCommand.d.ts +3 -8
  49. package/dist-types/commands/GetSolFunctionInstanceCommand.d.ts +3 -8
  50. package/dist-types/commands/GetSolFunctionPackageCommand.d.ts +3 -8
  51. package/dist-types/commands/GetSolFunctionPackageContentCommand.d.ts +3 -8
  52. package/dist-types/commands/GetSolFunctionPackageDescriptorCommand.d.ts +3 -8
  53. package/dist-types/commands/GetSolNetworkInstanceCommand.d.ts +3 -8
  54. package/dist-types/commands/GetSolNetworkOperationCommand.d.ts +3 -8
  55. package/dist-types/commands/GetSolNetworkPackageCommand.d.ts +3 -8
  56. package/dist-types/commands/GetSolNetworkPackageContentCommand.d.ts +3 -8
  57. package/dist-types/commands/GetSolNetworkPackageDescriptorCommand.d.ts +3 -8
  58. package/dist-types/commands/InstantiateSolNetworkInstanceCommand.d.ts +3 -8
  59. package/dist-types/commands/ListSolFunctionInstancesCommand.d.ts +3 -8
  60. package/dist-types/commands/ListSolFunctionPackagesCommand.d.ts +3 -8
  61. package/dist-types/commands/ListSolNetworkInstancesCommand.d.ts +3 -8
  62. package/dist-types/commands/ListSolNetworkOperationsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListSolNetworkPackagesCommand.d.ts +3 -8
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/PutSolFunctionPackageContentCommand.d.ts +3 -8
  66. package/dist-types/commands/PutSolNetworkPackageContentCommand.d.ts +3 -8
  67. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/TerminateSolNetworkInstanceCommand.d.ts +3 -8
  69. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateSolFunctionPackageCommand.d.ts +3 -8
  71. package/dist-types/commands/UpdateSolNetworkInstanceCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateSolNetworkPackageCommand.d.ts +3 -8
  73. package/dist-types/commands/ValidateSolFunctionPackageContentCommand.d.ts +3 -8
  74. package/dist-types/commands/ValidateSolNetworkPackageContentCommand.d.ts +3 -8
  75. package/dist-types/index.d.ts +1 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/CancelSolNetworkOperationCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateSolFunctionPackageCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateSolNetworkInstanceCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateSolNetworkPackageCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteSolFunctionPackageCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteSolNetworkInstanceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteSolNetworkPackageCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetSolFunctionInstanceCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetSolFunctionPackageCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetSolFunctionPackageContentCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetSolFunctionPackageDescriptorCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetSolNetworkInstanceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetSolNetworkOperationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetSolNetworkPackageCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetSolNetworkPackageContentCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetSolNetworkPackageDescriptorCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/InstantiateSolNetworkInstanceCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListSolFunctionInstancesCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListSolFunctionPackagesCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListSolNetworkInstancesCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListSolNetworkOperationsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListSolNetworkPackagesCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/PutSolFunctionPackageContentCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/PutSolNetworkPackageContentCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/TerminateSolNetworkInstanceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UpdateSolFunctionPackageCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdateSolNetworkInstanceCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/UpdateSolNetworkPackageCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ValidateSolFunctionPackageContentCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ValidateSolNetworkPackageContentCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/index.d.ts +1 -0
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  119. 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 defaultTnbHttpAuthSchemeParametersProvider = 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
 
@@ -1135,6 +1137,7 @@ const getRuntimeConfig$1 = (config) => {
1135
1137
  serviceTarget: "TNB",
1136
1138
  },
1137
1139
  serviceId: config?.serviceId ?? "tnb",
1140
+ sha256: config?.sha256 ?? Sha256,
1138
1141
  urlParser: config?.urlParser ?? parseUrl,
1139
1142
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1140
1143
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1168,7 +1171,6 @@ const getRuntimeConfig = (config) => {
1168
1171
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1169
1172
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1170
1173
  }, config),
1171
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1172
1174
  streamCollector: config?.streamCollector ?? streamCollector,
1173
1175
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1174
1176
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1256,400 +1258,107 @@ class TnbClient extends Client {
1256
1258
  }
1257
1259
  }
1258
1260
 
1259
- class CancelSolNetworkOperationCommand extends Command
1260
- .classBuilder()
1261
- .ep(commonParams)
1262
- .m(function (Command, cs, config, o) {
1263
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1264
- })
1265
- .s("TNB", "CancelSolNetworkOperation", {})
1266
- .n("TnbClient", "CancelSolNetworkOperationCommand")
1267
- .sc(CancelSolNetworkOperation$)
1268
- .build() {
1261
+ const command = makeBuilder(commonParams, "TNB", "TnbClient", getEndpointPlugin);
1262
+ const _ep0 = {};
1263
+ const _mw0 = (Command, cs, config, o) => [];
1264
+
1265
+ class CancelSolNetworkOperationCommand extends command(_ep0, _mw0, "CancelSolNetworkOperation", CancelSolNetworkOperation$) {
1269
1266
  }
1270
1267
 
1271
- class CreateSolFunctionPackageCommand extends Command
1272
- .classBuilder()
1273
- .ep(commonParams)
1274
- .m(function (Command, cs, config, o) {
1275
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1276
- })
1277
- .s("TNB", "CreateSolFunctionPackage", {})
1278
- .n("TnbClient", "CreateSolFunctionPackageCommand")
1279
- .sc(CreateSolFunctionPackage$)
1280
- .build() {
1268
+ class CreateSolFunctionPackageCommand extends command(_ep0, _mw0, "CreateSolFunctionPackage", CreateSolFunctionPackage$) {
1281
1269
  }
1282
1270
 
1283
- class CreateSolNetworkInstanceCommand extends Command
1284
- .classBuilder()
1285
- .ep(commonParams)
1286
- .m(function (Command, cs, config, o) {
1287
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1288
- })
1289
- .s("TNB", "CreateSolNetworkInstance", {})
1290
- .n("TnbClient", "CreateSolNetworkInstanceCommand")
1291
- .sc(CreateSolNetworkInstance$)
1292
- .build() {
1271
+ class CreateSolNetworkInstanceCommand extends command(_ep0, _mw0, "CreateSolNetworkInstance", CreateSolNetworkInstance$) {
1293
1272
  }
1294
1273
 
1295
- class CreateSolNetworkPackageCommand extends Command
1296
- .classBuilder()
1297
- .ep(commonParams)
1298
- .m(function (Command, cs, config, o) {
1299
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1300
- })
1301
- .s("TNB", "CreateSolNetworkPackage", {})
1302
- .n("TnbClient", "CreateSolNetworkPackageCommand")
1303
- .sc(CreateSolNetworkPackage$)
1304
- .build() {
1274
+ class CreateSolNetworkPackageCommand extends command(_ep0, _mw0, "CreateSolNetworkPackage", CreateSolNetworkPackage$) {
1305
1275
  }
1306
1276
 
1307
- class DeleteSolFunctionPackageCommand extends Command
1308
- .classBuilder()
1309
- .ep(commonParams)
1310
- .m(function (Command, cs, config, o) {
1311
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1312
- })
1313
- .s("TNB", "DeleteSolFunctionPackage", {})
1314
- .n("TnbClient", "DeleteSolFunctionPackageCommand")
1315
- .sc(DeleteSolFunctionPackage$)
1316
- .build() {
1277
+ class DeleteSolFunctionPackageCommand extends command(_ep0, _mw0, "DeleteSolFunctionPackage", DeleteSolFunctionPackage$) {
1317
1278
  }
1318
1279
 
1319
- class DeleteSolNetworkInstanceCommand extends Command
1320
- .classBuilder()
1321
- .ep(commonParams)
1322
- .m(function (Command, cs, config, o) {
1323
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1324
- })
1325
- .s("TNB", "DeleteSolNetworkInstance", {})
1326
- .n("TnbClient", "DeleteSolNetworkInstanceCommand")
1327
- .sc(DeleteSolNetworkInstance$)
1328
- .build() {
1280
+ class DeleteSolNetworkInstanceCommand extends command(_ep0, _mw0, "DeleteSolNetworkInstance", DeleteSolNetworkInstance$) {
1329
1281
  }
1330
1282
 
1331
- class DeleteSolNetworkPackageCommand extends Command
1332
- .classBuilder()
1333
- .ep(commonParams)
1334
- .m(function (Command, cs, config, o) {
1335
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1336
- })
1337
- .s("TNB", "DeleteSolNetworkPackage", {})
1338
- .n("TnbClient", "DeleteSolNetworkPackageCommand")
1339
- .sc(DeleteSolNetworkPackage$)
1340
- .build() {
1283
+ class DeleteSolNetworkPackageCommand extends command(_ep0, _mw0, "DeleteSolNetworkPackage", DeleteSolNetworkPackage$) {
1341
1284
  }
1342
1285
 
1343
- class GetSolFunctionInstanceCommand extends Command
1344
- .classBuilder()
1345
- .ep(commonParams)
1346
- .m(function (Command, cs, config, o) {
1347
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1348
- })
1349
- .s("TNB", "GetSolFunctionInstance", {})
1350
- .n("TnbClient", "GetSolFunctionInstanceCommand")
1351
- .sc(GetSolFunctionInstance$)
1352
- .build() {
1286
+ class GetSolFunctionInstanceCommand extends command(_ep0, _mw0, "GetSolFunctionInstance", GetSolFunctionInstance$) {
1353
1287
  }
1354
1288
 
1355
- class GetSolFunctionPackageCommand extends Command
1356
- .classBuilder()
1357
- .ep(commonParams)
1358
- .m(function (Command, cs, config, o) {
1359
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1360
- })
1361
- .s("TNB", "GetSolFunctionPackage", {})
1362
- .n("TnbClient", "GetSolFunctionPackageCommand")
1363
- .sc(GetSolFunctionPackage$)
1364
- .build() {
1289
+ class GetSolFunctionPackageCommand extends command(_ep0, _mw0, "GetSolFunctionPackage", GetSolFunctionPackage$) {
1365
1290
  }
1366
1291
 
1367
- class GetSolFunctionPackageContentCommand extends Command
1368
- .classBuilder()
1369
- .ep(commonParams)
1370
- .m(function (Command, cs, config, o) {
1371
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1372
- })
1373
- .s("TNB", "GetSolFunctionPackageContent", {})
1374
- .n("TnbClient", "GetSolFunctionPackageContentCommand")
1375
- .sc(GetSolFunctionPackageContent$)
1376
- .build() {
1292
+ class GetSolFunctionPackageContentCommand extends command(_ep0, _mw0, "GetSolFunctionPackageContent", GetSolFunctionPackageContent$) {
1377
1293
  }
1378
1294
 
1379
- class GetSolFunctionPackageDescriptorCommand extends Command
1380
- .classBuilder()
1381
- .ep(commonParams)
1382
- .m(function (Command, cs, config, o) {
1383
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1384
- })
1385
- .s("TNB", "GetSolFunctionPackageDescriptor", {})
1386
- .n("TnbClient", "GetSolFunctionPackageDescriptorCommand")
1387
- .sc(GetSolFunctionPackageDescriptor$)
1388
- .build() {
1295
+ class GetSolFunctionPackageDescriptorCommand extends command(_ep0, _mw0, "GetSolFunctionPackageDescriptor", GetSolFunctionPackageDescriptor$) {
1389
1296
  }
1390
1297
 
1391
- class GetSolNetworkInstanceCommand extends Command
1392
- .classBuilder()
1393
- .ep(commonParams)
1394
- .m(function (Command, cs, config, o) {
1395
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1396
- })
1397
- .s("TNB", "GetSolNetworkInstance", {})
1398
- .n("TnbClient", "GetSolNetworkInstanceCommand")
1399
- .sc(GetSolNetworkInstance$)
1400
- .build() {
1298
+ class GetSolNetworkInstanceCommand extends command(_ep0, _mw0, "GetSolNetworkInstance", GetSolNetworkInstance$) {
1401
1299
  }
1402
1300
 
1403
- class GetSolNetworkOperationCommand extends Command
1404
- .classBuilder()
1405
- .ep(commonParams)
1406
- .m(function (Command, cs, config, o) {
1407
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1408
- })
1409
- .s("TNB", "GetSolNetworkOperation", {})
1410
- .n("TnbClient", "GetSolNetworkOperationCommand")
1411
- .sc(GetSolNetworkOperation$)
1412
- .build() {
1301
+ class GetSolNetworkOperationCommand extends command(_ep0, _mw0, "GetSolNetworkOperation", GetSolNetworkOperation$) {
1413
1302
  }
1414
1303
 
1415
- class GetSolNetworkPackageCommand extends Command
1416
- .classBuilder()
1417
- .ep(commonParams)
1418
- .m(function (Command, cs, config, o) {
1419
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1420
- })
1421
- .s("TNB", "GetSolNetworkPackage", {})
1422
- .n("TnbClient", "GetSolNetworkPackageCommand")
1423
- .sc(GetSolNetworkPackage$)
1424
- .build() {
1304
+ class GetSolNetworkPackageCommand extends command(_ep0, _mw0, "GetSolNetworkPackage", GetSolNetworkPackage$) {
1425
1305
  }
1426
1306
 
1427
- class GetSolNetworkPackageContentCommand extends Command
1428
- .classBuilder()
1429
- .ep(commonParams)
1430
- .m(function (Command, cs, config, o) {
1431
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1432
- })
1433
- .s("TNB", "GetSolNetworkPackageContent", {})
1434
- .n("TnbClient", "GetSolNetworkPackageContentCommand")
1435
- .sc(GetSolNetworkPackageContent$)
1436
- .build() {
1307
+ class GetSolNetworkPackageContentCommand extends command(_ep0, _mw0, "GetSolNetworkPackageContent", GetSolNetworkPackageContent$) {
1437
1308
  }
1438
1309
 
1439
- class GetSolNetworkPackageDescriptorCommand extends Command
1440
- .classBuilder()
1441
- .ep(commonParams)
1442
- .m(function (Command, cs, config, o) {
1443
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1444
- })
1445
- .s("TNB", "GetSolNetworkPackageDescriptor", {})
1446
- .n("TnbClient", "GetSolNetworkPackageDescriptorCommand")
1447
- .sc(GetSolNetworkPackageDescriptor$)
1448
- .build() {
1310
+ class GetSolNetworkPackageDescriptorCommand extends command(_ep0, _mw0, "GetSolNetworkPackageDescriptor", GetSolNetworkPackageDescriptor$) {
1449
1311
  }
1450
1312
 
1451
- class InstantiateSolNetworkInstanceCommand extends Command
1452
- .classBuilder()
1453
- .ep(commonParams)
1454
- .m(function (Command, cs, config, o) {
1455
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1456
- })
1457
- .s("TNB", "InstantiateSolNetworkInstance", {})
1458
- .n("TnbClient", "InstantiateSolNetworkInstanceCommand")
1459
- .sc(InstantiateSolNetworkInstance$)
1460
- .build() {
1313
+ class InstantiateSolNetworkInstanceCommand extends command(_ep0, _mw0, "InstantiateSolNetworkInstance", InstantiateSolNetworkInstance$) {
1461
1314
  }
1462
1315
 
1463
- class ListSolFunctionInstancesCommand extends Command
1464
- .classBuilder()
1465
- .ep(commonParams)
1466
- .m(function (Command, cs, config, o) {
1467
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1468
- })
1469
- .s("TNB", "ListSolFunctionInstances", {})
1470
- .n("TnbClient", "ListSolFunctionInstancesCommand")
1471
- .sc(ListSolFunctionInstances$)
1472
- .build() {
1316
+ class ListSolFunctionInstancesCommand extends command(_ep0, _mw0, "ListSolFunctionInstances", ListSolFunctionInstances$) {
1473
1317
  }
1474
1318
 
1475
- class ListSolFunctionPackagesCommand extends Command
1476
- .classBuilder()
1477
- .ep(commonParams)
1478
- .m(function (Command, cs, config, o) {
1479
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1480
- })
1481
- .s("TNB", "ListSolFunctionPackages", {})
1482
- .n("TnbClient", "ListSolFunctionPackagesCommand")
1483
- .sc(ListSolFunctionPackages$)
1484
- .build() {
1319
+ class ListSolFunctionPackagesCommand extends command(_ep0, _mw0, "ListSolFunctionPackages", ListSolFunctionPackages$) {
1485
1320
  }
1486
1321
 
1487
- class ListSolNetworkInstancesCommand extends Command
1488
- .classBuilder()
1489
- .ep(commonParams)
1490
- .m(function (Command, cs, config, o) {
1491
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1492
- })
1493
- .s("TNB", "ListSolNetworkInstances", {})
1494
- .n("TnbClient", "ListSolNetworkInstancesCommand")
1495
- .sc(ListSolNetworkInstances$)
1496
- .build() {
1322
+ class ListSolNetworkInstancesCommand extends command(_ep0, _mw0, "ListSolNetworkInstances", ListSolNetworkInstances$) {
1497
1323
  }
1498
1324
 
1499
- class ListSolNetworkOperationsCommand extends Command
1500
- .classBuilder()
1501
- .ep(commonParams)
1502
- .m(function (Command, cs, config, o) {
1503
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1504
- })
1505
- .s("TNB", "ListSolNetworkOperations", {})
1506
- .n("TnbClient", "ListSolNetworkOperationsCommand")
1507
- .sc(ListSolNetworkOperations$)
1508
- .build() {
1325
+ class ListSolNetworkOperationsCommand extends command(_ep0, _mw0, "ListSolNetworkOperations", ListSolNetworkOperations$) {
1509
1326
  }
1510
1327
 
1511
- class ListSolNetworkPackagesCommand extends Command
1512
- .classBuilder()
1513
- .ep(commonParams)
1514
- .m(function (Command, cs, config, o) {
1515
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1516
- })
1517
- .s("TNB", "ListSolNetworkPackages", {})
1518
- .n("TnbClient", "ListSolNetworkPackagesCommand")
1519
- .sc(ListSolNetworkPackages$)
1520
- .build() {
1328
+ class ListSolNetworkPackagesCommand extends command(_ep0, _mw0, "ListSolNetworkPackages", ListSolNetworkPackages$) {
1521
1329
  }
1522
1330
 
1523
- class ListTagsForResourceCommand extends Command
1524
- .classBuilder()
1525
- .ep(commonParams)
1526
- .m(function (Command, cs, config, o) {
1527
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1528
- })
1529
- .s("TNB", "ListTagsForResource", {})
1530
- .n("TnbClient", "ListTagsForResourceCommand")
1531
- .sc(ListTagsForResource$)
1532
- .build() {
1331
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1533
1332
  }
1534
1333
 
1535
- class PutSolFunctionPackageContentCommand extends Command
1536
- .classBuilder()
1537
- .ep(commonParams)
1538
- .m(function (Command, cs, config, o) {
1539
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1540
- })
1541
- .s("TNB", "PutSolFunctionPackageContent", {})
1542
- .n("TnbClient", "PutSolFunctionPackageContentCommand")
1543
- .sc(PutSolFunctionPackageContent$)
1544
- .build() {
1334
+ class PutSolFunctionPackageContentCommand extends command(_ep0, _mw0, "PutSolFunctionPackageContent", PutSolFunctionPackageContent$) {
1545
1335
  }
1546
1336
 
1547
- class PutSolNetworkPackageContentCommand extends Command
1548
- .classBuilder()
1549
- .ep(commonParams)
1550
- .m(function (Command, cs, config, o) {
1551
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1552
- })
1553
- .s("TNB", "PutSolNetworkPackageContent", {})
1554
- .n("TnbClient", "PutSolNetworkPackageContentCommand")
1555
- .sc(PutSolNetworkPackageContent$)
1556
- .build() {
1337
+ class PutSolNetworkPackageContentCommand extends command(_ep0, _mw0, "PutSolNetworkPackageContent", PutSolNetworkPackageContent$) {
1557
1338
  }
1558
1339
 
1559
- class TagResourceCommand extends Command
1560
- .classBuilder()
1561
- .ep(commonParams)
1562
- .m(function (Command, cs, config, o) {
1563
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1564
- })
1565
- .s("TNB", "TagResource", {})
1566
- .n("TnbClient", "TagResourceCommand")
1567
- .sc(TagResource$)
1568
- .build() {
1340
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1569
1341
  }
1570
1342
 
1571
- class TerminateSolNetworkInstanceCommand extends Command
1572
- .classBuilder()
1573
- .ep(commonParams)
1574
- .m(function (Command, cs, config, o) {
1575
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1576
- })
1577
- .s("TNB", "TerminateSolNetworkInstance", {})
1578
- .n("TnbClient", "TerminateSolNetworkInstanceCommand")
1579
- .sc(TerminateSolNetworkInstance$)
1580
- .build() {
1343
+ class TerminateSolNetworkInstanceCommand extends command(_ep0, _mw0, "TerminateSolNetworkInstance", TerminateSolNetworkInstance$) {
1581
1344
  }
1582
1345
 
1583
- class UntagResourceCommand extends Command
1584
- .classBuilder()
1585
- .ep(commonParams)
1586
- .m(function (Command, cs, config, o) {
1587
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1588
- })
1589
- .s("TNB", "UntagResource", {})
1590
- .n("TnbClient", "UntagResourceCommand")
1591
- .sc(UntagResource$)
1592
- .build() {
1346
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1593
1347
  }
1594
1348
 
1595
- class UpdateSolFunctionPackageCommand extends Command
1596
- .classBuilder()
1597
- .ep(commonParams)
1598
- .m(function (Command, cs, config, o) {
1599
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1600
- })
1601
- .s("TNB", "UpdateSolFunctionPackage", {})
1602
- .n("TnbClient", "UpdateSolFunctionPackageCommand")
1603
- .sc(UpdateSolFunctionPackage$)
1604
- .build() {
1349
+ class UpdateSolFunctionPackageCommand extends command(_ep0, _mw0, "UpdateSolFunctionPackage", UpdateSolFunctionPackage$) {
1605
1350
  }
1606
1351
 
1607
- class UpdateSolNetworkInstanceCommand extends Command
1608
- .classBuilder()
1609
- .ep(commonParams)
1610
- .m(function (Command, cs, config, o) {
1611
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1612
- })
1613
- .s("TNB", "UpdateSolNetworkInstance", {})
1614
- .n("TnbClient", "UpdateSolNetworkInstanceCommand")
1615
- .sc(UpdateSolNetworkInstance$)
1616
- .build() {
1352
+ class UpdateSolNetworkInstanceCommand extends command(_ep0, _mw0, "UpdateSolNetworkInstance", UpdateSolNetworkInstance$) {
1617
1353
  }
1618
1354
 
1619
- class UpdateSolNetworkPackageCommand extends Command
1620
- .classBuilder()
1621
- .ep(commonParams)
1622
- .m(function (Command, cs, config, o) {
1623
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1624
- })
1625
- .s("TNB", "UpdateSolNetworkPackage", {})
1626
- .n("TnbClient", "UpdateSolNetworkPackageCommand")
1627
- .sc(UpdateSolNetworkPackage$)
1628
- .build() {
1355
+ class UpdateSolNetworkPackageCommand extends command(_ep0, _mw0, "UpdateSolNetworkPackage", UpdateSolNetworkPackage$) {
1629
1356
  }
1630
1357
 
1631
- class ValidateSolFunctionPackageContentCommand extends Command
1632
- .classBuilder()
1633
- .ep(commonParams)
1634
- .m(function (Command, cs, config, o) {
1635
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1636
- })
1637
- .s("TNB", "ValidateSolFunctionPackageContent", {})
1638
- .n("TnbClient", "ValidateSolFunctionPackageContentCommand")
1639
- .sc(ValidateSolFunctionPackageContent$)
1640
- .build() {
1358
+ class ValidateSolFunctionPackageContentCommand extends command(_ep0, _mw0, "ValidateSolFunctionPackageContent", ValidateSolFunctionPackageContent$) {
1641
1359
  }
1642
1360
 
1643
- class ValidateSolNetworkPackageContentCommand extends Command
1644
- .classBuilder()
1645
- .ep(commonParams)
1646
- .m(function (Command, cs, config, o) {
1647
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1648
- })
1649
- .s("TNB", "ValidateSolNetworkPackageContent", {})
1650
- .n("TnbClient", "ValidateSolNetworkPackageContentCommand")
1651
- .sc(ValidateSolNetworkPackageContent$)
1652
- .build() {
1361
+ class ValidateSolNetworkPackageContentCommand extends command(_ep0, _mw0, "ValidateSolNetworkPackageContent", ValidateSolNetworkPackageContent$) {
1653
1362
  }
1654
1363
 
1655
1364
  const paginateListSolFunctionInstances = createPaginator(TnbClient, ListSolFunctionInstancesCommand, "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, "TNB", "TnbClient", 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 { CancelSolNetworkOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelSolNetworkOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "CancelSolNetworkOperation", {})
13
- .n("TnbClient", "CancelSolNetworkOperationCommand")
14
- .sc(CancelSolNetworkOperation$)
15
- .build() {
3
+ export class CancelSolNetworkOperationCommand extends command(_ep0, _mw0, "CancelSolNetworkOperation", CancelSolNetworkOperation$) {
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 { CreateSolFunctionPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSolFunctionPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "CreateSolFunctionPackage", {})
13
- .n("TnbClient", "CreateSolFunctionPackageCommand")
14
- .sc(CreateSolFunctionPackage$)
15
- .build() {
3
+ export class CreateSolFunctionPackageCommand extends command(_ep0, _mw0, "CreateSolFunctionPackage", CreateSolFunctionPackage$) {
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 { CreateSolNetworkInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSolNetworkInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "CreateSolNetworkInstance", {})
13
- .n("TnbClient", "CreateSolNetworkInstanceCommand")
14
- .sc(CreateSolNetworkInstance$)
15
- .build() {
3
+ export class CreateSolNetworkInstanceCommand extends command(_ep0, _mw0, "CreateSolNetworkInstance", CreateSolNetworkInstance$) {
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 { CreateSolNetworkPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSolNetworkPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "CreateSolNetworkPackage", {})
13
- .n("TnbClient", "CreateSolNetworkPackageCommand")
14
- .sc(CreateSolNetworkPackage$)
15
- .build() {
3
+ export class CreateSolNetworkPackageCommand extends command(_ep0, _mw0, "CreateSolNetworkPackage", CreateSolNetworkPackage$) {
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 { DeleteSolFunctionPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSolFunctionPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "DeleteSolFunctionPackage", {})
13
- .n("TnbClient", "DeleteSolFunctionPackageCommand")
14
- .sc(DeleteSolFunctionPackage$)
15
- .build() {
3
+ export class DeleteSolFunctionPackageCommand extends command(_ep0, _mw0, "DeleteSolFunctionPackage", DeleteSolFunctionPackage$) {
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 { DeleteSolNetworkInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSolNetworkInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "DeleteSolNetworkInstance", {})
13
- .n("TnbClient", "DeleteSolNetworkInstanceCommand")
14
- .sc(DeleteSolNetworkInstance$)
15
- .build() {
3
+ export class DeleteSolNetworkInstanceCommand extends command(_ep0, _mw0, "DeleteSolNetworkInstance", DeleteSolNetworkInstance$) {
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 { DeleteSolNetworkPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSolNetworkPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "DeleteSolNetworkPackage", {})
13
- .n("TnbClient", "DeleteSolNetworkPackageCommand")
14
- .sc(DeleteSolNetworkPackage$)
15
- .build() {
3
+ export class DeleteSolNetworkPackageCommand extends command(_ep0, _mw0, "DeleteSolNetworkPackage", DeleteSolNetworkPackage$) {
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 { GetSolFunctionInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolFunctionInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolFunctionInstance", {})
13
- .n("TnbClient", "GetSolFunctionInstanceCommand")
14
- .sc(GetSolFunctionInstance$)
15
- .build() {
3
+ export class GetSolFunctionInstanceCommand extends command(_ep0, _mw0, "GetSolFunctionInstance", GetSolFunctionInstance$) {
16
4
  }