redshift-data-2019-12-20.min.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2019-12-20",
  5. "endpointPrefix": "redshift-data",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceFullName": "Redshift Data API Service",
  9. "serviceId": "Redshift Data",
  10. "signatureVersion": "v4",
  11. "signingName": "redshift-data",
  12. "targetPrefix": "RedshiftData",
  13. "uid": "redshift-data-2019-12-20"
  14. },
  15. "operations": {
  16. "BatchExecuteStatement": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "Database",
  21. "Sqls"
  22. ],
  23. "members": {
  24. "ClientToken": {
  25. "idempotencyToken": true
  26. },
  27. "ClusterIdentifier": {},
  28. "Database": {},
  29. "DbUser": {},
  30. "SecretArn": {},
  31. "Sqls": {
  32. "type": "list",
  33. "member": {}
  34. },
  35. "StatementName": {},
  36. "WithEvent": {
  37. "type": "boolean"
  38. },
  39. "WorkgroupName": {}
  40. }
  41. },
  42. "output": {
  43. "type": "structure",
  44. "members": {
  45. "ClusterIdentifier": {},
  46. "CreatedAt": {
  47. "type": "timestamp"
  48. },
  49. "Database": {},
  50. "DbUser": {},
  51. "Id": {},
  52. "SecretArn": {},
  53. "WorkgroupName": {}
  54. }
  55. }
  56. },
  57. "CancelStatement": {
  58. "input": {
  59. "type": "structure",
  60. "required": [
  61. "Id"
  62. ],
  63. "members": {
  64. "Id": {}
  65. }
  66. },
  67. "output": {
  68. "type": "structure",
  69. "members": {
  70. "Status": {
  71. "type": "boolean"
  72. }
  73. }
  74. }
  75. },
  76. "DescribeStatement": {
  77. "input": {
  78. "type": "structure",
  79. "required": [
  80. "Id"
  81. ],
  82. "members": {
  83. "Id": {}
  84. }
  85. },
  86. "output": {
  87. "type": "structure",
  88. "required": [
  89. "Id"
  90. ],
  91. "members": {
  92. "ClusterIdentifier": {},
  93. "CreatedAt": {
  94. "type": "timestamp"
  95. },
  96. "Database": {},
  97. "DbUser": {},
  98. "Duration": {
  99. "type": "long"
  100. },
  101. "Error": {},
  102. "HasResultSet": {
  103. "type": "boolean"
  104. },
  105. "Id": {},
  106. "QueryParameters": {
  107. "shape": "Sj"
  108. },
  109. "QueryString": {},
  110. "RedshiftPid": {
  111. "type": "long"
  112. },
  113. "RedshiftQueryId": {
  114. "type": "long"
  115. },
  116. "ResultRows": {
  117. "type": "long"
  118. },
  119. "ResultSize": {
  120. "type": "long"
  121. },
  122. "SecretArn": {},
  123. "Status": {},
  124. "SubStatements": {
  125. "type": "list",
  126. "member": {
  127. "type": "structure",
  128. "required": [
  129. "Id"
  130. ],
  131. "members": {
  132. "CreatedAt": {
  133. "type": "timestamp"
  134. },
  135. "Duration": {
  136. "type": "long"
  137. },
  138. "Error": {},
  139. "HasResultSet": {
  140. "type": "boolean"
  141. },
  142. "Id": {},
  143. "QueryString": {},
  144. "RedshiftQueryId": {
  145. "type": "long"
  146. },
  147. "ResultRows": {
  148. "type": "long"
  149. },
  150. "ResultSize": {
  151. "type": "long"
  152. },
  153. "Status": {},
  154. "UpdatedAt": {
  155. "type": "timestamp"
  156. }
  157. }
  158. }
  159. },
  160. "UpdatedAt": {
  161. "type": "timestamp"
  162. },
  163. "WorkgroupName": {}
  164. }
  165. }
  166. },
  167. "DescribeTable": {
  168. "input": {
  169. "type": "structure",
  170. "required": [
  171. "Database"
  172. ],
  173. "members": {
  174. "ClusterIdentifier": {},
  175. "ConnectedDatabase": {},
  176. "Database": {},
  177. "DbUser": {},
  178. "MaxResults": {
  179. "type": "integer"
  180. },
  181. "NextToken": {},
  182. "Schema": {},
  183. "SecretArn": {},
  184. "Table": {},
  185. "WorkgroupName": {}
  186. }
  187. },
  188. "output": {
  189. "type": "structure",
  190. "members": {
  191. "ColumnList": {
  192. "type": "list",
  193. "member": {
  194. "shape": "Sv"
  195. }
  196. },
  197. "NextToken": {},
  198. "TableName": {}
  199. }
  200. }
  201. },
  202. "ExecuteStatement": {
  203. "input": {
  204. "type": "structure",
  205. "required": [
  206. "Database",
  207. "Sql"
  208. ],
  209. "members": {
  210. "ClientToken": {
  211. "idempotencyToken": true
  212. },
  213. "ClusterIdentifier": {},
  214. "Database": {},
  215. "DbUser": {},
  216. "Parameters": {
  217. "shape": "Sj"
  218. },
  219. "SecretArn": {},
  220. "Sql": {},
  221. "StatementName": {},
  222. "WithEvent": {
  223. "type": "boolean"
  224. },
  225. "WorkgroupName": {}
  226. }
  227. },
  228. "output": {
  229. "type": "structure",
  230. "members": {
  231. "ClusterIdentifier": {},
  232. "CreatedAt": {
  233. "type": "timestamp"
  234. },
  235. "Database": {},
  236. "DbUser": {},
  237. "Id": {},
  238. "SecretArn": {},
  239. "WorkgroupName": {}
  240. }
  241. }
  242. },
  243. "GetStatementResult": {
  244. "input": {
  245. "type": "structure",
  246. "required": [
  247. "Id"
  248. ],
  249. "members": {
  250. "Id": {},
  251. "NextToken": {}
  252. }
  253. },
  254. "output": {
  255. "type": "structure",
  256. "required": [
  257. "Records"
  258. ],
  259. "members": {
  260. "ColumnMetadata": {
  261. "type": "list",
  262. "member": {
  263. "shape": "Sv"
  264. }
  265. },
  266. "NextToken": {},
  267. "Records": {
  268. "type": "list",
  269. "member": {
  270. "type": "list",
  271. "member": {
  272. "type": "structure",
  273. "members": {
  274. "blobValue": {
  275. "type": "blob"
  276. },
  277. "booleanValue": {
  278. "type": "boolean"
  279. },
  280. "doubleValue": {
  281. "type": "double"
  282. },
  283. "isNull": {
  284. "type": "boolean"
  285. },
  286. "longValue": {
  287. "type": "long"
  288. },
  289. "stringValue": {}
  290. },
  291. "union": true
  292. }
  293. }
  294. },
  295. "TotalNumRows": {
  296. "type": "long"
  297. }
  298. }
  299. }
  300. },
  301. "ListDatabases": {
  302. "input": {
  303. "type": "structure",
  304. "required": [
  305. "Database"
  306. ],
  307. "members": {
  308. "ClusterIdentifier": {},
  309. "Database": {},
  310. "DbUser": {},
  311. "MaxResults": {
  312. "type": "integer"
  313. },
  314. "NextToken": {},
  315. "SecretArn": {},
  316. "WorkgroupName": {}
  317. }
  318. },
  319. "output": {
  320. "type": "structure",
  321. "members": {
  322. "Databases": {
  323. "type": "list",
  324. "member": {}
  325. },
  326. "NextToken": {}
  327. }
  328. }
  329. },
  330. "ListSchemas": {
  331. "input": {
  332. "type": "structure",
  333. "required": [
  334. "Database"
  335. ],
  336. "members": {
  337. "ClusterIdentifier": {},
  338. "ConnectedDatabase": {},
  339. "Database": {},
  340. "DbUser": {},
  341. "MaxResults": {
  342. "type": "integer"
  343. },
  344. "NextToken": {},
  345. "SchemaPattern": {},
  346. "SecretArn": {},
  347. "WorkgroupName": {}
  348. }
  349. },
  350. "output": {
  351. "type": "structure",
  352. "members": {
  353. "NextToken": {},
  354. "Schemas": {
  355. "type": "list",
  356. "member": {}
  357. }
  358. }
  359. }
  360. },
  361. "ListStatements": {
  362. "input": {
  363. "type": "structure",
  364. "members": {
  365. "MaxResults": {
  366. "type": "integer"
  367. },
  368. "NextToken": {},
  369. "RoleLevel": {
  370. "type": "boolean"
  371. },
  372. "StatementName": {},
  373. "Status": {}
  374. }
  375. },
  376. "output": {
  377. "type": "structure",
  378. "required": [
  379. "Statements"
  380. ],
  381. "members": {
  382. "NextToken": {},
  383. "Statements": {
  384. "type": "list",
  385. "member": {
  386. "type": "structure",
  387. "required": [
  388. "Id"
  389. ],
  390. "members": {
  391. "CreatedAt": {
  392. "type": "timestamp"
  393. },
  394. "Id": {},
  395. "IsBatchStatement": {
  396. "type": "boolean"
  397. },
  398. "QueryParameters": {
  399. "shape": "Sj"
  400. },
  401. "QueryString": {},
  402. "QueryStrings": {
  403. "type": "list",
  404. "member": {}
  405. },
  406. "SecretArn": {},
  407. "StatementName": {},
  408. "Status": {},
  409. "UpdatedAt": {
  410. "type": "timestamp"
  411. }
  412. }
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "ListTables": {
  419. "input": {
  420. "type": "structure",
  421. "required": [
  422. "Database"
  423. ],
  424. "members": {
  425. "ClusterIdentifier": {},
  426. "ConnectedDatabase": {},
  427. "Database": {},
  428. "DbUser": {},
  429. "MaxResults": {
  430. "type": "integer"
  431. },
  432. "NextToken": {},
  433. "SchemaPattern": {},
  434. "SecretArn": {},
  435. "TablePattern": {},
  436. "WorkgroupName": {}
  437. }
  438. },
  439. "output": {
  440. "type": "structure",
  441. "members": {
  442. "NextToken": {},
  443. "Tables": {
  444. "type": "list",
  445. "member": {
  446. "type": "structure",
  447. "members": {
  448. "name": {},
  449. "schema": {},
  450. "type": {}
  451. }
  452. }
  453. }
  454. }
  455. }
  456. }
  457. },
  458. "shapes": {
  459. "Sj": {
  460. "type": "list",
  461. "member": {
  462. "type": "structure",
  463. "required": [
  464. "name",
  465. "value"
  466. ],
  467. "members": {
  468. "name": {},
  469. "value": {}
  470. }
  471. }
  472. },
  473. "Sv": {
  474. "type": "structure",
  475. "members": {
  476. "columnDefault": {},
  477. "isCaseSensitive": {
  478. "type": "boolean"
  479. },
  480. "isCurrency": {
  481. "type": "boolean"
  482. },
  483. "isSigned": {
  484. "type": "boolean"
  485. },
  486. "label": {},
  487. "length": {
  488. "type": "integer"
  489. },
  490. "name": {},
  491. "nullable": {
  492. "type": "integer"
  493. },
  494. "precision": {
  495. "type": "integer"
  496. },
  497. "scale": {
  498. "type": "integer"
  499. },
  500. "schemaName": {},
  501. "tableName": {},
  502. "typeName": {}
  503. }
  504. }
  505. }
  506. }