artifact-2018-05-10.min.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-05-10",
  5. "endpointPrefix": "artifact",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "AWS Artifact",
  9. "serviceId": "Artifact",
  10. "signatureVersion": "v4",
  11. "signingName": "artifact",
  12. "uid": "artifact-2018-05-10"
  13. },
  14. "operations": {
  15. "GetAccountSettings": {
  16. "http": {
  17. "method": "GET",
  18. "requestUri": "/v1/account-settings/get",
  19. "responseCode": 200
  20. },
  21. "input": {
  22. "type": "structure",
  23. "members": {}
  24. },
  25. "output": {
  26. "type": "structure",
  27. "members": {
  28. "accountSettings": {
  29. "shape": "S3"
  30. }
  31. }
  32. }
  33. },
  34. "GetReport": {
  35. "http": {
  36. "method": "GET",
  37. "requestUri": "/v1/report/get",
  38. "responseCode": 200
  39. },
  40. "input": {
  41. "type": "structure",
  42. "required": [
  43. "reportId",
  44. "termToken"
  45. ],
  46. "members": {
  47. "reportId": {
  48. "location": "querystring",
  49. "locationName": "reportId"
  50. },
  51. "reportVersion": {
  52. "location": "querystring",
  53. "locationName": "reportVersion",
  54. "type": "long"
  55. },
  56. "termToken": {
  57. "location": "querystring",
  58. "locationName": "termToken"
  59. }
  60. }
  61. },
  62. "output": {
  63. "type": "structure",
  64. "members": {
  65. "documentPresignedUrl": {}
  66. }
  67. }
  68. },
  69. "GetReportMetadata": {
  70. "http": {
  71. "method": "GET",
  72. "requestUri": "/v1/report/getMetadata",
  73. "responseCode": 200
  74. },
  75. "input": {
  76. "type": "structure",
  77. "required": [
  78. "reportId"
  79. ],
  80. "members": {
  81. "reportId": {
  82. "location": "querystring",
  83. "locationName": "reportId"
  84. },
  85. "reportVersion": {
  86. "location": "querystring",
  87. "locationName": "reportVersion",
  88. "type": "long"
  89. }
  90. }
  91. },
  92. "output": {
  93. "type": "structure",
  94. "members": {
  95. "reportDetails": {
  96. "type": "structure",
  97. "members": {
  98. "acceptanceType": {},
  99. "arn": {},
  100. "category": {},
  101. "companyName": {},
  102. "createdAt": {
  103. "shape": "Sg"
  104. },
  105. "deletedAt": {
  106. "shape": "Sg"
  107. },
  108. "description": {},
  109. "id": {},
  110. "lastModifiedAt": {
  111. "shape": "Sg"
  112. },
  113. "name": {},
  114. "periodEnd": {
  115. "shape": "Sg"
  116. },
  117. "periodStart": {
  118. "shape": "Sg"
  119. },
  120. "productName": {},
  121. "sequenceNumber": {
  122. "type": "long"
  123. },
  124. "series": {},
  125. "state": {},
  126. "statusMessage": {},
  127. "termArn": {},
  128. "uploadState": {},
  129. "version": {
  130. "type": "long"
  131. }
  132. }
  133. }
  134. }
  135. }
  136. },
  137. "GetTermForReport": {
  138. "http": {
  139. "method": "GET",
  140. "requestUri": "/v1/report/getTermForReport",
  141. "responseCode": 200
  142. },
  143. "input": {
  144. "type": "structure",
  145. "required": [
  146. "reportId"
  147. ],
  148. "members": {
  149. "reportId": {
  150. "location": "querystring",
  151. "locationName": "reportId"
  152. },
  153. "reportVersion": {
  154. "location": "querystring",
  155. "locationName": "reportVersion",
  156. "type": "long"
  157. }
  158. }
  159. },
  160. "output": {
  161. "type": "structure",
  162. "members": {
  163. "documentPresignedUrl": {},
  164. "termToken": {}
  165. }
  166. }
  167. },
  168. "ListReports": {
  169. "http": {
  170. "method": "GET",
  171. "requestUri": "/v1/report/list",
  172. "responseCode": 200
  173. },
  174. "input": {
  175. "type": "structure",
  176. "members": {
  177. "maxResults": {
  178. "location": "querystring",
  179. "locationName": "maxResults",
  180. "type": "integer"
  181. },
  182. "nextToken": {
  183. "location": "querystring",
  184. "locationName": "nextToken"
  185. }
  186. }
  187. },
  188. "output": {
  189. "type": "structure",
  190. "members": {
  191. "nextToken": {},
  192. "reports": {
  193. "type": "list",
  194. "member": {
  195. "type": "structure",
  196. "members": {
  197. "arn": {},
  198. "category": {},
  199. "companyName": {},
  200. "description": {},
  201. "id": {},
  202. "name": {},
  203. "periodEnd": {
  204. "shape": "Sg"
  205. },
  206. "periodStart": {
  207. "shape": "Sg"
  208. },
  209. "productName": {},
  210. "series": {},
  211. "state": {},
  212. "statusMessage": {},
  213. "uploadState": {},
  214. "version": {
  215. "type": "long"
  216. }
  217. }
  218. }
  219. }
  220. }
  221. }
  222. },
  223. "PutAccountSettings": {
  224. "http": {
  225. "method": "PUT",
  226. "requestUri": "/v1/account-settings/put",
  227. "responseCode": 200
  228. },
  229. "input": {
  230. "type": "structure",
  231. "members": {
  232. "notificationSubscriptionStatus": {}
  233. }
  234. },
  235. "output": {
  236. "type": "structure",
  237. "members": {
  238. "accountSettings": {
  239. "shape": "S3"
  240. }
  241. }
  242. },
  243. "idempotent": true
  244. }
  245. },
  246. "shapes": {
  247. "S3": {
  248. "type": "structure",
  249. "members": {
  250. "notificationSubscriptionStatus": {}
  251. }
  252. },
  253. "Sg": {
  254. "type": "timestamp",
  255. "timestampFormat": "iso8601"
  256. }
  257. }
  258. }