qldb-session-2019-07-11.min.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2019-07-11",
  5. "endpointPrefix": "session.qldb",
  6. "jsonVersion": "1.0",
  7. "protocol": "json",
  8. "serviceAbbreviation": "QLDB Session",
  9. "serviceFullName": "Amazon QLDB Session",
  10. "serviceId": "QLDB Session",
  11. "signatureVersion": "v4",
  12. "signingName": "qldb",
  13. "targetPrefix": "QLDBSession",
  14. "uid": "qldb-session-2019-07-11"
  15. },
  16. "operations": {
  17. "SendCommand": {
  18. "input": {
  19. "type": "structure",
  20. "members": {
  21. "SessionToken": {},
  22. "StartSession": {
  23. "type": "structure",
  24. "required": [
  25. "LedgerName"
  26. ],
  27. "members": {
  28. "LedgerName": {}
  29. }
  30. },
  31. "StartTransaction": {
  32. "type": "structure",
  33. "members": {}
  34. },
  35. "EndSession": {
  36. "type": "structure",
  37. "members": {}
  38. },
  39. "CommitTransaction": {
  40. "type": "structure",
  41. "required": [
  42. "TransactionId",
  43. "CommitDigest"
  44. ],
  45. "members": {
  46. "TransactionId": {},
  47. "CommitDigest": {
  48. "type": "blob"
  49. }
  50. }
  51. },
  52. "AbortTransaction": {
  53. "type": "structure",
  54. "members": {}
  55. },
  56. "ExecuteStatement": {
  57. "type": "structure",
  58. "required": [
  59. "TransactionId",
  60. "Statement"
  61. ],
  62. "members": {
  63. "TransactionId": {},
  64. "Statement": {},
  65. "Parameters": {
  66. "type": "list",
  67. "member": {
  68. "shape": "Se"
  69. }
  70. }
  71. }
  72. },
  73. "FetchPage": {
  74. "type": "structure",
  75. "required": [
  76. "TransactionId",
  77. "NextPageToken"
  78. ],
  79. "members": {
  80. "TransactionId": {},
  81. "NextPageToken": {}
  82. }
  83. }
  84. }
  85. },
  86. "output": {
  87. "type": "structure",
  88. "members": {
  89. "StartSession": {
  90. "type": "structure",
  91. "members": {
  92. "SessionToken": {},
  93. "TimingInformation": {
  94. "shape": "Sl"
  95. }
  96. }
  97. },
  98. "StartTransaction": {
  99. "type": "structure",
  100. "members": {
  101. "TransactionId": {},
  102. "TimingInformation": {
  103. "shape": "Sl"
  104. }
  105. }
  106. },
  107. "EndSession": {
  108. "type": "structure",
  109. "members": {
  110. "TimingInformation": {
  111. "shape": "Sl"
  112. }
  113. }
  114. },
  115. "CommitTransaction": {
  116. "type": "structure",
  117. "members": {
  118. "TransactionId": {},
  119. "CommitDigest": {
  120. "type": "blob"
  121. },
  122. "TimingInformation": {
  123. "shape": "Sl"
  124. },
  125. "ConsumedIOs": {
  126. "shape": "Sq"
  127. }
  128. }
  129. },
  130. "AbortTransaction": {
  131. "type": "structure",
  132. "members": {
  133. "TimingInformation": {
  134. "shape": "Sl"
  135. }
  136. }
  137. },
  138. "ExecuteStatement": {
  139. "type": "structure",
  140. "members": {
  141. "FirstPage": {
  142. "shape": "Sv"
  143. },
  144. "TimingInformation": {
  145. "shape": "Sl"
  146. },
  147. "ConsumedIOs": {
  148. "shape": "Sq"
  149. }
  150. }
  151. },
  152. "FetchPage": {
  153. "type": "structure",
  154. "members": {
  155. "Page": {
  156. "shape": "Sv"
  157. },
  158. "TimingInformation": {
  159. "shape": "Sl"
  160. },
  161. "ConsumedIOs": {
  162. "shape": "Sq"
  163. }
  164. }
  165. }
  166. }
  167. }
  168. }
  169. },
  170. "shapes": {
  171. "Se": {
  172. "type": "structure",
  173. "members": {
  174. "IonBinary": {
  175. "type": "blob"
  176. },
  177. "IonText": {}
  178. }
  179. },
  180. "Sl": {
  181. "type": "structure",
  182. "members": {
  183. "ProcessingTimeMilliseconds": {
  184. "type": "long"
  185. }
  186. }
  187. },
  188. "Sq": {
  189. "type": "structure",
  190. "members": {
  191. "ReadIOs": {
  192. "type": "long"
  193. },
  194. "WriteIOs": {
  195. "type": "long"
  196. }
  197. }
  198. },
  199. "Sv": {
  200. "type": "structure",
  201. "members": {
  202. "Values": {
  203. "type": "list",
  204. "member": {
  205. "shape": "Se"
  206. }
  207. },
  208. "NextPageToken": {}
  209. }
  210. }
  211. }
  212. }