1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2018-01-06", 5 "endpointPrefix":"autoscaling", 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 "name":"CreateScalingPlan", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateScalingPlanRequest"}, 23 "output":{"shape":"CreateScalingPlanResponse"}, 24 "errors":[ 25 {"shape":"ValidationException"}, 26 {"shape":"LimitExceededException"}, 27 {"shape":"ConcurrentUpdateException"}, 28 {"shape":"InternalServiceException"} 29 ] 30 }, 31 "DeleteScalingPlan":{ 32 "name":"DeleteScalingPlan", 33 "http":{ 34 "method":"POST", 35 "requestUri":"/" 36 }, 37 "input":{"shape":"DeleteScalingPlanRequest"}, 38 "output":{"shape":"DeleteScalingPlanResponse"}, 39 "errors":[ 40 {"shape":"ValidationException"}, 41 {"shape":"ObjectNotFoundException"}, 42 {"shape":"ConcurrentUpdateException"}, 43 {"shape":"InternalServiceException"} 44 ] 45 }, 46 "DescribeScalingPlanResources":{ 47 "name":"DescribeScalingPlanResources", 48 "http":{ 49 "method":"POST", 50 "requestUri":"/" 51 }, 52 "input":{"shape":"DescribeScalingPlanResourcesRequest"}, 53 "output":{"shape":"DescribeScalingPlanResourcesResponse"}, 54 "errors":[ 55 {"shape":"ValidationException"}, 56 {"shape":"InvalidNextTokenException"}, 57 {"shape":"ConcurrentUpdateException"}, 58 {"shape":"InternalServiceException"} 59 ] 60 }, 61 "DescribeScalingPlans":{ 62 "name":"DescribeScalingPlans", 63 "http":{ 64 "method":"POST", 65 "requestUri":"/" 66 }, 67 "input":{"shape":"DescribeScalingPlansRequest"}, 68 "output":{"shape":"DescribeScalingPlansResponse"}, 69 "errors":[ 70 {"shape":"ValidationException"}, 71 {"shape":"InvalidNextTokenException"}, 72 {"shape":"ConcurrentUpdateException"}, 73 {"shape":"InternalServiceException"} 74 ] 75 }, 76 "UpdateScalingPlan":{ 77 "name":"UpdateScalingPlan", 78 "http":{ 79 "method":"POST", 80 "requestUri":"/" 81 }, 82 "input":{"shape":"UpdateScalingPlanRequest"}, 83 "output":{"shape":"UpdateScalingPlanResponse"}, 84 "errors":[ 85 {"shape":"ValidationException"}, 86 {"shape":"ConcurrentUpdateException"}, 87 {"shape":"InternalServiceException"}, 88 {"shape":"ObjectNotFoundException"} 89 ] 90 } 91 }, 92 "shapes":{ 93 "ApplicationSource":{ 94 "type":"structure", 95 "members":{ 96 "CloudFormationStackARN":{"shape":"XmlString"}, 97 "TagFilters":{"shape":"TagFilters"} 98 } 99 }, 100 "ApplicationSources":{ 101 "type":"list", 102 "member":{"shape":"ApplicationSource"} 103 }, 104 "ConcurrentUpdateException":{ 105 "type":"structure", 106 "members":{ 107 "Message":{"shape":"ErrorMessage"} 108 }, 109 "exception":true 110 }, 111 "Cooldown":{"type":"integer"}, 112 "CreateScalingPlanRequest":{ 113 "type":"structure", 114 "required":[ 115 "ScalingPlanName", 116 "ApplicationSource", 117 "ScalingInstructions" 118 ], 119 "members":{ 120 "ScalingPlanName":{"shape":"ScalingPlanName"}, 121 "ApplicationSource":{"shape":"ApplicationSource"}, 122 "ScalingInstructions":{"shape":"ScalingInstructions"} 123 } 124 }, 125 "CreateScalingPlanResponse":{ 126 "type":"structure", 127 "required":["ScalingPlanVersion"], 128 "members":{ 129 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"} 130 } 131 }, 132 "CustomizedScalingMetricSpecification":{ 133 "type":"structure", 134 "required":[ 135 "MetricName", 136 "Namespace", 137 "Statistic" 138 ], 139 "members":{ 140 "MetricName":{"shape":"MetricName"}, 141 "Namespace":{"shape":"MetricNamespace"}, 142 "Dimensions":{"shape":"MetricDimensions"}, 143 "Statistic":{"shape":"MetricStatistic"}, 144 "Unit":{"shape":"MetricUnit"} 145 } 146 }, 147 "DeleteScalingPlanRequest":{ 148 "type":"structure", 149 "required":[ 150 "ScalingPlanName", 151 "ScalingPlanVersion" 152 ], 153 "members":{ 154 "ScalingPlanName":{"shape":"ScalingPlanName"}, 155 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"} 156 } 157 }, 158 "DeleteScalingPlanResponse":{ 159 "type":"structure", 160 "members":{ 161 } 162 }, 163 "DescribeScalingPlanResourcesRequest":{ 164 "type":"structure", 165 "required":[ 166 "ScalingPlanName", 167 "ScalingPlanVersion" 168 ], 169 "members":{ 170 "ScalingPlanName":{"shape":"ScalingPlanName"}, 171 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"}, 172 "MaxResults":{"shape":"MaxResults"}, 173 "NextToken":{"shape":"NextToken"} 174 } 175 }, 176 "DescribeScalingPlanResourcesResponse":{ 177 "type":"structure", 178 "members":{ 179 "ScalingPlanResources":{"shape":"ScalingPlanResources"}, 180 "NextToken":{"shape":"NextToken"} 181 } 182 }, 183 "DescribeScalingPlansRequest":{ 184 "type":"structure", 185 "members":{ 186 "ScalingPlanNames":{"shape":"ScalingPlanNames"}, 187 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"}, 188 "ApplicationSources":{"shape":"ApplicationSources"}, 189 "MaxResults":{"shape":"MaxResults"}, 190 "NextToken":{"shape":"NextToken"} 191 } 192 }, 193 "DescribeScalingPlansResponse":{ 194 "type":"structure", 195 "members":{ 196 "ScalingPlans":{"shape":"ScalingPlans"}, 197 "NextToken":{"shape":"NextToken"} 198 } 199 }, 200 "DisableScaleIn":{"type":"boolean"}, 201 "ErrorMessage":{"type":"string"}, 202 "InternalServiceException":{ 203 "type":"structure", 204 "members":{ 205 "Message":{"shape":"ErrorMessage"} 206 }, 207 "exception":true 208 }, 209 "InvalidNextTokenException":{ 210 "type":"structure", 211 "members":{ 212 "Message":{"shape":"ErrorMessage"} 213 }, 214 "exception":true 215 }, 216 "LimitExceededException":{ 217 "type":"structure", 218 "members":{ 219 "Message":{"shape":"ErrorMessage"} 220 }, 221 "exception":true 222 }, 223 "MaxResults":{"type":"integer"}, 224 "MetricDimension":{ 225 "type":"structure", 226 "required":[ 227 "Name", 228 "Value" 229 ], 230 "members":{ 231 "Name":{"shape":"MetricDimensionName"}, 232 "Value":{"shape":"MetricDimensionValue"} 233 } 234 }, 235 "MetricDimensionName":{"type":"string"}, 236 "MetricDimensionValue":{"type":"string"}, 237 "MetricDimensions":{ 238 "type":"list", 239 "member":{"shape":"MetricDimension"} 240 }, 241 "MetricName":{"type":"string"}, 242 "MetricNamespace":{"type":"string"}, 243 "MetricScale":{"type":"double"}, 244 "MetricStatistic":{ 245 "type":"string", 246 "enum":[ 247 "Average", 248 "Minimum", 249 "Maximum", 250 "SampleCount", 251 "Sum" 252 ] 253 }, 254 "MetricUnit":{"type":"string"}, 255 "NextToken":{"type":"string"}, 256 "ObjectNotFoundException":{ 257 "type":"structure", 258 "members":{ 259 "Message":{"shape":"ErrorMessage"} 260 }, 261 "exception":true 262 }, 263 "PolicyName":{ 264 "type":"string", 265 "max":256, 266 "min":1, 267 "pattern":"\\p{Print}+" 268 }, 269 "PolicyType":{ 270 "type":"string", 271 "enum":["TargetTrackingScaling"] 272 }, 273 "PredefinedScalingMetricSpecification":{ 274 "type":"structure", 275 "required":["PredefinedScalingMetricType"], 276 "members":{ 277 "PredefinedScalingMetricType":{"shape":"ScalingMetricType"}, 278 "ResourceLabel":{"shape":"ResourceLabel"} 279 } 280 }, 281 "ResourceCapacity":{"type":"integer"}, 282 "ResourceIdMaxLen1600":{ 283 "type":"string", 284 "max":1600, 285 "min":1, 286 "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" 287 }, 288 "ResourceLabel":{ 289 "type":"string", 290 "max":1023, 291 "min":1 292 }, 293 "ScalableDimension":{ 294 "type":"string", 295 "enum":[ 296 "autoscaling:autoScalingGroup:DesiredCapacity", 297 "ecs:service:DesiredCount", 298 "ec2:spot-fleet-request:TargetCapacity", 299 "rds:cluster:ReadReplicaCount", 300 "dynamodb:table:ReadCapacityUnits", 301 "dynamodb:table:WriteCapacityUnits", 302 "dynamodb:index:ReadCapacityUnits", 303 "dynamodb:index:WriteCapacityUnits" 304 ] 305 }, 306 "ScalingInstruction":{ 307 "type":"structure", 308 "required":[ 309 "ServiceNamespace", 310 "ResourceId", 311 "ScalableDimension", 312 "MinCapacity", 313 "MaxCapacity", 314 "TargetTrackingConfigurations" 315 ], 316 "members":{ 317 "ServiceNamespace":{"shape":"ServiceNamespace"}, 318 "ResourceId":{"shape":"ResourceIdMaxLen1600"}, 319 "ScalableDimension":{"shape":"ScalableDimension"}, 320 "MinCapacity":{"shape":"ResourceCapacity"}, 321 "MaxCapacity":{"shape":"ResourceCapacity"}, 322 "TargetTrackingConfigurations":{"shape":"TargetTrackingConfigurations"} 323 } 324 }, 325 "ScalingInstructions":{ 326 "type":"list", 327 "member":{"shape":"ScalingInstruction"} 328 }, 329 "ScalingMetricType":{ 330 "type":"string", 331 "enum":[ 332 "ASGAverageCPUUtilization", 333 "ASGAverageNetworkIn", 334 "ASGAverageNetworkOut", 335 "DynamoDBReadCapacityUtilization", 336 "DynamoDBWriteCapacityUtilization", 337 "ECSServiceAverageCPUUtilization", 338 "ECSServiceAverageMemoryUtilization", 339 "ALBRequestCountPerTarget", 340 "RDSReaderAverageCPUUtilization", 341 "RDSReaderAverageDatabaseConnections", 342 "EC2SpotFleetRequestAverageCPUUtilization", 343 "EC2SpotFleetRequestAverageNetworkIn", 344 "EC2SpotFleetRequestAverageNetworkOut" 345 ] 346 }, 347 "ScalingPlan":{ 348 "type":"structure", 349 "required":[ 350 "ScalingPlanName", 351 "ScalingPlanVersion", 352 "ApplicationSource", 353 "ScalingInstructions", 354 "StatusCode" 355 ], 356 "members":{ 357 "ScalingPlanName":{"shape":"ScalingPlanName"}, 358 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"}, 359 "ApplicationSource":{"shape":"ApplicationSource"}, 360 "ScalingInstructions":{"shape":"ScalingInstructions"}, 361 "StatusCode":{"shape":"ScalingPlanStatusCode"}, 362 "StatusMessage":{"shape":"XmlString"}, 363 "StatusStartTime":{"shape":"TimestampType"}, 364 "CreationTime":{"shape":"TimestampType"} 365 } 366 }, 367 "ScalingPlanName":{ 368 "type":"string", 369 "max":128, 370 "min":1, 371 "pattern":"[\\p{Print}&&[^|:/]]+" 372 }, 373 "ScalingPlanNames":{ 374 "type":"list", 375 "member":{"shape":"ScalingPlanName"} 376 }, 377 "ScalingPlanResource":{ 378 "type":"structure", 379 "required":[ 380 "ScalingPlanName", 381 "ScalingPlanVersion", 382 "ServiceNamespace", 383 "ResourceId", 384 "ScalableDimension", 385 "ScalingStatusCode" 386 ], 387 "members":{ 388 "ScalingPlanName":{"shape":"ScalingPlanName"}, 389 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"}, 390 "ServiceNamespace":{"shape":"ServiceNamespace"}, 391 "ResourceId":{"shape":"ResourceIdMaxLen1600"}, 392 "ScalableDimension":{"shape":"ScalableDimension"}, 393 "ScalingPolicies":{"shape":"ScalingPolicies"}, 394 "ScalingStatusCode":{"shape":"ScalingStatusCode"}, 395 "ScalingStatusMessage":{"shape":"XmlString"} 396 } 397 }, 398 "ScalingPlanResources":{ 399 "type":"list", 400 "member":{"shape":"ScalingPlanResource"} 401 }, 402 "ScalingPlanStatusCode":{ 403 "type":"string", 404 "enum":[ 405 "Active", 406 "ActiveWithProblems", 407 "CreationInProgress", 408 "CreationFailed", 409 "DeletionInProgress", 410 "DeletionFailed", 411 "UpdateInProgress", 412 "UpdateFailed" 413 ] 414 }, 415 "ScalingPlanVersion":{"type":"long"}, 416 "ScalingPlans":{ 417 "type":"list", 418 "member":{"shape":"ScalingPlan"} 419 }, 420 "ScalingPolicies":{ 421 "type":"list", 422 "member":{"shape":"ScalingPolicy"} 423 }, 424 "ScalingPolicy":{ 425 "type":"structure", 426 "required":[ 427 "PolicyName", 428 "PolicyType" 429 ], 430 "members":{ 431 "PolicyName":{"shape":"PolicyName"}, 432 "PolicyType":{"shape":"PolicyType"}, 433 "TargetTrackingConfiguration":{"shape":"TargetTrackingConfiguration"} 434 } 435 }, 436 "ScalingStatusCode":{ 437 "type":"string", 438 "enum":[ 439 "Inactive", 440 "PartiallyActive", 441 "Active" 442 ] 443 }, 444 "ServiceNamespace":{ 445 "type":"string", 446 "enum":[ 447 "autoscaling", 448 "ecs", 449 "ec2", 450 "rds", 451 "dynamodb" 452 ] 453 }, 454 "TagFilter":{ 455 "type":"structure", 456 "members":{ 457 "Key":{"shape":"XmlStringMaxLen128"}, 458 "Values":{"shape":"TagValues"} 459 } 460 }, 461 "TagFilters":{ 462 "type":"list", 463 "member":{"shape":"TagFilter"} 464 }, 465 "TagValues":{ 466 "type":"list", 467 "member":{"shape":"XmlStringMaxLen256"} 468 }, 469 "TargetTrackingConfiguration":{ 470 "type":"structure", 471 "required":["TargetValue"], 472 "members":{ 473 "PredefinedScalingMetricSpecification":{"shape":"PredefinedScalingMetricSpecification"}, 474 "CustomizedScalingMetricSpecification":{"shape":"CustomizedScalingMetricSpecification"}, 475 "TargetValue":{"shape":"MetricScale"}, 476 "DisableScaleIn":{"shape":"DisableScaleIn"}, 477 "ScaleOutCooldown":{"shape":"Cooldown"}, 478 "ScaleInCooldown":{"shape":"Cooldown"}, 479 "EstimatedInstanceWarmup":{"shape":"Cooldown"} 480 } 481 }, 482 "TargetTrackingConfigurations":{ 483 "type":"list", 484 "member":{"shape":"TargetTrackingConfiguration"} 485 }, 486 "TimestampType":{"type":"timestamp"}, 487 "UpdateScalingPlanRequest":{ 488 "type":"structure", 489 "required":[ 490 "ScalingPlanName", 491 "ScalingPlanVersion" 492 ], 493 "members":{ 494 "ApplicationSource":{"shape":"ApplicationSource"}, 495 "ScalingPlanName":{"shape":"ScalingPlanName"}, 496 "ScalingInstructions":{"shape":"ScalingInstructions"}, 497 "ScalingPlanVersion":{"shape":"ScalingPlanVersion"} 498 } 499 }, 500 "UpdateScalingPlanResponse":{ 501 "type":"structure", 502 "members":{ 503 } 504 }, 505 "ValidationException":{ 506 "type":"structure", 507 "members":{ 508 "Message":{"shape":"ErrorMessage"} 509 }, 510 "exception":true 511 }, 512 "XmlString":{ 513 "type":"string", 514 "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" 515 }, 516 "XmlStringMaxLen128":{ 517 "type":"string", 518 "max":128, 519 "min":1, 520 "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" 521 }, 522 "XmlStringMaxLen256":{ 523 "type":"string", 524 "max":256, 525 "min":1, 526 "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" 527 } 528 } 529} 530