docdb-elastic-2022-11-28.min.json 16 KB

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