managedblockchain-2018-09-24.min.json 30 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-09-24",
  5. "endpointPrefix": "managedblockchain",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceAbbreviation": "ManagedBlockchain",
  9. "serviceFullName": "Amazon Managed Blockchain",
  10. "serviceId": "ManagedBlockchain",
  11. "signatureVersion": "v4",
  12. "signingName": "managedblockchain",
  13. "uid": "managedblockchain-2018-09-24"
  14. },
  15. "operations": {
  16. "CreateAccessor": {
  17. "http": {
  18. "requestUri": "/accessors"
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "ClientRequestToken",
  24. "AccessorType"
  25. ],
  26. "members": {
  27. "ClientRequestToken": {
  28. "idempotencyToken": true
  29. },
  30. "AccessorType": {},
  31. "Tags": {
  32. "shape": "S4"
  33. },
  34. "NetworkType": {}
  35. }
  36. },
  37. "output": {
  38. "type": "structure",
  39. "members": {
  40. "AccessorId": {},
  41. "BillingToken": {},
  42. "NetworkType": {}
  43. }
  44. }
  45. },
  46. "CreateMember": {
  47. "http": {
  48. "requestUri": "/networks/{networkId}/members"
  49. },
  50. "input": {
  51. "type": "structure",
  52. "required": [
  53. "ClientRequestToken",
  54. "InvitationId",
  55. "NetworkId",
  56. "MemberConfiguration"
  57. ],
  58. "members": {
  59. "ClientRequestToken": {
  60. "idempotencyToken": true
  61. },
  62. "InvitationId": {},
  63. "NetworkId": {
  64. "location": "uri",
  65. "locationName": "networkId"
  66. },
  67. "MemberConfiguration": {
  68. "shape": "Sc"
  69. }
  70. }
  71. },
  72. "output": {
  73. "type": "structure",
  74. "members": {
  75. "MemberId": {}
  76. }
  77. }
  78. },
  79. "CreateNetwork": {
  80. "http": {
  81. "requestUri": "/networks"
  82. },
  83. "input": {
  84. "type": "structure",
  85. "required": [
  86. "ClientRequestToken",
  87. "Name",
  88. "Framework",
  89. "FrameworkVersion",
  90. "VotingPolicy",
  91. "MemberConfiguration"
  92. ],
  93. "members": {
  94. "ClientRequestToken": {
  95. "idempotencyToken": true
  96. },
  97. "Name": {},
  98. "Description": {},
  99. "Framework": {},
  100. "FrameworkVersion": {},
  101. "FrameworkConfiguration": {
  102. "type": "structure",
  103. "members": {
  104. "Fabric": {
  105. "type": "structure",
  106. "required": [
  107. "Edition"
  108. ],
  109. "members": {
  110. "Edition": {}
  111. }
  112. }
  113. }
  114. },
  115. "VotingPolicy": {
  116. "shape": "Sx"
  117. },
  118. "MemberConfiguration": {
  119. "shape": "Sc"
  120. },
  121. "Tags": {
  122. "shape": "S4"
  123. }
  124. }
  125. },
  126. "output": {
  127. "type": "structure",
  128. "members": {
  129. "NetworkId": {},
  130. "MemberId": {}
  131. }
  132. }
  133. },
  134. "CreateNode": {
  135. "http": {
  136. "requestUri": "/networks/{networkId}/nodes"
  137. },
  138. "input": {
  139. "type": "structure",
  140. "required": [
  141. "ClientRequestToken",
  142. "NetworkId",
  143. "NodeConfiguration"
  144. ],
  145. "members": {
  146. "ClientRequestToken": {
  147. "idempotencyToken": true
  148. },
  149. "NetworkId": {
  150. "location": "uri",
  151. "locationName": "networkId"
  152. },
  153. "MemberId": {},
  154. "NodeConfiguration": {
  155. "type": "structure",
  156. "required": [
  157. "InstanceType"
  158. ],
  159. "members": {
  160. "InstanceType": {},
  161. "AvailabilityZone": {},
  162. "LogPublishingConfiguration": {
  163. "shape": "S17"
  164. },
  165. "StateDB": {}
  166. }
  167. },
  168. "Tags": {
  169. "shape": "S4"
  170. }
  171. }
  172. },
  173. "output": {
  174. "type": "structure",
  175. "members": {
  176. "NodeId": {}
  177. }
  178. }
  179. },
  180. "CreateProposal": {
  181. "http": {
  182. "requestUri": "/networks/{networkId}/proposals"
  183. },
  184. "input": {
  185. "type": "structure",
  186. "required": [
  187. "ClientRequestToken",
  188. "NetworkId",
  189. "MemberId",
  190. "Actions"
  191. ],
  192. "members": {
  193. "ClientRequestToken": {
  194. "idempotencyToken": true
  195. },
  196. "NetworkId": {
  197. "location": "uri",
  198. "locationName": "networkId"
  199. },
  200. "MemberId": {},
  201. "Actions": {
  202. "shape": "S1c"
  203. },
  204. "Description": {},
  205. "Tags": {
  206. "shape": "S4"
  207. }
  208. }
  209. },
  210. "output": {
  211. "type": "structure",
  212. "members": {
  213. "ProposalId": {}
  214. }
  215. }
  216. },
  217. "DeleteAccessor": {
  218. "http": {
  219. "method": "DELETE",
  220. "requestUri": "/accessors/{AccessorId}"
  221. },
  222. "input": {
  223. "type": "structure",
  224. "required": [
  225. "AccessorId"
  226. ],
  227. "members": {
  228. "AccessorId": {
  229. "location": "uri",
  230. "locationName": "AccessorId"
  231. }
  232. }
  233. },
  234. "output": {
  235. "type": "structure",
  236. "members": {}
  237. }
  238. },
  239. "DeleteMember": {
  240. "http": {
  241. "method": "DELETE",
  242. "requestUri": "/networks/{networkId}/members/{memberId}"
  243. },
  244. "input": {
  245. "type": "structure",
  246. "required": [
  247. "NetworkId",
  248. "MemberId"
  249. ],
  250. "members": {
  251. "NetworkId": {
  252. "location": "uri",
  253. "locationName": "networkId"
  254. },
  255. "MemberId": {
  256. "location": "uri",
  257. "locationName": "memberId"
  258. }
  259. }
  260. },
  261. "output": {
  262. "type": "structure",
  263. "members": {}
  264. }
  265. },
  266. "DeleteNode": {
  267. "http": {
  268. "method": "DELETE",
  269. "requestUri": "/networks/{networkId}/nodes/{nodeId}"
  270. },
  271. "input": {
  272. "type": "structure",
  273. "required": [
  274. "NetworkId",
  275. "NodeId"
  276. ],
  277. "members": {
  278. "NetworkId": {
  279. "location": "uri",
  280. "locationName": "networkId"
  281. },
  282. "MemberId": {
  283. "location": "querystring",
  284. "locationName": "memberId"
  285. },
  286. "NodeId": {
  287. "location": "uri",
  288. "locationName": "nodeId"
  289. }
  290. }
  291. },
  292. "output": {
  293. "type": "structure",
  294. "members": {}
  295. }
  296. },
  297. "GetAccessor": {
  298. "http": {
  299. "method": "GET",
  300. "requestUri": "/accessors/{AccessorId}"
  301. },
  302. "input": {
  303. "type": "structure",
  304. "required": [
  305. "AccessorId"
  306. ],
  307. "members": {
  308. "AccessorId": {
  309. "location": "uri",
  310. "locationName": "AccessorId"
  311. }
  312. }
  313. },
  314. "output": {
  315. "type": "structure",
  316. "members": {
  317. "Accessor": {
  318. "type": "structure",
  319. "members": {
  320. "Id": {},
  321. "Type": {},
  322. "BillingToken": {},
  323. "Status": {},
  324. "CreationDate": {
  325. "shape": "S1t"
  326. },
  327. "Arn": {},
  328. "Tags": {
  329. "shape": "S1u"
  330. },
  331. "NetworkType": {}
  332. }
  333. }
  334. }
  335. }
  336. },
  337. "GetMember": {
  338. "http": {
  339. "method": "GET",
  340. "requestUri": "/networks/{networkId}/members/{memberId}"
  341. },
  342. "input": {
  343. "type": "structure",
  344. "required": [
  345. "NetworkId",
  346. "MemberId"
  347. ],
  348. "members": {
  349. "NetworkId": {
  350. "location": "uri",
  351. "locationName": "networkId"
  352. },
  353. "MemberId": {
  354. "location": "uri",
  355. "locationName": "memberId"
  356. }
  357. }
  358. },
  359. "output": {
  360. "type": "structure",
  361. "members": {
  362. "Member": {
  363. "type": "structure",
  364. "members": {
  365. "NetworkId": {},
  366. "Id": {},
  367. "Name": {},
  368. "Description": {},
  369. "FrameworkAttributes": {
  370. "type": "structure",
  371. "members": {
  372. "Fabric": {
  373. "type": "structure",
  374. "members": {
  375. "AdminUsername": {},
  376. "CaEndpoint": {}
  377. }
  378. }
  379. }
  380. },
  381. "LogPublishingConfiguration": {
  382. "shape": "Sj"
  383. },
  384. "Status": {},
  385. "CreationDate": {
  386. "shape": "S1t"
  387. },
  388. "Tags": {
  389. "shape": "S1u"
  390. },
  391. "Arn": {},
  392. "KmsKeyArn": {}
  393. }
  394. }
  395. }
  396. }
  397. },
  398. "GetNetwork": {
  399. "http": {
  400. "method": "GET",
  401. "requestUri": "/networks/{networkId}"
  402. },
  403. "input": {
  404. "type": "structure",
  405. "required": [
  406. "NetworkId"
  407. ],
  408. "members": {
  409. "NetworkId": {
  410. "location": "uri",
  411. "locationName": "networkId"
  412. }
  413. }
  414. },
  415. "output": {
  416. "type": "structure",
  417. "members": {
  418. "Network": {
  419. "type": "structure",
  420. "members": {
  421. "Id": {},
  422. "Name": {},
  423. "Description": {},
  424. "Framework": {},
  425. "FrameworkVersion": {},
  426. "FrameworkAttributes": {
  427. "type": "structure",
  428. "members": {
  429. "Fabric": {
  430. "type": "structure",
  431. "members": {
  432. "OrderingServiceEndpoint": {},
  433. "Edition": {}
  434. }
  435. },
  436. "Ethereum": {
  437. "type": "structure",
  438. "members": {
  439. "ChainId": {}
  440. }
  441. }
  442. }
  443. },
  444. "VpcEndpointServiceName": {},
  445. "VotingPolicy": {
  446. "shape": "Sx"
  447. },
  448. "Status": {},
  449. "CreationDate": {
  450. "shape": "S1t"
  451. },
  452. "Tags": {
  453. "shape": "S1u"
  454. },
  455. "Arn": {}
  456. }
  457. }
  458. }
  459. }
  460. },
  461. "GetNode": {
  462. "http": {
  463. "method": "GET",
  464. "requestUri": "/networks/{networkId}/nodes/{nodeId}"
  465. },
  466. "input": {
  467. "type": "structure",
  468. "required": [
  469. "NetworkId",
  470. "NodeId"
  471. ],
  472. "members": {
  473. "NetworkId": {
  474. "location": "uri",
  475. "locationName": "networkId"
  476. },
  477. "MemberId": {
  478. "location": "querystring",
  479. "locationName": "memberId"
  480. },
  481. "NodeId": {
  482. "location": "uri",
  483. "locationName": "nodeId"
  484. }
  485. }
  486. },
  487. "output": {
  488. "type": "structure",
  489. "members": {
  490. "Node": {
  491. "type": "structure",
  492. "members": {
  493. "NetworkId": {},
  494. "MemberId": {},
  495. "Id": {},
  496. "InstanceType": {},
  497. "AvailabilityZone": {},
  498. "FrameworkAttributes": {
  499. "type": "structure",
  500. "members": {
  501. "Fabric": {
  502. "type": "structure",
  503. "members": {
  504. "PeerEndpoint": {},
  505. "PeerEventEndpoint": {}
  506. }
  507. },
  508. "Ethereum": {
  509. "type": "structure",
  510. "members": {
  511. "HttpEndpoint": {},
  512. "WebSocketEndpoint": {}
  513. }
  514. }
  515. }
  516. },
  517. "LogPublishingConfiguration": {
  518. "shape": "S17"
  519. },
  520. "StateDB": {},
  521. "Status": {},
  522. "CreationDate": {
  523. "shape": "S1t"
  524. },
  525. "Tags": {
  526. "shape": "S1u"
  527. },
  528. "Arn": {},
  529. "KmsKeyArn": {}
  530. }
  531. }
  532. }
  533. }
  534. },
  535. "GetProposal": {
  536. "http": {
  537. "method": "GET",
  538. "requestUri": "/networks/{networkId}/proposals/{proposalId}"
  539. },
  540. "input": {
  541. "type": "structure",
  542. "required": [
  543. "NetworkId",
  544. "ProposalId"
  545. ],
  546. "members": {
  547. "NetworkId": {
  548. "location": "uri",
  549. "locationName": "networkId"
  550. },
  551. "ProposalId": {
  552. "location": "uri",
  553. "locationName": "proposalId"
  554. }
  555. }
  556. },
  557. "output": {
  558. "type": "structure",
  559. "members": {
  560. "Proposal": {
  561. "type": "structure",
  562. "members": {
  563. "ProposalId": {},
  564. "NetworkId": {},
  565. "Description": {},
  566. "Actions": {
  567. "shape": "S1c"
  568. },
  569. "ProposedByMemberId": {},
  570. "ProposedByMemberName": {},
  571. "Status": {},
  572. "CreationDate": {
  573. "shape": "S1t"
  574. },
  575. "ExpirationDate": {
  576. "shape": "S1t"
  577. },
  578. "YesVoteCount": {
  579. "type": "integer"
  580. },
  581. "NoVoteCount": {
  582. "type": "integer"
  583. },
  584. "OutstandingVoteCount": {
  585. "type": "integer"
  586. },
  587. "Tags": {
  588. "shape": "S1u"
  589. },
  590. "Arn": {}
  591. }
  592. }
  593. }
  594. }
  595. },
  596. "ListAccessors": {
  597. "http": {
  598. "method": "GET",
  599. "requestUri": "/accessors"
  600. },
  601. "input": {
  602. "type": "structure",
  603. "members": {
  604. "MaxResults": {
  605. "location": "querystring",
  606. "locationName": "maxResults",
  607. "type": "integer"
  608. },
  609. "NextToken": {
  610. "location": "querystring",
  611. "locationName": "nextToken"
  612. },
  613. "NetworkType": {
  614. "location": "querystring",
  615. "locationName": "networkType"
  616. }
  617. }
  618. },
  619. "output": {
  620. "type": "structure",
  621. "members": {
  622. "Accessors": {
  623. "type": "list",
  624. "member": {
  625. "type": "structure",
  626. "members": {
  627. "Id": {},
  628. "Type": {},
  629. "Status": {},
  630. "CreationDate": {
  631. "shape": "S1t"
  632. },
  633. "Arn": {},
  634. "NetworkType": {}
  635. }
  636. }
  637. },
  638. "NextToken": {}
  639. }
  640. }
  641. },
  642. "ListInvitations": {
  643. "http": {
  644. "method": "GET",
  645. "requestUri": "/invitations"
  646. },
  647. "input": {
  648. "type": "structure",
  649. "members": {
  650. "MaxResults": {
  651. "location": "querystring",
  652. "locationName": "maxResults",
  653. "type": "integer"
  654. },
  655. "NextToken": {
  656. "location": "querystring",
  657. "locationName": "nextToken"
  658. }
  659. }
  660. },
  661. "output": {
  662. "type": "structure",
  663. "members": {
  664. "Invitations": {
  665. "type": "list",
  666. "member": {
  667. "type": "structure",
  668. "members": {
  669. "InvitationId": {},
  670. "CreationDate": {
  671. "shape": "S1t"
  672. },
  673. "ExpirationDate": {
  674. "shape": "S1t"
  675. },
  676. "Status": {},
  677. "NetworkSummary": {
  678. "shape": "S2x"
  679. },
  680. "Arn": {}
  681. }
  682. }
  683. },
  684. "NextToken": {}
  685. }
  686. }
  687. },
  688. "ListMembers": {
  689. "http": {
  690. "method": "GET",
  691. "requestUri": "/networks/{networkId}/members"
  692. },
  693. "input": {
  694. "type": "structure",
  695. "required": [
  696. "NetworkId"
  697. ],
  698. "members": {
  699. "NetworkId": {
  700. "location": "uri",
  701. "locationName": "networkId"
  702. },
  703. "Name": {
  704. "location": "querystring",
  705. "locationName": "name"
  706. },
  707. "Status": {
  708. "location": "querystring",
  709. "locationName": "status"
  710. },
  711. "IsOwned": {
  712. "location": "querystring",
  713. "locationName": "isOwned",
  714. "type": "boolean"
  715. },
  716. "MaxResults": {
  717. "location": "querystring",
  718. "locationName": "maxResults",
  719. "type": "integer"
  720. },
  721. "NextToken": {
  722. "location": "querystring",
  723. "locationName": "nextToken"
  724. }
  725. }
  726. },
  727. "output": {
  728. "type": "structure",
  729. "members": {
  730. "Members": {
  731. "type": "list",
  732. "member": {
  733. "type": "structure",
  734. "members": {
  735. "Id": {},
  736. "Name": {},
  737. "Description": {},
  738. "Status": {},
  739. "CreationDate": {
  740. "shape": "S1t"
  741. },
  742. "IsOwned": {
  743. "type": "boolean"
  744. },
  745. "Arn": {}
  746. }
  747. }
  748. },
  749. "NextToken": {}
  750. }
  751. }
  752. },
  753. "ListNetworks": {
  754. "http": {
  755. "method": "GET",
  756. "requestUri": "/networks"
  757. },
  758. "input": {
  759. "type": "structure",
  760. "members": {
  761. "Name": {
  762. "location": "querystring",
  763. "locationName": "name"
  764. },
  765. "Framework": {
  766. "location": "querystring",
  767. "locationName": "framework"
  768. },
  769. "Status": {
  770. "location": "querystring",
  771. "locationName": "status"
  772. },
  773. "MaxResults": {
  774. "location": "querystring",
  775. "locationName": "maxResults",
  776. "type": "integer"
  777. },
  778. "NextToken": {
  779. "location": "querystring",
  780. "locationName": "nextToken"
  781. }
  782. }
  783. },
  784. "output": {
  785. "type": "structure",
  786. "members": {
  787. "Networks": {
  788. "type": "list",
  789. "member": {
  790. "shape": "S2x"
  791. }
  792. },
  793. "NextToken": {}
  794. }
  795. }
  796. },
  797. "ListNodes": {
  798. "http": {
  799. "method": "GET",
  800. "requestUri": "/networks/{networkId}/nodes"
  801. },
  802. "input": {
  803. "type": "structure",
  804. "required": [
  805. "NetworkId"
  806. ],
  807. "members": {
  808. "NetworkId": {
  809. "location": "uri",
  810. "locationName": "networkId"
  811. },
  812. "MemberId": {
  813. "location": "querystring",
  814. "locationName": "memberId"
  815. },
  816. "Status": {
  817. "location": "querystring",
  818. "locationName": "status"
  819. },
  820. "MaxResults": {
  821. "location": "querystring",
  822. "locationName": "maxResults",
  823. "type": "integer"
  824. },
  825. "NextToken": {
  826. "location": "querystring",
  827. "locationName": "nextToken"
  828. }
  829. }
  830. },
  831. "output": {
  832. "type": "structure",
  833. "members": {
  834. "Nodes": {
  835. "type": "list",
  836. "member": {
  837. "type": "structure",
  838. "members": {
  839. "Id": {},
  840. "Status": {},
  841. "CreationDate": {
  842. "shape": "S1t"
  843. },
  844. "AvailabilityZone": {},
  845. "InstanceType": {},
  846. "Arn": {}
  847. }
  848. }
  849. },
  850. "NextToken": {}
  851. }
  852. }
  853. },
  854. "ListProposalVotes": {
  855. "http": {
  856. "method": "GET",
  857. "requestUri": "/networks/{networkId}/proposals/{proposalId}/votes"
  858. },
  859. "input": {
  860. "type": "structure",
  861. "required": [
  862. "NetworkId",
  863. "ProposalId"
  864. ],
  865. "members": {
  866. "NetworkId": {
  867. "location": "uri",
  868. "locationName": "networkId"
  869. },
  870. "ProposalId": {
  871. "location": "uri",
  872. "locationName": "proposalId"
  873. },
  874. "MaxResults": {
  875. "location": "querystring",
  876. "locationName": "maxResults",
  877. "type": "integer"
  878. },
  879. "NextToken": {
  880. "location": "querystring",
  881. "locationName": "nextToken"
  882. }
  883. }
  884. },
  885. "output": {
  886. "type": "structure",
  887. "members": {
  888. "ProposalVotes": {
  889. "type": "list",
  890. "member": {
  891. "type": "structure",
  892. "members": {
  893. "Vote": {},
  894. "MemberName": {},
  895. "MemberId": {}
  896. }
  897. }
  898. },
  899. "NextToken": {}
  900. }
  901. }
  902. },
  903. "ListProposals": {
  904. "http": {
  905. "method": "GET",
  906. "requestUri": "/networks/{networkId}/proposals"
  907. },
  908. "input": {
  909. "type": "structure",
  910. "required": [
  911. "NetworkId"
  912. ],
  913. "members": {
  914. "NetworkId": {
  915. "location": "uri",
  916. "locationName": "networkId"
  917. },
  918. "MaxResults": {
  919. "location": "querystring",
  920. "locationName": "maxResults",
  921. "type": "integer"
  922. },
  923. "NextToken": {
  924. "location": "querystring",
  925. "locationName": "nextToken"
  926. }
  927. }
  928. },
  929. "output": {
  930. "type": "structure",
  931. "members": {
  932. "Proposals": {
  933. "type": "list",
  934. "member": {
  935. "type": "structure",
  936. "members": {
  937. "ProposalId": {},
  938. "Description": {},
  939. "ProposedByMemberId": {},
  940. "ProposedByMemberName": {},
  941. "Status": {},
  942. "CreationDate": {
  943. "shape": "S1t"
  944. },
  945. "ExpirationDate": {
  946. "shape": "S1t"
  947. },
  948. "Arn": {}
  949. }
  950. }
  951. },
  952. "NextToken": {}
  953. }
  954. }
  955. },
  956. "ListTagsForResource": {
  957. "http": {
  958. "method": "GET",
  959. "requestUri": "/tags/{resourceArn}"
  960. },
  961. "input": {
  962. "type": "structure",
  963. "required": [
  964. "ResourceArn"
  965. ],
  966. "members": {
  967. "ResourceArn": {
  968. "location": "uri",
  969. "locationName": "resourceArn"
  970. }
  971. }
  972. },
  973. "output": {
  974. "type": "structure",
  975. "members": {
  976. "Tags": {
  977. "shape": "S1u"
  978. }
  979. }
  980. }
  981. },
  982. "RejectInvitation": {
  983. "http": {
  984. "method": "DELETE",
  985. "requestUri": "/invitations/{invitationId}"
  986. },
  987. "input": {
  988. "type": "structure",
  989. "required": [
  990. "InvitationId"
  991. ],
  992. "members": {
  993. "InvitationId": {
  994. "location": "uri",
  995. "locationName": "invitationId"
  996. }
  997. }
  998. },
  999. "output": {
  1000. "type": "structure",
  1001. "members": {}
  1002. }
  1003. },
  1004. "TagResource": {
  1005. "http": {
  1006. "requestUri": "/tags/{resourceArn}"
  1007. },
  1008. "input": {
  1009. "type": "structure",
  1010. "required": [
  1011. "ResourceArn",
  1012. "Tags"
  1013. ],
  1014. "members": {
  1015. "ResourceArn": {
  1016. "location": "uri",
  1017. "locationName": "resourceArn"
  1018. },
  1019. "Tags": {
  1020. "shape": "S4"
  1021. }
  1022. }
  1023. },
  1024. "output": {
  1025. "type": "structure",
  1026. "members": {}
  1027. }
  1028. },
  1029. "UntagResource": {
  1030. "http": {
  1031. "method": "DELETE",
  1032. "requestUri": "/tags/{resourceArn}"
  1033. },
  1034. "input": {
  1035. "type": "structure",
  1036. "required": [
  1037. "ResourceArn",
  1038. "TagKeys"
  1039. ],
  1040. "members": {
  1041. "ResourceArn": {
  1042. "location": "uri",
  1043. "locationName": "resourceArn"
  1044. },
  1045. "TagKeys": {
  1046. "location": "querystring",
  1047. "locationName": "tagKeys",
  1048. "type": "list",
  1049. "member": {}
  1050. }
  1051. }
  1052. },
  1053. "output": {
  1054. "type": "structure",
  1055. "members": {}
  1056. }
  1057. },
  1058. "UpdateMember": {
  1059. "http": {
  1060. "method": "PATCH",
  1061. "requestUri": "/networks/{networkId}/members/{memberId}"
  1062. },
  1063. "input": {
  1064. "type": "structure",
  1065. "required": [
  1066. "NetworkId",
  1067. "MemberId"
  1068. ],
  1069. "members": {
  1070. "NetworkId": {
  1071. "location": "uri",
  1072. "locationName": "networkId"
  1073. },
  1074. "MemberId": {
  1075. "location": "uri",
  1076. "locationName": "memberId"
  1077. },
  1078. "LogPublishingConfiguration": {
  1079. "shape": "Sj"
  1080. }
  1081. }
  1082. },
  1083. "output": {
  1084. "type": "structure",
  1085. "members": {}
  1086. }
  1087. },
  1088. "UpdateNode": {
  1089. "http": {
  1090. "method": "PATCH",
  1091. "requestUri": "/networks/{networkId}/nodes/{nodeId}"
  1092. },
  1093. "input": {
  1094. "type": "structure",
  1095. "required": [
  1096. "NetworkId",
  1097. "NodeId"
  1098. ],
  1099. "members": {
  1100. "NetworkId": {
  1101. "location": "uri",
  1102. "locationName": "networkId"
  1103. },
  1104. "MemberId": {},
  1105. "NodeId": {
  1106. "location": "uri",
  1107. "locationName": "nodeId"
  1108. },
  1109. "LogPublishingConfiguration": {
  1110. "shape": "S17"
  1111. }
  1112. }
  1113. },
  1114. "output": {
  1115. "type": "structure",
  1116. "members": {}
  1117. }
  1118. },
  1119. "VoteOnProposal": {
  1120. "http": {
  1121. "requestUri": "/networks/{networkId}/proposals/{proposalId}/votes"
  1122. },
  1123. "input": {
  1124. "type": "structure",
  1125. "required": [
  1126. "NetworkId",
  1127. "ProposalId",
  1128. "VoterMemberId",
  1129. "Vote"
  1130. ],
  1131. "members": {
  1132. "NetworkId": {
  1133. "location": "uri",
  1134. "locationName": "networkId"
  1135. },
  1136. "ProposalId": {
  1137. "location": "uri",
  1138. "locationName": "proposalId"
  1139. },
  1140. "VoterMemberId": {},
  1141. "Vote": {}
  1142. }
  1143. },
  1144. "output": {
  1145. "type": "structure",
  1146. "members": {}
  1147. }
  1148. }
  1149. },
  1150. "shapes": {
  1151. "S4": {
  1152. "type": "map",
  1153. "key": {},
  1154. "value": {}
  1155. },
  1156. "Sc": {
  1157. "type": "structure",
  1158. "required": [
  1159. "Name",
  1160. "FrameworkConfiguration"
  1161. ],
  1162. "members": {
  1163. "Name": {},
  1164. "Description": {},
  1165. "FrameworkConfiguration": {
  1166. "type": "structure",
  1167. "members": {
  1168. "Fabric": {
  1169. "type": "structure",
  1170. "required": [
  1171. "AdminUsername",
  1172. "AdminPassword"
  1173. ],
  1174. "members": {
  1175. "AdminUsername": {},
  1176. "AdminPassword": {
  1177. "type": "string",
  1178. "sensitive": true
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "LogPublishingConfiguration": {
  1185. "shape": "Sj"
  1186. },
  1187. "Tags": {
  1188. "shape": "S4"
  1189. },
  1190. "KmsKeyArn": {}
  1191. }
  1192. },
  1193. "Sj": {
  1194. "type": "structure",
  1195. "members": {
  1196. "Fabric": {
  1197. "type": "structure",
  1198. "members": {
  1199. "CaLogs": {
  1200. "shape": "Sl"
  1201. }
  1202. }
  1203. }
  1204. }
  1205. },
  1206. "Sl": {
  1207. "type": "structure",
  1208. "members": {
  1209. "Cloudwatch": {
  1210. "type": "structure",
  1211. "members": {
  1212. "Enabled": {
  1213. "type": "boolean"
  1214. }
  1215. }
  1216. }
  1217. }
  1218. },
  1219. "Sx": {
  1220. "type": "structure",
  1221. "members": {
  1222. "ApprovalThresholdPolicy": {
  1223. "type": "structure",
  1224. "members": {
  1225. "ThresholdPercentage": {
  1226. "type": "integer"
  1227. },
  1228. "ProposalDurationInHours": {
  1229. "type": "integer"
  1230. },
  1231. "ThresholdComparator": {}
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "S17": {
  1237. "type": "structure",
  1238. "members": {
  1239. "Fabric": {
  1240. "type": "structure",
  1241. "members": {
  1242. "ChaincodeLogs": {
  1243. "shape": "Sl"
  1244. },
  1245. "PeerLogs": {
  1246. "shape": "Sl"
  1247. }
  1248. }
  1249. }
  1250. }
  1251. },
  1252. "S1c": {
  1253. "type": "structure",
  1254. "members": {
  1255. "Invitations": {
  1256. "type": "list",
  1257. "member": {
  1258. "type": "structure",
  1259. "required": [
  1260. "Principal"
  1261. ],
  1262. "members": {
  1263. "Principal": {}
  1264. }
  1265. }
  1266. },
  1267. "Removals": {
  1268. "type": "list",
  1269. "member": {
  1270. "type": "structure",
  1271. "required": [
  1272. "MemberId"
  1273. ],
  1274. "members": {
  1275. "MemberId": {}
  1276. }
  1277. }
  1278. }
  1279. }
  1280. },
  1281. "S1t": {
  1282. "type": "timestamp",
  1283. "timestampFormat": "iso8601"
  1284. },
  1285. "S1u": {
  1286. "type": "map",
  1287. "key": {},
  1288. "value": {}
  1289. },
  1290. "S2x": {
  1291. "type": "structure",
  1292. "members": {
  1293. "Id": {},
  1294. "Name": {},
  1295. "Description": {},
  1296. "Framework": {},
  1297. "FrameworkVersion": {},
  1298. "Status": {},
  1299. "CreationDate": {
  1300. "shape": "S1t"
  1301. },
  1302. "Arn": {}
  1303. }
  1304. }
  1305. }
  1306. }