@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,2773 +0,0 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
-
4
- /**
5
- * <p>You do not have sufficient access to perform this action.</p>
6
- */
7
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
8
- name: "AccessDeniedException";
9
- $fault: "client";
10
- Message?: string;
11
- }
12
-
13
- export namespace AccessDeniedException {
14
- /**
15
- * @internal
16
- */
17
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
18
- ...obj,
19
- });
20
- }
21
-
22
- export enum ThresholdComparator {
23
- GREATER_THAN = "GREATER_THAN",
24
- GREATER_THAN_OR_EQUAL_TO = "GREATER_THAN_OR_EQUAL_TO",
25
- }
26
-
27
- /**
28
- * <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>
29
- * <p>Applies only to Hyperledger Fabric.</p>
30
- */
31
- export interface ApprovalThresholdPolicy {
32
- /**
33
- * <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>
34
- */
35
- ThresholdPercentage?: number;
36
-
37
- /**
38
- * <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>
39
- */
40
- ProposalDurationInHours?: number;
41
-
42
- /**
43
- * <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>
44
- */
45
- ThresholdComparator?: ThresholdComparator | string;
46
- }
47
-
48
- export namespace ApprovalThresholdPolicy {
49
- /**
50
- * @internal
51
- */
52
- export const filterSensitiveLog = (obj: ApprovalThresholdPolicy): any => ({
53
- ...obj,
54
- });
55
- }
56
-
57
- /**
58
- * <p>Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
59
- */
60
- export interface MemberFabricConfiguration {
61
- /**
62
- * <p>The user name for the member's initial administrative user.</p>
63
- */
64
- AdminUsername: string | undefined;
65
-
66
- /**
67
- * <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>
68
- */
69
- AdminPassword: string | undefined;
70
- }
71
-
72
- export namespace MemberFabricConfiguration {
73
- /**
74
- * @internal
75
- */
76
- export const filterSensitiveLog = (obj: MemberFabricConfiguration): any => ({
77
- ...obj,
78
- ...(obj.AdminPassword && { AdminPassword: SENSITIVE_STRING }),
79
- });
80
- }
81
-
82
- /**
83
- * <p>Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
84
- */
85
- export interface MemberFrameworkConfiguration {
86
- /**
87
- * <p>Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
88
- */
89
- Fabric?: MemberFabricConfiguration;
90
- }
91
-
92
- export namespace MemberFrameworkConfiguration {
93
- /**
94
- * @internal
95
- */
96
- export const filterSensitiveLog = (obj: MemberFrameworkConfiguration): any => ({
97
- ...obj,
98
- ...(obj.Fabric && { Fabric: MemberFabricConfiguration.filterSensitiveLog(obj.Fabric) }),
99
- });
100
- }
101
-
102
- /**
103
- * <p>A configuration for logging events.</p>
104
- */
105
- export interface LogConfiguration {
106
- /**
107
- * <p>Indicates whether logging is enabled.</p>
108
- */
109
- Enabled?: boolean;
110
- }
111
-
112
- export namespace LogConfiguration {
113
- /**
114
- * @internal
115
- */
116
- export const filterSensitiveLog = (obj: LogConfiguration): any => ({
117
- ...obj,
118
- });
119
- }
120
-
121
- /**
122
- * <p>A collection of log configurations.</p>
123
- */
124
- export interface LogConfigurations {
125
- /**
126
- * <p>Parameters for publishing logs to Amazon CloudWatch Logs.</p>
127
- */
128
- Cloudwatch?: LogConfiguration;
129
- }
130
-
131
- export namespace LogConfigurations {
132
- /**
133
- * @internal
134
- */
135
- export const filterSensitiveLog = (obj: LogConfigurations): any => ({
136
- ...obj,
137
- });
138
- }
139
-
140
- /**
141
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
142
- */
143
- export interface MemberFabricLogPublishingConfiguration {
144
- /**
145
- * <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>
146
- */
147
- CaLogs?: LogConfigurations;
148
- }
149
-
150
- export namespace MemberFabricLogPublishingConfiguration {
151
- /**
152
- * @internal
153
- */
154
- export const filterSensitiveLog = (obj: MemberFabricLogPublishingConfiguration): any => ({
155
- ...obj,
156
- });
157
- }
158
-
159
- /**
160
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
161
- */
162
- export interface MemberLogPublishingConfiguration {
163
- /**
164
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
165
- */
166
- Fabric?: MemberFabricLogPublishingConfiguration;
167
- }
168
-
169
- export namespace MemberLogPublishingConfiguration {
170
- /**
171
- * @internal
172
- */
173
- export const filterSensitiveLog = (obj: MemberLogPublishingConfiguration): any => ({
174
- ...obj,
175
- });
176
- }
177
-
178
- /**
179
- * <p>Configuration properties of the member.</p>
180
- * <p>Applies only to Hyperledger Fabric.</p>
181
- */
182
- export interface MemberConfiguration {
183
- /**
184
- * <p>The name of the member.</p>
185
- */
186
- Name: string | undefined;
187
-
188
- /**
189
- * <p>An optional description of the member.</p>
190
- */
191
- Description?: string;
192
-
193
- /**
194
- * <p>Configuration properties of the blockchain framework relevant to the member.</p>
195
- */
196
- FrameworkConfiguration: MemberFrameworkConfiguration | undefined;
197
-
198
- /**
199
- * <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
200
- */
201
- LogPublishingConfiguration?: MemberLogPublishingConfiguration;
202
-
203
- /**
204
- * <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>
205
- * <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>
206
- */
207
- Tags?: { [key: string]: string };
208
-
209
- /**
210
- * <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>
211
- * <p>Use one of the following options to specify this parameter:</p>
212
- * <ul>
213
- * <li>
214
- * <p>
215
- * <b>Undefined or empty string</b> - The member uses an AWS owned KMS key for encryption by default.</p>
216
- * </li>
217
- * <li>
218
- * <p>
219
- * <b>A valid symmetric customer managed KMS key</b> - The member uses the specified key for encryption.</p>
220
- * <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>
221
- * <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>
222
- * </p>
223
- * </li>
224
- * </ul>
225
- */
226
- KmsKeyArn?: string;
227
- }
228
-
229
- export namespace MemberConfiguration {
230
- /**
231
- * @internal
232
- */
233
- export const filterSensitiveLog = (obj: MemberConfiguration): any => ({
234
- ...obj,
235
- ...(obj.FrameworkConfiguration && {
236
- FrameworkConfiguration: MemberFrameworkConfiguration.filterSensitiveLog(obj.FrameworkConfiguration),
237
- }),
238
- });
239
- }
240
-
241
- export interface CreateMemberInput {
242
- /**
243
- * <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>
244
- */
245
- ClientRequestToken?: string;
246
-
247
- /**
248
- * <p>The unique identifier of the invitation that is sent to the member to join the network.</p>
249
- */
250
- InvitationId: string | undefined;
251
-
252
- /**
253
- * <p>The unique identifier of the network in which the member is created.</p>
254
- */
255
- NetworkId: string | undefined;
256
-
257
- /**
258
- * <p>Member configuration parameters.</p>
259
- */
260
- MemberConfiguration: MemberConfiguration | undefined;
261
- }
262
-
263
- export namespace CreateMemberInput {
264
- /**
265
- * @internal
266
- */
267
- export const filterSensitiveLog = (obj: CreateMemberInput): any => ({
268
- ...obj,
269
- ...(obj.MemberConfiguration && {
270
- MemberConfiguration: MemberConfiguration.filterSensitiveLog(obj.MemberConfiguration),
271
- }),
272
- });
273
- }
274
-
275
- export interface CreateMemberOutput {
276
- /**
277
- * <p>The unique identifier of the member.</p>
278
- */
279
- MemberId?: string;
280
- }
281
-
282
- export namespace CreateMemberOutput {
283
- /**
284
- * @internal
285
- */
286
- export const filterSensitiveLog = (obj: CreateMemberOutput): any => ({
287
- ...obj,
288
- });
289
- }
290
-
291
- /**
292
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
293
- */
294
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
295
- name: "InternalServiceErrorException";
296
- $fault: "server";
297
- }
298
-
299
- export namespace InternalServiceErrorException {
300
- /**
301
- * @internal
302
- */
303
- export const filterSensitiveLog = (obj: InternalServiceErrorException): any => ({
304
- ...obj,
305
- });
306
- }
307
-
308
- /**
309
- * <p>The action or operation requested is invalid. Verify that the action is typed correctly.</p>
310
- */
311
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
312
- name: "InvalidRequestException";
313
- $fault: "client";
314
- Message?: string;
315
- }
316
-
317
- export namespace InvalidRequestException {
318
- /**
319
- * @internal
320
- */
321
- export const filterSensitiveLog = (obj: InvalidRequestException): any => ({
322
- ...obj,
323
- });
324
- }
325
-
326
- /**
327
- * <p>A resource request is issued for a resource that already exists.</p>
328
- */
329
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
330
- name: "ResourceAlreadyExistsException";
331
- $fault: "client";
332
- Message?: string;
333
- }
334
-
335
- export namespace ResourceAlreadyExistsException {
336
- /**
337
- * @internal
338
- */
339
- export const filterSensitiveLog = (obj: ResourceAlreadyExistsException): any => ({
340
- ...obj,
341
- });
342
- }
343
-
344
- /**
345
- * <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>
346
- */
347
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
348
- name: "ResourceLimitExceededException";
349
- $fault: "client";
350
- Message?: string;
351
- }
352
-
353
- export namespace ResourceLimitExceededException {
354
- /**
355
- * @internal
356
- */
357
- export const filterSensitiveLog = (obj: ResourceLimitExceededException): any => ({
358
- ...obj,
359
- });
360
- }
361
-
362
- /**
363
- * <p>A requested resource does not exist. It may have been deleted or referenced inaccurately.</p>
364
- */
365
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
366
- name: "ResourceNotFoundException";
367
- $fault: "client";
368
- Message?: string;
369
- /**
370
- * <p>A requested resource does not exist. It may have been deleted or referenced inaccurately.</p>
371
- */
372
- ResourceName?: string;
373
- }
374
-
375
- export namespace ResourceNotFoundException {
376
- /**
377
- * @internal
378
- */
379
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
380
- ...obj,
381
- });
382
- }
383
-
384
- /**
385
- * <p>The requested resource exists but is not in a status that can complete the operation.</p>
386
- */
387
- export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
388
- name: "ResourceNotReadyException";
389
- $fault: "client";
390
- Message?: string;
391
- }
392
-
393
- export namespace ResourceNotReadyException {
394
- /**
395
- * @internal
396
- */
397
- export const filterSensitiveLog = (obj: ResourceNotReadyException): any => ({
398
- ...obj,
399
- });
400
- }
401
-
402
- /**
403
- * <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>
404
- */
405
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
406
- name: "ThrottlingException";
407
- $fault: "client";
408
- }
409
-
410
- export namespace ThrottlingException {
411
- /**
412
- * @internal
413
- */
414
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
415
- ...obj,
416
- });
417
- }
418
-
419
- /**
420
- * <p></p>
421
- */
422
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
423
- name: "TooManyTagsException";
424
- $fault: "client";
425
- Message?: string;
426
- /**
427
- * <p></p>
428
- */
429
- ResourceName?: string;
430
- }
431
-
432
- export namespace TooManyTagsException {
433
- /**
434
- * @internal
435
- */
436
- export const filterSensitiveLog = (obj: TooManyTagsException): any => ({
437
- ...obj,
438
- });
439
- }
440
-
441
- export enum Framework {
442
- ETHEREUM = "ETHEREUM",
443
- HYPERLEDGER_FABRIC = "HYPERLEDGER_FABRIC",
444
- }
445
-
446
- export enum Edition {
447
- STANDARD = "STANDARD",
448
- STARTER = "STARTER",
449
- }
450
-
451
- /**
452
- * <p>Hyperledger Fabric configuration properties for the network.</p>
453
- */
454
- export interface NetworkFabricConfiguration {
455
- /**
456
- * <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>
457
- */
458
- Edition: Edition | string | undefined;
459
- }
460
-
461
- export namespace NetworkFabricConfiguration {
462
- /**
463
- * @internal
464
- */
465
- export const filterSensitiveLog = (obj: NetworkFabricConfiguration): any => ({
466
- ...obj,
467
- });
468
- }
469
-
470
- /**
471
- * <p>
472
- * Configuration properties relevant to the network for the blockchain framework that the network uses.
473
- * </p>
474
- */
475
- export interface NetworkFrameworkConfiguration {
476
- /**
477
- * <p>
478
- * Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.
479
- * </p>
480
- */
481
- Fabric?: NetworkFabricConfiguration;
482
- }
483
-
484
- export namespace NetworkFrameworkConfiguration {
485
- /**
486
- * @internal
487
- */
488
- export const filterSensitiveLog = (obj: NetworkFrameworkConfiguration): any => ({
489
- ...obj,
490
- });
491
- }
492
-
493
- /**
494
- * <p>
495
- * The voting rules for the network to decide if a proposal is accepted
496
- * </p>
497
- * <p>Applies only to Hyperledger Fabric.</p>
498
- */
499
- export interface VotingPolicy {
500
- /**
501
- * <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>
502
- */
503
- ApprovalThresholdPolicy?: ApprovalThresholdPolicy;
504
- }
505
-
506
- export namespace VotingPolicy {
507
- /**
508
- * @internal
509
- */
510
- export const filterSensitiveLog = (obj: VotingPolicy): any => ({
511
- ...obj,
512
- });
513
- }
514
-
515
- export interface CreateNetworkInput {
516
- /**
517
- * <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>
518
- */
519
- ClientRequestToken?: string;
520
-
521
- /**
522
- * <p>The name of the network.</p>
523
- */
524
- Name: string | undefined;
525
-
526
- /**
527
- * <p>An optional description for the network.</p>
528
- */
529
- Description?: string;
530
-
531
- /**
532
- * <p>The blockchain framework that the network uses.</p>
533
- */
534
- Framework: Framework | string | undefined;
535
-
536
- /**
537
- * <p>The version of the blockchain framework that the network uses.</p>
538
- */
539
- FrameworkVersion: string | undefined;
540
-
541
- /**
542
- * <p>
543
- * Configuration properties of the blockchain framework relevant to the network configuration.
544
- * </p>
545
- */
546
- FrameworkConfiguration?: NetworkFrameworkConfiguration;
547
-
548
- /**
549
- * <p>
550
- * The voting rules used by the network to determine if a proposal is approved.
551
- * </p>
552
- */
553
- VotingPolicy: VotingPolicy | undefined;
554
-
555
- /**
556
- * <p>Configuration properties for the first member within the network.</p>
557
- */
558
- MemberConfiguration: MemberConfiguration | undefined;
559
-
560
- /**
561
- * <p>Tags to assign to the network. Each tag consists of a key and optional value.</p>
562
- * <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>
563
- * <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>
564
- */
565
- Tags?: { [key: string]: string };
566
- }
567
-
568
- export namespace CreateNetworkInput {
569
- /**
570
- * @internal
571
- */
572
- export const filterSensitiveLog = (obj: CreateNetworkInput): any => ({
573
- ...obj,
574
- ...(obj.MemberConfiguration && {
575
- MemberConfiguration: MemberConfiguration.filterSensitiveLog(obj.MemberConfiguration),
576
- }),
577
- });
578
- }
579
-
580
- export interface CreateNetworkOutput {
581
- /**
582
- * <p>The unique identifier for the network.</p>
583
- */
584
- NetworkId?: string;
585
-
586
- /**
587
- * <p>The unique identifier for the first member within the network.</p>
588
- */
589
- MemberId?: string;
590
- }
591
-
592
- export namespace CreateNetworkOutput {
593
- /**
594
- * @internal
595
- */
596
- export const filterSensitiveLog = (obj: CreateNetworkOutput): any => ({
597
- ...obj,
598
- });
599
- }
600
-
601
- /**
602
- * <p>Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.</p>
603
- */
604
- export interface NodeFabricLogPublishingConfiguration {
605
- /**
606
- * <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>
607
- */
608
- ChaincodeLogs?: LogConfigurations;
609
-
610
- /**
611
- * <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>
612
- */
613
- PeerLogs?: LogConfigurations;
614
- }
615
-
616
- export namespace NodeFabricLogPublishingConfiguration {
617
- /**
618
- * @internal
619
- */
620
- export const filterSensitiveLog = (obj: NodeFabricLogPublishingConfiguration): any => ({
621
- ...obj,
622
- });
623
- }
624
-
625
- /**
626
- * <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
627
- */
628
- export interface NodeLogPublishingConfiguration {
629
- /**
630
- * <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>
631
- */
632
- Fabric?: NodeFabricLogPublishingConfiguration;
633
- }
634
-
635
- export namespace NodeLogPublishingConfiguration {
636
- /**
637
- * @internal
638
- */
639
- export const filterSensitiveLog = (obj: NodeLogPublishingConfiguration): any => ({
640
- ...obj,
641
- });
642
- }
643
-
644
- export enum StateDBType {
645
- CouchDB = "CouchDB",
646
- LevelDB = "LevelDB",
647
- }
648
-
649
- /**
650
- * <p>Configuration properties of a node.</p>
651
- */
652
- export interface NodeConfiguration {
653
- /**
654
- * <p>The Amazon Managed Blockchain instance type for the node.</p>
655
- */
656
- InstanceType: string | undefined;
657
-
658
- /**
659
- * <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
660
- */
661
- AvailabilityZone?: string;
662
-
663
- /**
664
- * <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
665
- * </p>
666
- */
667
- LogPublishingConfiguration?: NodeLogPublishingConfiguration;
668
-
669
- /**
670
- * <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>
671
- * <p>Applies only to Hyperledger Fabric.</p>
672
- */
673
- StateDB?: StateDBType | string;
674
- }
675
-
676
- export namespace NodeConfiguration {
677
- /**
678
- * @internal
679
- */
680
- export const filterSensitiveLog = (obj: NodeConfiguration): any => ({
681
- ...obj,
682
- });
683
- }
684
-
685
- export interface CreateNodeInput {
686
- /**
687
- * <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>
688
- */
689
- ClientRequestToken?: string;
690
-
691
- /**
692
- * <p>The unique identifier of the network for the node.</p>
693
- * <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
694
- * <ul>
695
- * <li>
696
- * <p>
697
- * <code>n-ethereum-mainnet</code>
698
- * </p>
699
- * </li>
700
- * <li>
701
- * <p>
702
- * <code>n-ethereum-rinkeby</code>
703
- * </p>
704
- * </li>
705
- * <li>
706
- * <p>
707
- * <code>n-ethereum-ropsten</code>
708
- * </p>
709
- * </li>
710
- * </ul>
711
- */
712
- NetworkId: string | undefined;
713
-
714
- /**
715
- * <p>The unique identifier of the member that owns this node.</p>
716
- * <p>Applies only to Hyperledger Fabric.</p>
717
- */
718
- MemberId?: string;
719
-
720
- /**
721
- * <p>The properties of a node configuration.</p>
722
- */
723
- NodeConfiguration: NodeConfiguration | undefined;
724
-
725
- /**
726
- * <p>Tags to assign to the node. Each tag consists of a key and optional value.</p>
727
- * <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>
728
- * <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>
729
- */
730
- Tags?: { [key: string]: string };
731
- }
732
-
733
- export namespace CreateNodeInput {
734
- /**
735
- * @internal
736
- */
737
- export const filterSensitiveLog = (obj: CreateNodeInput): any => ({
738
- ...obj,
739
- });
740
- }
741
-
742
- export interface CreateNodeOutput {
743
- /**
744
- * <p>The unique identifier of the node.</p>
745
- */
746
- NodeId?: string;
747
- }
748
-
749
- export namespace CreateNodeOutput {
750
- /**
751
- * @internal
752
- */
753
- export const filterSensitiveLog = (obj: CreateNodeOutput): any => ({
754
- ...obj,
755
- });
756
- }
757
-
758
- /**
759
- * <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>
760
- * <p>Applies only to Hyperledger Fabric.</p>
761
- */
762
- export interface InviteAction {
763
- /**
764
- * <p>The AWS account ID to invite.</p>
765
- */
766
- Principal: string | undefined;
767
- }
768
-
769
- export namespace InviteAction {
770
- /**
771
- * @internal
772
- */
773
- export const filterSensitiveLog = (obj: InviteAction): any => ({
774
- ...obj,
775
- });
776
- }
777
-
778
- /**
779
- * <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>
780
- * <p>Applies only to Hyperledger Fabric.</p>
781
- */
782
- export interface RemoveAction {
783
- /**
784
- * <p>The unique identifier of the member to remove.</p>
785
- */
786
- MemberId: string | undefined;
787
- }
788
-
789
- export namespace RemoveAction {
790
- /**
791
- * @internal
792
- */
793
- export const filterSensitiveLog = (obj: RemoveAction): any => ({
794
- ...obj,
795
- });
796
- }
797
-
798
- /**
799
- * <p>
800
- * The actions to carry out if a proposal is <code>APPROVED</code>.
801
- * </p>
802
- * <p>Applies only to Hyperledger Fabric.</p>
803
- */
804
- export interface ProposalActions {
805
- /**
806
- * <p>
807
- * The actions to perform for an <code>APPROVED</code> proposal to invite an AWS account to create a member and join the network.
808
- * </p>
809
- */
810
- Invitations?: InviteAction[];
811
-
812
- /**
813
- * <p>
814
- * 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.
815
- * </p>
816
- */
817
- Removals?: RemoveAction[];
818
- }
819
-
820
- export namespace ProposalActions {
821
- /**
822
- * @internal
823
- */
824
- export const filterSensitiveLog = (obj: ProposalActions): any => ({
825
- ...obj,
826
- });
827
- }
828
-
829
- export interface CreateProposalInput {
830
- /**
831
- * <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>
832
- */
833
- ClientRequestToken?: string;
834
-
835
- /**
836
- * <p>
837
- * The unique identifier of the network for which the proposal is made.</p>
838
- */
839
- NetworkId: string | undefined;
840
-
841
- /**
842
- * <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>
843
- */
844
- MemberId: string | undefined;
845
-
846
- /**
847
- * <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>
848
- */
849
- Actions: ProposalActions | undefined;
850
-
851
- /**
852
- * <p>A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."</p>
853
- */
854
- Description?: string;
855
-
856
- /**
857
- * <p>Tags to assign to the proposal. Each tag consists of a key and optional value.</p>
858
- * <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>
859
- * <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>
860
- */
861
- Tags?: { [key: string]: string };
862
- }
863
-
864
- export namespace CreateProposalInput {
865
- /**
866
- * @internal
867
- */
868
- export const filterSensitiveLog = (obj: CreateProposalInput): any => ({
869
- ...obj,
870
- });
871
- }
872
-
873
- export interface CreateProposalOutput {
874
- /**
875
- * <p>The unique identifier of the proposal.</p>
876
- */
877
- ProposalId?: string;
878
- }
879
-
880
- export namespace CreateProposalOutput {
881
- /**
882
- * @internal
883
- */
884
- export const filterSensitiveLog = (obj: CreateProposalOutput): any => ({
885
- ...obj,
886
- });
887
- }
888
-
889
- export interface DeleteMemberInput {
890
- /**
891
- * <p>The unique identifier of the network from which the member is removed.</p>
892
- */
893
- NetworkId: string | undefined;
894
-
895
- /**
896
- * <p>The unique identifier of the member to remove.</p>
897
- */
898
- MemberId: string | undefined;
899
- }
900
-
901
- export namespace DeleteMemberInput {
902
- /**
903
- * @internal
904
- */
905
- export const filterSensitiveLog = (obj: DeleteMemberInput): any => ({
906
- ...obj,
907
- });
908
- }
909
-
910
- export interface DeleteMemberOutput {}
911
-
912
- export namespace DeleteMemberOutput {
913
- /**
914
- * @internal
915
- */
916
- export const filterSensitiveLog = (obj: DeleteMemberOutput): any => ({
917
- ...obj,
918
- });
919
- }
920
-
921
- export interface DeleteNodeInput {
922
- /**
923
- * <p>The unique identifier of the network that the node is on.</p>
924
- * <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
925
- * <ul>
926
- * <li>
927
- * <p>
928
- * <code>n-ethereum-mainnet</code>
929
- * </p>
930
- * </li>
931
- * <li>
932
- * <p>
933
- * <code>n-ethereum-rinkeby</code>
934
- * </p>
935
- * </li>
936
- * <li>
937
- * <p>
938
- * <code>n-ethereum-ropsten</code>
939
- * </p>
940
- * </li>
941
- * </ul>
942
- */
943
- NetworkId: string | undefined;
944
-
945
- /**
946
- * <p>The unique identifier of the member that owns this node.</p>
947
- * <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
948
- */
949
- MemberId?: string;
950
-
951
- /**
952
- * <p>The unique identifier of the node.</p>
953
- */
954
- NodeId: string | undefined;
955
- }
956
-
957
- export namespace DeleteNodeInput {
958
- /**
959
- * @internal
960
- */
961
- export const filterSensitiveLog = (obj: DeleteNodeInput): any => ({
962
- ...obj,
963
- });
964
- }
965
-
966
- export interface DeleteNodeOutput {}
967
-
968
- export namespace DeleteNodeOutput {
969
- /**
970
- * @internal
971
- */
972
- export const filterSensitiveLog = (obj: DeleteNodeOutput): any => ({
973
- ...obj,
974
- });
975
- }
976
-
977
- export interface GetMemberInput {
978
- /**
979
- * <p>The unique identifier of the network to which the member belongs.</p>
980
- */
981
- NetworkId: string | undefined;
982
-
983
- /**
984
- * <p>The unique identifier of the member.</p>
985
- */
986
- MemberId: string | undefined;
987
- }
988
-
989
- export namespace GetMemberInput {
990
- /**
991
- * @internal
992
- */
993
- export const filterSensitiveLog = (obj: GetMemberInput): any => ({
994
- ...obj,
995
- });
996
- }
997
-
998
- /**
999
- * <p>Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
1000
- */
1001
- export interface MemberFabricAttributes {
1002
- /**
1003
- * <p>The user name for the initial administrator user for the member.</p>
1004
- */
1005
- AdminUsername?: string;
1006
-
1007
- /**
1008
- * <p>The endpoint used to access the member's certificate authority.</p>
1009
- */
1010
- CaEndpoint?: string;
1011
- }
1012
-
1013
- export namespace MemberFabricAttributes {
1014
- /**
1015
- * @internal
1016
- */
1017
- export const filterSensitiveLog = (obj: MemberFabricAttributes): any => ({
1018
- ...obj,
1019
- });
1020
- }
1021
-
1022
- /**
1023
- * <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
1024
- */
1025
- export interface MemberFrameworkAttributes {
1026
- /**
1027
- * <p>Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
1028
- */
1029
- Fabric?: MemberFabricAttributes;
1030
- }
1031
-
1032
- export namespace MemberFrameworkAttributes {
1033
- /**
1034
- * @internal
1035
- */
1036
- export const filterSensitiveLog = (obj: MemberFrameworkAttributes): any => ({
1037
- ...obj,
1038
- });
1039
- }
1040
-
1041
- export enum MemberStatus {
1042
- AVAILABLE = "AVAILABLE",
1043
- CREATE_FAILED = "CREATE_FAILED",
1044
- CREATING = "CREATING",
1045
- DELETED = "DELETED",
1046
- DELETING = "DELETING",
1047
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
1048
- UPDATING = "UPDATING",
1049
- }
1050
-
1051
- /**
1052
- * <p>Member configuration properties.</p>
1053
- * <p>Applies only to Hyperledger Fabric.</p>
1054
- */
1055
- export interface Member {
1056
- /**
1057
- * <p>The unique identifier of the network to which the member belongs.</p>
1058
- */
1059
- NetworkId?: string;
1060
-
1061
- /**
1062
- * <p>The unique identifier of the member.</p>
1063
- */
1064
- Id?: string;
1065
-
1066
- /**
1067
- * <p>The name of the member.</p>
1068
- */
1069
- Name?: string;
1070
-
1071
- /**
1072
- * <p>An optional description for the member.</p>
1073
- */
1074
- Description?: string;
1075
-
1076
- /**
1077
- * <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
1078
- */
1079
- FrameworkAttributes?: MemberFrameworkAttributes;
1080
-
1081
- /**
1082
- * <p>Configuration properties for logging events associated with a member.</p>
1083
- */
1084
- LogPublishingConfiguration?: MemberLogPublishingConfiguration;
1085
-
1086
- /**
1087
- * <p>The status of a member.</p>
1088
- * <ul>
1089
- * <li>
1090
- * <p>
1091
- * <code>CREATING</code> - The AWS account is in the process of creating a member.</p>
1092
- * </li>
1093
- * <li>
1094
- * <p>
1095
- * <code>AVAILABLE</code> - The member has been created and can participate in the network.</p>
1096
- * </li>
1097
- * <li>
1098
- * <p>
1099
- * <code>CREATE_FAILED</code> - The AWS account attempted to create a member and creation failed.</p>
1100
- * </li>
1101
- * <li>
1102
- * <p>
1103
- * <code>UPDATING</code> - The member is in the process of being updated.</p>
1104
- * </li>
1105
- * <li>
1106
- * <p>
1107
- * <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>
1108
- * <code>PROPOSAL</code> to remove the member.</p>
1109
- * </li>
1110
- * <li>
1111
- * <p>
1112
- * <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>
1113
- * <code>PROPOSAL</code> to remove the member.</p>
1114
- * </li>
1115
- * <li>
1116
- * <p>
1117
- * <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>
1118
- * <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>
1119
- * </li>
1120
- * </ul>
1121
- */
1122
- Status?: MemberStatus | string;
1123
-
1124
- /**
1125
- * <p>The date and time that the member was created.</p>
1126
- */
1127
- CreationDate?: Date;
1128
-
1129
- /**
1130
- * <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>
1131
- */
1132
- Tags?: { [key: string]: string };
1133
-
1134
- /**
1135
- * <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>
1136
- */
1137
- Arn?: string;
1138
-
1139
- /**
1140
- * <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>
1141
- */
1142
- KmsKeyArn?: string;
1143
- }
1144
-
1145
- export namespace Member {
1146
- /**
1147
- * @internal
1148
- */
1149
- export const filterSensitiveLog = (obj: Member): any => ({
1150
- ...obj,
1151
- });
1152
- }
1153
-
1154
- export interface GetMemberOutput {
1155
- /**
1156
- * <p>The properties of a member.</p>
1157
- */
1158
- Member?: Member;
1159
- }
1160
-
1161
- export namespace GetMemberOutput {
1162
- /**
1163
- * @internal
1164
- */
1165
- export const filterSensitiveLog = (obj: GetMemberOutput): any => ({
1166
- ...obj,
1167
- });
1168
- }
1169
-
1170
- export interface GetNetworkInput {
1171
- /**
1172
- * <p>The unique identifier of the network to get information about.</p>
1173
- */
1174
- NetworkId: string | undefined;
1175
- }
1176
-
1177
- export namespace GetNetworkInput {
1178
- /**
1179
- * @internal
1180
- */
1181
- export const filterSensitiveLog = (obj: GetNetworkInput): any => ({
1182
- ...obj,
1183
- });
1184
- }
1185
-
1186
- /**
1187
- * <p>Attributes of Ethereum for a network. </p>
1188
- */
1189
- export interface NetworkEthereumAttributes {
1190
- /**
1191
- * <p>The Ethereum <code>CHAIN_ID</code> associated with the Ethereum network. Chain IDs are as follows:</p>
1192
- * <ul>
1193
- * <li>
1194
- * <p>mainnet = <code>1</code>
1195
- * </p>
1196
- * </li>
1197
- * <li>
1198
- * <p>rinkeby = <code>4</code>
1199
- * </p>
1200
- * </li>
1201
- * <li>
1202
- * <p>ropsten = <code>3</code>
1203
- * </p>
1204
- * </li>
1205
- * </ul>
1206
- */
1207
- ChainId?: string;
1208
- }
1209
-
1210
- export namespace NetworkEthereumAttributes {
1211
- /**
1212
- * @internal
1213
- */
1214
- export const filterSensitiveLog = (obj: NetworkEthereumAttributes): any => ({
1215
- ...obj,
1216
- });
1217
- }
1218
-
1219
- /**
1220
- * <p>Attributes of Hyperledger Fabric for a network.</p>
1221
- */
1222
- export interface NetworkFabricAttributes {
1223
- /**
1224
- * <p>The endpoint of the ordering service for the network.</p>
1225
- */
1226
- OrderingServiceEndpoint?: string;
1227
-
1228
- /**
1229
- * <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>
1230
- */
1231
- Edition?: Edition | string;
1232
- }
1233
-
1234
- export namespace NetworkFabricAttributes {
1235
- /**
1236
- * @internal
1237
- */
1238
- export const filterSensitiveLog = (obj: NetworkFabricAttributes): any => ({
1239
- ...obj,
1240
- });
1241
- }
1242
-
1243
- /**
1244
- * <p>Attributes relevant to the network for the blockchain framework that the network uses.</p>
1245
- */
1246
- export interface NetworkFrameworkAttributes {
1247
- /**
1248
- * <p>Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.</p>
1249
- */
1250
- Fabric?: NetworkFabricAttributes;
1251
-
1252
- /**
1253
- * <p>Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network. </p>
1254
- */
1255
- Ethereum?: NetworkEthereumAttributes;
1256
- }
1257
-
1258
- export namespace NetworkFrameworkAttributes {
1259
- /**
1260
- * @internal
1261
- */
1262
- export const filterSensitiveLog = (obj: NetworkFrameworkAttributes): any => ({
1263
- ...obj,
1264
- });
1265
- }
1266
-
1267
- export enum NetworkStatus {
1268
- AVAILABLE = "AVAILABLE",
1269
- CREATE_FAILED = "CREATE_FAILED",
1270
- CREATING = "CREATING",
1271
- DELETED = "DELETED",
1272
- DELETING = "DELETING",
1273
- }
1274
-
1275
- /**
1276
- * <p>Network configuration properties.</p>
1277
- */
1278
- export interface Network {
1279
- /**
1280
- * <p>The unique identifier of the network.</p>
1281
- */
1282
- Id?: string;
1283
-
1284
- /**
1285
- * <p>The name of the network.</p>
1286
- */
1287
- Name?: string;
1288
-
1289
- /**
1290
- * <p>Attributes of the blockchain framework for the network.</p>
1291
- */
1292
- Description?: string;
1293
-
1294
- /**
1295
- * <p>The blockchain framework that the network uses.</p>
1296
- */
1297
- Framework?: Framework | string;
1298
-
1299
- /**
1300
- * <p>The version of the blockchain framework that the network uses.</p>
1301
- */
1302
- FrameworkVersion?: string;
1303
-
1304
- /**
1305
- * <p>Attributes of the blockchain framework that the network uses.</p>
1306
- */
1307
- FrameworkAttributes?: NetworkFrameworkAttributes;
1308
-
1309
- /**
1310
- * <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>
1311
- */
1312
- VpcEndpointServiceName?: string;
1313
-
1314
- /**
1315
- * <p>The voting rules for the network to decide if a proposal is accepted.</p>
1316
- */
1317
- VotingPolicy?: VotingPolicy;
1318
-
1319
- /**
1320
- * <p>The current status of the network.</p>
1321
- */
1322
- Status?: NetworkStatus | string;
1323
-
1324
- /**
1325
- * <p>The date and time that the network was created.</p>
1326
- */
1327
- CreationDate?: Date;
1328
-
1329
- /**
1330
- * <p>Tags assigned to the network. Each tag consists of a key and optional value.</p>
1331
- * <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>
1332
- */
1333
- Tags?: { [key: string]: string };
1334
-
1335
- /**
1336
- * <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>
1337
- */
1338
- Arn?: string;
1339
- }
1340
-
1341
- export namespace Network {
1342
- /**
1343
- * @internal
1344
- */
1345
- export const filterSensitiveLog = (obj: Network): any => ({
1346
- ...obj,
1347
- });
1348
- }
1349
-
1350
- export interface GetNetworkOutput {
1351
- /**
1352
- * <p>An object containing network configuration parameters.</p>
1353
- */
1354
- Network?: Network;
1355
- }
1356
-
1357
- export namespace GetNetworkOutput {
1358
- /**
1359
- * @internal
1360
- */
1361
- export const filterSensitiveLog = (obj: GetNetworkOutput): any => ({
1362
- ...obj,
1363
- });
1364
- }
1365
-
1366
- export interface GetNodeInput {
1367
- /**
1368
- * <p>The unique identifier of the network that the node is on.</p>
1369
- */
1370
- NetworkId: string | undefined;
1371
-
1372
- /**
1373
- * <p>The unique identifier of the member that owns the node.</p>
1374
- * <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
1375
- */
1376
- MemberId?: string;
1377
-
1378
- /**
1379
- * <p>The unique identifier of the node.</p>
1380
- */
1381
- NodeId: string | undefined;
1382
- }
1383
-
1384
- export namespace GetNodeInput {
1385
- /**
1386
- * @internal
1387
- */
1388
- export const filterSensitiveLog = (obj: GetNodeInput): any => ({
1389
- ...obj,
1390
- });
1391
- }
1392
-
1393
- /**
1394
- * <p>Attributes of an Ethereum node.</p>
1395
- */
1396
- export interface NodeEthereumAttributes {
1397
- /**
1398
- * <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>
1399
- */
1400
- HttpEndpoint?: string;
1401
-
1402
- /**
1403
- * <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>
1404
- */
1405
- WebSocketEndpoint?: string;
1406
- }
1407
-
1408
- export namespace NodeEthereumAttributes {
1409
- /**
1410
- * @internal
1411
- */
1412
- export const filterSensitiveLog = (obj: NodeEthereumAttributes): any => ({
1413
- ...obj,
1414
- });
1415
- }
1416
-
1417
- /**
1418
- * <p>Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
1419
- */
1420
- export interface NodeFabricAttributes {
1421
- /**
1422
- * <p>The endpoint that identifies the peer node for all services except peer channel-based event services.</p>
1423
- */
1424
- PeerEndpoint?: string;
1425
-
1426
- /**
1427
- * <p>The endpoint that identifies the peer node for peer channel-based event services.</p>
1428
- */
1429
- PeerEventEndpoint?: string;
1430
- }
1431
-
1432
- export namespace NodeFabricAttributes {
1433
- /**
1434
- * @internal
1435
- */
1436
- export const filterSensitiveLog = (obj: NodeFabricAttributes): any => ({
1437
- ...obj,
1438
- });
1439
- }
1440
-
1441
- /**
1442
- * <p>Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.</p>
1443
- */
1444
- export interface NodeFrameworkAttributes {
1445
- /**
1446
- * <p>Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.</p>
1447
- */
1448
- Fabric?: NodeFabricAttributes;
1449
-
1450
- /**
1451
- * <p>Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum. </p>
1452
- */
1453
- Ethereum?: NodeEthereumAttributes;
1454
- }
1455
-
1456
- export namespace NodeFrameworkAttributes {
1457
- /**
1458
- * @internal
1459
- */
1460
- export const filterSensitiveLog = (obj: NodeFrameworkAttributes): any => ({
1461
- ...obj,
1462
- });
1463
- }
1464
-
1465
- export enum NodeStatus {
1466
- AVAILABLE = "AVAILABLE",
1467
- CREATE_FAILED = "CREATE_FAILED",
1468
- CREATING = "CREATING",
1469
- DELETED = "DELETED",
1470
- DELETING = "DELETING",
1471
- FAILED = "FAILED",
1472
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
1473
- UNHEALTHY = "UNHEALTHY",
1474
- UPDATING = "UPDATING",
1475
- }
1476
-
1477
- /**
1478
- * <p>Configuration properties of a node.</p>
1479
- */
1480
- export interface Node {
1481
- /**
1482
- * <p>The unique identifier of the network that the node is on.</p>
1483
- */
1484
- NetworkId?: string;
1485
-
1486
- /**
1487
- * <p>The unique identifier of the member to which the node belongs.</p>
1488
- * <p>Applies only to Hyperledger Fabric.</p>
1489
- */
1490
- MemberId?: string;
1491
-
1492
- /**
1493
- * <p>The unique identifier of the node.</p>
1494
- */
1495
- Id?: string;
1496
-
1497
- /**
1498
- * <p>The instance type of the node.</p>
1499
- */
1500
- InstanceType?: string;
1501
-
1502
- /**
1503
- * <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
1504
- */
1505
- AvailabilityZone?: string;
1506
-
1507
- /**
1508
- * <p>Attributes of the blockchain framework being used.</p>
1509
- */
1510
- FrameworkAttributes?: NodeFrameworkAttributes;
1511
-
1512
- /**
1513
- * <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
1514
- */
1515
- LogPublishingConfiguration?: NodeLogPublishingConfiguration;
1516
-
1517
- /**
1518
- * <p>The state database that the node uses. Values are <code>LevelDB</code> or <code>CouchDB</code>.</p>
1519
- * <p>Applies only to Hyperledger Fabric.</p>
1520
- */
1521
- StateDB?: StateDBType | string;
1522
-
1523
- /**
1524
- * <p>The status of the node.</p>
1525
- * <ul>
1526
- * <li>
1527
- * <p>
1528
- * <code>CREATING</code> - The AWS account is in the process of creating a node.</p>
1529
- * </li>
1530
- * <li>
1531
- * <p>
1532
- * <code>AVAILABLE</code> - The node has been created and can participate in the network.</p>
1533
- * </li>
1534
- * <li>
1535
- * <p>
1536
- * <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>
1537
- * </li>
1538
- * <li>
1539
- * <p>
1540
- * <code>CREATE_FAILED</code> - The AWS account attempted to create a node and creation failed.</p>
1541
- * </li>
1542
- * <li>
1543
- * <p>
1544
- * <code>UPDATING</code> - The node is in the process of being updated.</p>
1545
- * </li>
1546
- * <li>
1547
- * <p>
1548
- * <code>DELETING</code> - The node is in the process of being deleted.</p>
1549
- * </li>
1550
- * <li>
1551
- * <p>
1552
- * <code>DELETED</code> - The node can no longer participate on the network.</p>
1553
- * </li>
1554
- * <li>
1555
- * <p>
1556
- * <code>FAILED</code> - The node is no longer functional, cannot be recovered, and must be deleted.</p>
1557
- * </li>
1558
- * <li>
1559
- * <p>
1560
- * <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>
1561
- * <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>
1562
- * </li>
1563
- * </ul>
1564
- */
1565
- Status?: NodeStatus | string;
1566
-
1567
- /**
1568
- * <p>The date and time that the node was created.</p>
1569
- */
1570
- CreationDate?: Date;
1571
-
1572
- /**
1573
- * <p>Tags assigned to the node. Each tag consists of a key and optional value.</p>
1574
- * <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>
1575
- */
1576
- Tags?: { [key: string]: string };
1577
-
1578
- /**
1579
- * <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>
1580
- */
1581
- Arn?: string;
1582
-
1583
- /**
1584
- * <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>
1585
- * <p>Applies only to Hyperledger Fabric.</p>
1586
- */
1587
- KmsKeyArn?: string;
1588
- }
1589
-
1590
- export namespace Node {
1591
- /**
1592
- * @internal
1593
- */
1594
- export const filterSensitiveLog = (obj: Node): any => ({
1595
- ...obj,
1596
- });
1597
- }
1598
-
1599
- export interface GetNodeOutput {
1600
- /**
1601
- * <p>Properties of the node configuration.</p>
1602
- */
1603
- Node?: Node;
1604
- }
1605
-
1606
- export namespace GetNodeOutput {
1607
- /**
1608
- * @internal
1609
- */
1610
- export const filterSensitiveLog = (obj: GetNodeOutput): any => ({
1611
- ...obj,
1612
- });
1613
- }
1614
-
1615
- export interface GetProposalInput {
1616
- /**
1617
- * <p>The unique identifier of the network for which the proposal is made.</p>
1618
- */
1619
- NetworkId: string | undefined;
1620
-
1621
- /**
1622
- * <p>The unique identifier of the proposal.</p>
1623
- */
1624
- ProposalId: string | undefined;
1625
- }
1626
-
1627
- export namespace GetProposalInput {
1628
- /**
1629
- * @internal
1630
- */
1631
- export const filterSensitiveLog = (obj: GetProposalInput): any => ({
1632
- ...obj,
1633
- });
1634
- }
1635
-
1636
- export enum ProposalStatus {
1637
- ACTION_FAILED = "ACTION_FAILED",
1638
- APPROVED = "APPROVED",
1639
- EXPIRED = "EXPIRED",
1640
- IN_PROGRESS = "IN_PROGRESS",
1641
- REJECTED = "REJECTED",
1642
- }
1643
-
1644
- /**
1645
- * <p>Properties of a proposal on a Managed Blockchain network.</p>
1646
- * <p>Applies only to Hyperledger Fabric.</p>
1647
- */
1648
- export interface Proposal {
1649
- /**
1650
- * <p>The unique identifier of the proposal.</p>
1651
- */
1652
- ProposalId?: string;
1653
-
1654
- /**
1655
- * <p>The unique identifier of the network for which the proposal is made.</p>
1656
- */
1657
- NetworkId?: string;
1658
-
1659
- /**
1660
- * <p>The description of the proposal.</p>
1661
- */
1662
- Description?: string;
1663
-
1664
- /**
1665
- * <p>The actions to perform on the network if the proposal is <code>APPROVED</code>.</p>
1666
- */
1667
- Actions?: ProposalActions;
1668
-
1669
- /**
1670
- * <p>The unique identifier of the member that created the proposal.</p>
1671
- */
1672
- ProposedByMemberId?: string;
1673
-
1674
- /**
1675
- * <p>The name of the member that created the proposal.</p>
1676
- */
1677
- ProposedByMemberName?: string;
1678
-
1679
- /**
1680
- * <p>The status of the proposal. Values are as follows:</p>
1681
- * <ul>
1682
- * <li>
1683
- * <p>
1684
- * <code>IN_PROGRESS</code> - The proposal is active and open for member voting.</p>
1685
- * </li>
1686
- * <li>
1687
- * <p>
1688
- * <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>
1689
- * </li>
1690
- * <li>
1691
- * <p>
1692
- * <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>
1693
- * </li>
1694
- * <li>
1695
- * <p>
1696
- * <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>
1697
- * </li>
1698
- * <li>
1699
- * <p>
1700
- * <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>
1701
- * </li>
1702
- * </ul>
1703
- */
1704
- Status?: ProposalStatus | string;
1705
-
1706
- /**
1707
- * <p>
1708
- * The date and time that the proposal was created.
1709
- * </p>
1710
- */
1711
- CreationDate?: Date;
1712
-
1713
- /**
1714
- * <p>
1715
- * 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.
1716
- * </p>
1717
- */
1718
- ExpirationDate?: Date;
1719
-
1720
- /**
1721
- * <p>
1722
- * The current total of <code>YES</code> votes cast on the proposal by members.
1723
- * </p>
1724
- */
1725
- YesVoteCount?: number;
1726
-
1727
- /**
1728
- * <p>
1729
- * The current total of <code>NO</code> votes cast on the proposal by members.
1730
- * </p>
1731
- */
1732
- NoVoteCount?: number;
1733
-
1734
- /**
1735
- * <p>
1736
- * 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.
1737
- * </p>
1738
- */
1739
- OutstandingVoteCount?: number;
1740
-
1741
- /**
1742
- * <p>Tags assigned to the proposal. Each tag consists of a key and optional value.</p>
1743
- * <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>
1744
- */
1745
- Tags?: { [key: string]: string };
1746
-
1747
- /**
1748
- * <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>
1749
- */
1750
- Arn?: string;
1751
- }
1752
-
1753
- export namespace Proposal {
1754
- /**
1755
- * @internal
1756
- */
1757
- export const filterSensitiveLog = (obj: Proposal): any => ({
1758
- ...obj,
1759
- });
1760
- }
1761
-
1762
- export interface GetProposalOutput {
1763
- /**
1764
- * <p>Information about a proposal.</p>
1765
- */
1766
- Proposal?: Proposal;
1767
- }
1768
-
1769
- export namespace GetProposalOutput {
1770
- /**
1771
- * @internal
1772
- */
1773
- export const filterSensitiveLog = (obj: GetProposalOutput): any => ({
1774
- ...obj,
1775
- });
1776
- }
1777
-
1778
- /**
1779
- * <p></p>
1780
- */
1781
- export interface IllegalActionException extends __SmithyException, $MetadataBearer {
1782
- name: "IllegalActionException";
1783
- $fault: "client";
1784
- Message?: string;
1785
- }
1786
-
1787
- export namespace IllegalActionException {
1788
- /**
1789
- * @internal
1790
- */
1791
- export const filterSensitiveLog = (obj: IllegalActionException): any => ({
1792
- ...obj,
1793
- });
1794
- }
1795
-
1796
- /**
1797
- * <p>A summary of network configuration properties.</p>
1798
- */
1799
- export interface NetworkSummary {
1800
- /**
1801
- * <p>The unique identifier of the network.</p>
1802
- */
1803
- Id?: string;
1804
-
1805
- /**
1806
- * <p>The name of the network.</p>
1807
- */
1808
- Name?: string;
1809
-
1810
- /**
1811
- * <p>An optional description of the network.</p>
1812
- */
1813
- Description?: string;
1814
-
1815
- /**
1816
- * <p>The blockchain framework that the network uses.</p>
1817
- */
1818
- Framework?: Framework | string;
1819
-
1820
- /**
1821
- * <p>The version of the blockchain framework that the network uses.</p>
1822
- */
1823
- FrameworkVersion?: string;
1824
-
1825
- /**
1826
- * <p>The current status of the network.</p>
1827
- */
1828
- Status?: NetworkStatus | string;
1829
-
1830
- /**
1831
- * <p>The date and time that the network was created.</p>
1832
- */
1833
- CreationDate?: Date;
1834
-
1835
- /**
1836
- * <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>
1837
- */
1838
- Arn?: string;
1839
- }
1840
-
1841
- export namespace NetworkSummary {
1842
- /**
1843
- * @internal
1844
- */
1845
- export const filterSensitiveLog = (obj: NetworkSummary): any => ({
1846
- ...obj,
1847
- });
1848
- }
1849
-
1850
- export enum InvitationStatus {
1851
- ACCEPTED = "ACCEPTED",
1852
- ACCEPTING = "ACCEPTING",
1853
- EXPIRED = "EXPIRED",
1854
- PENDING = "PENDING",
1855
- REJECTED = "REJECTED",
1856
- }
1857
-
1858
- /**
1859
- * <p>An invitation to an AWS account to create a member and join the network.</p>
1860
- * <p>Applies only to Hyperledger Fabric.</p>
1861
- */
1862
- export interface Invitation {
1863
- /**
1864
- * <p>The unique identifier for the invitation.</p>
1865
- */
1866
- InvitationId?: string;
1867
-
1868
- /**
1869
- * <p>The date and time that the invitation was created.</p>
1870
- */
1871
- CreationDate?: Date;
1872
-
1873
- /**
1874
- * <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>
1875
- */
1876
- ExpirationDate?: Date;
1877
-
1878
- /**
1879
- * <p>The status of the invitation:</p>
1880
- * <ul>
1881
- * <li>
1882
- * <p>
1883
- * <code>PENDING</code> - The invitee has not created a member to join the network, and the invitation has not yet expired.</p>
1884
- * </li>
1885
- * <li>
1886
- * <p>
1887
- * <code>ACCEPTING</code> - The invitee has begun creating a member, and creation has not yet completed.</p>
1888
- * </li>
1889
- * <li>
1890
- * <p>
1891
- * <code>ACCEPTED</code> - The invitee created a member and joined the network using the <code>InvitationID</code>.</p>
1892
- * </li>
1893
- * <li>
1894
- * <p>
1895
- * <code>REJECTED</code> - The invitee rejected the invitation.</p>
1896
- * </li>
1897
- * <li>
1898
- * <p>
1899
- * <code>EXPIRED</code> - The invitee neither created a member nor rejected the invitation before the <code>ExpirationDate</code>.</p>
1900
- * </li>
1901
- * </ul>
1902
- */
1903
- Status?: InvitationStatus | string;
1904
-
1905
- /**
1906
- * <p>A summary of network configuration properties.</p>
1907
- */
1908
- NetworkSummary?: NetworkSummary;
1909
-
1910
- /**
1911
- * <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>
1912
- */
1913
- Arn?: string;
1914
- }
1915
-
1916
- export namespace Invitation {
1917
- /**
1918
- * @internal
1919
- */
1920
- export const filterSensitiveLog = (obj: Invitation): any => ({
1921
- ...obj,
1922
- });
1923
- }
1924
-
1925
- export interface ListInvitationsInput {
1926
- /**
1927
- * <p>The maximum number of invitations to return.</p>
1928
- */
1929
- MaxResults?: number;
1930
-
1931
- /**
1932
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1933
- */
1934
- NextToken?: string;
1935
- }
1936
-
1937
- export namespace ListInvitationsInput {
1938
- /**
1939
- * @internal
1940
- */
1941
- export const filterSensitiveLog = (obj: ListInvitationsInput): any => ({
1942
- ...obj,
1943
- });
1944
- }
1945
-
1946
- export interface ListInvitationsOutput {
1947
- /**
1948
- * <p>The invitations for the network.</p>
1949
- */
1950
- Invitations?: Invitation[];
1951
-
1952
- /**
1953
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1954
- */
1955
- NextToken?: string;
1956
- }
1957
-
1958
- export namespace ListInvitationsOutput {
1959
- /**
1960
- * @internal
1961
- */
1962
- export const filterSensitiveLog = (obj: ListInvitationsOutput): any => ({
1963
- ...obj,
1964
- });
1965
- }
1966
-
1967
- export interface ListMembersInput {
1968
- /**
1969
- * <p>The unique identifier of the network for which to list members.</p>
1970
- */
1971
- NetworkId: string | undefined;
1972
-
1973
- /**
1974
- * <p>The optional name of the member to list.</p>
1975
- */
1976
- Name?: string;
1977
-
1978
- /**
1979
- * <p>An optional status specifier. If provided, only members currently in this status are listed.</p>
1980
- */
1981
- Status?: MemberStatus | string;
1982
-
1983
- /**
1984
- * <p>An optional Boolean value. If provided, the request is limited either to
1985
- * members that the current AWS account owns (<code>true</code>) or that other AWS accounts
1986
- * own (<code>false</code>). If omitted, all members are listed.</p>
1987
- */
1988
- IsOwned?: boolean;
1989
-
1990
- /**
1991
- * <p>The maximum number of members to return in the request.</p>
1992
- */
1993
- MaxResults?: number;
1994
-
1995
- /**
1996
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
1997
- */
1998
- NextToken?: string;
1999
- }
2000
-
2001
- export namespace ListMembersInput {
2002
- /**
2003
- * @internal
2004
- */
2005
- export const filterSensitiveLog = (obj: ListMembersInput): any => ({
2006
- ...obj,
2007
- });
2008
- }
2009
-
2010
- /**
2011
- * <p>A summary of configuration properties for a member.</p>
2012
- * <p>Applies only to Hyperledger Fabric.</p>
2013
- */
2014
- export interface MemberSummary {
2015
- /**
2016
- * <p>The unique identifier of the member.</p>
2017
- */
2018
- Id?: string;
2019
-
2020
- /**
2021
- * <p>The name of the member.</p>
2022
- */
2023
- Name?: string;
2024
-
2025
- /**
2026
- * <p>An optional description of the member.</p>
2027
- */
2028
- Description?: string;
2029
-
2030
- /**
2031
- * <p>The status of the member.</p>
2032
- * <ul>
2033
- * <li>
2034
- * <p>
2035
- * <code>CREATING</code> - The AWS account is in the process of creating a member.</p>
2036
- * </li>
2037
- * <li>
2038
- * <p>
2039
- * <code>AVAILABLE</code> - The member has been created and can participate in the network.</p>
2040
- * </li>
2041
- * <li>
2042
- * <p>
2043
- * <code>CREATE_FAILED</code> - The AWS account attempted to create a member and creation failed.</p>
2044
- * </li>
2045
- * <li>
2046
- * <p>
2047
- * <code>UPDATING</code> - The member is in the process of being updated.</p>
2048
- * </li>
2049
- * <li>
2050
- * <p>
2051
- * <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>
2052
- * <code>PROPOSAL</code> to remove the member.</p>
2053
- * </li>
2054
- * <li>
2055
- * <p>
2056
- * <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>
2057
- * <code>PROPOSAL</code> to remove the member.</p>
2058
- * </li>
2059
- * <li>
2060
- * <p>
2061
- * <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>
2062
- * <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>
2063
- * </li>
2064
- * </ul>
2065
- */
2066
- Status?: MemberStatus | string;
2067
-
2068
- /**
2069
- * <p>The date and time that the member was created.</p>
2070
- */
2071
- CreationDate?: Date;
2072
-
2073
- /**
2074
- * <p>An indicator of whether the member is owned by your AWS account or a different AWS account.</p>
2075
- */
2076
- IsOwned?: boolean;
2077
-
2078
- /**
2079
- * <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>
2080
- */
2081
- Arn?: string;
2082
- }
2083
-
2084
- export namespace MemberSummary {
2085
- /**
2086
- * @internal
2087
- */
2088
- export const filterSensitiveLog = (obj: MemberSummary): any => ({
2089
- ...obj,
2090
- });
2091
- }
2092
-
2093
- export interface ListMembersOutput {
2094
- /**
2095
- * <p>An array of <code>MemberSummary</code> objects. Each object contains details about a network member.</p>
2096
- */
2097
- Members?: MemberSummary[];
2098
-
2099
- /**
2100
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
2101
- */
2102
- NextToken?: string;
2103
- }
2104
-
2105
- export namespace ListMembersOutput {
2106
- /**
2107
- * @internal
2108
- */
2109
- export const filterSensitiveLog = (obj: ListMembersOutput): any => ({
2110
- ...obj,
2111
- });
2112
- }
2113
-
2114
- export interface ListNetworksInput {
2115
- /**
2116
- * <p>The name of the network.</p>
2117
- */
2118
- Name?: string;
2119
-
2120
- /**
2121
- * <p>An optional framework specifier. If provided, only networks of this framework type are listed.</p>
2122
- */
2123
- Framework?: Framework | string;
2124
-
2125
- /**
2126
- * <p>An optional status specifier. If provided, only networks currently in this status are listed.</p>
2127
- * <p>Applies only to Hyperledger Fabric.</p>
2128
- */
2129
- Status?: NetworkStatus | string;
2130
-
2131
- /**
2132
- * <p>The maximum number of networks to list.</p>
2133
- */
2134
- MaxResults?: number;
2135
-
2136
- /**
2137
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
2138
- */
2139
- NextToken?: string;
2140
- }
2141
-
2142
- export namespace ListNetworksInput {
2143
- /**
2144
- * @internal
2145
- */
2146
- export const filterSensitiveLog = (obj: ListNetworksInput): any => ({
2147
- ...obj,
2148
- });
2149
- }
2150
-
2151
- export interface ListNetworksOutput {
2152
- /**
2153
- * <p>An array of <code>NetworkSummary</code> objects that contain configuration properties for each network.</p>
2154
- */
2155
- Networks?: NetworkSummary[];
2156
-
2157
- /**
2158
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
2159
- */
2160
- NextToken?: string;
2161
- }
2162
-
2163
- export namespace ListNetworksOutput {
2164
- /**
2165
- * @internal
2166
- */
2167
- export const filterSensitiveLog = (obj: ListNetworksOutput): any => ({
2168
- ...obj,
2169
- });
2170
- }
2171
-
2172
- export interface ListNodesInput {
2173
- /**
2174
- * <p>The unique identifier of the network for which to list nodes.</p>
2175
- */
2176
- NetworkId: string | undefined;
2177
-
2178
- /**
2179
- * <p>The unique identifier of the member who owns the nodes to list.</p>
2180
- * <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
2181
- */
2182
- MemberId?: string;
2183
-
2184
- /**
2185
- * <p>An optional status specifier. If provided, only nodes currently in this status are listed.</p>
2186
- */
2187
- Status?: NodeStatus | string;
2188
-
2189
- /**
2190
- * <p>The maximum number of nodes to list.</p>
2191
- */
2192
- MaxResults?: number;
2193
-
2194
- /**
2195
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
2196
- */
2197
- NextToken?: string;
2198
- }
2199
-
2200
- export namespace ListNodesInput {
2201
- /**
2202
- * @internal
2203
- */
2204
- export const filterSensitiveLog = (obj: ListNodesInput): any => ({
2205
- ...obj,
2206
- });
2207
- }
2208
-
2209
- /**
2210
- * <p>A summary of configuration properties for a node.</p>
2211
- */
2212
- export interface NodeSummary {
2213
- /**
2214
- * <p>The unique identifier of the node.</p>
2215
- */
2216
- Id?: string;
2217
-
2218
- /**
2219
- * <p>The status of the node.</p>
2220
- */
2221
- Status?: NodeStatus | string;
2222
-
2223
- /**
2224
- * <p>The date and time that the node was created.</p>
2225
- */
2226
- CreationDate?: Date;
2227
-
2228
- /**
2229
- * <p>The Availability Zone in which the node exists.</p>
2230
- */
2231
- AvailabilityZone?: string;
2232
-
2233
- /**
2234
- * <p>The EC2 instance type for the node.</p>
2235
- */
2236
- InstanceType?: string;
2237
-
2238
- /**
2239
- * <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>
2240
- */
2241
- Arn?: string;
2242
- }
2243
-
2244
- export namespace NodeSummary {
2245
- /**
2246
- * @internal
2247
- */
2248
- export const filterSensitiveLog = (obj: NodeSummary): any => ({
2249
- ...obj,
2250
- });
2251
- }
2252
-
2253
- export interface ListNodesOutput {
2254
- /**
2255
- * <p>An array of <code>NodeSummary</code> objects that contain configuration properties for each node.</p>
2256
- */
2257
- Nodes?: NodeSummary[];
2258
-
2259
- /**
2260
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
2261
- */
2262
- NextToken?: string;
2263
- }
2264
-
2265
- export namespace ListNodesOutput {
2266
- /**
2267
- * @internal
2268
- */
2269
- export const filterSensitiveLog = (obj: ListNodesOutput): any => ({
2270
- ...obj,
2271
- });
2272
- }
2273
-
2274
- export interface ListProposalsInput {
2275
- /**
2276
- * <p>
2277
- * The unique identifier of the network.
2278
- * </p>
2279
- */
2280
- NetworkId: string | undefined;
2281
-
2282
- /**
2283
- * <p>
2284
- * The maximum number of proposals to return.
2285
- * </p>
2286
- */
2287
- MaxResults?: number;
2288
-
2289
- /**
2290
- * <p>
2291
- * The pagination token that indicates the next set of results to retrieve.
2292
- * </p>
2293
- */
2294
- NextToken?: string;
2295
- }
2296
-
2297
- export namespace ListProposalsInput {
2298
- /**
2299
- * @internal
2300
- */
2301
- export const filterSensitiveLog = (obj: ListProposalsInput): any => ({
2302
- ...obj,
2303
- });
2304
- }
2305
-
2306
- /**
2307
- * <p>Properties of a proposal.</p>
2308
- * <p>Applies only to Hyperledger Fabric.</p>
2309
- */
2310
- export interface ProposalSummary {
2311
- /**
2312
- * <p>
2313
- * The unique identifier of the proposal.
2314
- * </p>
2315
- */
2316
- ProposalId?: string;
2317
-
2318
- /**
2319
- * <p>
2320
- * The description of the proposal.
2321
- * </p>
2322
- */
2323
- Description?: string;
2324
-
2325
- /**
2326
- * <p>
2327
- * The unique identifier of the member that created the proposal.
2328
- * </p>
2329
- */
2330
- ProposedByMemberId?: string;
2331
-
2332
- /**
2333
- * <p>
2334
- * The name of the member that created the proposal.
2335
- * </p>
2336
- */
2337
- ProposedByMemberName?: string;
2338
-
2339
- /**
2340
- * <p>The status of the proposal. Values are as follows:</p>
2341
- * <ul>
2342
- * <li>
2343
- * <p>
2344
- * <code>IN_PROGRESS</code> - The proposal is active and open for member voting.</p>
2345
- * </li>
2346
- * <li>
2347
- * <p>
2348
- * <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>
2349
- * </li>
2350
- * <li>
2351
- * <p>
2352
- * <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>
2353
- * </li>
2354
- * <li>
2355
- * <p>
2356
- * <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>
2357
- * </li>
2358
- * <li>
2359
- * <p>
2360
- * <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>
2361
- * </li>
2362
- * </ul>
2363
- */
2364
- Status?: ProposalStatus | string;
2365
-
2366
- /**
2367
- * <p>
2368
- * The date and time that the proposal was created.
2369
- * </p>
2370
- */
2371
- CreationDate?: Date;
2372
-
2373
- /**
2374
- * <p>
2375
- * 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.
2376
- * </p>
2377
- */
2378
- ExpirationDate?: Date;
2379
-
2380
- /**
2381
- * <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>
2382
- */
2383
- Arn?: string;
2384
- }
2385
-
2386
- export namespace ProposalSummary {
2387
- /**
2388
- * @internal
2389
- */
2390
- export const filterSensitiveLog = (obj: ProposalSummary): any => ({
2391
- ...obj,
2392
- });
2393
- }
2394
-
2395
- export interface ListProposalsOutput {
2396
- /**
2397
- * <p>The summary of each proposal made on the network.</p>
2398
- */
2399
- Proposals?: ProposalSummary[];
2400
-
2401
- /**
2402
- * <p>The pagination token that indicates the next set of results to retrieve.</p>
2403
- */
2404
- NextToken?: string;
2405
- }
2406
-
2407
- export namespace ListProposalsOutput {
2408
- /**
2409
- * @internal
2410
- */
2411
- export const filterSensitiveLog = (obj: ListProposalsOutput): any => ({
2412
- ...obj,
2413
- });
2414
- }
2415
-
2416
- export interface ListProposalVotesInput {
2417
- /**
2418
- * <p>
2419
- * The unique identifier of the network.
2420
- * </p>
2421
- */
2422
- NetworkId: string | undefined;
2423
-
2424
- /**
2425
- * <p>
2426
- * The unique identifier of the proposal.
2427
- * </p>
2428
- */
2429
- ProposalId: string | undefined;
2430
-
2431
- /**
2432
- * <p>
2433
- * The maximum number of votes to return.
2434
- * </p>
2435
- */
2436
- MaxResults?: number;
2437
-
2438
- /**
2439
- * <p>
2440
- * The pagination token that indicates the next set of results to retrieve.
2441
- * </p>
2442
- */
2443
- NextToken?: string;
2444
- }
2445
-
2446
- export namespace ListProposalVotesInput {
2447
- /**
2448
- * @internal
2449
- */
2450
- export const filterSensitiveLog = (obj: ListProposalVotesInput): any => ({
2451
- ...obj,
2452
- });
2453
- }
2454
-
2455
- export enum VoteValue {
2456
- NO = "NO",
2457
- YES = "YES",
2458
- }
2459
-
2460
- /**
2461
- * <p>
2462
- * Properties of an individual vote that a member cast for a proposal.
2463
- * </p>
2464
- * <p>Applies only to Hyperledger Fabric.</p>
2465
- */
2466
- export interface VoteSummary {
2467
- /**
2468
- * <p>
2469
- * The vote value, either <code>YES</code> or <code>NO</code>.
2470
- * </p>
2471
- */
2472
- Vote?: VoteValue | string;
2473
-
2474
- /**
2475
- * <p>
2476
- * The name of the member that cast the vote.
2477
- * </p>
2478
- */
2479
- MemberName?: string;
2480
-
2481
- /**
2482
- * <p>
2483
- * The unique identifier of the member that cast the vote.
2484
- * </p>
2485
- */
2486
- MemberId?: string;
2487
- }
2488
-
2489
- export namespace VoteSummary {
2490
- /**
2491
- * @internal
2492
- */
2493
- export const filterSensitiveLog = (obj: VoteSummary): any => ({
2494
- ...obj,
2495
- });
2496
- }
2497
-
2498
- export interface ListProposalVotesOutput {
2499
- /**
2500
- * <p>
2501
- * The list of votes.
2502
- * </p>
2503
- */
2504
- ProposalVotes?: VoteSummary[];
2505
-
2506
- /**
2507
- * <p>
2508
- * The pagination token that indicates the next set of results to retrieve.
2509
- * </p>
2510
- */
2511
- NextToken?: string;
2512
- }
2513
-
2514
- export namespace ListProposalVotesOutput {
2515
- /**
2516
- * @internal
2517
- */
2518
- export const filterSensitiveLog = (obj: ListProposalVotesOutput): any => ({
2519
- ...obj,
2520
- });
2521
- }
2522
-
2523
- export interface ListTagsForResourceRequest {
2524
- /**
2525
- * <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>
2526
- */
2527
- ResourceArn: string | undefined;
2528
- }
2529
-
2530
- export namespace ListTagsForResourceRequest {
2531
- /**
2532
- * @internal
2533
- */
2534
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
2535
- ...obj,
2536
- });
2537
- }
2538
-
2539
- export interface ListTagsForResourceResponse {
2540
- /**
2541
- * <p>The tags assigned to the resource.</p>
2542
- */
2543
- Tags?: { [key: string]: string };
2544
- }
2545
-
2546
- export namespace ListTagsForResourceResponse {
2547
- /**
2548
- * @internal
2549
- */
2550
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
2551
- ...obj,
2552
- });
2553
- }
2554
-
2555
- export interface RejectInvitationInput {
2556
- /**
2557
- * <p>The unique identifier of the invitation to reject.</p>
2558
- */
2559
- InvitationId: string | undefined;
2560
- }
2561
-
2562
- export namespace RejectInvitationInput {
2563
- /**
2564
- * @internal
2565
- */
2566
- export const filterSensitiveLog = (obj: RejectInvitationInput): any => ({
2567
- ...obj,
2568
- });
2569
- }
2570
-
2571
- export interface RejectInvitationOutput {}
2572
-
2573
- export namespace RejectInvitationOutput {
2574
- /**
2575
- * @internal
2576
- */
2577
- export const filterSensitiveLog = (obj: RejectInvitationOutput): any => ({
2578
- ...obj,
2579
- });
2580
- }
2581
-
2582
- export interface TagResourceRequest {
2583
- /**
2584
- * <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>
2585
- */
2586
- ResourceArn: string | undefined;
2587
-
2588
- /**
2589
- * <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>
2590
- */
2591
- Tags: { [key: string]: string } | undefined;
2592
- }
2593
-
2594
- export namespace TagResourceRequest {
2595
- /**
2596
- * @internal
2597
- */
2598
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
2599
- ...obj,
2600
- });
2601
- }
2602
-
2603
- export interface TagResourceResponse {}
2604
-
2605
- export namespace TagResourceResponse {
2606
- /**
2607
- * @internal
2608
- */
2609
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
2610
- ...obj,
2611
- });
2612
- }
2613
-
2614
- export interface UntagResourceRequest {
2615
- /**
2616
- * <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>
2617
- */
2618
- ResourceArn: string | undefined;
2619
-
2620
- /**
2621
- * <p>The tag keys.</p>
2622
- */
2623
- TagKeys: string[] | undefined;
2624
- }
2625
-
2626
- export namespace UntagResourceRequest {
2627
- /**
2628
- * @internal
2629
- */
2630
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
2631
- ...obj,
2632
- });
2633
- }
2634
-
2635
- export interface UntagResourceResponse {}
2636
-
2637
- export namespace UntagResourceResponse {
2638
- /**
2639
- * @internal
2640
- */
2641
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
2642
- ...obj,
2643
- });
2644
- }
2645
-
2646
- export interface UpdateMemberInput {
2647
- /**
2648
- * <p>The unique identifier of the Managed Blockchain network to which the member belongs.</p>
2649
- */
2650
- NetworkId: string | undefined;
2651
-
2652
- /**
2653
- * <p>The unique identifier of the member.</p>
2654
- */
2655
- MemberId: string | undefined;
2656
-
2657
- /**
2658
- * <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
2659
- */
2660
- LogPublishingConfiguration?: MemberLogPublishingConfiguration;
2661
- }
2662
-
2663
- export namespace UpdateMemberInput {
2664
- /**
2665
- * @internal
2666
- */
2667
- export const filterSensitiveLog = (obj: UpdateMemberInput): any => ({
2668
- ...obj,
2669
- });
2670
- }
2671
-
2672
- export interface UpdateMemberOutput {}
2673
-
2674
- export namespace UpdateMemberOutput {
2675
- /**
2676
- * @internal
2677
- */
2678
- export const filterSensitiveLog = (obj: UpdateMemberOutput): any => ({
2679
- ...obj,
2680
- });
2681
- }
2682
-
2683
- export interface UpdateNodeInput {
2684
- /**
2685
- * <p>The unique identifier of the network that the node is on.</p>
2686
- */
2687
- NetworkId: string | undefined;
2688
-
2689
- /**
2690
- * <p>The unique identifier of the member that owns the node.</p>
2691
- * <p>Applies only to Hyperledger Fabric.</p>
2692
- */
2693
- MemberId?: string;
2694
-
2695
- /**
2696
- * <p>The unique identifier of the node.</p>
2697
- */
2698
- NodeId: string | undefined;
2699
-
2700
- /**
2701
- * <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
2702
- */
2703
- LogPublishingConfiguration?: NodeLogPublishingConfiguration;
2704
- }
2705
-
2706
- export namespace UpdateNodeInput {
2707
- /**
2708
- * @internal
2709
- */
2710
- export const filterSensitiveLog = (obj: UpdateNodeInput): any => ({
2711
- ...obj,
2712
- });
2713
- }
2714
-
2715
- export interface UpdateNodeOutput {}
2716
-
2717
- export namespace UpdateNodeOutput {
2718
- /**
2719
- * @internal
2720
- */
2721
- export const filterSensitiveLog = (obj: UpdateNodeOutput): any => ({
2722
- ...obj,
2723
- });
2724
- }
2725
-
2726
- export interface VoteOnProposalInput {
2727
- /**
2728
- * <p>
2729
- * The unique identifier of the network.
2730
- * </p>
2731
- */
2732
- NetworkId: string | undefined;
2733
-
2734
- /**
2735
- * <p>
2736
- * The unique identifier of the proposal.
2737
- * </p>
2738
- */
2739
- ProposalId: string | undefined;
2740
-
2741
- /**
2742
- * <p>The unique identifier of the member casting the vote.
2743
- * </p>
2744
- */
2745
- VoterMemberId: string | undefined;
2746
-
2747
- /**
2748
- * <p>
2749
- * The value of the vote.
2750
- * </p>
2751
- */
2752
- Vote: VoteValue | string | undefined;
2753
- }
2754
-
2755
- export namespace VoteOnProposalInput {
2756
- /**
2757
- * @internal
2758
- */
2759
- export const filterSensitiveLog = (obj: VoteOnProposalInput): any => ({
2760
- ...obj,
2761
- });
2762
- }
2763
-
2764
- export interface VoteOnProposalOutput {}
2765
-
2766
- export namespace VoteOnProposalOutput {
2767
- /**
2768
- * @internal
2769
- */
2770
- export const filterSensitiveLog = (obj: VoteOnProposalOutput): any => ({
2771
- ...obj,
2772
- });
2773
- }