bcm-data-exports-2023-11-26.min.json 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2023-11-26",
  5. "endpointPrefix": "bcm-data-exports",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceFullName": "AWS Billing and Cost Management Data Exports",
  9. "serviceId": "BCM Data Exports",
  10. "signatureVersion": "v4",
  11. "signingName": "bcm-data-exports",
  12. "targetPrefix": "AWSBillingAndCostManagementDataExports",
  13. "uid": "bcm-data-exports-2023-11-26"
  14. },
  15. "operations": {
  16. "CreateExport": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "Export"
  21. ],
  22. "members": {
  23. "Export": {
  24. "shape": "S2"
  25. },
  26. "ResourceTags": {
  27. "shape": "Sl"
  28. }
  29. }
  30. },
  31. "output": {
  32. "type": "structure",
  33. "members": {
  34. "ExportArn": {}
  35. }
  36. }
  37. },
  38. "DeleteExport": {
  39. "input": {
  40. "type": "structure",
  41. "required": [
  42. "ExportArn"
  43. ],
  44. "members": {
  45. "ExportArn": {}
  46. }
  47. },
  48. "output": {
  49. "type": "structure",
  50. "members": {
  51. "ExportArn": {}
  52. }
  53. },
  54. "idempotent": true
  55. },
  56. "GetExecution": {
  57. "input": {
  58. "type": "structure",
  59. "required": [
  60. "ExecutionId",
  61. "ExportArn"
  62. ],
  63. "members": {
  64. "ExecutionId": {},
  65. "ExportArn": {}
  66. }
  67. },
  68. "output": {
  69. "type": "structure",
  70. "members": {
  71. "ExecutionId": {},
  72. "ExecutionStatus": {
  73. "shape": "Su"
  74. },
  75. "Export": {
  76. "shape": "S2"
  77. }
  78. }
  79. }
  80. },
  81. "GetExport": {
  82. "input": {
  83. "type": "structure",
  84. "required": [
  85. "ExportArn"
  86. ],
  87. "members": {
  88. "ExportArn": {}
  89. }
  90. },
  91. "output": {
  92. "type": "structure",
  93. "members": {
  94. "Export": {
  95. "shape": "S2"
  96. },
  97. "ExportStatus": {
  98. "shape": "S10"
  99. }
  100. }
  101. }
  102. },
  103. "GetTable": {
  104. "input": {
  105. "type": "structure",
  106. "required": [
  107. "TableName"
  108. ],
  109. "members": {
  110. "TableName": {},
  111. "TableProperties": {
  112. "shape": "S7"
  113. }
  114. }
  115. },
  116. "output": {
  117. "type": "structure",
  118. "members": {
  119. "Description": {},
  120. "Schema": {
  121. "type": "list",
  122. "member": {
  123. "type": "structure",
  124. "members": {
  125. "Description": {},
  126. "Name": {},
  127. "Type": {}
  128. }
  129. }
  130. },
  131. "TableName": {},
  132. "TableProperties": {
  133. "shape": "S7"
  134. }
  135. }
  136. }
  137. },
  138. "ListExecutions": {
  139. "input": {
  140. "type": "structure",
  141. "required": [
  142. "ExportArn"
  143. ],
  144. "members": {
  145. "ExportArn": {},
  146. "MaxResults": {
  147. "type": "integer"
  148. },
  149. "NextToken": {}
  150. }
  151. },
  152. "output": {
  153. "type": "structure",
  154. "members": {
  155. "Executions": {
  156. "type": "list",
  157. "member": {
  158. "type": "structure",
  159. "required": [
  160. "ExecutionId",
  161. "ExecutionStatus"
  162. ],
  163. "members": {
  164. "ExecutionId": {},
  165. "ExecutionStatus": {
  166. "shape": "Su"
  167. }
  168. }
  169. }
  170. },
  171. "NextToken": {}
  172. }
  173. }
  174. },
  175. "ListExports": {
  176. "input": {
  177. "type": "structure",
  178. "members": {
  179. "MaxResults": {
  180. "type": "integer"
  181. },
  182. "NextToken": {}
  183. }
  184. },
  185. "output": {
  186. "type": "structure",
  187. "members": {
  188. "Exports": {
  189. "type": "list",
  190. "member": {
  191. "type": "structure",
  192. "required": [
  193. "ExportArn",
  194. "ExportName",
  195. "ExportStatus"
  196. ],
  197. "members": {
  198. "ExportArn": {},
  199. "ExportName": {},
  200. "ExportStatus": {
  201. "shape": "S10"
  202. }
  203. }
  204. }
  205. },
  206. "NextToken": {}
  207. }
  208. }
  209. },
  210. "ListTables": {
  211. "input": {
  212. "type": "structure",
  213. "members": {
  214. "MaxResults": {
  215. "type": "integer"
  216. },
  217. "NextToken": {}
  218. }
  219. },
  220. "output": {
  221. "type": "structure",
  222. "members": {
  223. "NextToken": {},
  224. "Tables": {
  225. "type": "list",
  226. "member": {
  227. "type": "structure",
  228. "members": {
  229. "Description": {},
  230. "TableName": {},
  231. "TableProperties": {
  232. "type": "list",
  233. "member": {
  234. "type": "structure",
  235. "members": {
  236. "DefaultValue": {},
  237. "Description": {},
  238. "Name": {},
  239. "ValidValues": {
  240. "type": "list",
  241. "member": {}
  242. }
  243. }
  244. }
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. },
  252. "ListTagsForResource": {
  253. "input": {
  254. "type": "structure",
  255. "required": [
  256. "ResourceArn"
  257. ],
  258. "members": {
  259. "MaxResults": {
  260. "type": "integer"
  261. },
  262. "NextToken": {},
  263. "ResourceArn": {}
  264. }
  265. },
  266. "output": {
  267. "type": "structure",
  268. "members": {
  269. "NextToken": {},
  270. "ResourceTags": {
  271. "shape": "Sl"
  272. }
  273. }
  274. }
  275. },
  276. "TagResource": {
  277. "input": {
  278. "type": "structure",
  279. "required": [
  280. "ResourceArn",
  281. "ResourceTags"
  282. ],
  283. "members": {
  284. "ResourceArn": {},
  285. "ResourceTags": {
  286. "shape": "Sl"
  287. }
  288. }
  289. },
  290. "output": {
  291. "type": "structure",
  292. "members": {}
  293. }
  294. },
  295. "UntagResource": {
  296. "input": {
  297. "type": "structure",
  298. "required": [
  299. "ResourceArn",
  300. "ResourceTagKeys"
  301. ],
  302. "members": {
  303. "ResourceArn": {},
  304. "ResourceTagKeys": {
  305. "type": "list",
  306. "member": {}
  307. }
  308. }
  309. },
  310. "output": {
  311. "type": "structure",
  312. "members": {}
  313. }
  314. },
  315. "UpdateExport": {
  316. "input": {
  317. "type": "structure",
  318. "required": [
  319. "Export",
  320. "ExportArn"
  321. ],
  322. "members": {
  323. "Export": {
  324. "shape": "S2"
  325. },
  326. "ExportArn": {}
  327. }
  328. },
  329. "output": {
  330. "type": "structure",
  331. "members": {
  332. "ExportArn": {}
  333. }
  334. }
  335. }
  336. },
  337. "shapes": {
  338. "S2": {
  339. "type": "structure",
  340. "required": [
  341. "DataQuery",
  342. "DestinationConfigurations",
  343. "Name",
  344. "RefreshCadence"
  345. ],
  346. "members": {
  347. "DataQuery": {
  348. "type": "structure",
  349. "required": [
  350. "QueryStatement"
  351. ],
  352. "members": {
  353. "QueryStatement": {},
  354. "TableConfigurations": {
  355. "type": "map",
  356. "key": {},
  357. "value": {
  358. "shape": "S7"
  359. }
  360. }
  361. }
  362. },
  363. "Description": {},
  364. "DestinationConfigurations": {
  365. "type": "structure",
  366. "required": [
  367. "S3Destination"
  368. ],
  369. "members": {
  370. "S3Destination": {
  371. "type": "structure",
  372. "required": [
  373. "S3Bucket",
  374. "S3OutputConfigurations",
  375. "S3Prefix",
  376. "S3Region"
  377. ],
  378. "members": {
  379. "S3Bucket": {},
  380. "S3OutputConfigurations": {
  381. "type": "structure",
  382. "required": [
  383. "Compression",
  384. "Format",
  385. "OutputType",
  386. "Overwrite"
  387. ],
  388. "members": {
  389. "Compression": {},
  390. "Format": {},
  391. "OutputType": {},
  392. "Overwrite": {}
  393. }
  394. },
  395. "S3Prefix": {},
  396. "S3Region": {}
  397. }
  398. }
  399. }
  400. },
  401. "ExportArn": {},
  402. "Name": {},
  403. "RefreshCadence": {
  404. "type": "structure",
  405. "required": [
  406. "Frequency"
  407. ],
  408. "members": {
  409. "Frequency": {}
  410. }
  411. }
  412. }
  413. },
  414. "S7": {
  415. "type": "map",
  416. "key": {},
  417. "value": {}
  418. },
  419. "Sl": {
  420. "type": "list",
  421. "member": {
  422. "type": "structure",
  423. "required": [
  424. "Key",
  425. "Value"
  426. ],
  427. "members": {
  428. "Key": {},
  429. "Value": {}
  430. }
  431. }
  432. },
  433. "Su": {
  434. "type": "structure",
  435. "members": {
  436. "CompletedAt": {
  437. "shape": "Sv"
  438. },
  439. "CreatedAt": {
  440. "shape": "Sv"
  441. },
  442. "LastUpdatedAt": {
  443. "shape": "Sv"
  444. },
  445. "StatusCode": {},
  446. "StatusReason": {}
  447. }
  448. },
  449. "Sv": {
  450. "type": "timestamp",
  451. "timestampFormat": "iso8601"
  452. },
  453. "S10": {
  454. "type": "structure",
  455. "members": {
  456. "CreatedAt": {
  457. "shape": "Sv"
  458. },
  459. "LastRefreshedAt": {
  460. "shape": "Sv"
  461. },
  462. "LastUpdatedAt": {
  463. "shape": "Sv"
  464. },
  465. "StatusCode": {},
  466. "StatusReason": {}
  467. }
  468. }
  469. }
  470. }