mobile-2017-07-01.min.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2017-07-01",
  5. "endpointPrefix": "mobile",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "AWS Mobile",
  9. "serviceId": "Mobile",
  10. "signatureVersion": "v4",
  11. "signingName": "AWSMobileHubService",
  12. "uid": "mobile-2017-07-01"
  13. },
  14. "operations": {
  15. "CreateProject": {
  16. "http": {
  17. "requestUri": "/projects"
  18. },
  19. "input": {
  20. "type": "structure",
  21. "members": {
  22. "name": {
  23. "location": "querystring",
  24. "locationName": "name"
  25. },
  26. "region": {
  27. "location": "querystring",
  28. "locationName": "region"
  29. },
  30. "contents": {
  31. "type": "blob"
  32. },
  33. "snapshotId": {
  34. "location": "querystring",
  35. "locationName": "snapshotId"
  36. }
  37. },
  38. "payload": "contents"
  39. },
  40. "output": {
  41. "type": "structure",
  42. "members": {
  43. "details": {
  44. "shape": "S7"
  45. }
  46. }
  47. }
  48. },
  49. "DeleteProject": {
  50. "http": {
  51. "method": "DELETE",
  52. "requestUri": "/projects/{projectId}"
  53. },
  54. "input": {
  55. "type": "structure",
  56. "required": [
  57. "projectId"
  58. ],
  59. "members": {
  60. "projectId": {
  61. "location": "uri",
  62. "locationName": "projectId"
  63. }
  64. }
  65. },
  66. "output": {
  67. "type": "structure",
  68. "members": {
  69. "deletedResources": {
  70. "shape": "Sc"
  71. },
  72. "orphanedResources": {
  73. "shape": "Sc"
  74. }
  75. }
  76. }
  77. },
  78. "DescribeBundle": {
  79. "http": {
  80. "method": "GET",
  81. "requestUri": "/bundles/{bundleId}"
  82. },
  83. "input": {
  84. "type": "structure",
  85. "required": [
  86. "bundleId"
  87. ],
  88. "members": {
  89. "bundleId": {
  90. "location": "uri",
  91. "locationName": "bundleId"
  92. }
  93. }
  94. },
  95. "output": {
  96. "type": "structure",
  97. "members": {
  98. "details": {
  99. "shape": "Sq"
  100. }
  101. }
  102. }
  103. },
  104. "DescribeProject": {
  105. "http": {
  106. "method": "GET",
  107. "requestUri": "/project"
  108. },
  109. "input": {
  110. "type": "structure",
  111. "required": [
  112. "projectId"
  113. ],
  114. "members": {
  115. "projectId": {
  116. "location": "querystring",
  117. "locationName": "projectId"
  118. },
  119. "syncFromResources": {
  120. "location": "querystring",
  121. "locationName": "syncFromResources",
  122. "type": "boolean"
  123. }
  124. }
  125. },
  126. "output": {
  127. "type": "structure",
  128. "members": {
  129. "details": {
  130. "shape": "S7"
  131. }
  132. }
  133. }
  134. },
  135. "ExportBundle": {
  136. "http": {
  137. "requestUri": "/bundles/{bundleId}"
  138. },
  139. "input": {
  140. "type": "structure",
  141. "required": [
  142. "bundleId"
  143. ],
  144. "members": {
  145. "bundleId": {
  146. "location": "uri",
  147. "locationName": "bundleId"
  148. },
  149. "projectId": {
  150. "location": "querystring",
  151. "locationName": "projectId"
  152. },
  153. "platform": {
  154. "location": "querystring",
  155. "locationName": "platform"
  156. }
  157. }
  158. },
  159. "output": {
  160. "type": "structure",
  161. "members": {
  162. "downloadUrl": {}
  163. }
  164. }
  165. },
  166. "ExportProject": {
  167. "http": {
  168. "requestUri": "/exports/{projectId}"
  169. },
  170. "input": {
  171. "type": "structure",
  172. "required": [
  173. "projectId"
  174. ],
  175. "members": {
  176. "projectId": {
  177. "location": "uri",
  178. "locationName": "projectId"
  179. }
  180. }
  181. },
  182. "output": {
  183. "type": "structure",
  184. "members": {
  185. "downloadUrl": {},
  186. "shareUrl": {},
  187. "snapshotId": {}
  188. }
  189. }
  190. },
  191. "ListBundles": {
  192. "http": {
  193. "method": "GET",
  194. "requestUri": "/bundles"
  195. },
  196. "input": {
  197. "type": "structure",
  198. "members": {
  199. "maxResults": {
  200. "location": "querystring",
  201. "locationName": "maxResults",
  202. "type": "integer"
  203. },
  204. "nextToken": {
  205. "location": "querystring",
  206. "locationName": "nextToken"
  207. }
  208. }
  209. },
  210. "output": {
  211. "type": "structure",
  212. "members": {
  213. "bundleList": {
  214. "type": "list",
  215. "member": {
  216. "shape": "Sq"
  217. }
  218. },
  219. "nextToken": {}
  220. }
  221. }
  222. },
  223. "ListProjects": {
  224. "http": {
  225. "method": "GET",
  226. "requestUri": "/projects"
  227. },
  228. "input": {
  229. "type": "structure",
  230. "members": {
  231. "maxResults": {
  232. "location": "querystring",
  233. "locationName": "maxResults",
  234. "type": "integer"
  235. },
  236. "nextToken": {
  237. "location": "querystring",
  238. "locationName": "nextToken"
  239. }
  240. }
  241. },
  242. "output": {
  243. "type": "structure",
  244. "members": {
  245. "projects": {
  246. "type": "list",
  247. "member": {
  248. "type": "structure",
  249. "members": {
  250. "name": {},
  251. "projectId": {}
  252. }
  253. }
  254. },
  255. "nextToken": {}
  256. }
  257. }
  258. },
  259. "UpdateProject": {
  260. "http": {
  261. "requestUri": "/update"
  262. },
  263. "input": {
  264. "type": "structure",
  265. "required": [
  266. "projectId"
  267. ],
  268. "members": {
  269. "contents": {
  270. "type": "blob"
  271. },
  272. "projectId": {
  273. "location": "querystring",
  274. "locationName": "projectId"
  275. }
  276. },
  277. "payload": "contents"
  278. },
  279. "output": {
  280. "type": "structure",
  281. "members": {
  282. "details": {
  283. "shape": "S7"
  284. }
  285. }
  286. }
  287. }
  288. },
  289. "shapes": {
  290. "S7": {
  291. "type": "structure",
  292. "members": {
  293. "name": {},
  294. "projectId": {},
  295. "region": {},
  296. "state": {},
  297. "createdDate": {
  298. "type": "timestamp"
  299. },
  300. "lastUpdatedDate": {
  301. "type": "timestamp"
  302. },
  303. "consoleUrl": {},
  304. "resources": {
  305. "shape": "Sc"
  306. }
  307. }
  308. },
  309. "Sc": {
  310. "type": "list",
  311. "member": {
  312. "type": "structure",
  313. "members": {
  314. "type": {},
  315. "name": {},
  316. "arn": {},
  317. "feature": {},
  318. "attributes": {
  319. "type": "map",
  320. "key": {},
  321. "value": {}
  322. }
  323. }
  324. }
  325. },
  326. "Sq": {
  327. "type": "structure",
  328. "members": {
  329. "bundleId": {},
  330. "title": {},
  331. "version": {},
  332. "description": {},
  333. "iconUrl": {},
  334. "availablePlatforms": {
  335. "type": "list",
  336. "member": {}
  337. }
  338. }
  339. }
  340. }
  341. }