arc-zonal-shift-2022-10-30.min.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2022-10-30",
  5. "endpointPrefix": "arc-zonal-shift",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "AWS ARC - Zonal Shift",
  9. "serviceId": "ARC Zonal Shift",
  10. "signatureVersion": "v4",
  11. "signingName": "arc-zonal-shift",
  12. "uid": "arc-zonal-shift-2022-10-30"
  13. },
  14. "operations": {
  15. "CancelZonalShift": {
  16. "http": {
  17. "method": "DELETE",
  18. "requestUri": "/zonalshifts/{zonalShiftId}",
  19. "responseCode": 200
  20. },
  21. "input": {
  22. "type": "structure",
  23. "required": [
  24. "zonalShiftId"
  25. ],
  26. "members": {
  27. "zonalShiftId": {
  28. "location": "uri",
  29. "locationName": "zonalShiftId"
  30. }
  31. }
  32. },
  33. "output": {
  34. "shape": "S3"
  35. }
  36. },
  37. "CreatePracticeRunConfiguration": {
  38. "http": {
  39. "requestUri": "/configuration",
  40. "responseCode": 201
  41. },
  42. "input": {
  43. "type": "structure",
  44. "required": [
  45. "outcomeAlarms",
  46. "resourceIdentifier"
  47. ],
  48. "members": {
  49. "blockedDates": {
  50. "shape": "Sb"
  51. },
  52. "blockedWindows": {
  53. "shape": "Sd"
  54. },
  55. "blockingAlarms": {
  56. "shape": "Sf"
  57. },
  58. "outcomeAlarms": {
  59. "shape": "Sf"
  60. },
  61. "resourceIdentifier": {}
  62. }
  63. },
  64. "output": {
  65. "type": "structure",
  66. "required": [
  67. "arn",
  68. "name",
  69. "practiceRunConfiguration",
  70. "zonalAutoshiftStatus"
  71. ],
  72. "members": {
  73. "arn": {},
  74. "name": {},
  75. "practiceRunConfiguration": {
  76. "shape": "Sl"
  77. },
  78. "zonalAutoshiftStatus": {}
  79. }
  80. }
  81. },
  82. "DeletePracticeRunConfiguration": {
  83. "http": {
  84. "method": "DELETE",
  85. "requestUri": "/configuration/{resourceIdentifier}",
  86. "responseCode": 200
  87. },
  88. "input": {
  89. "type": "structure",
  90. "required": [
  91. "resourceIdentifier"
  92. ],
  93. "members": {
  94. "resourceIdentifier": {
  95. "location": "uri",
  96. "locationName": "resourceIdentifier"
  97. }
  98. }
  99. },
  100. "output": {
  101. "type": "structure",
  102. "required": [
  103. "arn",
  104. "name",
  105. "zonalAutoshiftStatus"
  106. ],
  107. "members": {
  108. "arn": {},
  109. "name": {},
  110. "zonalAutoshiftStatus": {}
  111. }
  112. },
  113. "idempotent": true
  114. },
  115. "GetManagedResource": {
  116. "http": {
  117. "method": "GET",
  118. "requestUri": "/managedresources/{resourceIdentifier}",
  119. "responseCode": 200
  120. },
  121. "input": {
  122. "type": "structure",
  123. "required": [
  124. "resourceIdentifier"
  125. ],
  126. "members": {
  127. "resourceIdentifier": {
  128. "location": "uri",
  129. "locationName": "resourceIdentifier"
  130. }
  131. }
  132. },
  133. "output": {
  134. "type": "structure",
  135. "required": [
  136. "appliedWeights",
  137. "zonalShifts"
  138. ],
  139. "members": {
  140. "appliedWeights": {
  141. "shape": "Sr"
  142. },
  143. "arn": {},
  144. "autoshifts": {
  145. "shape": "St"
  146. },
  147. "name": {},
  148. "practiceRunConfiguration": {
  149. "shape": "Sl"
  150. },
  151. "zonalAutoshiftStatus": {},
  152. "zonalShifts": {
  153. "shape": "Sw"
  154. }
  155. }
  156. }
  157. },
  158. "ListAutoshifts": {
  159. "http": {
  160. "method": "GET",
  161. "requestUri": "/autoshifts",
  162. "responseCode": 200
  163. },
  164. "input": {
  165. "type": "structure",
  166. "members": {
  167. "maxResults": {
  168. "location": "querystring",
  169. "locationName": "maxResults",
  170. "type": "integer"
  171. },
  172. "nextToken": {
  173. "location": "querystring",
  174. "locationName": "nextToken"
  175. },
  176. "status": {
  177. "location": "querystring",
  178. "locationName": "status"
  179. }
  180. }
  181. },
  182. "output": {
  183. "type": "structure",
  184. "members": {
  185. "items": {
  186. "type": "list",
  187. "member": {
  188. "type": "structure",
  189. "required": [
  190. "awayFrom",
  191. "endTime",
  192. "startTime",
  193. "status"
  194. ],
  195. "members": {
  196. "awayFrom": {},
  197. "endTime": {
  198. "type": "timestamp"
  199. },
  200. "startTime": {
  201. "type": "timestamp"
  202. },
  203. "status": {}
  204. }
  205. }
  206. },
  207. "nextToken": {}
  208. }
  209. }
  210. },
  211. "ListManagedResources": {
  212. "http": {
  213. "method": "GET",
  214. "requestUri": "/managedresources",
  215. "responseCode": 200
  216. },
  217. "input": {
  218. "type": "structure",
  219. "members": {
  220. "maxResults": {
  221. "location": "querystring",
  222. "locationName": "maxResults",
  223. "type": "integer"
  224. },
  225. "nextToken": {
  226. "location": "querystring",
  227. "locationName": "nextToken"
  228. }
  229. }
  230. },
  231. "output": {
  232. "type": "structure",
  233. "required": [
  234. "items"
  235. ],
  236. "members": {
  237. "items": {
  238. "type": "list",
  239. "member": {
  240. "type": "structure",
  241. "required": [
  242. "availabilityZones"
  243. ],
  244. "members": {
  245. "appliedWeights": {
  246. "shape": "Sr"
  247. },
  248. "arn": {},
  249. "autoshifts": {
  250. "shape": "St"
  251. },
  252. "availabilityZones": {
  253. "type": "list",
  254. "member": {}
  255. },
  256. "name": {},
  257. "practiceRunStatus": {},
  258. "zonalAutoshiftStatus": {},
  259. "zonalShifts": {
  260. "shape": "Sw"
  261. }
  262. }
  263. }
  264. },
  265. "nextToken": {}
  266. }
  267. }
  268. },
  269. "ListZonalShifts": {
  270. "http": {
  271. "method": "GET",
  272. "requestUri": "/zonalshifts",
  273. "responseCode": 200
  274. },
  275. "input": {
  276. "type": "structure",
  277. "members": {
  278. "maxResults": {
  279. "location": "querystring",
  280. "locationName": "maxResults",
  281. "type": "integer"
  282. },
  283. "nextToken": {
  284. "location": "querystring",
  285. "locationName": "nextToken"
  286. },
  287. "resourceIdentifier": {
  288. "location": "querystring",
  289. "locationName": "resourceIdentifier"
  290. },
  291. "status": {
  292. "location": "querystring",
  293. "locationName": "status"
  294. }
  295. }
  296. },
  297. "output": {
  298. "type": "structure",
  299. "members": {
  300. "items": {
  301. "type": "list",
  302. "member": {
  303. "type": "structure",
  304. "required": [
  305. "awayFrom",
  306. "comment",
  307. "expiryTime",
  308. "resourceIdentifier",
  309. "startTime",
  310. "status",
  311. "zonalShiftId"
  312. ],
  313. "members": {
  314. "awayFrom": {},
  315. "comment": {},
  316. "expiryTime": {
  317. "type": "timestamp"
  318. },
  319. "practiceRunOutcome": {},
  320. "resourceIdentifier": {},
  321. "startTime": {
  322. "type": "timestamp"
  323. },
  324. "status": {},
  325. "zonalShiftId": {}
  326. }
  327. }
  328. },
  329. "nextToken": {}
  330. }
  331. }
  332. },
  333. "StartZonalShift": {
  334. "http": {
  335. "requestUri": "/zonalshifts",
  336. "responseCode": 201
  337. },
  338. "input": {
  339. "type": "structure",
  340. "required": [
  341. "awayFrom",
  342. "comment",
  343. "expiresIn",
  344. "resourceIdentifier"
  345. ],
  346. "members": {
  347. "awayFrom": {},
  348. "comment": {},
  349. "expiresIn": {},
  350. "resourceIdentifier": {}
  351. }
  352. },
  353. "output": {
  354. "shape": "S3"
  355. }
  356. },
  357. "UpdatePracticeRunConfiguration": {
  358. "http": {
  359. "method": "PATCH",
  360. "requestUri": "/configuration/{resourceIdentifier}",
  361. "responseCode": 200
  362. },
  363. "input": {
  364. "type": "structure",
  365. "required": [
  366. "resourceIdentifier"
  367. ],
  368. "members": {
  369. "blockedDates": {
  370. "shape": "Sb"
  371. },
  372. "blockedWindows": {
  373. "shape": "Sd"
  374. },
  375. "blockingAlarms": {
  376. "shape": "Sf"
  377. },
  378. "outcomeAlarms": {
  379. "shape": "Sf"
  380. },
  381. "resourceIdentifier": {
  382. "location": "uri",
  383. "locationName": "resourceIdentifier"
  384. }
  385. }
  386. },
  387. "output": {
  388. "type": "structure",
  389. "required": [
  390. "arn",
  391. "name",
  392. "practiceRunConfiguration",
  393. "zonalAutoshiftStatus"
  394. ],
  395. "members": {
  396. "arn": {},
  397. "name": {},
  398. "practiceRunConfiguration": {
  399. "shape": "Sl"
  400. },
  401. "zonalAutoshiftStatus": {}
  402. }
  403. }
  404. },
  405. "UpdateZonalAutoshiftConfiguration": {
  406. "http": {
  407. "method": "PUT",
  408. "requestUri": "/managedresources/{resourceIdentifier}",
  409. "responseCode": 200
  410. },
  411. "input": {
  412. "type": "structure",
  413. "required": [
  414. "resourceIdentifier",
  415. "zonalAutoshiftStatus"
  416. ],
  417. "members": {
  418. "resourceIdentifier": {
  419. "location": "uri",
  420. "locationName": "resourceIdentifier"
  421. },
  422. "zonalAutoshiftStatus": {}
  423. }
  424. },
  425. "output": {
  426. "type": "structure",
  427. "required": [
  428. "resourceIdentifier",
  429. "zonalAutoshiftStatus"
  430. ],
  431. "members": {
  432. "resourceIdentifier": {},
  433. "zonalAutoshiftStatus": {}
  434. }
  435. },
  436. "idempotent": true
  437. },
  438. "UpdateZonalShift": {
  439. "http": {
  440. "method": "PATCH",
  441. "requestUri": "/zonalshifts/{zonalShiftId}",
  442. "responseCode": 200
  443. },
  444. "input": {
  445. "type": "structure",
  446. "required": [
  447. "zonalShiftId"
  448. ],
  449. "members": {
  450. "comment": {},
  451. "expiresIn": {},
  452. "zonalShiftId": {
  453. "location": "uri",
  454. "locationName": "zonalShiftId"
  455. }
  456. }
  457. },
  458. "output": {
  459. "shape": "S3"
  460. }
  461. }
  462. },
  463. "shapes": {
  464. "S3": {
  465. "type": "structure",
  466. "required": [
  467. "awayFrom",
  468. "comment",
  469. "expiryTime",
  470. "resourceIdentifier",
  471. "startTime",
  472. "status",
  473. "zonalShiftId"
  474. ],
  475. "members": {
  476. "awayFrom": {},
  477. "comment": {},
  478. "expiryTime": {
  479. "type": "timestamp"
  480. },
  481. "resourceIdentifier": {},
  482. "startTime": {
  483. "type": "timestamp"
  484. },
  485. "status": {},
  486. "zonalShiftId": {}
  487. }
  488. },
  489. "Sb": {
  490. "type": "list",
  491. "member": {}
  492. },
  493. "Sd": {
  494. "type": "list",
  495. "member": {}
  496. },
  497. "Sf": {
  498. "type": "list",
  499. "member": {
  500. "type": "structure",
  501. "required": [
  502. "alarmIdentifier",
  503. "type"
  504. ],
  505. "members": {
  506. "alarmIdentifier": {},
  507. "type": {}
  508. }
  509. }
  510. },
  511. "Sl": {
  512. "type": "structure",
  513. "required": [
  514. "outcomeAlarms"
  515. ],
  516. "members": {
  517. "blockedDates": {
  518. "shape": "Sb"
  519. },
  520. "blockedWindows": {
  521. "shape": "Sd"
  522. },
  523. "blockingAlarms": {
  524. "shape": "Sf"
  525. },
  526. "outcomeAlarms": {
  527. "shape": "Sf"
  528. }
  529. }
  530. },
  531. "Sr": {
  532. "type": "map",
  533. "key": {},
  534. "value": {
  535. "type": "float"
  536. }
  537. },
  538. "St": {
  539. "type": "list",
  540. "member": {
  541. "type": "structure",
  542. "required": [
  543. "appliedStatus",
  544. "awayFrom",
  545. "startTime"
  546. ],
  547. "members": {
  548. "appliedStatus": {},
  549. "awayFrom": {},
  550. "startTime": {
  551. "type": "timestamp"
  552. }
  553. }
  554. }
  555. },
  556. "Sw": {
  557. "type": "list",
  558. "member": {
  559. "type": "structure",
  560. "required": [
  561. "appliedStatus",
  562. "awayFrom",
  563. "comment",
  564. "expiryTime",
  565. "resourceIdentifier",
  566. "startTime",
  567. "zonalShiftId"
  568. ],
  569. "members": {
  570. "appliedStatus": {},
  571. "awayFrom": {},
  572. "comment": {},
  573. "expiryTime": {
  574. "type": "timestamp"
  575. },
  576. "practiceRunOutcome": {},
  577. "resourceIdentifier": {},
  578. "startTime": {
  579. "type": "timestamp"
  580. },
  581. "zonalShiftId": {}
  582. }
  583. }
  584. }
  585. }
  586. }