keyspaces-2022-02-10.min.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2022-02-10",
  5. "endpointPrefix": "cassandra",
  6. "jsonVersion": "1.0",
  7. "protocol": "json",
  8. "serviceFullName": "Amazon Keyspaces",
  9. "serviceId": "Keyspaces",
  10. "signatureVersion": "v4",
  11. "signingName": "cassandra",
  12. "targetPrefix": "KeyspacesService",
  13. "uid": "keyspaces-2022-02-10"
  14. },
  15. "operations": {
  16. "CreateKeyspace": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "keyspaceName"
  21. ],
  22. "members": {
  23. "keyspaceName": {},
  24. "tags": {
  25. "shape": "S3"
  26. },
  27. "replicationSpecification": {
  28. "type": "structure",
  29. "required": [
  30. "replicationStrategy"
  31. ],
  32. "members": {
  33. "replicationStrategy": {},
  34. "regionList": {
  35. "shape": "S9"
  36. }
  37. }
  38. }
  39. }
  40. },
  41. "output": {
  42. "type": "structure",
  43. "required": [
  44. "resourceArn"
  45. ],
  46. "members": {
  47. "resourceArn": {}
  48. }
  49. }
  50. },
  51. "CreateTable": {
  52. "input": {
  53. "type": "structure",
  54. "required": [
  55. "keyspaceName",
  56. "tableName",
  57. "schemaDefinition"
  58. ],
  59. "members": {
  60. "keyspaceName": {},
  61. "tableName": {},
  62. "schemaDefinition": {
  63. "shape": "Sf"
  64. },
  65. "comment": {
  66. "shape": "Sq"
  67. },
  68. "capacitySpecification": {
  69. "shape": "Ss"
  70. },
  71. "encryptionSpecification": {
  72. "shape": "Sv"
  73. },
  74. "pointInTimeRecovery": {
  75. "shape": "Sy"
  76. },
  77. "ttl": {
  78. "shape": "S10"
  79. },
  80. "defaultTimeToLive": {
  81. "type": "integer"
  82. },
  83. "tags": {
  84. "shape": "S3"
  85. },
  86. "clientSideTimestamps": {
  87. "shape": "S13"
  88. },
  89. "autoScalingSpecification": {
  90. "shape": "S15"
  91. },
  92. "replicaSpecifications": {
  93. "shape": "S1c"
  94. }
  95. }
  96. },
  97. "output": {
  98. "type": "structure",
  99. "required": [
  100. "resourceArn"
  101. ],
  102. "members": {
  103. "resourceArn": {}
  104. }
  105. }
  106. },
  107. "DeleteKeyspace": {
  108. "input": {
  109. "type": "structure",
  110. "required": [
  111. "keyspaceName"
  112. ],
  113. "members": {
  114. "keyspaceName": {}
  115. }
  116. },
  117. "output": {
  118. "type": "structure",
  119. "members": {}
  120. }
  121. },
  122. "DeleteTable": {
  123. "input": {
  124. "type": "structure",
  125. "required": [
  126. "keyspaceName",
  127. "tableName"
  128. ],
  129. "members": {
  130. "keyspaceName": {},
  131. "tableName": {}
  132. }
  133. },
  134. "output": {
  135. "type": "structure",
  136. "members": {}
  137. }
  138. },
  139. "GetKeyspace": {
  140. "input": {
  141. "type": "structure",
  142. "required": [
  143. "keyspaceName"
  144. ],
  145. "members": {
  146. "keyspaceName": {}
  147. }
  148. },
  149. "output": {
  150. "type": "structure",
  151. "required": [
  152. "keyspaceName",
  153. "resourceArn",
  154. "replicationStrategy"
  155. ],
  156. "members": {
  157. "keyspaceName": {},
  158. "resourceArn": {},
  159. "replicationStrategy": {},
  160. "replicationRegions": {
  161. "shape": "S9"
  162. }
  163. }
  164. }
  165. },
  166. "GetTable": {
  167. "input": {
  168. "type": "structure",
  169. "required": [
  170. "keyspaceName",
  171. "tableName"
  172. ],
  173. "members": {
  174. "keyspaceName": {},
  175. "tableName": {}
  176. }
  177. },
  178. "output": {
  179. "type": "structure",
  180. "required": [
  181. "keyspaceName",
  182. "tableName",
  183. "resourceArn"
  184. ],
  185. "members": {
  186. "keyspaceName": {},
  187. "tableName": {},
  188. "resourceArn": {},
  189. "creationTimestamp": {
  190. "type": "timestamp"
  191. },
  192. "status": {},
  193. "schemaDefinition": {
  194. "shape": "Sf"
  195. },
  196. "capacitySpecification": {
  197. "shape": "S1p"
  198. },
  199. "encryptionSpecification": {
  200. "shape": "Sv"
  201. },
  202. "pointInTimeRecovery": {
  203. "type": "structure",
  204. "required": [
  205. "status"
  206. ],
  207. "members": {
  208. "status": {},
  209. "earliestRestorableTimestamp": {
  210. "type": "timestamp"
  211. }
  212. }
  213. },
  214. "ttl": {
  215. "shape": "S10"
  216. },
  217. "defaultTimeToLive": {
  218. "type": "integer"
  219. },
  220. "comment": {
  221. "shape": "Sq"
  222. },
  223. "clientSideTimestamps": {
  224. "shape": "S13"
  225. },
  226. "replicaSpecifications": {
  227. "type": "list",
  228. "member": {
  229. "type": "structure",
  230. "members": {
  231. "region": {},
  232. "status": {},
  233. "capacitySpecification": {
  234. "shape": "S1p"
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. },
  242. "GetTableAutoScalingSettings": {
  243. "input": {
  244. "type": "structure",
  245. "required": [
  246. "keyspaceName",
  247. "tableName"
  248. ],
  249. "members": {
  250. "keyspaceName": {},
  251. "tableName": {}
  252. }
  253. },
  254. "output": {
  255. "type": "structure",
  256. "required": [
  257. "keyspaceName",
  258. "tableName",
  259. "resourceArn"
  260. ],
  261. "members": {
  262. "keyspaceName": {},
  263. "tableName": {},
  264. "resourceArn": {},
  265. "autoScalingSpecification": {
  266. "shape": "S15"
  267. },
  268. "replicaSpecifications": {
  269. "type": "list",
  270. "member": {
  271. "type": "structure",
  272. "members": {
  273. "region": {},
  274. "autoScalingSpecification": {
  275. "shape": "S15"
  276. }
  277. }
  278. }
  279. }
  280. }
  281. }
  282. },
  283. "ListKeyspaces": {
  284. "input": {
  285. "type": "structure",
  286. "members": {
  287. "nextToken": {},
  288. "maxResults": {
  289. "type": "integer"
  290. }
  291. }
  292. },
  293. "output": {
  294. "type": "structure",
  295. "required": [
  296. "keyspaces"
  297. ],
  298. "members": {
  299. "nextToken": {},
  300. "keyspaces": {
  301. "type": "list",
  302. "member": {
  303. "type": "structure",
  304. "required": [
  305. "keyspaceName",
  306. "resourceArn",
  307. "replicationStrategy"
  308. ],
  309. "members": {
  310. "keyspaceName": {},
  311. "resourceArn": {},
  312. "replicationStrategy": {},
  313. "replicationRegions": {
  314. "shape": "S9"
  315. }
  316. }
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "ListTables": {
  323. "input": {
  324. "type": "structure",
  325. "required": [
  326. "keyspaceName"
  327. ],
  328. "members": {
  329. "nextToken": {},
  330. "maxResults": {
  331. "type": "integer"
  332. },
  333. "keyspaceName": {}
  334. }
  335. },
  336. "output": {
  337. "type": "structure",
  338. "members": {
  339. "nextToken": {},
  340. "tables": {
  341. "type": "list",
  342. "member": {
  343. "type": "structure",
  344. "required": [
  345. "keyspaceName",
  346. "tableName",
  347. "resourceArn"
  348. ],
  349. "members": {
  350. "keyspaceName": {},
  351. "tableName": {},
  352. "resourceArn": {}
  353. }
  354. }
  355. }
  356. }
  357. }
  358. },
  359. "ListTagsForResource": {
  360. "input": {
  361. "type": "structure",
  362. "required": [
  363. "resourceArn"
  364. ],
  365. "members": {
  366. "resourceArn": {},
  367. "nextToken": {},
  368. "maxResults": {
  369. "type": "integer"
  370. }
  371. }
  372. },
  373. "output": {
  374. "type": "structure",
  375. "members": {
  376. "nextToken": {},
  377. "tags": {
  378. "shape": "S3"
  379. }
  380. }
  381. }
  382. },
  383. "RestoreTable": {
  384. "input": {
  385. "type": "structure",
  386. "required": [
  387. "sourceKeyspaceName",
  388. "sourceTableName",
  389. "targetKeyspaceName",
  390. "targetTableName"
  391. ],
  392. "members": {
  393. "sourceKeyspaceName": {},
  394. "sourceTableName": {},
  395. "targetKeyspaceName": {},
  396. "targetTableName": {},
  397. "restoreTimestamp": {
  398. "type": "timestamp"
  399. },
  400. "capacitySpecificationOverride": {
  401. "shape": "Ss"
  402. },
  403. "encryptionSpecificationOverride": {
  404. "shape": "Sv"
  405. },
  406. "pointInTimeRecoveryOverride": {
  407. "shape": "Sy"
  408. },
  409. "tagsOverride": {
  410. "shape": "S3"
  411. },
  412. "autoScalingSpecification": {
  413. "shape": "S15"
  414. },
  415. "replicaSpecifications": {
  416. "shape": "S1c"
  417. }
  418. }
  419. },
  420. "output": {
  421. "type": "structure",
  422. "required": [
  423. "restoredTableARN"
  424. ],
  425. "members": {
  426. "restoredTableARN": {}
  427. }
  428. }
  429. },
  430. "TagResource": {
  431. "input": {
  432. "type": "structure",
  433. "required": [
  434. "resourceArn",
  435. "tags"
  436. ],
  437. "members": {
  438. "resourceArn": {},
  439. "tags": {
  440. "shape": "S3"
  441. }
  442. }
  443. },
  444. "output": {
  445. "type": "structure",
  446. "members": {}
  447. }
  448. },
  449. "UntagResource": {
  450. "input": {
  451. "type": "structure",
  452. "required": [
  453. "resourceArn",
  454. "tags"
  455. ],
  456. "members": {
  457. "resourceArn": {},
  458. "tags": {
  459. "shape": "S3"
  460. }
  461. }
  462. },
  463. "output": {
  464. "type": "structure",
  465. "members": {}
  466. }
  467. },
  468. "UpdateTable": {
  469. "input": {
  470. "type": "structure",
  471. "required": [
  472. "keyspaceName",
  473. "tableName"
  474. ],
  475. "members": {
  476. "keyspaceName": {},
  477. "tableName": {},
  478. "addColumns": {
  479. "shape": "Sg"
  480. },
  481. "capacitySpecification": {
  482. "shape": "Ss"
  483. },
  484. "encryptionSpecification": {
  485. "shape": "Sv"
  486. },
  487. "pointInTimeRecovery": {
  488. "shape": "Sy"
  489. },
  490. "ttl": {
  491. "shape": "S10"
  492. },
  493. "defaultTimeToLive": {
  494. "type": "integer"
  495. },
  496. "clientSideTimestamps": {
  497. "shape": "S13"
  498. },
  499. "autoScalingSpecification": {
  500. "shape": "S15"
  501. },
  502. "replicaSpecifications": {
  503. "shape": "S1c"
  504. }
  505. }
  506. },
  507. "output": {
  508. "type": "structure",
  509. "required": [
  510. "resourceArn"
  511. ],
  512. "members": {
  513. "resourceArn": {}
  514. }
  515. }
  516. }
  517. },
  518. "shapes": {
  519. "S3": {
  520. "type": "list",
  521. "member": {
  522. "type": "structure",
  523. "required": [
  524. "key",
  525. "value"
  526. ],
  527. "members": {
  528. "key": {},
  529. "value": {}
  530. }
  531. }
  532. },
  533. "S9": {
  534. "type": "list",
  535. "member": {}
  536. },
  537. "Sf": {
  538. "type": "structure",
  539. "required": [
  540. "allColumns",
  541. "partitionKeys"
  542. ],
  543. "members": {
  544. "allColumns": {
  545. "shape": "Sg"
  546. },
  547. "partitionKeys": {
  548. "type": "list",
  549. "member": {
  550. "type": "structure",
  551. "required": [
  552. "name"
  553. ],
  554. "members": {
  555. "name": {}
  556. }
  557. }
  558. },
  559. "clusteringKeys": {
  560. "type": "list",
  561. "member": {
  562. "type": "structure",
  563. "required": [
  564. "name",
  565. "orderBy"
  566. ],
  567. "members": {
  568. "name": {},
  569. "orderBy": {}
  570. }
  571. }
  572. },
  573. "staticColumns": {
  574. "type": "list",
  575. "member": {
  576. "type": "structure",
  577. "required": [
  578. "name"
  579. ],
  580. "members": {
  581. "name": {}
  582. }
  583. }
  584. }
  585. }
  586. },
  587. "Sg": {
  588. "type": "list",
  589. "member": {
  590. "type": "structure",
  591. "required": [
  592. "name",
  593. "type"
  594. ],
  595. "members": {
  596. "name": {},
  597. "type": {}
  598. }
  599. }
  600. },
  601. "Sq": {
  602. "type": "structure",
  603. "required": [
  604. "message"
  605. ],
  606. "members": {
  607. "message": {}
  608. }
  609. },
  610. "Ss": {
  611. "type": "structure",
  612. "required": [
  613. "throughputMode"
  614. ],
  615. "members": {
  616. "throughputMode": {},
  617. "readCapacityUnits": {
  618. "type": "long"
  619. },
  620. "writeCapacityUnits": {
  621. "type": "long"
  622. }
  623. }
  624. },
  625. "Sv": {
  626. "type": "structure",
  627. "required": [
  628. "type"
  629. ],
  630. "members": {
  631. "type": {},
  632. "kmsKeyIdentifier": {}
  633. }
  634. },
  635. "Sy": {
  636. "type": "structure",
  637. "required": [
  638. "status"
  639. ],
  640. "members": {
  641. "status": {}
  642. }
  643. },
  644. "S10": {
  645. "type": "structure",
  646. "required": [
  647. "status"
  648. ],
  649. "members": {
  650. "status": {}
  651. }
  652. },
  653. "S13": {
  654. "type": "structure",
  655. "required": [
  656. "status"
  657. ],
  658. "members": {
  659. "status": {}
  660. }
  661. },
  662. "S15": {
  663. "type": "structure",
  664. "members": {
  665. "writeCapacityAutoScaling": {
  666. "shape": "S16"
  667. },
  668. "readCapacityAutoScaling": {
  669. "shape": "S16"
  670. }
  671. }
  672. },
  673. "S16": {
  674. "type": "structure",
  675. "members": {
  676. "autoScalingDisabled": {
  677. "type": "boolean"
  678. },
  679. "minimumUnits": {
  680. "type": "long"
  681. },
  682. "maximumUnits": {
  683. "type": "long"
  684. },
  685. "scalingPolicy": {
  686. "type": "structure",
  687. "members": {
  688. "targetTrackingScalingPolicyConfiguration": {
  689. "type": "structure",
  690. "required": [
  691. "targetValue"
  692. ],
  693. "members": {
  694. "disableScaleIn": {
  695. "type": "boolean"
  696. },
  697. "scaleInCooldown": {
  698. "type": "integer"
  699. },
  700. "scaleOutCooldown": {
  701. "type": "integer"
  702. },
  703. "targetValue": {
  704. "type": "double"
  705. }
  706. }
  707. }
  708. }
  709. }
  710. }
  711. },
  712. "S1c": {
  713. "type": "list",
  714. "member": {
  715. "type": "structure",
  716. "required": [
  717. "region"
  718. ],
  719. "members": {
  720. "region": {},
  721. "readCapacityUnits": {
  722. "type": "long"
  723. },
  724. "readCapacityAutoScaling": {
  725. "shape": "S16"
  726. }
  727. }
  728. }
  729. },
  730. "S1p": {
  731. "type": "structure",
  732. "required": [
  733. "throughputMode"
  734. ],
  735. "members": {
  736. "throughputMode": {},
  737. "readCapacityUnits": {
  738. "type": "long"
  739. },
  740. "writeCapacityUnits": {
  741. "type": "long"
  742. },
  743. "lastUpdateToPayPerRequestTimestamp": {
  744. "type": "timestamp"
  745. }
  746. }
  747. }
  748. }
  749. }