@aws-sdk/client-managedblockchain 3.33.0 → 3.36.1

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 (322) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/ManagedBlockchain.js +2 -9
  3. package/dist-cjs/ManagedBlockchainClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateMemberCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CreateNetworkCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/CreateNodeCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/commands/CreateProposalCommand.js +2 -28
  8. package/{dist/cjs → dist-cjs}/commands/DeleteMemberCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/DeleteNodeCommand.js +2 -28
  10. package/{dist/cjs → dist-cjs}/commands/GetMemberCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/GetNetworkCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/GetNodeCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/GetProposalCommand.js +2 -28
  14. package/{dist/cjs → dist-cjs}/commands/ListInvitationsCommand.js +2 -28
  15. package/{dist/cjs → dist-cjs}/commands/ListMembersCommand.js +2 -28
  16. package/{dist/cjs → dist-cjs}/commands/ListNetworksCommand.js +2 -28
  17. package/{dist/cjs → dist-cjs}/commands/ListNodesCommand.js +2 -28
  18. package/{dist/cjs → dist-cjs}/commands/ListProposalVotesCommand.js +2 -28
  19. package/{dist/cjs → dist-cjs}/commands/ListProposalsCommand.js +2 -28
  20. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  21. package/{dist/cjs → dist-cjs}/commands/RejectInvitationCommand.js +2 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  23. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/UpdateMemberCommand.js +2 -28
  25. package/{dist/cjs → dist-cjs}/commands/UpdateNodeCommand.js +2 -28
  26. package/{dist/cjs → dist-cjs}/commands/VoteOnProposalCommand.js +2 -28
  27. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  28. package/{dist/cjs → dist-cjs}/index.js +0 -1
  29. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -274
  31. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  32. package/{dist/cjs → dist-cjs}/pagination/ListInvitationsPaginator.js +1 -12
  33. package/{dist/cjs → dist-cjs}/pagination/ListMembersPaginator.js +1 -12
  34. package/{dist/cjs → dist-cjs}/pagination/ListNetworksPaginator.js +1 -12
  35. package/{dist/cjs → dist-cjs}/pagination/ListNodesPaginator.js +1 -12
  36. package/{dist/cjs → dist-cjs}/pagination/ListProposalVotesPaginator.js +1 -12
  37. package/{dist/cjs → dist-cjs}/pagination/ListProposalsPaginator.js +1 -12
  38. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  43. package/{dist/es → dist-es}/ManagedBlockchain.js +3 -10
  44. package/{dist/es → dist-es}/ManagedBlockchainClient.js +2 -14
  45. package/{dist/es → dist-es}/commands/CreateMemberCommand.js +4 -31
  46. package/{dist/es → dist-es}/commands/CreateNetworkCommand.js +4 -31
  47. package/{dist/es → dist-es}/commands/CreateNodeCommand.js +4 -31
  48. package/{dist/es → dist-es}/commands/CreateProposalCommand.js +4 -31
  49. package/{dist/es → dist-es}/commands/DeleteMemberCommand.js +4 -31
  50. package/{dist/es → dist-es}/commands/DeleteNodeCommand.js +4 -31
  51. package/{dist/es → dist-es}/commands/GetMemberCommand.js +4 -31
  52. package/{dist/es → dist-es}/commands/GetNetworkCommand.js +4 -31
  53. package/{dist/es → dist-es}/commands/GetNodeCommand.js +4 -31
  54. package/{dist/es → dist-es}/commands/GetProposalCommand.js +4 -31
  55. package/{dist/es → dist-es}/commands/ListInvitationsCommand.js +4 -31
  56. package/{dist/es → dist-es}/commands/ListMembersCommand.js +4 -31
  57. package/{dist/es → dist-es}/commands/ListNetworksCommand.js +4 -31
  58. package/{dist/es → dist-es}/commands/ListNodesCommand.js +4 -31
  59. package/{dist/es → dist-es}/commands/ListProposalVotesCommand.js +4 -31
  60. package/{dist/es → dist-es}/commands/ListProposalsCommand.js +4 -31
  61. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
  62. package/{dist/es → dist-es}/commands/RejectInvitationCommand.js +4 -31
  63. package/dist-es/commands/TagResourceCommand.js +39 -0
  64. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -31
  65. package/{dist/es → dist-es}/commands/UpdateMemberCommand.js +4 -31
  66. package/{dist/es → dist-es}/commands/UpdateNodeCommand.js +4 -31
  67. package/{dist/es → dist-es}/commands/VoteOnProposalCommand.js +4 -31
  68. package/{dist/es → dist-es}/endpoints.js +1 -2
  69. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  70. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  71. package/{dist/es → dist-es}/models/models_0.js +0 -274
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/{dist/es → dist-es}/pagination/ListInvitationsPaginator.js +17 -30
  74. package/{dist/es → dist-es}/pagination/ListMembersPaginator.js +17 -30
  75. package/{dist/es → dist-es}/pagination/ListNetworksPaginator.js +17 -30
  76. package/{dist/es → dist-es}/pagination/ListNodesPaginator.js +17 -30
  77. package/{dist/es → dist-es}/pagination/ListProposalVotesPaginator.js +17 -30
  78. package/{dist/es → dist-es}/pagination/ListProposalsPaginator.js +17 -30
  79. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +721 -727
  80. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  81. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  82. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  83. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  84. package/{dist/types → dist-types}/ManagedBlockchain.d.ts +3 -3
  85. package/{dist/types → dist-types}/ManagedBlockchainClient.d.ts +9 -9
  86. package/{dist/types → dist-types}/commands/CreateMemberCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/CreateNetworkCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/CreateNodeCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/CreateProposalCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/DeleteMemberCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/DeleteNodeCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/GetMemberCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/GetNetworkCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/GetNodeCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/GetProposalCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/ListInvitationsCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/ListMembersCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/ListNetworksCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/ListNodesCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/ListProposalVotesCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/ListProposalsCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/RejectInvitationCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/UpdateMemberCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/UpdateNodeCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/VoteOnProposalCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  110. package/{index.ts → dist-types/index.d.ts} +0 -0
  111. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  112. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  113. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  114. package/{dist/types → dist-types}/pagination/ListInvitationsPaginator.d.ts +1 -1
  115. package/{dist/types → dist-types}/pagination/ListMembersPaginator.d.ts +1 -1
  116. package/{dist/types → dist-types}/pagination/ListNetworksPaginator.d.ts +1 -1
  117. package/{dist/types → dist-types}/pagination/ListNodesPaginator.d.ts +1 -1
  118. package/{dist/types → dist-types}/pagination/ListProposalVotesPaginator.d.ts +1 -1
  119. package/{dist/types → dist-types}/pagination/ListProposalsPaginator.d.ts +1 -1
  120. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  121. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  122. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  123. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  124. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  125. package/{dist/types → dist-types}/ts3.4/ManagedBlockchain.d.ts +27 -103
  126. package/{dist/types → dist-types}/ts3.4/ManagedBlockchainClient.d.ts +33 -101
  127. package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/CreateNodeCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/CreateProposalCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/GetProposalCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/ListProposalVotesCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/ListProposalsCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/UpdateMemberCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/UpdateNodeCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/VoteOnProposalCommand.d.ts +17 -0
  150. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  151. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  152. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  153. package/dist-types/ts3.4/models/models_0.d.ts +1171 -0
  154. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  155. package/{dist/types → dist-types}/ts3.4/pagination/ListInvitationsPaginator.d.ts +1 -1
  156. package/{dist/types → dist-types}/ts3.4/pagination/ListMembersPaginator.d.ts +1 -1
  157. package/{dist/types → dist-types}/ts3.4/pagination/ListNetworksPaginator.d.ts +1 -1
  158. package/{dist/types → dist-types}/ts3.4/pagination/ListNodesPaginator.d.ts +1 -1
  159. package/{dist/types → dist-types}/ts3.4/pagination/ListProposalVotesPaginator.d.ts +1 -1
  160. package/{dist/types → dist-types}/ts3.4/pagination/ListProposalsPaginator.d.ts +1 -1
  161. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  162. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  163. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  164. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  165. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  166. package/package.json +52 -49
  167. package/ManagedBlockchain.ts +0 -774
  168. package/ManagedBlockchainClient.ts +0 -310
  169. package/commands/CreateMemberCommand.ts +0 -99
  170. package/commands/CreateNetworkCommand.ts +0 -99
  171. package/commands/CreateNodeCommand.ts +0 -99
  172. package/commands/CreateProposalCommand.ts +0 -99
  173. package/commands/DeleteMemberCommand.ts +0 -99
  174. package/commands/DeleteNodeCommand.ts +0 -99
  175. package/commands/GetMemberCommand.ts +0 -99
  176. package/commands/GetNetworkCommand.ts +0 -99
  177. package/commands/GetNodeCommand.ts +0 -99
  178. package/commands/GetProposalCommand.ts +0 -99
  179. package/commands/ListInvitationsCommand.ts +0 -99
  180. package/commands/ListMembersCommand.ts +0 -99
  181. package/commands/ListNetworksCommand.ts +0 -99
  182. package/commands/ListNodesCommand.ts +0 -99
  183. package/commands/ListProposalVotesCommand.ts +0 -99
  184. package/commands/ListProposalsCommand.ts +0 -99
  185. package/commands/ListTagsForResourceCommand.ts +0 -99
  186. package/commands/RejectInvitationCommand.ts +0 -99
  187. package/commands/TagResourceCommand.ts +0 -101
  188. package/commands/UntagResourceCommand.ts +0 -99
  189. package/commands/UpdateMemberCommand.ts +0 -99
  190. package/commands/UpdateNodeCommand.ts +0 -99
  191. package/commands/VoteOnProposalCommand.ts +0 -99
  192. package/dist/cjs/ManagedBlockchain.js.map +0 -1
  193. package/dist/cjs/ManagedBlockchainClient.js +0 -47
  194. package/dist/cjs/ManagedBlockchainClient.js.map +0 -1
  195. package/dist/cjs/commands/CreateMemberCommand.js.map +0 -1
  196. package/dist/cjs/commands/CreateNetworkCommand.js.map +0 -1
  197. package/dist/cjs/commands/CreateNodeCommand.js.map +0 -1
  198. package/dist/cjs/commands/CreateProposalCommand.js.map +0 -1
  199. package/dist/cjs/commands/DeleteMemberCommand.js.map +0 -1
  200. package/dist/cjs/commands/DeleteNodeCommand.js.map +0 -1
  201. package/dist/cjs/commands/GetMemberCommand.js.map +0 -1
  202. package/dist/cjs/commands/GetNetworkCommand.js.map +0 -1
  203. package/dist/cjs/commands/GetNodeCommand.js.map +0 -1
  204. package/dist/cjs/commands/GetProposalCommand.js.map +0 -1
  205. package/dist/cjs/commands/ListInvitationsCommand.js.map +0 -1
  206. package/dist/cjs/commands/ListMembersCommand.js.map +0 -1
  207. package/dist/cjs/commands/ListNetworksCommand.js.map +0 -1
  208. package/dist/cjs/commands/ListNodesCommand.js.map +0 -1
  209. package/dist/cjs/commands/ListProposalVotesCommand.js.map +0 -1
  210. package/dist/cjs/commands/ListProposalsCommand.js.map +0 -1
  211. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  212. package/dist/cjs/commands/RejectInvitationCommand.js.map +0 -1
  213. package/dist/cjs/commands/TagResourceCommand.js +0 -64
  214. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  215. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  216. package/dist/cjs/commands/UpdateMemberCommand.js.map +0 -1
  217. package/dist/cjs/commands/UpdateNodeCommand.js.map +0 -1
  218. package/dist/cjs/commands/VoteOnProposalCommand.js.map +0 -1
  219. package/dist/cjs/endpoints.js.map +0 -1
  220. package/dist/cjs/index.js.map +0 -1
  221. package/dist/cjs/models/index.js.map +0 -1
  222. package/dist/cjs/models/models_0.js.map +0 -1
  223. package/dist/cjs/package.json +0 -93
  224. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  225. package/dist/cjs/pagination/ListInvitationsPaginator.js.map +0 -1
  226. package/dist/cjs/pagination/ListMembersPaginator.js.map +0 -1
  227. package/dist/cjs/pagination/ListNetworksPaginator.js.map +0 -1
  228. package/dist/cjs/pagination/ListNodesPaginator.js.map +0 -1
  229. package/dist/cjs/pagination/ListProposalVotesPaginator.js.map +0 -1
  230. package/dist/cjs/pagination/ListProposalsPaginator.js.map +0 -1
  231. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  232. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  233. package/dist/cjs/runtimeConfig.js.map +0 -1
  234. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  235. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  236. package/dist/es/ManagedBlockchain.js.map +0 -1
  237. package/dist/es/ManagedBlockchainClient.js.map +0 -1
  238. package/dist/es/commands/CreateMemberCommand.js.map +0 -1
  239. package/dist/es/commands/CreateNetworkCommand.js.map +0 -1
  240. package/dist/es/commands/CreateNodeCommand.js.map +0 -1
  241. package/dist/es/commands/CreateProposalCommand.js.map +0 -1
  242. package/dist/es/commands/DeleteMemberCommand.js.map +0 -1
  243. package/dist/es/commands/DeleteNodeCommand.js.map +0 -1
  244. package/dist/es/commands/GetMemberCommand.js.map +0 -1
  245. package/dist/es/commands/GetNetworkCommand.js.map +0 -1
  246. package/dist/es/commands/GetNodeCommand.js.map +0 -1
  247. package/dist/es/commands/GetProposalCommand.js.map +0 -1
  248. package/dist/es/commands/ListInvitationsCommand.js.map +0 -1
  249. package/dist/es/commands/ListMembersCommand.js.map +0 -1
  250. package/dist/es/commands/ListNetworksCommand.js.map +0 -1
  251. package/dist/es/commands/ListNodesCommand.js.map +0 -1
  252. package/dist/es/commands/ListProposalVotesCommand.js.map +0 -1
  253. package/dist/es/commands/ListProposalsCommand.js.map +0 -1
  254. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  255. package/dist/es/commands/RejectInvitationCommand.js.map +0 -1
  256. package/dist/es/commands/TagResourceCommand.js +0 -68
  257. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  258. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  259. package/dist/es/commands/UpdateMemberCommand.js.map +0 -1
  260. package/dist/es/commands/UpdateNodeCommand.js.map +0 -1
  261. package/dist/es/commands/VoteOnProposalCommand.js.map +0 -1
  262. package/dist/es/endpoints.js.map +0 -1
  263. package/dist/es/index.js +0 -34
  264. package/dist/es/index.js.map +0 -1
  265. package/dist/es/models/index.js +0 -2
  266. package/dist/es/models/index.js.map +0 -1
  267. package/dist/es/models/models_0.js.map +0 -1
  268. package/dist/es/package.json +0 -93
  269. package/dist/es/pagination/Interfaces.js +0 -2
  270. package/dist/es/pagination/Interfaces.js.map +0 -1
  271. package/dist/es/pagination/ListInvitationsPaginator.js.map +0 -1
  272. package/dist/es/pagination/ListMembersPaginator.js.map +0 -1
  273. package/dist/es/pagination/ListNetworksPaginator.js.map +0 -1
  274. package/dist/es/pagination/ListNodesPaginator.js.map +0 -1
  275. package/dist/es/pagination/ListProposalVotesPaginator.js.map +0 -1
  276. package/dist/es/pagination/ListProposalsPaginator.js.map +0 -1
  277. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  278. package/dist/es/runtimeConfig.browser.js.map +0 -1
  279. package/dist/es/runtimeConfig.js.map +0 -1
  280. package/dist/es/runtimeConfig.native.js.map +0 -1
  281. package/dist/es/runtimeConfig.shared.js.map +0 -1
  282. package/dist/types/ts3.4/commands/CreateMemberCommand.d.ts +0 -36
  283. package/dist/types/ts3.4/commands/CreateNetworkCommand.d.ts +0 -36
  284. package/dist/types/ts3.4/commands/CreateNodeCommand.d.ts +0 -36
  285. package/dist/types/ts3.4/commands/CreateProposalCommand.d.ts +0 -36
  286. package/dist/types/ts3.4/commands/DeleteMemberCommand.d.ts +0 -36
  287. package/dist/types/ts3.4/commands/DeleteNodeCommand.d.ts +0 -36
  288. package/dist/types/ts3.4/commands/GetMemberCommand.d.ts +0 -36
  289. package/dist/types/ts3.4/commands/GetNetworkCommand.d.ts +0 -36
  290. package/dist/types/ts3.4/commands/GetNodeCommand.d.ts +0 -36
  291. package/dist/types/ts3.4/commands/GetProposalCommand.d.ts +0 -36
  292. package/dist/types/ts3.4/commands/ListInvitationsCommand.d.ts +0 -36
  293. package/dist/types/ts3.4/commands/ListMembersCommand.d.ts +0 -36
  294. package/dist/types/ts3.4/commands/ListNetworksCommand.d.ts +0 -36
  295. package/dist/types/ts3.4/commands/ListNodesCommand.d.ts +0 -36
  296. package/dist/types/ts3.4/commands/ListProposalVotesCommand.d.ts +0 -36
  297. package/dist/types/ts3.4/commands/ListProposalsCommand.d.ts +0 -36
  298. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  299. package/dist/types/ts3.4/commands/RejectInvitationCommand.d.ts +0 -36
  300. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
  301. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
  302. package/dist/types/ts3.4/commands/UpdateMemberCommand.d.ts +0 -36
  303. package/dist/types/ts3.4/commands/UpdateNodeCommand.d.ts +0 -36
  304. package/dist/types/ts3.4/commands/VoteOnProposalCommand.d.ts +0 -36
  305. package/dist/types/ts3.4/models/models_0.d.ts +0 -2255
  306. package/endpoints.ts +0 -57
  307. package/jest.config.js +0 -4
  308. package/models/models_0.ts +0 -2773
  309. package/pagination/Interfaces.ts +0 -7
  310. package/pagination/ListInvitationsPaginator.ts +0 -58
  311. package/pagination/ListMembersPaginator.ts +0 -54
  312. package/pagination/ListNetworksPaginator.ts +0 -58
  313. package/pagination/ListNodesPaginator.ts +0 -54
  314. package/pagination/ListProposalVotesPaginator.ts +0 -58
  315. package/pagination/ListProposalsPaginator.ts +0 -58
  316. package/protocols/Aws_restJson1.ts +0 -4005
  317. package/runtimeConfig.browser.ts +0 -40
  318. package/runtimeConfig.native.ts +0 -16
  319. package/runtimeConfig.shared.ts +0 -16
  320. package/runtimeConfig.ts +0 -45
  321. package/tsconfig.es.json +0 -12
  322. package/tsconfig.json +0 -32
@@ -1,99 +0,0 @@
1
- import {
2
- ManagedBlockchainClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ManagedBlockchainClient";
6
- import { GetProposalInput, GetProposalOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetProposalCommand,
9
- serializeAws_restJson1GetProposalCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface GetProposalCommandInput extends GetProposalInput {}
25
- export interface GetProposalCommandOutput extends GetProposalOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns detailed information about a proposal.</p>
29
- * <p>Applies only to Hyperledger Fabric.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ManagedBlockchainClient, GetProposalCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
34
- * // const { ManagedBlockchainClient, GetProposalCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
35
- * const client = new ManagedBlockchainClient(config);
36
- * const command = new GetProposalCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link GetProposalCommandInput} for command's `input` shape.
41
- * @see {@link GetProposalCommandOutput} for command's `response` shape.
42
- * @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class GetProposalCommand extends $Command<
46
- GetProposalCommandInput,
47
- GetProposalCommandOutput,
48
- ManagedBlockchainClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: GetProposalCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ManagedBlockchainClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<GetProposalCommandInput, GetProposalCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ManagedBlockchainClient";
73
- const commandName = "GetProposalCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: GetProposalInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: GetProposalOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: GetProposalCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1GetProposalCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetProposalCommandOutput> {
94
- return deserializeAws_restJson1GetProposalCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import {
2
- ManagedBlockchainClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ManagedBlockchainClient";
6
- import { ListInvitationsInput, ListInvitationsOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1ListInvitationsCommand,
9
- serializeAws_restJson1ListInvitationsCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListInvitationsCommandInput extends ListInvitationsInput {}
25
- export interface ListInvitationsCommandOutput extends ListInvitationsOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns a list of all invitations for the current AWS account.</p>
29
- * <p>Applies only to Hyperledger Fabric.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ManagedBlockchainClient, ListInvitationsCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
34
- * // const { ManagedBlockchainClient, ListInvitationsCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
35
- * const client = new ManagedBlockchainClient(config);
36
- * const command = new ListInvitationsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListInvitationsCommandInput} for command's `input` shape.
41
- * @see {@link ListInvitationsCommandOutput} for command's `response` shape.
42
- * @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListInvitationsCommand extends $Command<
46
- ListInvitationsCommandInput,
47
- ListInvitationsCommandOutput,
48
- ManagedBlockchainClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListInvitationsCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ManagedBlockchainClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListInvitationsCommandInput, ListInvitationsCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ManagedBlockchainClient";
73
- const commandName = "ListInvitationsCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListInvitationsInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListInvitationsOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListInvitationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListInvitationsCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListInvitationsCommandOutput> {
94
- return deserializeAws_restJson1ListInvitationsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import {
2
- ManagedBlockchainClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ManagedBlockchainClient";
6
- import { ListMembersInput, ListMembersOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1ListMembersCommand,
9
- serializeAws_restJson1ListMembersCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListMembersCommandInput extends ListMembersInput {}
25
- export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns a list of the members in a network and properties of their configurations.</p>
29
- * <p>Applies only to Hyperledger Fabric.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ManagedBlockchainClient, ListMembersCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
34
- * // const { ManagedBlockchainClient, ListMembersCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
35
- * const client = new ManagedBlockchainClient(config);
36
- * const command = new ListMembersCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListMembersCommandInput} for command's `input` shape.
41
- * @see {@link ListMembersCommandOutput} for command's `response` shape.
42
- * @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListMembersCommand extends $Command<
46
- ListMembersCommandInput,
47
- ListMembersCommandOutput,
48
- ManagedBlockchainClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListMembersCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ManagedBlockchainClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListMembersCommandInput, ListMembersCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ManagedBlockchainClient";
73
- const commandName = "ListMembersCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListMembersInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListMembersOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListMembersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListMembersCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListMembersCommandOutput> {
94
- return deserializeAws_restJson1ListMembersCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import {
2
- ManagedBlockchainClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ManagedBlockchainClient";
6
- import { ListNetworksInput, ListNetworksOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1ListNetworksCommand,
9
- serializeAws_restJson1ListNetworksCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListNetworksCommandInput extends ListNetworksInput {}
25
- export interface ListNetworksCommandOutput extends ListNetworksOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns information about the networks in which the current AWS account participates.</p>
29
- * <p>Applies to Hyperledger Fabric and Ethereum.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ManagedBlockchainClient, ListNetworksCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
34
- * // const { ManagedBlockchainClient, ListNetworksCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
35
- * const client = new ManagedBlockchainClient(config);
36
- * const command = new ListNetworksCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListNetworksCommandInput} for command's `input` shape.
41
- * @see {@link ListNetworksCommandOutput} for command's `response` shape.
42
- * @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListNetworksCommand extends $Command<
46
- ListNetworksCommandInput,
47
- ListNetworksCommandOutput,
48
- ManagedBlockchainClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListNetworksCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ManagedBlockchainClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListNetworksCommandInput, ListNetworksCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ManagedBlockchainClient";
73
- const commandName = "ListNetworksCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListNetworksInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListNetworksOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListNetworksCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListNetworksCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListNetworksCommandOutput> {
94
- return deserializeAws_restJson1ListNetworksCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import {
2
- ManagedBlockchainClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ManagedBlockchainClient";
6
- import { ListNodesInput, ListNodesOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1ListNodesCommand,
9
- serializeAws_restJson1ListNodesCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListNodesCommandInput extends ListNodesInput {}
25
- export interface ListNodesCommandOutput extends ListNodesOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns information about the nodes within a network.</p>
29
- * <p>Applies to Hyperledger Fabric and Ethereum.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ManagedBlockchainClient, ListNodesCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
34
- * // const { ManagedBlockchainClient, ListNodesCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
35
- * const client = new ManagedBlockchainClient(config);
36
- * const command = new ListNodesCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListNodesCommandInput} for command's `input` shape.
41
- * @see {@link ListNodesCommandOutput} for command's `response` shape.
42
- * @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListNodesCommand extends $Command<
46
- ListNodesCommandInput,
47
- ListNodesCommandOutput,
48
- ManagedBlockchainClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListNodesCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ManagedBlockchainClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListNodesCommandInput, ListNodesCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ManagedBlockchainClient";
73
- const commandName = "ListNodesCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListNodesInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListNodesOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListNodesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListNodesCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListNodesCommandOutput> {
94
- return deserializeAws_restJson1ListNodesCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import {
2
- ManagedBlockchainClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ManagedBlockchainClient";
6
- import { ListProposalVotesInput, ListProposalVotesOutput } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1ListProposalVotesCommand,
9
- serializeAws_restJson1ListProposalVotesCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListProposalVotesCommandInput extends ListProposalVotesInput {}
25
- export interface ListProposalVotesCommandOutput extends ListProposalVotesOutput, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.</p>
29
- * <p>Applies only to Hyperledger Fabric.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ManagedBlockchainClient, ListProposalVotesCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
34
- * // const { ManagedBlockchainClient, ListProposalVotesCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
35
- * const client = new ManagedBlockchainClient(config);
36
- * const command = new ListProposalVotesCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListProposalVotesCommandInput} for command's `input` shape.
41
- * @see {@link ListProposalVotesCommandOutput} for command's `response` shape.
42
- * @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class ListProposalVotesCommand extends $Command<
46
- ListProposalVotesCommandInput,
47
- ListProposalVotesCommandOutput,
48
- ManagedBlockchainClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: ListProposalVotesCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ManagedBlockchainClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<ListProposalVotesCommandInput, ListProposalVotesCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ManagedBlockchainClient";
73
- const commandName = "ListProposalVotesCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: ListProposalVotesInput.filterSensitiveLog,
79
- outputFilterSensitiveLog: ListProposalVotesOutput.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: ListProposalVotesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1ListProposalVotesCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProposalVotesCommandOutput> {
94
- return deserializeAws_restJson1ListProposalVotesCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }