@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
@@ -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 { GetSolFunctionPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolFunctionPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolFunctionPackage", {})
13
- .n("TnbClient", "GetSolFunctionPackageCommand")
14
- .sc(GetSolFunctionPackage$)
15
- .build() {
3
+ export class GetSolFunctionPackageCommand extends command(_ep0, _mw0, "GetSolFunctionPackage", GetSolFunctionPackage$) {
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 { GetSolFunctionPackageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolFunctionPackageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolFunctionPackageContent", {})
13
- .n("TnbClient", "GetSolFunctionPackageContentCommand")
14
- .sc(GetSolFunctionPackageContent$)
15
- .build() {
3
+ export class GetSolFunctionPackageContentCommand extends command(_ep0, _mw0, "GetSolFunctionPackageContent", GetSolFunctionPackageContent$) {
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 { GetSolFunctionPackageDescriptor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolFunctionPackageDescriptorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolFunctionPackageDescriptor", {})
13
- .n("TnbClient", "GetSolFunctionPackageDescriptorCommand")
14
- .sc(GetSolFunctionPackageDescriptor$)
15
- .build() {
3
+ export class GetSolFunctionPackageDescriptorCommand extends command(_ep0, _mw0, "GetSolFunctionPackageDescriptor", GetSolFunctionPackageDescriptor$) {
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 { GetSolNetworkInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolNetworkInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolNetworkInstance", {})
13
- .n("TnbClient", "GetSolNetworkInstanceCommand")
14
- .sc(GetSolNetworkInstance$)
15
- .build() {
3
+ export class GetSolNetworkInstanceCommand extends command(_ep0, _mw0, "GetSolNetworkInstance", GetSolNetworkInstance$) {
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 { GetSolNetworkOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolNetworkOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolNetworkOperation", {})
13
- .n("TnbClient", "GetSolNetworkOperationCommand")
14
- .sc(GetSolNetworkOperation$)
15
- .build() {
3
+ export class GetSolNetworkOperationCommand extends command(_ep0, _mw0, "GetSolNetworkOperation", GetSolNetworkOperation$) {
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 { GetSolNetworkPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolNetworkPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolNetworkPackage", {})
13
- .n("TnbClient", "GetSolNetworkPackageCommand")
14
- .sc(GetSolNetworkPackage$)
15
- .build() {
3
+ export class GetSolNetworkPackageCommand extends command(_ep0, _mw0, "GetSolNetworkPackage", GetSolNetworkPackage$) {
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 { GetSolNetworkPackageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolNetworkPackageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolNetworkPackageContent", {})
13
- .n("TnbClient", "GetSolNetworkPackageContentCommand")
14
- .sc(GetSolNetworkPackageContent$)
15
- .build() {
3
+ export class GetSolNetworkPackageContentCommand extends command(_ep0, _mw0, "GetSolNetworkPackageContent", GetSolNetworkPackageContent$) {
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 { GetSolNetworkPackageDescriptor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSolNetworkPackageDescriptorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "GetSolNetworkPackageDescriptor", {})
13
- .n("TnbClient", "GetSolNetworkPackageDescriptorCommand")
14
- .sc(GetSolNetworkPackageDescriptor$)
15
- .build() {
3
+ export class GetSolNetworkPackageDescriptorCommand extends command(_ep0, _mw0, "GetSolNetworkPackageDescriptor", GetSolNetworkPackageDescriptor$) {
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 { InstantiateSolNetworkInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InstantiateSolNetworkInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "InstantiateSolNetworkInstance", {})
13
- .n("TnbClient", "InstantiateSolNetworkInstanceCommand")
14
- .sc(InstantiateSolNetworkInstance$)
15
- .build() {
3
+ export class InstantiateSolNetworkInstanceCommand extends command(_ep0, _mw0, "InstantiateSolNetworkInstance", InstantiateSolNetworkInstance$) {
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 { ListSolFunctionInstances$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSolFunctionInstancesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ListSolFunctionInstances", {})
13
- .n("TnbClient", "ListSolFunctionInstancesCommand")
14
- .sc(ListSolFunctionInstances$)
15
- .build() {
3
+ export class ListSolFunctionInstancesCommand extends command(_ep0, _mw0, "ListSolFunctionInstances", ListSolFunctionInstances$) {
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 { ListSolFunctionPackages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSolFunctionPackagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ListSolFunctionPackages", {})
13
- .n("TnbClient", "ListSolFunctionPackagesCommand")
14
- .sc(ListSolFunctionPackages$)
15
- .build() {
3
+ export class ListSolFunctionPackagesCommand extends command(_ep0, _mw0, "ListSolFunctionPackages", ListSolFunctionPackages$) {
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 { ListSolNetworkInstances$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSolNetworkInstancesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ListSolNetworkInstances", {})
13
- .n("TnbClient", "ListSolNetworkInstancesCommand")
14
- .sc(ListSolNetworkInstances$)
15
- .build() {
3
+ export class ListSolNetworkInstancesCommand extends command(_ep0, _mw0, "ListSolNetworkInstances", ListSolNetworkInstances$) {
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 { ListSolNetworkOperations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSolNetworkOperationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ListSolNetworkOperations", {})
13
- .n("TnbClient", "ListSolNetworkOperationsCommand")
14
- .sc(ListSolNetworkOperations$)
15
- .build() {
3
+ export class ListSolNetworkOperationsCommand extends command(_ep0, _mw0, "ListSolNetworkOperations", ListSolNetworkOperations$) {
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 { ListSolNetworkPackages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSolNetworkPackagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ListSolNetworkPackages", {})
13
- .n("TnbClient", "ListSolNetworkPackagesCommand")
14
- .sc(ListSolNetworkPackages$)
15
- .build() {
3
+ export class ListSolNetworkPackagesCommand extends command(_ep0, _mw0, "ListSolNetworkPackages", ListSolNetworkPackages$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ListTagsForResource", {})
13
- .n("TnbClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { PutSolFunctionPackageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutSolFunctionPackageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "PutSolFunctionPackageContent", {})
13
- .n("TnbClient", "PutSolFunctionPackageContentCommand")
14
- .sc(PutSolFunctionPackageContent$)
15
- .build() {
3
+ export class PutSolFunctionPackageContentCommand extends command(_ep0, _mw0, "PutSolFunctionPackageContent", PutSolFunctionPackageContent$) {
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 { PutSolNetworkPackageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutSolNetworkPackageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "PutSolNetworkPackageContent", {})
13
- .n("TnbClient", "PutSolNetworkPackageContentCommand")
14
- .sc(PutSolNetworkPackageContent$)
15
- .build() {
3
+ export class PutSolNetworkPackageContentCommand extends command(_ep0, _mw0, "PutSolNetworkPackageContent", PutSolNetworkPackageContent$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "TagResource", {})
13
- .n("TnbClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { TerminateSolNetworkInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TerminateSolNetworkInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "TerminateSolNetworkInstance", {})
13
- .n("TnbClient", "TerminateSolNetworkInstanceCommand")
14
- .sc(TerminateSolNetworkInstance$)
15
- .build() {
3
+ export class TerminateSolNetworkInstanceCommand extends command(_ep0, _mw0, "TerminateSolNetworkInstance", TerminateSolNetworkInstance$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "UntagResource", {})
13
- .n("TnbClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateSolFunctionPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSolFunctionPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "UpdateSolFunctionPackage", {})
13
- .n("TnbClient", "UpdateSolFunctionPackageCommand")
14
- .sc(UpdateSolFunctionPackage$)
15
- .build() {
3
+ export class UpdateSolFunctionPackageCommand extends command(_ep0, _mw0, "UpdateSolFunctionPackage", UpdateSolFunctionPackage$) {
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 { UpdateSolNetworkInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSolNetworkInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "UpdateSolNetworkInstance", {})
13
- .n("TnbClient", "UpdateSolNetworkInstanceCommand")
14
- .sc(UpdateSolNetworkInstance$)
15
- .build() {
3
+ export class UpdateSolNetworkInstanceCommand extends command(_ep0, _mw0, "UpdateSolNetworkInstance", UpdateSolNetworkInstance$) {
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 { UpdateSolNetworkPackage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSolNetworkPackageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "UpdateSolNetworkPackage", {})
13
- .n("TnbClient", "UpdateSolNetworkPackageCommand")
14
- .sc(UpdateSolNetworkPackage$)
15
- .build() {
3
+ export class UpdateSolNetworkPackageCommand extends command(_ep0, _mw0, "UpdateSolNetworkPackage", UpdateSolNetworkPackage$) {
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 { ValidateSolFunctionPackageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ValidateSolFunctionPackageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ValidateSolFunctionPackageContent", {})
13
- .n("TnbClient", "ValidateSolFunctionPackageContentCommand")
14
- .sc(ValidateSolFunctionPackageContent$)
15
- .build() {
3
+ export class ValidateSolFunctionPackageContentCommand extends command(_ep0, _mw0, "ValidateSolFunctionPackageContent", ValidateSolFunctionPackageContent$) {
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 { ValidateSolNetworkPackageContent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ValidateSolNetworkPackageContentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("TNB", "ValidateSolNetworkPackageContent", {})
13
- .n("TnbClient", "ValidateSolNetworkPackageContentCommand")
14
- .sc(ValidateSolNetworkPackageContent$)
15
- .build() {
3
+ export class ValidateSolNetworkPackageContentCommand extends command(_ep0, _mw0, "ValidateSolNetworkPackageContent", ValidateSolNetworkPackageContent$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TnbClient";
2
2
  export * from "./Tnb";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "TNB",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "tnb",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "./TnbClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, TnbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TnbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CancelSolNetworkOperationInput } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CancelSolNetworkOperationCommandInput extends CancelSolNetworkO
22
19
  export interface CancelSolNetworkOperationCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const CancelSolNetworkOperationCommand_base: {
25
- new (input: CancelSolNetworkOperationCommandInput): import("@smithy/core/client").CommandImpl<CancelSolNetworkOperationCommandInput, CancelSolNetworkOperationCommandOutput, TnbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelSolNetworkOperationCommandInput): import("@smithy/core/client").CommandImpl<CancelSolNetworkOperationCommandInput, CancelSolNetworkOperationCommandOutput, TnbClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelSolNetworkOperationCommandInput): import("@smithy/core/client").CommandImpl<CancelSolNetworkOperationCommandInput, CancelSolNetworkOperationCommandOutput, import("..").TnbClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelSolNetworkOperationCommandInput): import("@smithy/core/client").CommandImpl<CancelSolNetworkOperationCommandInput, CancelSolNetworkOperationCommandOutput, import("..").TnbClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancels a network operation.</p>