autoscaling-plans-2018-01-06.min.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-01-06",
  5. "endpointPrefix": "autoscaling-plans",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceFullName": "AWS Auto Scaling Plans",
  9. "serviceId": "Auto Scaling Plans",
  10. "signatureVersion": "v4",
  11. "signingName": "autoscaling-plans",
  12. "targetPrefix": "AnyScaleScalingPlannerFrontendService",
  13. "uid": "autoscaling-plans-2018-01-06"
  14. },
  15. "operations": {
  16. "CreateScalingPlan": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "ScalingPlanName",
  21. "ApplicationSource",
  22. "ScalingInstructions"
  23. ],
  24. "members": {
  25. "ScalingPlanName": {},
  26. "ApplicationSource": {
  27. "shape": "S3"
  28. },
  29. "ScalingInstructions": {
  30. "shape": "Sa"
  31. }
  32. }
  33. },
  34. "output": {
  35. "type": "structure",
  36. "required": [
  37. "ScalingPlanVersion"
  38. ],
  39. "members": {
  40. "ScalingPlanVersion": {
  41. "type": "long"
  42. }
  43. }
  44. }
  45. },
  46. "DeleteScalingPlan": {
  47. "input": {
  48. "type": "structure",
  49. "required": [
  50. "ScalingPlanName",
  51. "ScalingPlanVersion"
  52. ],
  53. "members": {
  54. "ScalingPlanName": {},
  55. "ScalingPlanVersion": {
  56. "type": "long"
  57. }
  58. }
  59. },
  60. "output": {
  61. "type": "structure",
  62. "members": {}
  63. }
  64. },
  65. "DescribeScalingPlanResources": {
  66. "input": {
  67. "type": "structure",
  68. "required": [
  69. "ScalingPlanName",
  70. "ScalingPlanVersion"
  71. ],
  72. "members": {
  73. "ScalingPlanName": {},
  74. "ScalingPlanVersion": {
  75. "type": "long"
  76. },
  77. "MaxResults": {
  78. "type": "integer"
  79. },
  80. "NextToken": {}
  81. }
  82. },
  83. "output": {
  84. "type": "structure",
  85. "members": {
  86. "ScalingPlanResources": {
  87. "type": "list",
  88. "member": {
  89. "type": "structure",
  90. "required": [
  91. "ScalingPlanName",
  92. "ScalingPlanVersion",
  93. "ServiceNamespace",
  94. "ResourceId",
  95. "ScalableDimension",
  96. "ScalingStatusCode"
  97. ],
  98. "members": {
  99. "ScalingPlanName": {},
  100. "ScalingPlanVersion": {
  101. "type": "long"
  102. },
  103. "ServiceNamespace": {},
  104. "ResourceId": {},
  105. "ScalableDimension": {},
  106. "ScalingPolicies": {
  107. "type": "list",
  108. "member": {
  109. "type": "structure",
  110. "required": [
  111. "PolicyName",
  112. "PolicyType"
  113. ],
  114. "members": {
  115. "PolicyName": {},
  116. "PolicyType": {},
  117. "TargetTrackingConfiguration": {
  118. "shape": "Sh"
  119. }
  120. }
  121. }
  122. },
  123. "ScalingStatusCode": {},
  124. "ScalingStatusMessage": {}
  125. }
  126. }
  127. },
  128. "NextToken": {}
  129. }
  130. }
  131. },
  132. "DescribeScalingPlans": {
  133. "input": {
  134. "type": "structure",
  135. "members": {
  136. "ScalingPlanNames": {
  137. "type": "list",
  138. "member": {}
  139. },
  140. "ScalingPlanVersion": {
  141. "type": "long"
  142. },
  143. "ApplicationSources": {
  144. "type": "list",
  145. "member": {
  146. "shape": "S3"
  147. }
  148. },
  149. "MaxResults": {
  150. "type": "integer"
  151. },
  152. "NextToken": {}
  153. }
  154. },
  155. "output": {
  156. "type": "structure",
  157. "members": {
  158. "ScalingPlans": {
  159. "type": "list",
  160. "member": {
  161. "type": "structure",
  162. "required": [
  163. "ScalingPlanName",
  164. "ScalingPlanVersion",
  165. "ApplicationSource",
  166. "ScalingInstructions",
  167. "StatusCode"
  168. ],
  169. "members": {
  170. "ScalingPlanName": {},
  171. "ScalingPlanVersion": {
  172. "type": "long"
  173. },
  174. "ApplicationSource": {
  175. "shape": "S3"
  176. },
  177. "ScalingInstructions": {
  178. "shape": "Sa"
  179. },
  180. "StatusCode": {},
  181. "StatusMessage": {},
  182. "StatusStartTime": {
  183. "type": "timestamp"
  184. },
  185. "CreationTime": {
  186. "type": "timestamp"
  187. }
  188. }
  189. }
  190. },
  191. "NextToken": {}
  192. }
  193. }
  194. },
  195. "GetScalingPlanResourceForecastData": {
  196. "input": {
  197. "type": "structure",
  198. "required": [
  199. "ScalingPlanName",
  200. "ScalingPlanVersion",
  201. "ServiceNamespace",
  202. "ResourceId",
  203. "ScalableDimension",
  204. "ForecastDataType",
  205. "StartTime",
  206. "EndTime"
  207. ],
  208. "members": {
  209. "ScalingPlanName": {},
  210. "ScalingPlanVersion": {
  211. "type": "long"
  212. },
  213. "ServiceNamespace": {},
  214. "ResourceId": {},
  215. "ScalableDimension": {},
  216. "ForecastDataType": {},
  217. "StartTime": {
  218. "type": "timestamp"
  219. },
  220. "EndTime": {
  221. "type": "timestamp"
  222. }
  223. }
  224. },
  225. "output": {
  226. "type": "structure",
  227. "required": [
  228. "Datapoints"
  229. ],
  230. "members": {
  231. "Datapoints": {
  232. "type": "list",
  233. "member": {
  234. "type": "structure",
  235. "members": {
  236. "Timestamp": {
  237. "type": "timestamp"
  238. },
  239. "Value": {
  240. "type": "double"
  241. }
  242. }
  243. }
  244. }
  245. }
  246. }
  247. },
  248. "UpdateScalingPlan": {
  249. "input": {
  250. "type": "structure",
  251. "required": [
  252. "ScalingPlanName",
  253. "ScalingPlanVersion"
  254. ],
  255. "members": {
  256. "ScalingPlanName": {},
  257. "ScalingPlanVersion": {
  258. "type": "long"
  259. },
  260. "ApplicationSource": {
  261. "shape": "S3"
  262. },
  263. "ScalingInstructions": {
  264. "shape": "Sa"
  265. }
  266. }
  267. },
  268. "output": {
  269. "type": "structure",
  270. "members": {}
  271. }
  272. }
  273. },
  274. "shapes": {
  275. "S3": {
  276. "type": "structure",
  277. "members": {
  278. "CloudFormationStackARN": {},
  279. "TagFilters": {
  280. "type": "list",
  281. "member": {
  282. "type": "structure",
  283. "members": {
  284. "Key": {},
  285. "Values": {
  286. "type": "list",
  287. "member": {}
  288. }
  289. }
  290. }
  291. }
  292. }
  293. },
  294. "Sa": {
  295. "type": "list",
  296. "member": {
  297. "type": "structure",
  298. "required": [
  299. "ServiceNamespace",
  300. "ResourceId",
  301. "ScalableDimension",
  302. "MinCapacity",
  303. "MaxCapacity",
  304. "TargetTrackingConfigurations"
  305. ],
  306. "members": {
  307. "ServiceNamespace": {},
  308. "ResourceId": {},
  309. "ScalableDimension": {},
  310. "MinCapacity": {
  311. "type": "integer"
  312. },
  313. "MaxCapacity": {
  314. "type": "integer"
  315. },
  316. "TargetTrackingConfigurations": {
  317. "type": "list",
  318. "member": {
  319. "shape": "Sh"
  320. }
  321. },
  322. "PredefinedLoadMetricSpecification": {
  323. "type": "structure",
  324. "required": [
  325. "PredefinedLoadMetricType"
  326. ],
  327. "members": {
  328. "PredefinedLoadMetricType": {},
  329. "ResourceLabel": {}
  330. }
  331. },
  332. "CustomizedLoadMetricSpecification": {
  333. "type": "structure",
  334. "required": [
  335. "MetricName",
  336. "Namespace",
  337. "Statistic"
  338. ],
  339. "members": {
  340. "MetricName": {},
  341. "Namespace": {},
  342. "Dimensions": {
  343. "shape": "So"
  344. },
  345. "Statistic": {},
  346. "Unit": {}
  347. }
  348. },
  349. "ScheduledActionBufferTime": {
  350. "type": "integer"
  351. },
  352. "PredictiveScalingMaxCapacityBehavior": {},
  353. "PredictiveScalingMaxCapacityBuffer": {
  354. "type": "integer"
  355. },
  356. "PredictiveScalingMode": {},
  357. "ScalingPolicyUpdateBehavior": {},
  358. "DisableDynamicScaling": {
  359. "type": "boolean"
  360. }
  361. }
  362. }
  363. },
  364. "Sh": {
  365. "type": "structure",
  366. "required": [
  367. "TargetValue"
  368. ],
  369. "members": {
  370. "PredefinedScalingMetricSpecification": {
  371. "type": "structure",
  372. "required": [
  373. "PredefinedScalingMetricType"
  374. ],
  375. "members": {
  376. "PredefinedScalingMetricType": {},
  377. "ResourceLabel": {}
  378. }
  379. },
  380. "CustomizedScalingMetricSpecification": {
  381. "type": "structure",
  382. "required": [
  383. "MetricName",
  384. "Namespace",
  385. "Statistic"
  386. ],
  387. "members": {
  388. "MetricName": {},
  389. "Namespace": {},
  390. "Dimensions": {
  391. "shape": "So"
  392. },
  393. "Statistic": {},
  394. "Unit": {}
  395. }
  396. },
  397. "TargetValue": {
  398. "type": "double"
  399. },
  400. "DisableScaleIn": {
  401. "type": "boolean"
  402. },
  403. "ScaleOutCooldown": {
  404. "type": "integer"
  405. },
  406. "ScaleInCooldown": {
  407. "type": "integer"
  408. },
  409. "EstimatedInstanceWarmup": {
  410. "type": "integer"
  411. }
  412. }
  413. },
  414. "So": {
  415. "type": "list",
  416. "member": {
  417. "type": "structure",
  418. "required": [
  419. "Name",
  420. "Value"
  421. ],
  422. "members": {
  423. "Name": {},
  424. "Value": {}
  425. }
  426. }
  427. }
  428. }
  429. }