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 | "CreateMember": {
|
17 | "http": {
|
18 | "requestUri": "/networks/{networkId}/members"
|
19 | },
|
20 | "input": {
|
21 | "type": "structure",
|
22 | "required": [
|
23 | "ClientRequestToken",
|
24 | "InvitationId",
|
25 | "NetworkId",
|
26 | "MemberConfiguration"
|
27 | ],
|
28 | "members": {
|
29 | "ClientRequestToken": {
|
30 | "idempotencyToken": true
|
31 | },
|
32 | "InvitationId": {},
|
33 | "NetworkId": {
|
34 | "location": "uri",
|
35 | "locationName": "networkId"
|
36 | },
|
37 | "MemberConfiguration": {
|
38 | "shape": "S4"
|
39 | }
|
40 | }
|
41 | },
|
42 | "output": {
|
43 | "type": "structure",
|
44 | "members": {
|
45 | "MemberId": {}
|
46 | }
|
47 | }
|
48 | },
|
49 | "CreateNetwork": {
|
50 | "http": {
|
51 | "requestUri": "/networks"
|
52 | },
|
53 | "input": {
|
54 | "type": "structure",
|
55 | "required": [
|
56 | "ClientRequestToken",
|
57 | "Name",
|
58 | "Framework",
|
59 | "FrameworkVersion",
|
60 | "VotingPolicy",
|
61 | "MemberConfiguration"
|
62 | ],
|
63 | "members": {
|
64 | "ClientRequestToken": {
|
65 | "idempotencyToken": true
|
66 | },
|
67 | "Name": {},
|
68 | "Description": {},
|
69 | "Framework": {},
|
70 | "FrameworkVersion": {},
|
71 | "FrameworkConfiguration": {
|
72 | "type": "structure",
|
73 | "members": {
|
74 | "Fabric": {
|
75 | "type": "structure",
|
76 | "required": [
|
77 | "Edition"
|
78 | ],
|
79 | "members": {
|
80 | "Edition": {}
|
81 | }
|
82 | }
|
83 | }
|
84 | },
|
85 | "VotingPolicy": {
|
86 | "shape": "So"
|
87 | },
|
88 | "MemberConfiguration": {
|
89 | "shape": "S4"
|
90 | }
|
91 | }
|
92 | },
|
93 | "output": {
|
94 | "type": "structure",
|
95 | "members": {
|
96 | "NetworkId": {},
|
97 | "MemberId": {}
|
98 | }
|
99 | }
|
100 | },
|
101 | "CreateNode": {
|
102 | "http": {
|
103 | "requestUri": "/networks/{networkId}/members/{memberId}/nodes"
|
104 | },
|
105 | "input": {
|
106 | "type": "structure",
|
107 | "required": [
|
108 | "ClientRequestToken",
|
109 | "NetworkId",
|
110 | "MemberId",
|
111 | "NodeConfiguration"
|
112 | ],
|
113 | "members": {
|
114 | "ClientRequestToken": {
|
115 | "idempotencyToken": true
|
116 | },
|
117 | "NetworkId": {
|
118 | "location": "uri",
|
119 | "locationName": "networkId"
|
120 | },
|
121 | "MemberId": {
|
122 | "location": "uri",
|
123 | "locationName": "memberId"
|
124 | },
|
125 | "NodeConfiguration": {
|
126 | "type": "structure",
|
127 | "required": [
|
128 | "InstanceType",
|
129 | "AvailabilityZone"
|
130 | ],
|
131 | "members": {
|
132 | "InstanceType": {},
|
133 | "AvailabilityZone": {},
|
134 | "LogPublishingConfiguration": {
|
135 | "shape": "Sy"
|
136 | }
|
137 | }
|
138 | }
|
139 | }
|
140 | },
|
141 | "output": {
|
142 | "type": "structure",
|
143 | "members": {
|
144 | "NodeId": {}
|
145 | }
|
146 | }
|
147 | },
|
148 | "CreateProposal": {
|
149 | "http": {
|
150 | "requestUri": "/networks/{networkId}/proposals"
|
151 | },
|
152 | "input": {
|
153 | "type": "structure",
|
154 | "required": [
|
155 | "ClientRequestToken",
|
156 | "NetworkId",
|
157 | "MemberId",
|
158 | "Actions"
|
159 | ],
|
160 | "members": {
|
161 | "ClientRequestToken": {
|
162 | "idempotencyToken": true
|
163 | },
|
164 | "NetworkId": {
|
165 | "location": "uri",
|
166 | "locationName": "networkId"
|
167 | },
|
168 | "MemberId": {},
|
169 | "Actions": {
|
170 | "shape": "S12"
|
171 | },
|
172 | "Description": {}
|
173 | }
|
174 | },
|
175 | "output": {
|
176 | "type": "structure",
|
177 | "members": {
|
178 | "ProposalId": {}
|
179 | }
|
180 | }
|
181 | },
|
182 | "DeleteMember": {
|
183 | "http": {
|
184 | "method": "DELETE",
|
185 | "requestUri": "/networks/{networkId}/members/{memberId}"
|
186 | },
|
187 | "input": {
|
188 | "type": "structure",
|
189 | "required": [
|
190 | "NetworkId",
|
191 | "MemberId"
|
192 | ],
|
193 | "members": {
|
194 | "NetworkId": {
|
195 | "location": "uri",
|
196 | "locationName": "networkId"
|
197 | },
|
198 | "MemberId": {
|
199 | "location": "uri",
|
200 | "locationName": "memberId"
|
201 | }
|
202 | }
|
203 | },
|
204 | "output": {
|
205 | "type": "structure",
|
206 | "members": {}
|
207 | }
|
208 | },
|
209 | "DeleteNode": {
|
210 | "http": {
|
211 | "method": "DELETE",
|
212 | "requestUri": "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
213 | },
|
214 | "input": {
|
215 | "type": "structure",
|
216 | "required": [
|
217 | "NetworkId",
|
218 | "MemberId",
|
219 | "NodeId"
|
220 | ],
|
221 | "members": {
|
222 | "NetworkId": {
|
223 | "location": "uri",
|
224 | "locationName": "networkId"
|
225 | },
|
226 | "MemberId": {
|
227 | "location": "uri",
|
228 | "locationName": "memberId"
|
229 | },
|
230 | "NodeId": {
|
231 | "location": "uri",
|
232 | "locationName": "nodeId"
|
233 | }
|
234 | }
|
235 | },
|
236 | "output": {
|
237 | "type": "structure",
|
238 | "members": {}
|
239 | }
|
240 | },
|
241 | "GetMember": {
|
242 | "http": {
|
243 | "method": "GET",
|
244 | "requestUri": "/networks/{networkId}/members/{memberId}"
|
245 | },
|
246 | "input": {
|
247 | "type": "structure",
|
248 | "required": [
|
249 | "NetworkId",
|
250 | "MemberId"
|
251 | ],
|
252 | "members": {
|
253 | "NetworkId": {
|
254 | "location": "uri",
|
255 | "locationName": "networkId"
|
256 | },
|
257 | "MemberId": {
|
258 | "location": "uri",
|
259 | "locationName": "memberId"
|
260 | }
|
261 | }
|
262 | },
|
263 | "output": {
|
264 | "type": "structure",
|
265 | "members": {
|
266 | "Member": {
|
267 | "type": "structure",
|
268 | "members": {
|
269 | "NetworkId": {},
|
270 | "Id": {},
|
271 | "Name": {},
|
272 | "Description": {},
|
273 | "FrameworkAttributes": {
|
274 | "type": "structure",
|
275 | "members": {
|
276 | "Fabric": {
|
277 | "type": "structure",
|
278 | "members": {
|
279 | "AdminUsername": {},
|
280 | "CaEndpoint": {}
|
281 | }
|
282 | }
|
283 | }
|
284 | },
|
285 | "LogPublishingConfiguration": {
|
286 | "shape": "Sb"
|
287 | },
|
288 | "Status": {},
|
289 | "CreationDate": {
|
290 | "shape": "S1k"
|
291 | }
|
292 | }
|
293 | }
|
294 | }
|
295 | }
|
296 | },
|
297 | "GetNetwork": {
|
298 | "http": {
|
299 | "method": "GET",
|
300 | "requestUri": "/networks/{networkId}"
|
301 | },
|
302 | "input": {
|
303 | "type": "structure",
|
304 | "required": [
|
305 | "NetworkId"
|
306 | ],
|
307 | "members": {
|
308 | "NetworkId": {
|
309 | "location": "uri",
|
310 | "locationName": "networkId"
|
311 | }
|
312 | }
|
313 | },
|
314 | "output": {
|
315 | "type": "structure",
|
316 | "members": {
|
317 | "Network": {
|
318 | "type": "structure",
|
319 | "members": {
|
320 | "Id": {},
|
321 | "Name": {},
|
322 | "Description": {},
|
323 | "Framework": {},
|
324 | "FrameworkVersion": {},
|
325 | "FrameworkAttributes": {
|
326 | "type": "structure",
|
327 | "members": {
|
328 | "Fabric": {
|
329 | "type": "structure",
|
330 | "members": {
|
331 | "OrderingServiceEndpoint": {},
|
332 | "Edition": {}
|
333 | }
|
334 | }
|
335 | }
|
336 | },
|
337 | "VpcEndpointServiceName": {},
|
338 | "VotingPolicy": {
|
339 | "shape": "So"
|
340 | },
|
341 | "Status": {},
|
342 | "CreationDate": {
|
343 | "shape": "S1k"
|
344 | }
|
345 | }
|
346 | }
|
347 | }
|
348 | }
|
349 | },
|
350 | "GetNode": {
|
351 | "http": {
|
352 | "method": "GET",
|
353 | "requestUri": "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
354 | },
|
355 | "input": {
|
356 | "type": "structure",
|
357 | "required": [
|
358 | "NetworkId",
|
359 | "MemberId",
|
360 | "NodeId"
|
361 | ],
|
362 | "members": {
|
363 | "NetworkId": {
|
364 | "location": "uri",
|
365 | "locationName": "networkId"
|
366 | },
|
367 | "MemberId": {
|
368 | "location": "uri",
|
369 | "locationName": "memberId"
|
370 | },
|
371 | "NodeId": {
|
372 | "location": "uri",
|
373 | "locationName": "nodeId"
|
374 | }
|
375 | }
|
376 | },
|
377 | "output": {
|
378 | "type": "structure",
|
379 | "members": {
|
380 | "Node": {
|
381 | "type": "structure",
|
382 | "members": {
|
383 | "NetworkId": {},
|
384 | "MemberId": {},
|
385 | "Id": {},
|
386 | "InstanceType": {},
|
387 | "AvailabilityZone": {},
|
388 | "FrameworkAttributes": {
|
389 | "type": "structure",
|
390 | "members": {
|
391 | "Fabric": {
|
392 | "type": "structure",
|
393 | "members": {
|
394 | "PeerEndpoint": {},
|
395 | "PeerEventEndpoint": {}
|
396 | }
|
397 | }
|
398 | }
|
399 | },
|
400 | "LogPublishingConfiguration": {
|
401 | "shape": "Sy"
|
402 | },
|
403 | "Status": {},
|
404 | "CreationDate": {
|
405 | "shape": "S1k"
|
406 | }
|
407 | }
|
408 | }
|
409 | }
|
410 | }
|
411 | },
|
412 | "GetProposal": {
|
413 | "http": {
|
414 | "method": "GET",
|
415 | "requestUri": "/networks/{networkId}/proposals/{proposalId}"
|
416 | },
|
417 | "input": {
|
418 | "type": "structure",
|
419 | "required": [
|
420 | "NetworkId",
|
421 | "ProposalId"
|
422 | ],
|
423 | "members": {
|
424 | "NetworkId": {
|
425 | "location": "uri",
|
426 | "locationName": "networkId"
|
427 | },
|
428 | "ProposalId": {
|
429 | "location": "uri",
|
430 | "locationName": "proposalId"
|
431 | }
|
432 | }
|
433 | },
|
434 | "output": {
|
435 | "type": "structure",
|
436 | "members": {
|
437 | "Proposal": {
|
438 | "type": "structure",
|
439 | "members": {
|
440 | "ProposalId": {},
|
441 | "NetworkId": {},
|
442 | "Description": {},
|
443 | "Actions": {
|
444 | "shape": "S12"
|
445 | },
|
446 | "ProposedByMemberId": {},
|
447 | "ProposedByMemberName": {},
|
448 | "Status": {},
|
449 | "CreationDate": {
|
450 | "shape": "S1k"
|
451 | },
|
452 | "ExpirationDate": {
|
453 | "shape": "S1k"
|
454 | },
|
455 | "YesVoteCount": {
|
456 | "type": "integer"
|
457 | },
|
458 | "NoVoteCount": {
|
459 | "type": "integer"
|
460 | },
|
461 | "OutstandingVoteCount": {
|
462 | "type": "integer"
|
463 | }
|
464 | }
|
465 | }
|
466 | }
|
467 | }
|
468 | },
|
469 | "ListInvitations": {
|
470 | "http": {
|
471 | "method": "GET",
|
472 | "requestUri": "/invitations"
|
473 | },
|
474 | "input": {
|
475 | "type": "structure",
|
476 | "members": {
|
477 | "MaxResults": {
|
478 | "location": "querystring",
|
479 | "locationName": "maxResults",
|
480 | "type": "integer"
|
481 | },
|
482 | "NextToken": {
|
483 | "location": "querystring",
|
484 | "locationName": "nextToken"
|
485 | }
|
486 | }
|
487 | },
|
488 | "output": {
|
489 | "type": "structure",
|
490 | "members": {
|
491 | "Invitations": {
|
492 | "type": "list",
|
493 | "member": {
|
494 | "type": "structure",
|
495 | "members": {
|
496 | "InvitationId": {},
|
497 | "CreationDate": {
|
498 | "shape": "S1k"
|
499 | },
|
500 | "ExpirationDate": {
|
501 | "shape": "S1k"
|
502 | },
|
503 | "Status": {},
|
504 | "NetworkSummary": {
|
505 | "shape": "S29"
|
506 | }
|
507 | }
|
508 | }
|
509 | },
|
510 | "NextToken": {}
|
511 | }
|
512 | }
|
513 | },
|
514 | "ListMembers": {
|
515 | "http": {
|
516 | "method": "GET",
|
517 | "requestUri": "/networks/{networkId}/members"
|
518 | },
|
519 | "input": {
|
520 | "type": "structure",
|
521 | "required": [
|
522 | "NetworkId"
|
523 | ],
|
524 | "members": {
|
525 | "NetworkId": {
|
526 | "location": "uri",
|
527 | "locationName": "networkId"
|
528 | },
|
529 | "Name": {
|
530 | "location": "querystring",
|
531 | "locationName": "name"
|
532 | },
|
533 | "Status": {
|
534 | "location": "querystring",
|
535 | "locationName": "status"
|
536 | },
|
537 | "IsOwned": {
|
538 | "location": "querystring",
|
539 | "locationName": "isOwned",
|
540 | "type": "boolean"
|
541 | },
|
542 | "MaxResults": {
|
543 | "location": "querystring",
|
544 | "locationName": "maxResults",
|
545 | "type": "integer"
|
546 | },
|
547 | "NextToken": {
|
548 | "location": "querystring",
|
549 | "locationName": "nextToken"
|
550 | }
|
551 | }
|
552 | },
|
553 | "output": {
|
554 | "type": "structure",
|
555 | "members": {
|
556 | "Members": {
|
557 | "type": "list",
|
558 | "member": {
|
559 | "type": "structure",
|
560 | "members": {
|
561 | "Id": {},
|
562 | "Name": {},
|
563 | "Description": {},
|
564 | "Status": {},
|
565 | "CreationDate": {
|
566 | "shape": "S1k"
|
567 | },
|
568 | "IsOwned": {
|
569 | "type": "boolean"
|
570 | }
|
571 | }
|
572 | }
|
573 | },
|
574 | "NextToken": {}
|
575 | }
|
576 | }
|
577 | },
|
578 | "ListNetworks": {
|
579 | "http": {
|
580 | "method": "GET",
|
581 | "requestUri": "/networks"
|
582 | },
|
583 | "input": {
|
584 | "type": "structure",
|
585 | "members": {
|
586 | "Name": {
|
587 | "location": "querystring",
|
588 | "locationName": "name"
|
589 | },
|
590 | "Framework": {
|
591 | "location": "querystring",
|
592 | "locationName": "framework"
|
593 | },
|
594 | "Status": {
|
595 | "location": "querystring",
|
596 | "locationName": "status"
|
597 | },
|
598 | "MaxResults": {
|
599 | "location": "querystring",
|
600 | "locationName": "maxResults",
|
601 | "type": "integer"
|
602 | },
|
603 | "NextToken": {
|
604 | "location": "querystring",
|
605 | "locationName": "nextToken"
|
606 | }
|
607 | }
|
608 | },
|
609 | "output": {
|
610 | "type": "structure",
|
611 | "members": {
|
612 | "Networks": {
|
613 | "type": "list",
|
614 | "member": {
|
615 | "shape": "S29"
|
616 | }
|
617 | },
|
618 | "NextToken": {}
|
619 | }
|
620 | }
|
621 | },
|
622 | "ListNodes": {
|
623 | "http": {
|
624 | "method": "GET",
|
625 | "requestUri": "/networks/{networkId}/members/{memberId}/nodes"
|
626 | },
|
627 | "input": {
|
628 | "type": "structure",
|
629 | "required": [
|
630 | "NetworkId",
|
631 | "MemberId"
|
632 | ],
|
633 | "members": {
|
634 | "NetworkId": {
|
635 | "location": "uri",
|
636 | "locationName": "networkId"
|
637 | },
|
638 | "MemberId": {
|
639 | "location": "uri",
|
640 | "locationName": "memberId"
|
641 | },
|
642 | "Status": {
|
643 | "location": "querystring",
|
644 | "locationName": "status"
|
645 | },
|
646 | "MaxResults": {
|
647 | "location": "querystring",
|
648 | "locationName": "maxResults",
|
649 | "type": "integer"
|
650 | },
|
651 | "NextToken": {
|
652 | "location": "querystring",
|
653 | "locationName": "nextToken"
|
654 | }
|
655 | }
|
656 | },
|
657 | "output": {
|
658 | "type": "structure",
|
659 | "members": {
|
660 | "Nodes": {
|
661 | "type": "list",
|
662 | "member": {
|
663 | "type": "structure",
|
664 | "members": {
|
665 | "Id": {},
|
666 | "Status": {},
|
667 | "CreationDate": {
|
668 | "shape": "S1k"
|
669 | },
|
670 | "AvailabilityZone": {},
|
671 | "InstanceType": {}
|
672 | }
|
673 | }
|
674 | },
|
675 | "NextToken": {}
|
676 | }
|
677 | }
|
678 | },
|
679 | "ListProposalVotes": {
|
680 | "http": {
|
681 | "method": "GET",
|
682 | "requestUri": "/networks/{networkId}/proposals/{proposalId}/votes"
|
683 | },
|
684 | "input": {
|
685 | "type": "structure",
|
686 | "required": [
|
687 | "NetworkId",
|
688 | "ProposalId"
|
689 | ],
|
690 | "members": {
|
691 | "NetworkId": {
|
692 | "location": "uri",
|
693 | "locationName": "networkId"
|
694 | },
|
695 | "ProposalId": {
|
696 | "location": "uri",
|
697 | "locationName": "proposalId"
|
698 | },
|
699 | "MaxResults": {
|
700 | "location": "querystring",
|
701 | "locationName": "maxResults",
|
702 | "type": "integer"
|
703 | },
|
704 | "NextToken": {
|
705 | "location": "querystring",
|
706 | "locationName": "nextToken"
|
707 | }
|
708 | }
|
709 | },
|
710 | "output": {
|
711 | "type": "structure",
|
712 | "members": {
|
713 | "ProposalVotes": {
|
714 | "type": "list",
|
715 | "member": {
|
716 | "type": "structure",
|
717 | "members": {
|
718 | "Vote": {},
|
719 | "MemberName": {},
|
720 | "MemberId": {}
|
721 | }
|
722 | }
|
723 | },
|
724 | "NextToken": {}
|
725 | }
|
726 | }
|
727 | },
|
728 | "ListProposals": {
|
729 | "http": {
|
730 | "method": "GET",
|
731 | "requestUri": "/networks/{networkId}/proposals"
|
732 | },
|
733 | "input": {
|
734 | "type": "structure",
|
735 | "required": [
|
736 | "NetworkId"
|
737 | ],
|
738 | "members": {
|
739 | "NetworkId": {
|
740 | "location": "uri",
|
741 | "locationName": "networkId"
|
742 | },
|
743 | "MaxResults": {
|
744 | "location": "querystring",
|
745 | "locationName": "maxResults",
|
746 | "type": "integer"
|
747 | },
|
748 | "NextToken": {
|
749 | "location": "querystring",
|
750 | "locationName": "nextToken"
|
751 | }
|
752 | }
|
753 | },
|
754 | "output": {
|
755 | "type": "structure",
|
756 | "members": {
|
757 | "Proposals": {
|
758 | "type": "list",
|
759 | "member": {
|
760 | "type": "structure",
|
761 | "members": {
|
762 | "ProposalId": {},
|
763 | "Description": {},
|
764 | "ProposedByMemberId": {},
|
765 | "ProposedByMemberName": {},
|
766 | "Status": {},
|
767 | "CreationDate": {
|
768 | "shape": "S1k"
|
769 | },
|
770 | "ExpirationDate": {
|
771 | "shape": "S1k"
|
772 | }
|
773 | }
|
774 | }
|
775 | },
|
776 | "NextToken": {}
|
777 | }
|
778 | }
|
779 | },
|
780 | "RejectInvitation": {
|
781 | "http": {
|
782 | "method": "DELETE",
|
783 | "requestUri": "/invitations/{invitationId}"
|
784 | },
|
785 | "input": {
|
786 | "type": "structure",
|
787 | "required": [
|
788 | "InvitationId"
|
789 | ],
|
790 | "members": {
|
791 | "InvitationId": {
|
792 | "location": "uri",
|
793 | "locationName": "invitationId"
|
794 | }
|
795 | }
|
796 | },
|
797 | "output": {
|
798 | "type": "structure",
|
799 | "members": {}
|
800 | }
|
801 | },
|
802 | "UpdateMember": {
|
803 | "http": {
|
804 | "method": "PATCH",
|
805 | "requestUri": "/networks/{networkId}/members/{memberId}"
|
806 | },
|
807 | "input": {
|
808 | "type": "structure",
|
809 | "required": [
|
810 | "NetworkId",
|
811 | "MemberId"
|
812 | ],
|
813 | "members": {
|
814 | "NetworkId": {
|
815 | "location": "uri",
|
816 | "locationName": "networkId"
|
817 | },
|
818 | "MemberId": {
|
819 | "location": "uri",
|
820 | "locationName": "memberId"
|
821 | },
|
822 | "LogPublishingConfiguration": {
|
823 | "shape": "Sb"
|
824 | }
|
825 | }
|
826 | },
|
827 | "output": {
|
828 | "type": "structure",
|
829 | "members": {}
|
830 | }
|
831 | },
|
832 | "UpdateNode": {
|
833 | "http": {
|
834 | "method": "PATCH",
|
835 | "requestUri": "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
836 | },
|
837 | "input": {
|
838 | "type": "structure",
|
839 | "required": [
|
840 | "NetworkId",
|
841 | "MemberId",
|
842 | "NodeId"
|
843 | ],
|
844 | "members": {
|
845 | "NetworkId": {
|
846 | "location": "uri",
|
847 | "locationName": "networkId"
|
848 | },
|
849 | "MemberId": {
|
850 | "location": "uri",
|
851 | "locationName": "memberId"
|
852 | },
|
853 | "NodeId": {
|
854 | "location": "uri",
|
855 | "locationName": "nodeId"
|
856 | },
|
857 | "LogPublishingConfiguration": {
|
858 | "shape": "Sy"
|
859 | }
|
860 | }
|
861 | },
|
862 | "output": {
|
863 | "type": "structure",
|
864 | "members": {}
|
865 | }
|
866 | },
|
867 | "VoteOnProposal": {
|
868 | "http": {
|
869 | "requestUri": "/networks/{networkId}/proposals/{proposalId}/votes"
|
870 | },
|
871 | "input": {
|
872 | "type": "structure",
|
873 | "required": [
|
874 | "NetworkId",
|
875 | "ProposalId",
|
876 | "VoterMemberId",
|
877 | "Vote"
|
878 | ],
|
879 | "members": {
|
880 | "NetworkId": {
|
881 | "location": "uri",
|
882 | "locationName": "networkId"
|
883 | },
|
884 | "ProposalId": {
|
885 | "location": "uri",
|
886 | "locationName": "proposalId"
|
887 | },
|
888 | "VoterMemberId": {},
|
889 | "Vote": {}
|
890 | }
|
891 | },
|
892 | "output": {
|
893 | "type": "structure",
|
894 | "members": {}
|
895 | }
|
896 | }
|
897 | },
|
898 | "shapes": {
|
899 | "S4": {
|
900 | "type": "structure",
|
901 | "required": [
|
902 | "Name",
|
903 | "FrameworkConfiguration"
|
904 | ],
|
905 | "members": {
|
906 | "Name": {},
|
907 | "Description": {},
|
908 | "FrameworkConfiguration": {
|
909 | "type": "structure",
|
910 | "members": {
|
911 | "Fabric": {
|
912 | "type": "structure",
|
913 | "required": [
|
914 | "AdminUsername",
|
915 | "AdminPassword"
|
916 | ],
|
917 | "members": {
|
918 | "AdminUsername": {},
|
919 | "AdminPassword": {
|
920 | "type": "string",
|
921 | "sensitive": true
|
922 | }
|
923 | }
|
924 | }
|
925 | }
|
926 | },
|
927 | "LogPublishingConfiguration": {
|
928 | "shape": "Sb"
|
929 | }
|
930 | }
|
931 | },
|
932 | "Sb": {
|
933 | "type": "structure",
|
934 | "members": {
|
935 | "Fabric": {
|
936 | "type": "structure",
|
937 | "members": {
|
938 | "CaLogs": {
|
939 | "shape": "Sd"
|
940 | }
|
941 | }
|
942 | }
|
943 | }
|
944 | },
|
945 | "Sd": {
|
946 | "type": "structure",
|
947 | "members": {
|
948 | "Cloudwatch": {
|
949 | "type": "structure",
|
950 | "members": {
|
951 | "Enabled": {
|
952 | "type": "boolean"
|
953 | }
|
954 | }
|
955 | }
|
956 | }
|
957 | },
|
958 | "So": {
|
959 | "type": "structure",
|
960 | "members": {
|
961 | "ApprovalThresholdPolicy": {
|
962 | "type": "structure",
|
963 | "members": {
|
964 | "ThresholdPercentage": {
|
965 | "type": "integer"
|
966 | },
|
967 | "ProposalDurationInHours": {
|
968 | "type": "integer"
|
969 | },
|
970 | "ThresholdComparator": {}
|
971 | }
|
972 | }
|
973 | }
|
974 | },
|
975 | "Sy": {
|
976 | "type": "structure",
|
977 | "members": {
|
978 | "Fabric": {
|
979 | "type": "structure",
|
980 | "members": {
|
981 | "ChaincodeLogs": {
|
982 | "shape": "Sd"
|
983 | },
|
984 | "PeerLogs": {
|
985 | "shape": "Sd"
|
986 | }
|
987 | }
|
988 | }
|
989 | }
|
990 | },
|
991 | "S12": {
|
992 | "type": "structure",
|
993 | "members": {
|
994 | "Invitations": {
|
995 | "type": "list",
|
996 | "member": {
|
997 | "type": "structure",
|
998 | "required": [
|
999 | "Principal"
|
1000 | ],
|
1001 | "members": {
|
1002 | "Principal": {}
|
1003 | }
|
1004 | }
|
1005 | },
|
1006 | "Removals": {
|
1007 | "type": "list",
|
1008 | "member": {
|
1009 | "type": "structure",
|
1010 | "required": [
|
1011 | "MemberId"
|
1012 | ],
|
1013 | "members": {
|
1014 | "MemberId": {}
|
1015 | }
|
1016 | }
|
1017 | }
|
1018 | }
|
1019 | },
|
1020 | "S1k": {
|
1021 | "type": "timestamp",
|
1022 | "timestampFormat": "iso8601"
|
1023 | },
|
1024 | "S29": {
|
1025 | "type": "structure",
|
1026 | "members": {
|
1027 | "Id": {},
|
1028 | "Name": {},
|
1029 | "Description": {},
|
1030 | "Framework": {},
|
1031 | "FrameworkVersion": {},
|
1032 | "Status": {},
|
1033 | "CreationDate": {
|
1034 | "shape": "S1k"
|
1035 | }
|
1036 | }
|
1037 | }
|
1038 | }
|
1039 | } |
\ | No newline at end of file |