@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,2255 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p>You do not have sufficient access to perform this action.</p>
4
- */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- Message?: string;
9
- }
10
- export declare namespace AccessDeniedException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
- }
16
- export declare enum ThresholdComparator {
17
- GREATER_THAN = "GREATER_THAN",
18
- GREATER_THAN_OR_EQUAL_TO = "GREATER_THAN_OR_EQUAL_TO"
19
- }
20
- /**
21
- * <p>A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of <code>YES</code> votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.</p>
22
- * <p>Applies only to Hyperledger Fabric.</p>
23
- */
24
- export interface ApprovalThresholdPolicy {
25
- /**
26
- * <p>The percentage of votes among all members that must be <code>YES</code> for a proposal to be approved. For example, a <code>ThresholdPercentage</code> value of <code>50</code> indicates 50%. The <code>ThresholdComparator</code> determines the precise comparison. If a <code>ThresholdPercentage</code> value of <code>50</code> is specified on a network with 10 members, along with a <code>ThresholdComparator</code> value of <code>GREATER_THAN</code>, this indicates that 6 <code>YES</code> votes are required for the proposal to be approved.</p>
27
- */
28
- ThresholdPercentage?: number;
29
- /**
30
- * <p>The duration from the time that a proposal is created until it expires. If members cast neither the required number of <code>YES</code> votes to approve the proposal nor the number of <code>NO</code> votes required to reject it before the duration expires, the proposal is <code>EXPIRED</code> and <code>ProposalActions</code> are not carried out.</p>
31
- */
32
- ProposalDurationInHours?: number;
33
- /**
34
- * <p>Determines whether the vote percentage must be greater than the <code>ThresholdPercentage</code> or must be greater than or equal to the <code>ThreholdPercentage</code> to be approved.</p>
35
- */
36
- ThresholdComparator?: ThresholdComparator | string;
37
- }
38
- export declare namespace ApprovalThresholdPolicy {
39
- /**
40
- * @internal
41
- */
42
- const filterSensitiveLog: (obj: ApprovalThresholdPolicy) => any;
43
- }
44
- /**
45
- * <p>Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
46
- */
47
- export interface MemberFabricConfiguration {
48
- /**
49
- * <p>The user name for the member's initial administrative user.</p>
50
- */
51
- AdminUsername: string | undefined;
52
- /**
53
- * <p>The password for the member's initial administrative user. The <code>AdminPassword</code> must be at least eight characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.</p>
54
- */
55
- AdminPassword: string | undefined;
56
- }
57
- export declare namespace MemberFabricConfiguration {
58
- /**
59
- * @internal
60
- */
61
- const filterSensitiveLog: (obj: MemberFabricConfiguration) => any;
62
- }
63
- /**
64
- * <p>Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
65
- */
66
- export interface MemberFrameworkConfiguration {
67
- /**
68
- * <p>Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
69
- */
70
- Fabric?: MemberFabricConfiguration;
71
- }
72
- export declare namespace MemberFrameworkConfiguration {
73
- /**
74
- * @internal
75
- */
76
- const filterSensitiveLog: (obj: MemberFrameworkConfiguration) => any;
77
- }
78
- /**
79
- * <p>A configuration for logging events.</p>
80
- */
81
- export interface LogConfiguration {
82
- /**
83
- * <p>Indicates whether logging is enabled.</p>
84
- */
85
- Enabled?: boolean;
86
- }
87
- export declare namespace LogConfiguration {
88
- /**
89
- * @internal
90
- */
91
- const filterSensitiveLog: (obj: LogConfiguration) => any;
92
- }
93
- /**
94
- * <p>A collection of log configurations.</p>
95
- */
96
- export interface LogConfigurations {
97
- /**
98
- * <p>Parameters for publishing logs to Amazon CloudWatch Logs.</p>
99
- */
100
- Cloudwatch?: LogConfiguration;
101
- }
102
- export declare namespace LogConfigurations {
103
- /**
104
- * @internal
105
- */
106
- const filterSensitiveLog: (obj: LogConfigurations) => any;
107
- }
108
- /**
109
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
110
- */
111
- export interface MemberFabricLogPublishingConfiguration {
112
- /**
113
- * <p>Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.</p>
114
- */
115
- CaLogs?: LogConfigurations;
116
- }
117
- export declare namespace MemberFabricLogPublishingConfiguration {
118
- /**
119
- * @internal
120
- */
121
- const filterSensitiveLog: (obj: MemberFabricLogPublishingConfiguration) => any;
122
- }
123
- /**
124
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
125
- */
126
- export interface MemberLogPublishingConfiguration {
127
- /**
128
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
129
- */
130
- Fabric?: MemberFabricLogPublishingConfiguration;
131
- }
132
- export declare namespace MemberLogPublishingConfiguration {
133
- /**
134
- * @internal
135
- */
136
- const filterSensitiveLog: (obj: MemberLogPublishingConfiguration) => any;
137
- }
138
- /**
139
- * <p>Configuration properties of the member.</p>
140
- * <p>Applies only to Hyperledger Fabric.</p>
141
- */
142
- export interface MemberConfiguration {
143
- /**
144
- * <p>The name of the member.</p>
145
- */
146
- Name: string | undefined;
147
- /**
148
- * <p>An optional description of the member.</p>
149
- */
150
- Description?: string;
151
- /**
152
- * <p>Configuration properties of the blockchain framework relevant to the member.</p>
153
- */
154
- FrameworkConfiguration: MemberFrameworkConfiguration | undefined;
155
- /**
156
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
157
- */
158
- LogPublishingConfiguration?: MemberLogPublishingConfiguration;
159
- /**
160
- * <p>Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
161
- * <p>When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.</p>
162
- */
163
- Tags?: {
164
- [key: string]: string;
165
- };
166
- /**
167
- * <p>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.</p>
168
- * <p>Use one of the following options to specify this parameter:</p>
169
- * <ul>
170
- * <li>
171
- * <p>
172
- * <b>Undefined or empty string</b> - The member uses an AWS owned KMS key for encryption by default.</p>
173
- * </li>
174
- * <li>
175
- * <p>
176
- * <b>A valid symmetric customer managed KMS key</b> - The member uses the specified key for encryption.</p>
177
- * <p>Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and asymmetric keys</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
178
- * <p>The following is an example of a KMS key ARN: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
179
- * </p>
180
- * </li>
181
- * </ul>
182
- */
183
- KmsKeyArn?: string;
184
- }
185
- export declare namespace MemberConfiguration {
186
- /**
187
- * @internal
188
- */
189
- const filterSensitiveLog: (obj: MemberConfiguration) => any;
190
- }
191
- export interface CreateMemberInput {
192
- /**
193
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.</p>
194
- */
195
- ClientRequestToken?: string;
196
- /**
197
- * <p>The unique identifier of the invitation that is sent to the member to join the network.</p>
198
- */
199
- InvitationId: string | undefined;
200
- /**
201
- * <p>The unique identifier of the network in which the member is created.</p>
202
- */
203
- NetworkId: string | undefined;
204
- /**
205
- * <p>Member configuration parameters.</p>
206
- */
207
- MemberConfiguration: MemberConfiguration | undefined;
208
- }
209
- export declare namespace CreateMemberInput {
210
- /**
211
- * @internal
212
- */
213
- const filterSensitiveLog: (obj: CreateMemberInput) => any;
214
- }
215
- export interface CreateMemberOutput {
216
- /**
217
- * <p>The unique identifier of the member.</p>
218
- */
219
- MemberId?: string;
220
- }
221
- export declare namespace CreateMemberOutput {
222
- /**
223
- * @internal
224
- */
225
- const filterSensitiveLog: (obj: CreateMemberOutput) => any;
226
- }
227
- /**
228
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
229
- */
230
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
231
- name: "InternalServiceErrorException";
232
- $fault: "server";
233
- }
234
- export declare namespace InternalServiceErrorException {
235
- /**
236
- * @internal
237
- */
238
- const filterSensitiveLog: (obj: InternalServiceErrorException) => any;
239
- }
240
- /**
241
- * <p>The action or operation requested is invalid. Verify that the action is typed correctly.</p>
242
- */
243
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
244
- name: "InvalidRequestException";
245
- $fault: "client";
246
- Message?: string;
247
- }
248
- export declare namespace InvalidRequestException {
249
- /**
250
- * @internal
251
- */
252
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
253
- }
254
- /**
255
- * <p>A resource request is issued for a resource that already exists.</p>
256
- */
257
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
258
- name: "ResourceAlreadyExistsException";
259
- $fault: "client";
260
- Message?: string;
261
- }
262
- export declare namespace ResourceAlreadyExistsException {
263
- /**
264
- * @internal
265
- */
266
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
267
- }
268
- /**
269
- * <p>The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.</p>
270
- */
271
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
272
- name: "ResourceLimitExceededException";
273
- $fault: "client";
274
- Message?: string;
275
- }
276
- export declare namespace ResourceLimitExceededException {
277
- /**
278
- * @internal
279
- */
280
- const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
281
- }
282
- /**
283
- * <p>A requested resource does not exist. It may have been deleted or referenced inaccurately.</p>
284
- */
285
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
286
- name: "ResourceNotFoundException";
287
- $fault: "client";
288
- Message?: string;
289
- /**
290
- * <p>A requested resource does not exist. It may have been deleted or referenced inaccurately.</p>
291
- */
292
- ResourceName?: string;
293
- }
294
- export declare namespace ResourceNotFoundException {
295
- /**
296
- * @internal
297
- */
298
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
299
- }
300
- /**
301
- * <p>The requested resource exists but is not in a status that can complete the operation.</p>
302
- */
303
- export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
304
- name: "ResourceNotReadyException";
305
- $fault: "client";
306
- Message?: string;
307
- }
308
- export declare namespace ResourceNotReadyException {
309
- /**
310
- * @internal
311
- */
312
- const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
313
- }
314
- /**
315
- * <p>The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.</p>
316
- */
317
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
318
- name: "ThrottlingException";
319
- $fault: "client";
320
- }
321
- export declare namespace ThrottlingException {
322
- /**
323
- * @internal
324
- */
325
- const filterSensitiveLog: (obj: ThrottlingException) => any;
326
- }
327
- /**
328
- * <p></p>
329
- */
330
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
331
- name: "TooManyTagsException";
332
- $fault: "client";
333
- Message?: string;
334
- /**
335
- * <p></p>
336
- */
337
- ResourceName?: string;
338
- }
339
- export declare namespace TooManyTagsException {
340
- /**
341
- * @internal
342
- */
343
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
344
- }
345
- export declare enum Framework {
346
- ETHEREUM = "ETHEREUM",
347
- HYPERLEDGER_FABRIC = "HYPERLEDGER_FABRIC"
348
- }
349
- export declare enum Edition {
350
- STANDARD = "STANDARD",
351
- STARTER = "STARTER"
352
- }
353
- /**
354
- * <p>Hyperledger Fabric configuration properties for the network.</p>
355
- */
356
- export interface NetworkFabricConfiguration {
357
- /**
358
- * <p>The edition of Amazon Managed Blockchain that the network uses. For more information, see <a href="http://aws.amazon.com/managed-blockchain/pricing/">Amazon Managed Blockchain Pricing</a>.</p>
359
- */
360
- Edition: Edition | string | undefined;
361
- }
362
- export declare namespace NetworkFabricConfiguration {
363
- /**
364
- * @internal
365
- */
366
- const filterSensitiveLog: (obj: NetworkFabricConfiguration) => any;
367
- }
368
- /**
369
- * <p>
370
- * Configuration properties relevant to the network for the blockchain framework that the network uses.
371
- * </p>
372
- */
373
- export interface NetworkFrameworkConfiguration {
374
- /**
375
- * <p>
376
- * Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.
377
- * </p>
378
- */
379
- Fabric?: NetworkFabricConfiguration;
380
- }
381
- export declare namespace NetworkFrameworkConfiguration {
382
- /**
383
- * @internal
384
- */
385
- const filterSensitiveLog: (obj: NetworkFrameworkConfiguration) => any;
386
- }
387
- /**
388
- * <p>
389
- * The voting rules for the network to decide if a proposal is accepted
390
- * </p>
391
- * <p>Applies only to Hyperledger Fabric.</p>
392
- */
393
- export interface VotingPolicy {
394
- /**
395
- * <p>Defines the rules for the network for voting on proposals, such as the percentage of <code>YES</code> votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.</p>
396
- */
397
- ApprovalThresholdPolicy?: ApprovalThresholdPolicy;
398
- }
399
- export declare namespace VotingPolicy {
400
- /**
401
- * @internal
402
- */
403
- const filterSensitiveLog: (obj: VotingPolicy) => any;
404
- }
405
- export interface CreateNetworkInput {
406
- /**
407
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.</p>
408
- */
409
- ClientRequestToken?: string;
410
- /**
411
- * <p>The name of the network.</p>
412
- */
413
- Name: string | undefined;
414
- /**
415
- * <p>An optional description for the network.</p>
416
- */
417
- Description?: string;
418
- /**
419
- * <p>The blockchain framework that the network uses.</p>
420
- */
421
- Framework: Framework | string | undefined;
422
- /**
423
- * <p>The version of the blockchain framework that the network uses.</p>
424
- */
425
- FrameworkVersion: string | undefined;
426
- /**
427
- * <p>
428
- * Configuration properties of the blockchain framework relevant to the network configuration.
429
- * </p>
430
- */
431
- FrameworkConfiguration?: NetworkFrameworkConfiguration;
432
- /**
433
- * <p>
434
- * The voting rules used by the network to determine if a proposal is approved.
435
- * </p>
436
- */
437
- VotingPolicy: VotingPolicy | undefined;
438
- /**
439
- * <p>Configuration properties for the first member within the network.</p>
440
- */
441
- MemberConfiguration: MemberConfiguration | undefined;
442
- /**
443
- * <p>Tags to assign to the network. Each tag consists of a key and optional value.</p>
444
- * <p>When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.</p>
445
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
446
- */
447
- Tags?: {
448
- [key: string]: string;
449
- };
450
- }
451
- export declare namespace CreateNetworkInput {
452
- /**
453
- * @internal
454
- */
455
- const filterSensitiveLog: (obj: CreateNetworkInput) => any;
456
- }
457
- export interface CreateNetworkOutput {
458
- /**
459
- * <p>The unique identifier for the network.</p>
460
- */
461
- NetworkId?: string;
462
- /**
463
- * <p>The unique identifier for the first member within the network.</p>
464
- */
465
- MemberId?: string;
466
- }
467
- export declare namespace CreateNetworkOutput {
468
- /**
469
- * @internal
470
- */
471
- const filterSensitiveLog: (obj: CreateNetworkOutput) => any;
472
- }
473
- /**
474
- * <p>Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.</p>
475
- */
476
- export interface NodeFabricLogPublishingConfiguration {
477
- /**
478
- * <p>Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.</p>
479
- */
480
- ChaincodeLogs?: LogConfigurations;
481
- /**
482
- * <p>Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node. </p>
483
- */
484
- PeerLogs?: LogConfigurations;
485
- }
486
- export declare namespace NodeFabricLogPublishingConfiguration {
487
- /**
488
- * @internal
489
- */
490
- const filterSensitiveLog: (obj: NodeFabricLogPublishingConfiguration) => any;
491
- }
492
- /**
493
- * <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
494
- */
495
- export interface NodeLogPublishingConfiguration {
496
- /**
497
- * <p>Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
498
- */
499
- Fabric?: NodeFabricLogPublishingConfiguration;
500
- }
501
- export declare namespace NodeLogPublishingConfiguration {
502
- /**
503
- * @internal
504
- */
505
- const filterSensitiveLog: (obj: NodeLogPublishingConfiguration) => any;
506
- }
507
- export declare enum StateDBType {
508
- CouchDB = "CouchDB",
509
- LevelDB = "LevelDB"
510
- }
511
- /**
512
- * <p>Configuration properties of a node.</p>
513
- */
514
- export interface NodeConfiguration {
515
- /**
516
- * <p>The Amazon Managed Blockchain instance type for the node.</p>
517
- */
518
- InstanceType: string | undefined;
519
- /**
520
- * <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
521
- */
522
- AvailabilityZone?: string;
523
- /**
524
- * <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
525
- * </p>
526
- */
527
- LogPublishingConfiguration?: NodeLogPublishingConfiguration;
528
- /**
529
- * <p>The state database that the node uses. Values are <code>LevelDB</code> or <code>CouchDB</code>. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is <code>CouchDB</code>.</p>
530
- * <p>Applies only to Hyperledger Fabric.</p>
531
- */
532
- StateDB?: StateDBType | string;
533
- }
534
- export declare namespace NodeConfiguration {
535
- /**
536
- * @internal
537
- */
538
- const filterSensitiveLog: (obj: NodeConfiguration) => any;
539
- }
540
- export interface CreateNodeInput {
541
- /**
542
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.</p>
543
- */
544
- ClientRequestToken?: string;
545
- /**
546
- * <p>The unique identifier of the network for the node.</p>
547
- * <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
548
- * <ul>
549
- * <li>
550
- * <p>
551
- * <code>n-ethereum-mainnet</code>
552
- * </p>
553
- * </li>
554
- * <li>
555
- * <p>
556
- * <code>n-ethereum-rinkeby</code>
557
- * </p>
558
- * </li>
559
- * <li>
560
- * <p>
561
- * <code>n-ethereum-ropsten</code>
562
- * </p>
563
- * </li>
564
- * </ul>
565
- */
566
- NetworkId: string | undefined;
567
- /**
568
- * <p>The unique identifier of the member that owns this node.</p>
569
- * <p>Applies only to Hyperledger Fabric.</p>
570
- */
571
- MemberId?: string;
572
- /**
573
- * <p>The properties of a node configuration.</p>
574
- */
575
- NodeConfiguration: NodeConfiguration | undefined;
576
- /**
577
- * <p>Tags to assign to the node. Each tag consists of a key and optional value.</p>
578
- * <p>When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.</p>
579
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
580
- */
581
- Tags?: {
582
- [key: string]: string;
583
- };
584
- }
585
- export declare namespace CreateNodeInput {
586
- /**
587
- * @internal
588
- */
589
- const filterSensitiveLog: (obj: CreateNodeInput) => any;
590
- }
591
- export interface CreateNodeOutput {
592
- /**
593
- * <p>The unique identifier of the node.</p>
594
- */
595
- NodeId?: string;
596
- }
597
- export declare namespace CreateNodeOutput {
598
- /**
599
- * @internal
600
- */
601
- const filterSensitiveLog: (obj: CreateNodeOutput) => any;
602
- }
603
- /**
604
- * <p>An action to invite a specific AWS account to create a member and join the network. The <code>InviteAction</code> is carried out when a <code>Proposal</code> is <code>APPROVED</code>.</p>
605
- * <p>Applies only to Hyperledger Fabric.</p>
606
- */
607
- export interface InviteAction {
608
- /**
609
- * <p>The AWS account ID to invite.</p>
610
- */
611
- Principal: string | undefined;
612
- }
613
- export declare namespace InviteAction {
614
- /**
615
- * @internal
616
- */
617
- const filterSensitiveLog: (obj: InviteAction) => any;
618
- }
619
- /**
620
- * <p>An action to remove a member from a Managed Blockchain network as the result of a removal proposal that is <code>APPROVED</code>. The member and all associated resources are deleted from the network.</p>
621
- * <p>Applies only to Hyperledger Fabric.</p>
622
- */
623
- export interface RemoveAction {
624
- /**
625
- * <p>The unique identifier of the member to remove.</p>
626
- */
627
- MemberId: string | undefined;
628
- }
629
- export declare namespace RemoveAction {
630
- /**
631
- * @internal
632
- */
633
- const filterSensitiveLog: (obj: RemoveAction) => any;
634
- }
635
- /**
636
- * <p>
637
- * The actions to carry out if a proposal is <code>APPROVED</code>.
638
- * </p>
639
- * <p>Applies only to Hyperledger Fabric.</p>
640
- */
641
- export interface ProposalActions {
642
- /**
643
- * <p>
644
- * The actions to perform for an <code>APPROVED</code> proposal to invite an AWS account to create a member and join the network.
645
- * </p>
646
- */
647
- Invitations?: InviteAction[];
648
- /**
649
- * <p>
650
- * The actions to perform for an <code>APPROVED</code> proposal to remove a member from the network, which deletes the member and all associated member resources from the network.
651
- * </p>
652
- */
653
- Removals?: RemoveAction[];
654
- }
655
- export declare namespace ProposalActions {
656
- /**
657
- * @internal
658
- */
659
- const filterSensitiveLog: (obj: ProposalActions) => any;
660
- }
661
- export interface CreateProposalInput {
662
- /**
663
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.</p>
664
- */
665
- ClientRequestToken?: string;
666
- /**
667
- * <p>
668
- * The unique identifier of the network for which the proposal is made.</p>
669
- */
670
- NetworkId: string | undefined;
671
- /**
672
- * <p>The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single AWS account.</p>
673
- */
674
- MemberId: string | undefined;
675
- /**
676
- * <p>The type of actions proposed, such as inviting a member or removing a member. The types of <code>Actions</code> in a proposal are mutually exclusive. For example, a proposal with <code>Invitations</code> actions cannot also contain <code>Removals</code> actions.</p>
677
- */
678
- Actions: ProposalActions | undefined;
679
- /**
680
- * <p>A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."</p>
681
- */
682
- Description?: string;
683
- /**
684
- * <p>Tags to assign to the proposal. Each tag consists of a key and optional value.</p>
685
- * <p>When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.</p>
686
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
687
- */
688
- Tags?: {
689
- [key: string]: string;
690
- };
691
- }
692
- export declare namespace CreateProposalInput {
693
- /**
694
- * @internal
695
- */
696
- const filterSensitiveLog: (obj: CreateProposalInput) => any;
697
- }
698
- export interface CreateProposalOutput {
699
- /**
700
- * <p>The unique identifier of the proposal.</p>
701
- */
702
- ProposalId?: string;
703
- }
704
- export declare namespace CreateProposalOutput {
705
- /**
706
- * @internal
707
- */
708
- const filterSensitiveLog: (obj: CreateProposalOutput) => any;
709
- }
710
- export interface DeleteMemberInput {
711
- /**
712
- * <p>The unique identifier of the network from which the member is removed.</p>
713
- */
714
- NetworkId: string | undefined;
715
- /**
716
- * <p>The unique identifier of the member to remove.</p>
717
- */
718
- MemberId: string | undefined;
719
- }
720
- export declare namespace DeleteMemberInput {
721
- /**
722
- * @internal
723
- */
724
- const filterSensitiveLog: (obj: DeleteMemberInput) => any;
725
- }
726
- export interface DeleteMemberOutput {
727
- }
728
- export declare namespace DeleteMemberOutput {
729
- /**
730
- * @internal
731
- */
732
- const filterSensitiveLog: (obj: DeleteMemberOutput) => any;
733
- }
734
- export interface DeleteNodeInput {
735
- /**
736
- * <p>The unique identifier of the network that the node is on.</p>
737
- * <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
738
- * <ul>
739
- * <li>
740
- * <p>
741
- * <code>n-ethereum-mainnet</code>
742
- * </p>
743
- * </li>
744
- * <li>
745
- * <p>
746
- * <code>n-ethereum-rinkeby</code>
747
- * </p>
748
- * </li>
749
- * <li>
750
- * <p>
751
- * <code>n-ethereum-ropsten</code>
752
- * </p>
753
- * </li>
754
- * </ul>
755
- */
756
- NetworkId: string | undefined;
757
- /**
758
- * <p>The unique identifier of the member that owns this node.</p>
759
- * <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
760
- */
761
- MemberId?: string;
762
- /**
763
- * <p>The unique identifier of the node.</p>
764
- */
765
- NodeId: string | undefined;
766
- }
767
- export declare namespace DeleteNodeInput {
768
- /**
769
- * @internal
770
- */
771
- const filterSensitiveLog: (obj: DeleteNodeInput) => any;
772
- }
773
- export interface DeleteNodeOutput {
774
- }
775
- export declare namespace DeleteNodeOutput {
776
- /**
777
- * @internal
778
- */
779
- const filterSensitiveLog: (obj: DeleteNodeOutput) => any;
780
- }
781
- export interface GetMemberInput {
782
- /**
783
- * <p>The unique identifier of the network to which the member belongs.</p>
784
- */
785
- NetworkId: string | undefined;
786
- /**
787
- * <p>The unique identifier of the member.</p>
788
- */
789
- MemberId: string | undefined;
790
- }
791
- export declare namespace GetMemberInput {
792
- /**
793
- * @internal
794
- */
795
- const filterSensitiveLog: (obj: GetMemberInput) => any;
796
- }
797
- /**
798
- * <p>Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
799
- */
800
- export interface MemberFabricAttributes {
801
- /**
802
- * <p>The user name for the initial administrator user for the member.</p>
803
- */
804
- AdminUsername?: string;
805
- /**
806
- * <p>The endpoint used to access the member's certificate authority.</p>
807
- */
808
- CaEndpoint?: string;
809
- }
810
- export declare namespace MemberFabricAttributes {
811
- /**
812
- * @internal
813
- */
814
- const filterSensitiveLog: (obj: MemberFabricAttributes) => any;
815
- }
816
- /**
817
- * <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
818
- */
819
- export interface MemberFrameworkAttributes {
820
- /**
821
- * <p>Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
822
- */
823
- Fabric?: MemberFabricAttributes;
824
- }
825
- export declare namespace MemberFrameworkAttributes {
826
- /**
827
- * @internal
828
- */
829
- const filterSensitiveLog: (obj: MemberFrameworkAttributes) => any;
830
- }
831
- export declare enum MemberStatus {
832
- AVAILABLE = "AVAILABLE",
833
- CREATE_FAILED = "CREATE_FAILED",
834
- CREATING = "CREATING",
835
- DELETED = "DELETED",
836
- DELETING = "DELETING",
837
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
838
- UPDATING = "UPDATING"
839
- }
840
- /**
841
- * <p>Member configuration properties.</p>
842
- * <p>Applies only to Hyperledger Fabric.</p>
843
- */
844
- export interface Member {
845
- /**
846
- * <p>The unique identifier of the network to which the member belongs.</p>
847
- */
848
- NetworkId?: string;
849
- /**
850
- * <p>The unique identifier of the member.</p>
851
- */
852
- Id?: string;
853
- /**
854
- * <p>The name of the member.</p>
855
- */
856
- Name?: string;
857
- /**
858
- * <p>An optional description for the member.</p>
859
- */
860
- Description?: string;
861
- /**
862
- * <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
863
- */
864
- FrameworkAttributes?: MemberFrameworkAttributes;
865
- /**
866
- * <p>Configuration properties for logging events associated with a member.</p>
867
- */
868
- LogPublishingConfiguration?: MemberLogPublishingConfiguration;
869
- /**
870
- * <p>The status of a member.</p>
871
- * <ul>
872
- * <li>
873
- * <p>
874
- * <code>CREATING</code> - The AWS account is in the process of creating a member.</p>
875
- * </li>
876
- * <li>
877
- * <p>
878
- * <code>AVAILABLE</code> - The member has been created and can participate in the network.</p>
879
- * </li>
880
- * <li>
881
- * <p>
882
- * <code>CREATE_FAILED</code> - The AWS account attempted to create a member and creation failed.</p>
883
- * </li>
884
- * <li>
885
- * <p>
886
- * <code>UPDATING</code> - The member is in the process of being updated.</p>
887
- * </li>
888
- * <li>
889
- * <p>
890
- * <code>DELETING</code> - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
891
- * <code>PROPOSAL</code> to remove the member.</p>
892
- * </li>
893
- * <li>
894
- * <p>
895
- * <code>DELETED</code> - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
896
- * <code>PROPOSAL</code> to remove the member.</p>
897
- * </li>
898
- * <li>
899
- * <p>
900
- * <code>INACCESSIBLE_ENCRYPTION_KEY</code> - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.</p>
901
- * <p>The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
902
- * </li>
903
- * </ul>
904
- */
905
- Status?: MemberStatus | string;
906
- /**
907
- * <p>The date and time that the member was created.</p>
908
- */
909
- CreationDate?: Date;
910
- /**
911
- * <p>Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
912
- */
913
- Tags?: {
914
- [key: string]: string;
915
- };
916
- /**
917
- * <p>The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
918
- */
919
- Arn?: string;
920
- /**
921
- * <p>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the member uses for encryption at rest. If the value of this parameter is <code>"AWS Owned KMS Key"</code>, the member uses an AWS owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.</p>
922
- */
923
- KmsKeyArn?: string;
924
- }
925
- export declare namespace Member {
926
- /**
927
- * @internal
928
- */
929
- const filterSensitiveLog: (obj: Member) => any;
930
- }
931
- export interface GetMemberOutput {
932
- /**
933
- * <p>The properties of a member.</p>
934
- */
935
- Member?: Member;
936
- }
937
- export declare namespace GetMemberOutput {
938
- /**
939
- * @internal
940
- */
941
- const filterSensitiveLog: (obj: GetMemberOutput) => any;
942
- }
943
- export interface GetNetworkInput {
944
- /**
945
- * <p>The unique identifier of the network to get information about.</p>
946
- */
947
- NetworkId: string | undefined;
948
- }
949
- export declare namespace GetNetworkInput {
950
- /**
951
- * @internal
952
- */
953
- const filterSensitiveLog: (obj: GetNetworkInput) => any;
954
- }
955
- /**
956
- * <p>Attributes of Ethereum for a network. </p>
957
- */
958
- export interface NetworkEthereumAttributes {
959
- /**
960
- * <p>The Ethereum <code>CHAIN_ID</code> associated with the Ethereum network. Chain IDs are as follows:</p>
961
- * <ul>
962
- * <li>
963
- * <p>mainnet = <code>1</code>
964
- * </p>
965
- * </li>
966
- * <li>
967
- * <p>rinkeby = <code>4</code>
968
- * </p>
969
- * </li>
970
- * <li>
971
- * <p>ropsten = <code>3</code>
972
- * </p>
973
- * </li>
974
- * </ul>
975
- */
976
- ChainId?: string;
977
- }
978
- export declare namespace NetworkEthereumAttributes {
979
- /**
980
- * @internal
981
- */
982
- const filterSensitiveLog: (obj: NetworkEthereumAttributes) => any;
983
- }
984
- /**
985
- * <p>Attributes of Hyperledger Fabric for a network.</p>
986
- */
987
- export interface NetworkFabricAttributes {
988
- /**
989
- * <p>The endpoint of the ordering service for the network.</p>
990
- */
991
- OrderingServiceEndpoint?: string;
992
- /**
993
- * <p>The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see <a href="http://aws.amazon.com/managed-blockchain/pricing/">Amazon Managed Blockchain Pricing</a>.</p>
994
- */
995
- Edition?: Edition | string;
996
- }
997
- export declare namespace NetworkFabricAttributes {
998
- /**
999
- * @internal
1000
- */
1001
- const filterSensitiveLog: (obj: NetworkFabricAttributes) => any;
1002
- }
1003
- /**
1004
- * <p>Attributes relevant to the network for the blockchain framework that the network uses.</p>
1005
- */
1006
- export interface NetworkFrameworkAttributes {
1007
- /**
1008
- * <p>Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.</p>
1009
- */
1010
- Fabric?: NetworkFabricAttributes;
1011
- /**
1012
- * <p>Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network. </p>
1013
- */
1014
- Ethereum?: NetworkEthereumAttributes;
1015
- }
1016
- export declare namespace NetworkFrameworkAttributes {
1017
- /**
1018
- * @internal
1019
- */
1020
- const filterSensitiveLog: (obj: NetworkFrameworkAttributes) => any;
1021
- }
1022
- export declare enum NetworkStatus {
1023
- AVAILABLE = "AVAILABLE",
1024
- CREATE_FAILED = "CREATE_FAILED",
1025
- CREATING = "CREATING",
1026
- DELETED = "DELETED",
1027
- DELETING = "DELETING"
1028
- }
1029
- /**
1030
- * <p>Network configuration properties.</p>
1031
- */
1032
- export interface Network {
1033
- /**
1034
- * <p>The unique identifier of the network.</p>
1035
- */
1036
- Id?: string;
1037
- /**
1038
- * <p>The name of the network.</p>
1039
- */
1040
- Name?: string;
1041
- /**
1042
- * <p>Attributes of the blockchain framework for the network.</p>
1043
- */
1044
- Description?: string;
1045
- /**
1046
- * <p>The blockchain framework that the network uses.</p>
1047
- */
1048
- Framework?: Framework | string;
1049
- /**
1050
- * <p>The version of the blockchain framework that the network uses.</p>
1051
- */
1052
- FrameworkVersion?: string;
1053
- /**
1054
- * <p>Attributes of the blockchain framework that the network uses.</p>
1055
- */
1056
- FrameworkAttributes?: NetworkFrameworkAttributes;
1057
- /**
1058
- * <p>The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.</p>
1059
- */
1060
- VpcEndpointServiceName?: string;
1061
- /**
1062
- * <p>The voting rules for the network to decide if a proposal is accepted.</p>
1063
- */
1064
- VotingPolicy?: VotingPolicy;
1065
- /**
1066
- * <p>The current status of the network.</p>
1067
- */
1068
- Status?: NetworkStatus | string;
1069
- /**
1070
- * <p>The date and time that the network was created.</p>
1071
- */
1072
- CreationDate?: Date;
1073
- /**
1074
- * <p>Tags assigned to the network. Each tag consists of a key and optional value.</p>
1075
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
1076
- */
1077
- Tags?: {
1078
- [key: string]: string;
1079
- };
1080
- /**
1081
- * <p>The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1082
- */
1083
- Arn?: string;
1084
- }
1085
- export declare namespace Network {
1086
- /**
1087
- * @internal
1088
- */
1089
- const filterSensitiveLog: (obj: Network) => any;
1090
- }
1091
- export interface GetNetworkOutput {
1092
- /**
1093
- * <p>An object containing network configuration parameters.</p>
1094
- */
1095
- Network?: Network;
1096
- }
1097
- export declare namespace GetNetworkOutput {
1098
- /**
1099
- * @internal
1100
- */
1101
- const filterSensitiveLog: (obj: GetNetworkOutput) => any;
1102
- }
1103
- export interface GetNodeInput {
1104
- /**
1105
- * <p>The unique identifier of the network that the node is on.</p>
1106
- */
1107
- NetworkId: string | undefined;
1108
- /**
1109
- * <p>The unique identifier of the member that owns the node.</p>
1110
- * <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
1111
- */
1112
- MemberId?: string;
1113
- /**
1114
- * <p>The unique identifier of the node.</p>
1115
- */
1116
- NodeId: string | undefined;
1117
- }
1118
- export declare namespace GetNodeInput {
1119
- /**
1120
- * @internal
1121
- */
1122
- const filterSensitiveLog: (obj: GetNodeInput) => any;
1123
- }
1124
- /**
1125
- * <p>Attributes of an Ethereum node.</p>
1126
- */
1127
- export interface NodeEthereumAttributes {
1128
- /**
1129
- * <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
1130
- */
1131
- HttpEndpoint?: string;
1132
- /**
1133
- * <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets connection. Connections to this endpoint are authenticated using <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
1134
- */
1135
- WebSocketEndpoint?: string;
1136
- }
1137
- export declare namespace NodeEthereumAttributes {
1138
- /**
1139
- * @internal
1140
- */
1141
- const filterSensitiveLog: (obj: NodeEthereumAttributes) => any;
1142
- }
1143
- /**
1144
- * <p>Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
1145
- */
1146
- export interface NodeFabricAttributes {
1147
- /**
1148
- * <p>The endpoint that identifies the peer node for all services except peer channel-based event services.</p>
1149
- */
1150
- PeerEndpoint?: string;
1151
- /**
1152
- * <p>The endpoint that identifies the peer node for peer channel-based event services.</p>
1153
- */
1154
- PeerEventEndpoint?: string;
1155
- }
1156
- export declare namespace NodeFabricAttributes {
1157
- /**
1158
- * @internal
1159
- */
1160
- const filterSensitiveLog: (obj: NodeFabricAttributes) => any;
1161
- }
1162
- /**
1163
- * <p>Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.</p>
1164
- */
1165
- export interface NodeFrameworkAttributes {
1166
- /**
1167
- * <p>Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.</p>
1168
- */
1169
- Fabric?: NodeFabricAttributes;
1170
- /**
1171
- * <p>Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum. </p>
1172
- */
1173
- Ethereum?: NodeEthereumAttributes;
1174
- }
1175
- export declare namespace NodeFrameworkAttributes {
1176
- /**
1177
- * @internal
1178
- */
1179
- const filterSensitiveLog: (obj: NodeFrameworkAttributes) => any;
1180
- }
1181
- export declare enum NodeStatus {
1182
- AVAILABLE = "AVAILABLE",
1183
- CREATE_FAILED = "CREATE_FAILED",
1184
- CREATING = "CREATING",
1185
- DELETED = "DELETED",
1186
- DELETING = "DELETING",
1187
- FAILED = "FAILED",
1188
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
1189
- UNHEALTHY = "UNHEALTHY",
1190
- UPDATING = "UPDATING"
1191
- }
1192
- /**
1193
- * <p>Configuration properties of a node.</p>
1194
- */
1195
- export interface Node {
1196
- /**
1197
- * <p>The unique identifier of the network that the node is on.</p>
1198
- */
1199
- NetworkId?: string;
1200
- /**
1201
- * <p>The unique identifier of the member to which the node belongs.</p>
1202
- * <p>Applies only to Hyperledger Fabric.</p>
1203
- */
1204
- MemberId?: string;
1205
- /**
1206
- * <p>The unique identifier of the node.</p>
1207
- */
1208
- Id?: string;
1209
- /**
1210
- * <p>The instance type of the node.</p>
1211
- */
1212
- InstanceType?: string;
1213
- /**
1214
- * <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
1215
- */
1216
- AvailabilityZone?: string;
1217
- /**
1218
- * <p>Attributes of the blockchain framework being used.</p>
1219
- */
1220
- FrameworkAttributes?: NodeFrameworkAttributes;
1221
- /**
1222
- * <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
1223
- */
1224
- LogPublishingConfiguration?: NodeLogPublishingConfiguration;
1225
- /**
1226
- * <p>The state database that the node uses. Values are <code>LevelDB</code> or <code>CouchDB</code>.</p>
1227
- * <p>Applies only to Hyperledger Fabric.</p>
1228
- */
1229
- StateDB?: StateDBType | string;
1230
- /**
1231
- * <p>The status of the node.</p>
1232
- * <ul>
1233
- * <li>
1234
- * <p>
1235
- * <code>CREATING</code> - The AWS account is in the process of creating a node.</p>
1236
- * </li>
1237
- * <li>
1238
- * <p>
1239
- * <code>AVAILABLE</code> - The node has been created and can participate in the network.</p>
1240
- * </li>
1241
- * <li>
1242
- * <p>
1243
- * <code>UNHEALTHY</code> - The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to <code>AVAILABLE</code>. Otherwise, it moves to <code>FAILED</code> status.</p>
1244
- * </li>
1245
- * <li>
1246
- * <p>
1247
- * <code>CREATE_FAILED</code> - The AWS account attempted to create a node and creation failed.</p>
1248
- * </li>
1249
- * <li>
1250
- * <p>
1251
- * <code>UPDATING</code> - The node is in the process of being updated.</p>
1252
- * </li>
1253
- * <li>
1254
- * <p>
1255
- * <code>DELETING</code> - The node is in the process of being deleted.</p>
1256
- * </li>
1257
- * <li>
1258
- * <p>
1259
- * <code>DELETED</code> - The node can no longer participate on the network.</p>
1260
- * </li>
1261
- * <li>
1262
- * <p>
1263
- * <code>FAILED</code> - The node is no longer functional, cannot be recovered, and must be deleted.</p>
1264
- * </li>
1265
- * <li>
1266
- * <p>
1267
- * <code>INACCESSIBLE_ENCRYPTION_KEY</code> - The node is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.</p>
1268
- * <p>The effect of disabling or deleting a key, or revoking a grant is not immediate. The node resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
1269
- * </li>
1270
- * </ul>
1271
- */
1272
- Status?: NodeStatus | string;
1273
- /**
1274
- * <p>The date and time that the node was created.</p>
1275
- */
1276
- CreationDate?: Date;
1277
- /**
1278
- * <p>Tags assigned to the node. Each tag consists of a key and optional value.</p>
1279
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
1280
- */
1281
- Tags?: {
1282
- [key: string]: string;
1283
- };
1284
- /**
1285
- * <p>The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1286
- */
1287
- Arn?: string;
1288
- /**
1289
- * <p>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) that the node uses for encryption at rest. If the value of this parameter is <code>"AWS Owned KMS Key"</code>, the node uses an AWS owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.</p>
1290
- * <p>Applies only to Hyperledger Fabric.</p>
1291
- */
1292
- KmsKeyArn?: string;
1293
- }
1294
- export declare namespace Node {
1295
- /**
1296
- * @internal
1297
- */
1298
- const filterSensitiveLog: (obj: Node) => any;
1299
- }
1300
- export interface GetNodeOutput {
1301
- /**
1302
- * <p>Properties of the node configuration.</p>
1303
- */
1304
- Node?: Node;
1305
- }
1306
- export declare namespace GetNodeOutput {
1307
- /**
1308
- * @internal
1309
- */
1310
- const filterSensitiveLog: (obj: GetNodeOutput) => any;
1311
- }
1312
- export interface GetProposalInput {
1313
- /**
1314
- * <p>The unique identifier of the network for which the proposal is made.</p>
1315
- */
1316
- NetworkId: string | undefined;
1317
- /**
1318
- * <p>The unique identifier of the proposal.</p>
1319
- */
1320
- ProposalId: string | undefined;
1321
- }
1322
- export declare namespace GetProposalInput {
1323
- /**
1324
- * @internal
1325
- */
1326
- const filterSensitiveLog: (obj: GetProposalInput) => any;
1327
- }
1328
- export declare enum ProposalStatus {
1329
- ACTION_FAILED = "ACTION_FAILED",
1330
- APPROVED = "APPROVED",
1331
- EXPIRED = "EXPIRED",
1332
- IN_PROGRESS = "IN_PROGRESS",
1333
- REJECTED = "REJECTED"
1334
- }
1335
- /**
1336
- * <p>Properties of a proposal on a Managed Blockchain network.</p>
1337
- * <p>Applies only to Hyperledger Fabric.</p>
1338
- */
1339
- export interface Proposal {
1340
- /**
1341
- * <p>The unique identifier of the proposal.</p>
1342
- */
1343
- ProposalId?: string;
1344
- /**
1345
- * <p>The unique identifier of the network for which the proposal is made.</p>
1346
- */
1347
- NetworkId?: string;
1348
- /**
1349
- * <p>The description of the proposal.</p>
1350
- */
1351
- Description?: string;
1352
- /**
1353
- * <p>The actions to perform on the network if the proposal is <code>APPROVED</code>.</p>
1354
- */
1355
- Actions?: ProposalActions;
1356
- /**
1357
- * <p>The unique identifier of the member that created the proposal.</p>
1358
- */
1359
- ProposedByMemberId?: string;
1360
- /**
1361
- * <p>The name of the member that created the proposal.</p>
1362
- */
1363
- ProposedByMemberName?: string;
1364
- /**
1365
- * <p>The status of the proposal. Values are as follows:</p>
1366
- * <ul>
1367
- * <li>
1368
- * <p>
1369
- * <code>IN_PROGRESS</code> - The proposal is active and open for member voting.</p>
1370
- * </li>
1371
- * <li>
1372
- * <p>
1373
- * <code>APPROVED</code> - The proposal was approved with sufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified proposal actions are carried out.</p>
1374
- * </li>
1375
- * <li>
1376
- * <p>
1377
- * <code>REJECTED</code> - The proposal was rejected with insufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified <code>ProposalActions</code> are not carried out.</p>
1378
- * </li>
1379
- * <li>
1380
- * <p>
1381
- * <code>EXPIRED</code> - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified <code>ProposalActions</code> are not carried out.</p>
1382
- * </li>
1383
- * <li>
1384
- * <p>
1385
- * <code>ACTION_FAILED</code> - One or more of the specified <code>ProposalActions</code> in a proposal that was approved could not be completed because of an error. The <code>ACTION_FAILED</code> status occurs even if only one ProposalAction fails and other actions are successful.</p>
1386
- * </li>
1387
- * </ul>
1388
- */
1389
- Status?: ProposalStatus | string;
1390
- /**
1391
- * <p>
1392
- * The date and time that the proposal was created.
1393
- * </p>
1394
- */
1395
- CreationDate?: Date;
1396
- /**
1397
- * <p>
1398
- * The date and time that the proposal expires. This is the <code>CreationDate</code> plus the <code>ProposalDurationInHours</code> that is specified in the <code>ProposalThresholdPolicy</code>. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is <code>EXPIRED</code> and <code>Actions</code> are not carried out.
1399
- * </p>
1400
- */
1401
- ExpirationDate?: Date;
1402
- /**
1403
- * <p>
1404
- * The current total of <code>YES</code> votes cast on the proposal by members.
1405
- * </p>
1406
- */
1407
- YesVoteCount?: number;
1408
- /**
1409
- * <p>
1410
- * The current total of <code>NO</code> votes cast on the proposal by members.
1411
- * </p>
1412
- */
1413
- NoVoteCount?: number;
1414
- /**
1415
- * <p>
1416
- * The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of <code>YES</code> votes and <code>NO</code> votes.
1417
- * </p>
1418
- */
1419
- OutstandingVoteCount?: number;
1420
- /**
1421
- * <p>Tags assigned to the proposal. Each tag consists of a key and optional value.</p>
1422
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
1423
- */
1424
- Tags?: {
1425
- [key: string]: string;
1426
- };
1427
- /**
1428
- * <p>The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1429
- */
1430
- Arn?: string;
1431
- }
1432
- export declare namespace Proposal {
1433
- /**
1434
- * @internal
1435
- */
1436
- const filterSensitiveLog: (obj: Proposal) => any;
1437
- }
1438
- export interface GetProposalOutput {
1439
- /**
1440
- * <p>Information about a proposal.</p>
1441
- */
1442
- Proposal?: Proposal;
1443
- }
1444
- export declare namespace GetProposalOutput {
1445
- /**
1446
- * @internal
1447
- */
1448
- const filterSensitiveLog: (obj: GetProposalOutput) => any;
1449
- }
1450
- /**
1451
- * <p></p>
1452
- */
1453
- export interface IllegalActionException extends __SmithyException, $MetadataBearer {
1454
- name: "IllegalActionException";
1455
- $fault: "client";
1456
- Message?: string;
1457
- }
1458
- export declare namespace IllegalActionException {
1459
- /**
1460
- * @internal
1461
- */
1462
- const filterSensitiveLog: (obj: IllegalActionException) => any;
1463
- }
1464
- /**
1465
- * <p>A summary of network configuration properties.</p>
1466
- */
1467
- export interface NetworkSummary {
1468
- /**
1469
- * <p>The unique identifier of the network.</p>
1470
- */
1471
- Id?: string;
1472
- /**
1473
- * <p>The name of the network.</p>
1474
- */
1475
- Name?: string;
1476
- /**
1477
- * <p>An optional description of the network.</p>
1478
- */
1479
- Description?: string;
1480
- /**
1481
- * <p>The blockchain framework that the network uses.</p>
1482
- */
1483
- Framework?: Framework | string;
1484
- /**
1485
- * <p>The version of the blockchain framework that the network uses.</p>
1486
- */
1487
- FrameworkVersion?: string;
1488
- /**
1489
- * <p>The current status of the network.</p>
1490
- */
1491
- Status?: NetworkStatus | string;
1492
- /**
1493
- * <p>The date and time that the network was created.</p>
1494
- */
1495
- CreationDate?: Date;
1496
- /**
1497
- * <p>The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1498
- */
1499
- Arn?: string;
1500
- }
1501
- export declare namespace NetworkSummary {
1502
- /**
1503
- * @internal
1504
- */
1505
- const filterSensitiveLog: (obj: NetworkSummary) => any;
1506
- }
1507
- export declare enum InvitationStatus {
1508
- ACCEPTED = "ACCEPTED",
1509
- ACCEPTING = "ACCEPTING",
1510
- EXPIRED = "EXPIRED",
1511
- PENDING = "PENDING",
1512
- REJECTED = "REJECTED"
1513
- }
1514
- /**
1515
- * <p>An invitation to an AWS account to create a member and join the network.</p>
1516
- * <p>Applies only to Hyperledger Fabric.</p>
1517
- */
1518
- export interface Invitation {
1519
- /**
1520
- * <p>The unique identifier for the invitation.</p>
1521
- */
1522
- InvitationId?: string;
1523
- /**
1524
- * <p>The date and time that the invitation was created.</p>
1525
- */
1526
- CreationDate?: Date;
1527
- /**
1528
- * <p>The date and time that the invitation expires. This is the <code>CreationDate</code> plus the <code>ProposalDurationInHours</code> that is specified in the <code>ProposalThresholdPolicy</code>. After this date and time, the invitee can no longer create a member and join the network using this <code>InvitationId</code>.</p>
1529
- */
1530
- ExpirationDate?: Date;
1531
- /**
1532
- * <p>The status of the invitation:</p>
1533
- * <ul>
1534
- * <li>
1535
- * <p>
1536
- * <code>PENDING</code> - The invitee has not created a member to join the network, and the invitation has not yet expired.</p>
1537
- * </li>
1538
- * <li>
1539
- * <p>
1540
- * <code>ACCEPTING</code> - The invitee has begun creating a member, and creation has not yet completed.</p>
1541
- * </li>
1542
- * <li>
1543
- * <p>
1544
- * <code>ACCEPTED</code> - The invitee created a member and joined the network using the <code>InvitationID</code>.</p>
1545
- * </li>
1546
- * <li>
1547
- * <p>
1548
- * <code>REJECTED</code> - The invitee rejected the invitation.</p>
1549
- * </li>
1550
- * <li>
1551
- * <p>
1552
- * <code>EXPIRED</code> - The invitee neither created a member nor rejected the invitation before the <code>ExpirationDate</code>.</p>
1553
- * </li>
1554
- * </ul>
1555
- */
1556
- Status?: InvitationStatus | string;
1557
- /**
1558
- * <p>A summary of network configuration properties.</p>
1559
- */
1560
- NetworkSummary?: NetworkSummary;
1561
- /**
1562
- * <p>The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1563
- */
1564
- Arn?: string;
1565
- }
1566
- export declare namespace Invitation {
1567
- /**
1568
- * @internal
1569
- */
1570
- const filterSensitiveLog: (obj: Invitation) => any;
1571
- }
1572
- export interface ListInvitationsInput {
1573
- /**
1574
- * <p>The maximum number of invitations to return.</p>
1575
- */
1576
- MaxResults?: number;
1577
- /**
1578
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1579
- */
1580
- NextToken?: string;
1581
- }
1582
- export declare namespace ListInvitationsInput {
1583
- /**
1584
- * @internal
1585
- */
1586
- const filterSensitiveLog: (obj: ListInvitationsInput) => any;
1587
- }
1588
- export interface ListInvitationsOutput {
1589
- /**
1590
- * <p>The invitations for the network.</p>
1591
- */
1592
- Invitations?: Invitation[];
1593
- /**
1594
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1595
- */
1596
- NextToken?: string;
1597
- }
1598
- export declare namespace ListInvitationsOutput {
1599
- /**
1600
- * @internal
1601
- */
1602
- const filterSensitiveLog: (obj: ListInvitationsOutput) => any;
1603
- }
1604
- export interface ListMembersInput {
1605
- /**
1606
- * <p>The unique identifier of the network for which to list members.</p>
1607
- */
1608
- NetworkId: string | undefined;
1609
- /**
1610
- * <p>The optional name of the member to list.</p>
1611
- */
1612
- Name?: string;
1613
- /**
1614
- * <p>An optional status specifier. If provided, only members currently in this status are listed.</p>
1615
- */
1616
- Status?: MemberStatus | string;
1617
- /**
1618
- * <p>An optional Boolean value. If provided, the request is limited either to
1619
- * members that the current AWS account owns (<code>true</code>) or that other AWS accounts
1620
- * own (<code>false</code>). If omitted, all members are listed.</p>
1621
- */
1622
- IsOwned?: boolean;
1623
- /**
1624
- * <p>The maximum number of members to return in the request.</p>
1625
- */
1626
- MaxResults?: number;
1627
- /**
1628
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1629
- */
1630
- NextToken?: string;
1631
- }
1632
- export declare namespace ListMembersInput {
1633
- /**
1634
- * @internal
1635
- */
1636
- const filterSensitiveLog: (obj: ListMembersInput) => any;
1637
- }
1638
- /**
1639
- * <p>A summary of configuration properties for a member.</p>
1640
- * <p>Applies only to Hyperledger Fabric.</p>
1641
- */
1642
- export interface MemberSummary {
1643
- /**
1644
- * <p>The unique identifier of the member.</p>
1645
- */
1646
- Id?: string;
1647
- /**
1648
- * <p>The name of the member.</p>
1649
- */
1650
- Name?: string;
1651
- /**
1652
- * <p>An optional description of the member.</p>
1653
- */
1654
- Description?: string;
1655
- /**
1656
- * <p>The status of the member.</p>
1657
- * <ul>
1658
- * <li>
1659
- * <p>
1660
- * <code>CREATING</code> - The AWS account is in the process of creating a member.</p>
1661
- * </li>
1662
- * <li>
1663
- * <p>
1664
- * <code>AVAILABLE</code> - The member has been created and can participate in the network.</p>
1665
- * </li>
1666
- * <li>
1667
- * <p>
1668
- * <code>CREATE_FAILED</code> - The AWS account attempted to create a member and creation failed.</p>
1669
- * </li>
1670
- * <li>
1671
- * <p>
1672
- * <code>UPDATING</code> - The member is in the process of being updated.</p>
1673
- * </li>
1674
- * <li>
1675
- * <p>
1676
- * <code>DELETING</code> - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
1677
- * <code>PROPOSAL</code> to remove the member.</p>
1678
- * </li>
1679
- * <li>
1680
- * <p>
1681
- * <code>DELETED</code> - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
1682
- * <code>PROPOSAL</code> to remove the member.</p>
1683
- * </li>
1684
- * <li>
1685
- * <p>
1686
- * <code>INACCESSIBLE_ENCRYPTION_KEY</code> - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS Key Management Service (AWS KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.</p>
1687
- * <p>The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
1688
- * </li>
1689
- * </ul>
1690
- */
1691
- Status?: MemberStatus | string;
1692
- /**
1693
- * <p>The date and time that the member was created.</p>
1694
- */
1695
- CreationDate?: Date;
1696
- /**
1697
- * <p>An indicator of whether the member is owned by your AWS account or a different AWS account.</p>
1698
- */
1699
- IsOwned?: boolean;
1700
- /**
1701
- * <p>The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1702
- */
1703
- Arn?: string;
1704
- }
1705
- export declare namespace MemberSummary {
1706
- /**
1707
- * @internal
1708
- */
1709
- const filterSensitiveLog: (obj: MemberSummary) => any;
1710
- }
1711
- export interface ListMembersOutput {
1712
- /**
1713
- * <p>An array of <code>MemberSummary</code> objects. Each object contains details about a network member.</p>
1714
- */
1715
- Members?: MemberSummary[];
1716
- /**
1717
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1718
- */
1719
- NextToken?: string;
1720
- }
1721
- export declare namespace ListMembersOutput {
1722
- /**
1723
- * @internal
1724
- */
1725
- const filterSensitiveLog: (obj: ListMembersOutput) => any;
1726
- }
1727
- export interface ListNetworksInput {
1728
- /**
1729
- * <p>The name of the network.</p>
1730
- */
1731
- Name?: string;
1732
- /**
1733
- * <p>An optional framework specifier. If provided, only networks of this framework type are listed.</p>
1734
- */
1735
- Framework?: Framework | string;
1736
- /**
1737
- * <p>An optional status specifier. If provided, only networks currently in this status are listed.</p>
1738
- * <p>Applies only to Hyperledger Fabric.</p>
1739
- */
1740
- Status?: NetworkStatus | string;
1741
- /**
1742
- * <p>The maximum number of networks to list.</p>
1743
- */
1744
- MaxResults?: number;
1745
- /**
1746
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1747
- */
1748
- NextToken?: string;
1749
- }
1750
- export declare namespace ListNetworksInput {
1751
- /**
1752
- * @internal
1753
- */
1754
- const filterSensitiveLog: (obj: ListNetworksInput) => any;
1755
- }
1756
- export interface ListNetworksOutput {
1757
- /**
1758
- * <p>An array of <code>NetworkSummary</code> objects that contain configuration properties for each network.</p>
1759
- */
1760
- Networks?: NetworkSummary[];
1761
- /**
1762
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1763
- */
1764
- NextToken?: string;
1765
- }
1766
- export declare namespace ListNetworksOutput {
1767
- /**
1768
- * @internal
1769
- */
1770
- const filterSensitiveLog: (obj: ListNetworksOutput) => any;
1771
- }
1772
- export interface ListNodesInput {
1773
- /**
1774
- * <p>The unique identifier of the network for which to list nodes.</p>
1775
- */
1776
- NetworkId: string | undefined;
1777
- /**
1778
- * <p>The unique identifier of the member who owns the nodes to list.</p>
1779
- * <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
1780
- */
1781
- MemberId?: string;
1782
- /**
1783
- * <p>An optional status specifier. If provided, only nodes currently in this status are listed.</p>
1784
- */
1785
- Status?: NodeStatus | string;
1786
- /**
1787
- * <p>The maximum number of nodes to list.</p>
1788
- */
1789
- MaxResults?: number;
1790
- /**
1791
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1792
- */
1793
- NextToken?: string;
1794
- }
1795
- export declare namespace ListNodesInput {
1796
- /**
1797
- * @internal
1798
- */
1799
- const filterSensitiveLog: (obj: ListNodesInput) => any;
1800
- }
1801
- /**
1802
- * <p>A summary of configuration properties for a node.</p>
1803
- */
1804
- export interface NodeSummary {
1805
- /**
1806
- * <p>The unique identifier of the node.</p>
1807
- */
1808
- Id?: string;
1809
- /**
1810
- * <p>The status of the node.</p>
1811
- */
1812
- Status?: NodeStatus | string;
1813
- /**
1814
- * <p>The date and time that the node was created.</p>
1815
- */
1816
- CreationDate?: Date;
1817
- /**
1818
- * <p>The Availability Zone in which the node exists.</p>
1819
- */
1820
- AvailabilityZone?: string;
1821
- /**
1822
- * <p>The EC2 instance type for the node.</p>
1823
- */
1824
- InstanceType?: string;
1825
- /**
1826
- * <p>The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1827
- */
1828
- Arn?: string;
1829
- }
1830
- export declare namespace NodeSummary {
1831
- /**
1832
- * @internal
1833
- */
1834
- const filterSensitiveLog: (obj: NodeSummary) => any;
1835
- }
1836
- export interface ListNodesOutput {
1837
- /**
1838
- * <p>An array of <code>NodeSummary</code> objects that contain configuration properties for each node.</p>
1839
- */
1840
- Nodes?: NodeSummary[];
1841
- /**
1842
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1843
- */
1844
- NextToken?: string;
1845
- }
1846
- export declare namespace ListNodesOutput {
1847
- /**
1848
- * @internal
1849
- */
1850
- const filterSensitiveLog: (obj: ListNodesOutput) => any;
1851
- }
1852
- export interface ListProposalsInput {
1853
- /**
1854
- * <p>
1855
- * The unique identifier of the network.
1856
- * </p>
1857
- */
1858
- NetworkId: string | undefined;
1859
- /**
1860
- * <p>
1861
- * The maximum number of proposals to return.
1862
- * </p>
1863
- */
1864
- MaxResults?: number;
1865
- /**
1866
- * <p>
1867
- * The pagination token that indicates the next set of results to retrieve.
1868
- * </p>
1869
- */
1870
- NextToken?: string;
1871
- }
1872
- export declare namespace ListProposalsInput {
1873
- /**
1874
- * @internal
1875
- */
1876
- const filterSensitiveLog: (obj: ListProposalsInput) => any;
1877
- }
1878
- /**
1879
- * <p>Properties of a proposal.</p>
1880
- * <p>Applies only to Hyperledger Fabric.</p>
1881
- */
1882
- export interface ProposalSummary {
1883
- /**
1884
- * <p>
1885
- * The unique identifier of the proposal.
1886
- * </p>
1887
- */
1888
- ProposalId?: string;
1889
- /**
1890
- * <p>
1891
- * The description of the proposal.
1892
- * </p>
1893
- */
1894
- Description?: string;
1895
- /**
1896
- * <p>
1897
- * The unique identifier of the member that created the proposal.
1898
- * </p>
1899
- */
1900
- ProposedByMemberId?: string;
1901
- /**
1902
- * <p>
1903
- * The name of the member that created the proposal.
1904
- * </p>
1905
- */
1906
- ProposedByMemberName?: string;
1907
- /**
1908
- * <p>The status of the proposal. Values are as follows:</p>
1909
- * <ul>
1910
- * <li>
1911
- * <p>
1912
- * <code>IN_PROGRESS</code> - The proposal is active and open for member voting.</p>
1913
- * </li>
1914
- * <li>
1915
- * <p>
1916
- * <code>APPROVED</code> - The proposal was approved with sufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified proposal actions are carried out.</p>
1917
- * </li>
1918
- * <li>
1919
- * <p>
1920
- * <code>REJECTED</code> - The proposal was rejected with insufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified <code>ProposalActions</code> are not carried out.</p>
1921
- * </li>
1922
- * <li>
1923
- * <p>
1924
- * <code>EXPIRED</code> - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified <code>ProposalActions</code> are not carried out.</p>
1925
- * </li>
1926
- * <li>
1927
- * <p>
1928
- * <code>ACTION_FAILED</code> - One or more of the specified <code>ProposalActions</code> in a proposal that was approved could not be completed because of an error.</p>
1929
- * </li>
1930
- * </ul>
1931
- */
1932
- Status?: ProposalStatus | string;
1933
- /**
1934
- * <p>
1935
- * The date and time that the proposal was created.
1936
- * </p>
1937
- */
1938
- CreationDate?: Date;
1939
- /**
1940
- * <p>
1941
- * The date and time that the proposal expires. This is the <code>CreationDate</code> plus the <code>ProposalDurationInHours</code> that is specified in the <code>ProposalThresholdPolicy</code>. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is <code>EXPIRED</code> and <code>Actions</code> are not carried out.
1942
- * </p>
1943
- */
1944
- ExpirationDate?: Date;
1945
- /**
1946
- * <p>The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
1947
- */
1948
- Arn?: string;
1949
- }
1950
- export declare namespace ProposalSummary {
1951
- /**
1952
- * @internal
1953
- */
1954
- const filterSensitiveLog: (obj: ProposalSummary) => any;
1955
- }
1956
- export interface ListProposalsOutput {
1957
- /**
1958
- * <p>The summary of each proposal made on the network.</p>
1959
- */
1960
- Proposals?: ProposalSummary[];
1961
- /**
1962
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1963
- */
1964
- NextToken?: string;
1965
- }
1966
- export declare namespace ListProposalsOutput {
1967
- /**
1968
- * @internal
1969
- */
1970
- const filterSensitiveLog: (obj: ListProposalsOutput) => any;
1971
- }
1972
- export interface ListProposalVotesInput {
1973
- /**
1974
- * <p>
1975
- * The unique identifier of the network.
1976
- * </p>
1977
- */
1978
- NetworkId: string | undefined;
1979
- /**
1980
- * <p>
1981
- * The unique identifier of the proposal.
1982
- * </p>
1983
- */
1984
- ProposalId: string | undefined;
1985
- /**
1986
- * <p>
1987
- * The maximum number of votes to return.
1988
- * </p>
1989
- */
1990
- MaxResults?: number;
1991
- /**
1992
- * <p>
1993
- * The pagination token that indicates the next set of results to retrieve.
1994
- * </p>
1995
- */
1996
- NextToken?: string;
1997
- }
1998
- export declare namespace ListProposalVotesInput {
1999
- /**
2000
- * @internal
2001
- */
2002
- const filterSensitiveLog: (obj: ListProposalVotesInput) => any;
2003
- }
2004
- export declare enum VoteValue {
2005
- NO = "NO",
2006
- YES = "YES"
2007
- }
2008
- /**
2009
- * <p>
2010
- * Properties of an individual vote that a member cast for a proposal.
2011
- * </p>
2012
- * <p>Applies only to Hyperledger Fabric.</p>
2013
- */
2014
- export interface VoteSummary {
2015
- /**
2016
- * <p>
2017
- * The vote value, either <code>YES</code> or <code>NO</code>.
2018
- * </p>
2019
- */
2020
- Vote?: VoteValue | string;
2021
- /**
2022
- * <p>
2023
- * The name of the member that cast the vote.
2024
- * </p>
2025
- */
2026
- MemberName?: string;
2027
- /**
2028
- * <p>
2029
- * The unique identifier of the member that cast the vote.
2030
- * </p>
2031
- */
2032
- MemberId?: string;
2033
- }
2034
- export declare namespace VoteSummary {
2035
- /**
2036
- * @internal
2037
- */
2038
- const filterSensitiveLog: (obj: VoteSummary) => any;
2039
- }
2040
- export interface ListProposalVotesOutput {
2041
- /**
2042
- * <p>
2043
- * The list of votes.
2044
- * </p>
2045
- */
2046
- ProposalVotes?: VoteSummary[];
2047
- /**
2048
- * <p>
2049
- * The pagination token that indicates the next set of results to retrieve.
2050
- * </p>
2051
- */
2052
- NextToken?: string;
2053
- }
2054
- export declare namespace ListProposalVotesOutput {
2055
- /**
2056
- * @internal
2057
- */
2058
- const filterSensitiveLog: (obj: ListProposalVotesOutput) => any;
2059
- }
2060
- export interface ListTagsForResourceRequest {
2061
- /**
2062
- * <p>The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
2063
- */
2064
- ResourceArn: string | undefined;
2065
- }
2066
- export declare namespace ListTagsForResourceRequest {
2067
- /**
2068
- * @internal
2069
- */
2070
- const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2071
- }
2072
- export interface ListTagsForResourceResponse {
2073
- /**
2074
- * <p>The tags assigned to the resource.</p>
2075
- */
2076
- Tags?: {
2077
- [key: string]: string;
2078
- };
2079
- }
2080
- export declare namespace ListTagsForResourceResponse {
2081
- /**
2082
- * @internal
2083
- */
2084
- const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2085
- }
2086
- export interface RejectInvitationInput {
2087
- /**
2088
- * <p>The unique identifier of the invitation to reject.</p>
2089
- */
2090
- InvitationId: string | undefined;
2091
- }
2092
- export declare namespace RejectInvitationInput {
2093
- /**
2094
- * @internal
2095
- */
2096
- const filterSensitiveLog: (obj: RejectInvitationInput) => any;
2097
- }
2098
- export interface RejectInvitationOutput {
2099
- }
2100
- export declare namespace RejectInvitationOutput {
2101
- /**
2102
- * @internal
2103
- */
2104
- const filterSensitiveLog: (obj: RejectInvitationOutput) => any;
2105
- }
2106
- export interface TagResourceRequest {
2107
- /**
2108
- * <p>The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
2109
- */
2110
- ResourceArn: string | undefined;
2111
- /**
2112
- * <p>The tags to assign to the specified resource. Tag values can be empty, for example, <code>"MyTagKey" : ""</code>. You can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.</p>
2113
- */
2114
- Tags: {
2115
- [key: string]: string;
2116
- } | undefined;
2117
- }
2118
- export declare namespace TagResourceRequest {
2119
- /**
2120
- * @internal
2121
- */
2122
- const filterSensitiveLog: (obj: TagResourceRequest) => any;
2123
- }
2124
- export interface TagResourceResponse {
2125
- }
2126
- export declare namespace TagResourceResponse {
2127
- /**
2128
- * @internal
2129
- */
2130
- const filterSensitiveLog: (obj: TagResourceResponse) => any;
2131
- }
2132
- export interface UntagResourceRequest {
2133
- /**
2134
- * <p>The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>
2135
- */
2136
- ResourceArn: string | undefined;
2137
- /**
2138
- * <p>The tag keys.</p>
2139
- */
2140
- TagKeys: string[] | undefined;
2141
- }
2142
- export declare namespace UntagResourceRequest {
2143
- /**
2144
- * @internal
2145
- */
2146
- const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2147
- }
2148
- export interface UntagResourceResponse {
2149
- }
2150
- export declare namespace UntagResourceResponse {
2151
- /**
2152
- * @internal
2153
- */
2154
- const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2155
- }
2156
- export interface UpdateMemberInput {
2157
- /**
2158
- * <p>The unique identifier of the Managed Blockchain network to which the member belongs.</p>
2159
- */
2160
- NetworkId: string | undefined;
2161
- /**
2162
- * <p>The unique identifier of the member.</p>
2163
- */
2164
- MemberId: string | undefined;
2165
- /**
2166
- * <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
2167
- */
2168
- LogPublishingConfiguration?: MemberLogPublishingConfiguration;
2169
- }
2170
- export declare namespace UpdateMemberInput {
2171
- /**
2172
- * @internal
2173
- */
2174
- const filterSensitiveLog: (obj: UpdateMemberInput) => any;
2175
- }
2176
- export interface UpdateMemberOutput {
2177
- }
2178
- export declare namespace UpdateMemberOutput {
2179
- /**
2180
- * @internal
2181
- */
2182
- const filterSensitiveLog: (obj: UpdateMemberOutput) => any;
2183
- }
2184
- export interface UpdateNodeInput {
2185
- /**
2186
- * <p>The unique identifier of the network that the node is on.</p>
2187
- */
2188
- NetworkId: string | undefined;
2189
- /**
2190
- * <p>The unique identifier of the member that owns the node.</p>
2191
- * <p>Applies only to Hyperledger Fabric.</p>
2192
- */
2193
- MemberId?: string;
2194
- /**
2195
- * <p>The unique identifier of the node.</p>
2196
- */
2197
- NodeId: string | undefined;
2198
- /**
2199
- * <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
2200
- */
2201
- LogPublishingConfiguration?: NodeLogPublishingConfiguration;
2202
- }
2203
- export declare namespace UpdateNodeInput {
2204
- /**
2205
- * @internal
2206
- */
2207
- const filterSensitiveLog: (obj: UpdateNodeInput) => any;
2208
- }
2209
- export interface UpdateNodeOutput {
2210
- }
2211
- export declare namespace UpdateNodeOutput {
2212
- /**
2213
- * @internal
2214
- */
2215
- const filterSensitiveLog: (obj: UpdateNodeOutput) => any;
2216
- }
2217
- export interface VoteOnProposalInput {
2218
- /**
2219
- * <p>
2220
- * The unique identifier of the network.
2221
- * </p>
2222
- */
2223
- NetworkId: string | undefined;
2224
- /**
2225
- * <p>
2226
- * The unique identifier of the proposal.
2227
- * </p>
2228
- */
2229
- ProposalId: string | undefined;
2230
- /**
2231
- * <p>The unique identifier of the member casting the vote.
2232
- * </p>
2233
- */
2234
- VoterMemberId: string | undefined;
2235
- /**
2236
- * <p>
2237
- * The value of the vote.
2238
- * </p>
2239
- */
2240
- Vote: VoteValue | string | undefined;
2241
- }
2242
- export declare namespace VoteOnProposalInput {
2243
- /**
2244
- * @internal
2245
- */
2246
- const filterSensitiveLog: (obj: VoteOnProposalInput) => any;
2247
- }
2248
- export interface VoteOnProposalOutput {
2249
- }
2250
- export declare namespace VoteOnProposalOutput {
2251
- /**
2252
- * @internal
2253
- */
2254
- const filterSensitiveLog: (obj: VoteOnProposalOutput) => any;
2255
- }