cloudhsmv2-2017-04-28.min.json 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2017-04-28",
  5. "endpointPrefix": "cloudhsmv2",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceAbbreviation": "CloudHSM V2",
  9. "serviceFullName": "AWS CloudHSM V2",
  10. "serviceId": "CloudHSM V2",
  11. "signatureVersion": "v4",
  12. "signingName": "cloudhsm",
  13. "targetPrefix": "BaldrApiService",
  14. "uid": "cloudhsmv2-2017-04-28"
  15. },
  16. "operations": {
  17. "CopyBackupToRegion": {
  18. "input": {
  19. "type": "structure",
  20. "required": [
  21. "DestinationRegion",
  22. "BackupId"
  23. ],
  24. "members": {
  25. "DestinationRegion": {},
  26. "BackupId": {},
  27. "TagList": {
  28. "shape": "S4"
  29. }
  30. }
  31. },
  32. "output": {
  33. "type": "structure",
  34. "members": {
  35. "DestinationBackup": {
  36. "type": "structure",
  37. "members": {
  38. "CreateTimestamp": {
  39. "type": "timestamp"
  40. },
  41. "SourceRegion": {},
  42. "SourceBackup": {},
  43. "SourceCluster": {}
  44. }
  45. }
  46. }
  47. }
  48. },
  49. "CreateCluster": {
  50. "input": {
  51. "type": "structure",
  52. "required": [
  53. "HsmType",
  54. "SubnetIds"
  55. ],
  56. "members": {
  57. "BackupRetentionPolicy": {
  58. "shape": "Sd"
  59. },
  60. "HsmType": {},
  61. "SourceBackupId": {},
  62. "SubnetIds": {
  63. "type": "list",
  64. "member": {}
  65. },
  66. "TagList": {
  67. "shape": "S4"
  68. }
  69. }
  70. },
  71. "output": {
  72. "type": "structure",
  73. "members": {
  74. "Cluster": {
  75. "shape": "Sk"
  76. }
  77. }
  78. }
  79. },
  80. "CreateHsm": {
  81. "input": {
  82. "type": "structure",
  83. "required": [
  84. "ClusterId",
  85. "AvailabilityZone"
  86. ],
  87. "members": {
  88. "ClusterId": {},
  89. "AvailabilityZone": {},
  90. "IpAddress": {}
  91. }
  92. },
  93. "output": {
  94. "type": "structure",
  95. "members": {
  96. "Hsm": {
  97. "shape": "Sn"
  98. }
  99. }
  100. }
  101. },
  102. "DeleteBackup": {
  103. "input": {
  104. "type": "structure",
  105. "required": [
  106. "BackupId"
  107. ],
  108. "members": {
  109. "BackupId": {}
  110. }
  111. },
  112. "output": {
  113. "type": "structure",
  114. "members": {
  115. "Backup": {
  116. "shape": "S16"
  117. }
  118. }
  119. }
  120. },
  121. "DeleteCluster": {
  122. "input": {
  123. "type": "structure",
  124. "required": [
  125. "ClusterId"
  126. ],
  127. "members": {
  128. "ClusterId": {}
  129. }
  130. },
  131. "output": {
  132. "type": "structure",
  133. "members": {
  134. "Cluster": {
  135. "shape": "Sk"
  136. }
  137. }
  138. }
  139. },
  140. "DeleteHsm": {
  141. "input": {
  142. "type": "structure",
  143. "required": [
  144. "ClusterId"
  145. ],
  146. "members": {
  147. "ClusterId": {},
  148. "HsmId": {},
  149. "EniId": {},
  150. "EniIp": {}
  151. }
  152. },
  153. "output": {
  154. "type": "structure",
  155. "members": {
  156. "HsmId": {}
  157. }
  158. }
  159. },
  160. "DescribeBackups": {
  161. "input": {
  162. "type": "structure",
  163. "members": {
  164. "NextToken": {},
  165. "MaxResults": {
  166. "type": "integer"
  167. },
  168. "Filters": {
  169. "shape": "S1g"
  170. },
  171. "SortAscending": {
  172. "type": "boolean"
  173. }
  174. }
  175. },
  176. "output": {
  177. "type": "structure",
  178. "members": {
  179. "Backups": {
  180. "type": "list",
  181. "member": {
  182. "shape": "S16"
  183. }
  184. },
  185. "NextToken": {}
  186. }
  187. }
  188. },
  189. "DescribeClusters": {
  190. "input": {
  191. "type": "structure",
  192. "members": {
  193. "Filters": {
  194. "shape": "S1g"
  195. },
  196. "NextToken": {},
  197. "MaxResults": {
  198. "type": "integer"
  199. }
  200. }
  201. },
  202. "output": {
  203. "type": "structure",
  204. "members": {
  205. "Clusters": {
  206. "type": "list",
  207. "member": {
  208. "shape": "Sk"
  209. }
  210. },
  211. "NextToken": {}
  212. }
  213. }
  214. },
  215. "InitializeCluster": {
  216. "input": {
  217. "type": "structure",
  218. "required": [
  219. "ClusterId",
  220. "SignedCert",
  221. "TrustAnchor"
  222. ],
  223. "members": {
  224. "ClusterId": {},
  225. "SignedCert": {},
  226. "TrustAnchor": {}
  227. }
  228. },
  229. "output": {
  230. "type": "structure",
  231. "members": {
  232. "State": {},
  233. "StateMessage": {}
  234. }
  235. }
  236. },
  237. "ListTags": {
  238. "input": {
  239. "type": "structure",
  240. "required": [
  241. "ResourceId"
  242. ],
  243. "members": {
  244. "ResourceId": {},
  245. "NextToken": {},
  246. "MaxResults": {
  247. "type": "integer"
  248. }
  249. }
  250. },
  251. "output": {
  252. "type": "structure",
  253. "required": [
  254. "TagList"
  255. ],
  256. "members": {
  257. "TagList": {
  258. "shape": "S4"
  259. },
  260. "NextToken": {}
  261. }
  262. }
  263. },
  264. "ModifyBackupAttributes": {
  265. "input": {
  266. "type": "structure",
  267. "required": [
  268. "BackupId",
  269. "NeverExpires"
  270. ],
  271. "members": {
  272. "BackupId": {},
  273. "NeverExpires": {
  274. "type": "boolean"
  275. }
  276. }
  277. },
  278. "output": {
  279. "type": "structure",
  280. "members": {
  281. "Backup": {
  282. "shape": "S16"
  283. }
  284. }
  285. }
  286. },
  287. "ModifyCluster": {
  288. "input": {
  289. "type": "structure",
  290. "required": [
  291. "BackupRetentionPolicy",
  292. "ClusterId"
  293. ],
  294. "members": {
  295. "BackupRetentionPolicy": {
  296. "shape": "Sd"
  297. },
  298. "ClusterId": {}
  299. }
  300. },
  301. "output": {
  302. "type": "structure",
  303. "members": {
  304. "Cluster": {
  305. "shape": "Sk"
  306. }
  307. }
  308. }
  309. },
  310. "RestoreBackup": {
  311. "input": {
  312. "type": "structure",
  313. "required": [
  314. "BackupId"
  315. ],
  316. "members": {
  317. "BackupId": {}
  318. }
  319. },
  320. "output": {
  321. "type": "structure",
  322. "members": {
  323. "Backup": {
  324. "shape": "S16"
  325. }
  326. }
  327. }
  328. },
  329. "TagResource": {
  330. "input": {
  331. "type": "structure",
  332. "required": [
  333. "ResourceId",
  334. "TagList"
  335. ],
  336. "members": {
  337. "ResourceId": {},
  338. "TagList": {
  339. "shape": "S4"
  340. }
  341. }
  342. },
  343. "output": {
  344. "type": "structure",
  345. "members": {}
  346. }
  347. },
  348. "UntagResource": {
  349. "input": {
  350. "type": "structure",
  351. "required": [
  352. "ResourceId",
  353. "TagKeyList"
  354. ],
  355. "members": {
  356. "ResourceId": {},
  357. "TagKeyList": {
  358. "type": "list",
  359. "member": {}
  360. }
  361. }
  362. },
  363. "output": {
  364. "type": "structure",
  365. "members": {}
  366. }
  367. }
  368. },
  369. "shapes": {
  370. "S4": {
  371. "type": "list",
  372. "member": {
  373. "type": "structure",
  374. "required": [
  375. "Key",
  376. "Value"
  377. ],
  378. "members": {
  379. "Key": {},
  380. "Value": {}
  381. }
  382. }
  383. },
  384. "Sd": {
  385. "type": "structure",
  386. "members": {
  387. "Type": {},
  388. "Value": {}
  389. }
  390. },
  391. "Sk": {
  392. "type": "structure",
  393. "members": {
  394. "BackupPolicy": {},
  395. "BackupRetentionPolicy": {
  396. "shape": "Sd"
  397. },
  398. "ClusterId": {},
  399. "CreateTimestamp": {
  400. "type": "timestamp"
  401. },
  402. "Hsms": {
  403. "type": "list",
  404. "member": {
  405. "shape": "Sn"
  406. }
  407. },
  408. "HsmType": {},
  409. "PreCoPassword": {},
  410. "SecurityGroup": {},
  411. "SourceBackupId": {},
  412. "State": {},
  413. "StateMessage": {},
  414. "SubnetMapping": {
  415. "type": "map",
  416. "key": {},
  417. "value": {}
  418. },
  419. "VpcId": {},
  420. "Certificates": {
  421. "type": "structure",
  422. "members": {
  423. "ClusterCsr": {},
  424. "HsmCertificate": {},
  425. "AwsHardwareCertificate": {},
  426. "ManufacturerHardwareCertificate": {},
  427. "ClusterCertificate": {}
  428. }
  429. },
  430. "TagList": {
  431. "shape": "S4"
  432. }
  433. }
  434. },
  435. "Sn": {
  436. "type": "structure",
  437. "required": [
  438. "HsmId"
  439. ],
  440. "members": {
  441. "AvailabilityZone": {},
  442. "ClusterId": {},
  443. "SubnetId": {},
  444. "EniId": {},
  445. "EniIp": {},
  446. "HsmId": {},
  447. "State": {},
  448. "StateMessage": {}
  449. }
  450. },
  451. "S16": {
  452. "type": "structure",
  453. "required": [
  454. "BackupId"
  455. ],
  456. "members": {
  457. "BackupId": {},
  458. "BackupState": {},
  459. "ClusterId": {},
  460. "CreateTimestamp": {
  461. "type": "timestamp"
  462. },
  463. "CopyTimestamp": {
  464. "type": "timestamp"
  465. },
  466. "NeverExpires": {
  467. "type": "boolean"
  468. },
  469. "SourceRegion": {},
  470. "SourceBackup": {},
  471. "SourceCluster": {},
  472. "DeleteTimestamp": {
  473. "type": "timestamp"
  474. },
  475. "TagList": {
  476. "shape": "S4"
  477. }
  478. }
  479. },
  480. "S1g": {
  481. "type": "map",
  482. "key": {},
  483. "value": {
  484. "type": "list",
  485. "member": {}
  486. }
  487. }
  488. }
  489. }