sagemaker-a2i-runtime-2019-11-07.min.json 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2019-11-07",
  5. "endpointPrefix": "a2i-runtime.sagemaker",
  6. "protocol": "rest-json",
  7. "serviceFullName": "Amazon Augmented AI Runtime",
  8. "serviceId": "SageMaker A2I Runtime",
  9. "signatureVersion": "v4",
  10. "signingName": "sagemaker",
  11. "uid": "sagemaker-a2i-runtime-2019-11-07"
  12. },
  13. "operations": {
  14. "DeleteHumanLoop": {
  15. "http": {
  16. "method": "DELETE",
  17. "requestUri": "/human-loops/{HumanLoopName}"
  18. },
  19. "input": {
  20. "type": "structure",
  21. "required": [
  22. "HumanLoopName"
  23. ],
  24. "members": {
  25. "HumanLoopName": {
  26. "location": "uri",
  27. "locationName": "HumanLoopName"
  28. }
  29. }
  30. },
  31. "output": {
  32. "type": "structure",
  33. "members": {}
  34. }
  35. },
  36. "DescribeHumanLoop": {
  37. "http": {
  38. "method": "GET",
  39. "requestUri": "/human-loops/{HumanLoopName}"
  40. },
  41. "input": {
  42. "type": "structure",
  43. "required": [
  44. "HumanLoopName"
  45. ],
  46. "members": {
  47. "HumanLoopName": {
  48. "location": "uri",
  49. "locationName": "HumanLoopName"
  50. }
  51. }
  52. },
  53. "output": {
  54. "type": "structure",
  55. "required": [
  56. "CreationTime",
  57. "HumanLoopStatus",
  58. "HumanLoopName",
  59. "HumanLoopArn",
  60. "FlowDefinitionArn"
  61. ],
  62. "members": {
  63. "CreationTime": {
  64. "shape": "S6"
  65. },
  66. "FailureReason": {},
  67. "FailureCode": {},
  68. "HumanLoopStatus": {},
  69. "HumanLoopName": {},
  70. "HumanLoopArn": {},
  71. "FlowDefinitionArn": {},
  72. "HumanLoopOutput": {
  73. "type": "structure",
  74. "required": [
  75. "OutputS3Uri"
  76. ],
  77. "members": {
  78. "OutputS3Uri": {}
  79. }
  80. }
  81. }
  82. }
  83. },
  84. "ListHumanLoops": {
  85. "http": {
  86. "method": "GET",
  87. "requestUri": "/human-loops"
  88. },
  89. "input": {
  90. "type": "structure",
  91. "required": [
  92. "FlowDefinitionArn"
  93. ],
  94. "members": {
  95. "CreationTimeAfter": {
  96. "shape": "S6",
  97. "location": "querystring",
  98. "locationName": "CreationTimeAfter"
  99. },
  100. "CreationTimeBefore": {
  101. "shape": "S6",
  102. "location": "querystring",
  103. "locationName": "CreationTimeBefore"
  104. },
  105. "FlowDefinitionArn": {
  106. "location": "querystring",
  107. "locationName": "FlowDefinitionArn"
  108. },
  109. "SortOrder": {
  110. "location": "querystring",
  111. "locationName": "SortOrder"
  112. },
  113. "NextToken": {
  114. "location": "querystring",
  115. "locationName": "NextToken"
  116. },
  117. "MaxResults": {
  118. "location": "querystring",
  119. "locationName": "MaxResults",
  120. "type": "integer"
  121. }
  122. }
  123. },
  124. "output": {
  125. "type": "structure",
  126. "required": [
  127. "HumanLoopSummaries"
  128. ],
  129. "members": {
  130. "HumanLoopSummaries": {
  131. "type": "list",
  132. "member": {
  133. "type": "structure",
  134. "members": {
  135. "HumanLoopName": {},
  136. "HumanLoopStatus": {},
  137. "CreationTime": {
  138. "shape": "S6"
  139. },
  140. "FailureReason": {},
  141. "FlowDefinitionArn": {}
  142. }
  143. }
  144. },
  145. "NextToken": {}
  146. }
  147. }
  148. },
  149. "StartHumanLoop": {
  150. "http": {
  151. "requestUri": "/human-loops"
  152. },
  153. "input": {
  154. "type": "structure",
  155. "required": [
  156. "HumanLoopName",
  157. "FlowDefinitionArn",
  158. "HumanLoopInput"
  159. ],
  160. "members": {
  161. "HumanLoopName": {},
  162. "FlowDefinitionArn": {},
  163. "HumanLoopInput": {
  164. "type": "structure",
  165. "required": [
  166. "InputContent"
  167. ],
  168. "members": {
  169. "InputContent": {}
  170. }
  171. },
  172. "DataAttributes": {
  173. "type": "structure",
  174. "required": [
  175. "ContentClassifiers"
  176. ],
  177. "members": {
  178. "ContentClassifiers": {
  179. "type": "list",
  180. "member": {}
  181. }
  182. }
  183. }
  184. }
  185. },
  186. "output": {
  187. "type": "structure",
  188. "members": {
  189. "HumanLoopArn": {}
  190. }
  191. }
  192. },
  193. "StopHumanLoop": {
  194. "http": {
  195. "requestUri": "/human-loops/stop"
  196. },
  197. "input": {
  198. "type": "structure",
  199. "required": [
  200. "HumanLoopName"
  201. ],
  202. "members": {
  203. "HumanLoopName": {}
  204. }
  205. },
  206. "output": {
  207. "type": "structure",
  208. "members": {}
  209. }
  210. }
  211. },
  212. "shapes": {
  213. "S6": {
  214. "type": "timestamp",
  215. "timestampFormat": "iso8601"
  216. }
  217. }
  218. }