application-autoscaling-2016-02-06.min.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2016-02-06",
  5. "endpointPrefix": "application-autoscaling",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceFullName": "Application Auto Scaling",
  9. "serviceId": "Application Auto Scaling",
  10. "signatureVersion": "v4",
  11. "signingName": "application-autoscaling",
  12. "targetPrefix": "AnyScaleFrontendService",
  13. "uid": "application-autoscaling-2016-02-06"
  14. },
  15. "operations": {
  16. "DeleteScalingPolicy": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "PolicyName",
  21. "ServiceNamespace",
  22. "ResourceId",
  23. "ScalableDimension"
  24. ],
  25. "members": {
  26. "PolicyName": {},
  27. "ServiceNamespace": {},
  28. "ResourceId": {},
  29. "ScalableDimension": {}
  30. }
  31. },
  32. "output": {
  33. "type": "structure",
  34. "members": {}
  35. }
  36. },
  37. "DeleteScheduledAction": {
  38. "input": {
  39. "type": "structure",
  40. "required": [
  41. "ServiceNamespace",
  42. "ScheduledActionName",
  43. "ResourceId",
  44. "ScalableDimension"
  45. ],
  46. "members": {
  47. "ServiceNamespace": {},
  48. "ScheduledActionName": {},
  49. "ResourceId": {},
  50. "ScalableDimension": {}
  51. }
  52. },
  53. "output": {
  54. "type": "structure",
  55. "members": {}
  56. }
  57. },
  58. "DeregisterScalableTarget": {
  59. "input": {
  60. "type": "structure",
  61. "required": [
  62. "ServiceNamespace",
  63. "ResourceId",
  64. "ScalableDimension"
  65. ],
  66. "members": {
  67. "ServiceNamespace": {},
  68. "ResourceId": {},
  69. "ScalableDimension": {}
  70. }
  71. },
  72. "output": {
  73. "type": "structure",
  74. "members": {}
  75. }
  76. },
  77. "DescribeScalableTargets": {
  78. "input": {
  79. "type": "structure",
  80. "required": [
  81. "ServiceNamespace"
  82. ],
  83. "members": {
  84. "ServiceNamespace": {},
  85. "ResourceIds": {
  86. "shape": "Sb"
  87. },
  88. "ScalableDimension": {},
  89. "MaxResults": {
  90. "type": "integer"
  91. },
  92. "NextToken": {}
  93. }
  94. },
  95. "output": {
  96. "type": "structure",
  97. "members": {
  98. "ScalableTargets": {
  99. "type": "list",
  100. "member": {
  101. "type": "structure",
  102. "required": [
  103. "ServiceNamespace",
  104. "ResourceId",
  105. "ScalableDimension",
  106. "MinCapacity",
  107. "MaxCapacity",
  108. "RoleARN",
  109. "CreationTime"
  110. ],
  111. "members": {
  112. "ServiceNamespace": {},
  113. "ResourceId": {},
  114. "ScalableDimension": {},
  115. "MinCapacity": {
  116. "type": "integer"
  117. },
  118. "MaxCapacity": {
  119. "type": "integer"
  120. },
  121. "RoleARN": {},
  122. "CreationTime": {
  123. "type": "timestamp"
  124. },
  125. "SuspendedState": {
  126. "shape": "Sj"
  127. },
  128. "ScalableTargetARN": {}
  129. }
  130. }
  131. },
  132. "NextToken": {}
  133. }
  134. }
  135. },
  136. "DescribeScalingActivities": {
  137. "input": {
  138. "type": "structure",
  139. "required": [
  140. "ServiceNamespace"
  141. ],
  142. "members": {
  143. "ServiceNamespace": {},
  144. "ResourceId": {},
  145. "ScalableDimension": {},
  146. "MaxResults": {
  147. "type": "integer"
  148. },
  149. "NextToken": {},
  150. "IncludeNotScaledActivities": {
  151. "type": "boolean"
  152. }
  153. }
  154. },
  155. "output": {
  156. "type": "structure",
  157. "members": {
  158. "ScalingActivities": {
  159. "type": "list",
  160. "member": {
  161. "type": "structure",
  162. "required": [
  163. "ActivityId",
  164. "ServiceNamespace",
  165. "ResourceId",
  166. "ScalableDimension",
  167. "Description",
  168. "Cause",
  169. "StartTime",
  170. "StatusCode"
  171. ],
  172. "members": {
  173. "ActivityId": {},
  174. "ServiceNamespace": {},
  175. "ResourceId": {},
  176. "ScalableDimension": {},
  177. "Description": {},
  178. "Cause": {},
  179. "StartTime": {
  180. "type": "timestamp"
  181. },
  182. "EndTime": {
  183. "type": "timestamp"
  184. },
  185. "StatusCode": {},
  186. "StatusMessage": {},
  187. "Details": {},
  188. "NotScaledReasons": {
  189. "type": "list",
  190. "member": {
  191. "type": "structure",
  192. "required": [
  193. "Code"
  194. ],
  195. "members": {
  196. "Code": {},
  197. "MaxCapacity": {
  198. "type": "integer"
  199. },
  200. "MinCapacity": {
  201. "type": "integer"
  202. },
  203. "CurrentCapacity": {
  204. "type": "integer"
  205. }
  206. }
  207. }
  208. }
  209. }
  210. }
  211. },
  212. "NextToken": {}
  213. }
  214. }
  215. },
  216. "DescribeScalingPolicies": {
  217. "input": {
  218. "type": "structure",
  219. "required": [
  220. "ServiceNamespace"
  221. ],
  222. "members": {
  223. "PolicyNames": {
  224. "shape": "Sb"
  225. },
  226. "ServiceNamespace": {},
  227. "ResourceId": {},
  228. "ScalableDimension": {},
  229. "MaxResults": {
  230. "type": "integer"
  231. },
  232. "NextToken": {}
  233. }
  234. },
  235. "output": {
  236. "type": "structure",
  237. "members": {
  238. "ScalingPolicies": {
  239. "type": "list",
  240. "member": {
  241. "type": "structure",
  242. "required": [
  243. "PolicyARN",
  244. "PolicyName",
  245. "ServiceNamespace",
  246. "ResourceId",
  247. "ScalableDimension",
  248. "PolicyType",
  249. "CreationTime"
  250. ],
  251. "members": {
  252. "PolicyARN": {},
  253. "PolicyName": {},
  254. "ServiceNamespace": {},
  255. "ResourceId": {},
  256. "ScalableDimension": {},
  257. "PolicyType": {},
  258. "StepScalingPolicyConfiguration": {
  259. "shape": "S10"
  260. },
  261. "TargetTrackingScalingPolicyConfiguration": {
  262. "shape": "S19"
  263. },
  264. "Alarms": {
  265. "shape": "S21"
  266. },
  267. "CreationTime": {
  268. "type": "timestamp"
  269. }
  270. }
  271. }
  272. },
  273. "NextToken": {}
  274. }
  275. }
  276. },
  277. "DescribeScheduledActions": {
  278. "input": {
  279. "type": "structure",
  280. "required": [
  281. "ServiceNamespace"
  282. ],
  283. "members": {
  284. "ScheduledActionNames": {
  285. "shape": "Sb"
  286. },
  287. "ServiceNamespace": {},
  288. "ResourceId": {},
  289. "ScalableDimension": {},
  290. "MaxResults": {
  291. "type": "integer"
  292. },
  293. "NextToken": {}
  294. }
  295. },
  296. "output": {
  297. "type": "structure",
  298. "members": {
  299. "ScheduledActions": {
  300. "type": "list",
  301. "member": {
  302. "type": "structure",
  303. "required": [
  304. "ScheduledActionName",
  305. "ScheduledActionARN",
  306. "ServiceNamespace",
  307. "Schedule",
  308. "ResourceId",
  309. "CreationTime"
  310. ],
  311. "members": {
  312. "ScheduledActionName": {},
  313. "ScheduledActionARN": {},
  314. "ServiceNamespace": {},
  315. "Schedule": {},
  316. "Timezone": {},
  317. "ResourceId": {},
  318. "ScalableDimension": {},
  319. "StartTime": {
  320. "type": "timestamp"
  321. },
  322. "EndTime": {
  323. "type": "timestamp"
  324. },
  325. "ScalableTargetAction": {
  326. "shape": "S28"
  327. },
  328. "CreationTime": {
  329. "type": "timestamp"
  330. }
  331. }
  332. }
  333. },
  334. "NextToken": {}
  335. }
  336. }
  337. },
  338. "ListTagsForResource": {
  339. "input": {
  340. "type": "structure",
  341. "required": [
  342. "ResourceARN"
  343. ],
  344. "members": {
  345. "ResourceARN": {}
  346. }
  347. },
  348. "output": {
  349. "type": "structure",
  350. "members": {
  351. "Tags": {
  352. "shape": "S2c"
  353. }
  354. }
  355. }
  356. },
  357. "PutScalingPolicy": {
  358. "input": {
  359. "type": "structure",
  360. "required": [
  361. "PolicyName",
  362. "ServiceNamespace",
  363. "ResourceId",
  364. "ScalableDimension"
  365. ],
  366. "members": {
  367. "PolicyName": {},
  368. "ServiceNamespace": {},
  369. "ResourceId": {},
  370. "ScalableDimension": {},
  371. "PolicyType": {},
  372. "StepScalingPolicyConfiguration": {
  373. "shape": "S10"
  374. },
  375. "TargetTrackingScalingPolicyConfiguration": {
  376. "shape": "S19"
  377. }
  378. }
  379. },
  380. "output": {
  381. "type": "structure",
  382. "required": [
  383. "PolicyARN"
  384. ],
  385. "members": {
  386. "PolicyARN": {},
  387. "Alarms": {
  388. "shape": "S21"
  389. }
  390. }
  391. }
  392. },
  393. "PutScheduledAction": {
  394. "input": {
  395. "type": "structure",
  396. "required": [
  397. "ServiceNamespace",
  398. "ScheduledActionName",
  399. "ResourceId",
  400. "ScalableDimension"
  401. ],
  402. "members": {
  403. "ServiceNamespace": {},
  404. "Schedule": {},
  405. "Timezone": {},
  406. "ScheduledActionName": {},
  407. "ResourceId": {},
  408. "ScalableDimension": {},
  409. "StartTime": {
  410. "type": "timestamp"
  411. },
  412. "EndTime": {
  413. "type": "timestamp"
  414. },
  415. "ScalableTargetAction": {
  416. "shape": "S28"
  417. }
  418. }
  419. },
  420. "output": {
  421. "type": "structure",
  422. "members": {}
  423. }
  424. },
  425. "RegisterScalableTarget": {
  426. "input": {
  427. "type": "structure",
  428. "required": [
  429. "ServiceNamespace",
  430. "ResourceId",
  431. "ScalableDimension"
  432. ],
  433. "members": {
  434. "ServiceNamespace": {},
  435. "ResourceId": {},
  436. "ScalableDimension": {},
  437. "MinCapacity": {
  438. "type": "integer"
  439. },
  440. "MaxCapacity": {
  441. "type": "integer"
  442. },
  443. "RoleARN": {},
  444. "SuspendedState": {
  445. "shape": "Sj"
  446. },
  447. "Tags": {
  448. "shape": "S2c"
  449. }
  450. }
  451. },
  452. "output": {
  453. "type": "structure",
  454. "members": {
  455. "ScalableTargetARN": {}
  456. }
  457. }
  458. },
  459. "TagResource": {
  460. "input": {
  461. "type": "structure",
  462. "required": [
  463. "ResourceARN",
  464. "Tags"
  465. ],
  466. "members": {
  467. "ResourceARN": {},
  468. "Tags": {
  469. "shape": "S2c"
  470. }
  471. }
  472. },
  473. "output": {
  474. "type": "structure",
  475. "members": {}
  476. }
  477. },
  478. "UntagResource": {
  479. "input": {
  480. "type": "structure",
  481. "required": [
  482. "ResourceARN",
  483. "TagKeys"
  484. ],
  485. "members": {
  486. "ResourceARN": {},
  487. "TagKeys": {
  488. "type": "list",
  489. "member": {}
  490. }
  491. }
  492. },
  493. "output": {
  494. "type": "structure",
  495. "members": {}
  496. }
  497. }
  498. },
  499. "shapes": {
  500. "Sb": {
  501. "type": "list",
  502. "member": {}
  503. },
  504. "Sj": {
  505. "type": "structure",
  506. "members": {
  507. "DynamicScalingInSuspended": {
  508. "type": "boolean"
  509. },
  510. "DynamicScalingOutSuspended": {
  511. "type": "boolean"
  512. },
  513. "ScheduledScalingSuspended": {
  514. "type": "boolean"
  515. }
  516. }
  517. },
  518. "S10": {
  519. "type": "structure",
  520. "members": {
  521. "AdjustmentType": {},
  522. "StepAdjustments": {
  523. "type": "list",
  524. "member": {
  525. "type": "structure",
  526. "required": [
  527. "ScalingAdjustment"
  528. ],
  529. "members": {
  530. "MetricIntervalLowerBound": {
  531. "type": "double"
  532. },
  533. "MetricIntervalUpperBound": {
  534. "type": "double"
  535. },
  536. "ScalingAdjustment": {
  537. "type": "integer"
  538. }
  539. }
  540. }
  541. },
  542. "MinAdjustmentMagnitude": {
  543. "type": "integer"
  544. },
  545. "Cooldown": {
  546. "type": "integer"
  547. },
  548. "MetricAggregationType": {}
  549. }
  550. },
  551. "S19": {
  552. "type": "structure",
  553. "required": [
  554. "TargetValue"
  555. ],
  556. "members": {
  557. "TargetValue": {
  558. "type": "double"
  559. },
  560. "PredefinedMetricSpecification": {
  561. "type": "structure",
  562. "required": [
  563. "PredefinedMetricType"
  564. ],
  565. "members": {
  566. "PredefinedMetricType": {},
  567. "ResourceLabel": {}
  568. }
  569. },
  570. "CustomizedMetricSpecification": {
  571. "type": "structure",
  572. "members": {
  573. "MetricName": {},
  574. "Namespace": {},
  575. "Dimensions": {
  576. "type": "list",
  577. "member": {
  578. "type": "structure",
  579. "required": [
  580. "Name",
  581. "Value"
  582. ],
  583. "members": {
  584. "Name": {},
  585. "Value": {}
  586. }
  587. }
  588. },
  589. "Statistic": {},
  590. "Unit": {},
  591. "Metrics": {
  592. "type": "list",
  593. "member": {
  594. "type": "structure",
  595. "required": [
  596. "Id"
  597. ],
  598. "members": {
  599. "Expression": {},
  600. "Id": {},
  601. "Label": {},
  602. "MetricStat": {
  603. "type": "structure",
  604. "required": [
  605. "Metric",
  606. "Stat"
  607. ],
  608. "members": {
  609. "Metric": {
  610. "type": "structure",
  611. "members": {
  612. "Dimensions": {
  613. "type": "list",
  614. "member": {
  615. "type": "structure",
  616. "required": [
  617. "Name",
  618. "Value"
  619. ],
  620. "members": {
  621. "Name": {},
  622. "Value": {}
  623. }
  624. }
  625. },
  626. "MetricName": {},
  627. "Namespace": {}
  628. }
  629. },
  630. "Stat": {},
  631. "Unit": {}
  632. }
  633. },
  634. "ReturnData": {
  635. "type": "boolean"
  636. }
  637. }
  638. }
  639. }
  640. }
  641. },
  642. "ScaleOutCooldown": {
  643. "type": "integer"
  644. },
  645. "ScaleInCooldown": {
  646. "type": "integer"
  647. },
  648. "DisableScaleIn": {
  649. "type": "boolean"
  650. }
  651. }
  652. },
  653. "S21": {
  654. "type": "list",
  655. "member": {
  656. "type": "structure",
  657. "required": [
  658. "AlarmName",
  659. "AlarmARN"
  660. ],
  661. "members": {
  662. "AlarmName": {},
  663. "AlarmARN": {}
  664. }
  665. }
  666. },
  667. "S28": {
  668. "type": "structure",
  669. "members": {
  670. "MinCapacity": {
  671. "type": "integer"
  672. },
  673. "MaxCapacity": {
  674. "type": "integer"
  675. }
  676. }
  677. },
  678. "S2c": {
  679. "type": "map",
  680. "key": {},
  681. "value": {}
  682. }
  683. }
  684. }