{ "version":"2.0", "metadata":{ "apiVersion":"2018-01-06", "endpointPrefix":"autoscaling", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"AWS Auto Scaling Plans", "serviceId":"Auto Scaling Plans", "signatureVersion":"v4", "signingName":"autoscaling-plans", "targetPrefix":"AnyScaleScalingPlannerFrontendService", "uid":"autoscaling-plans-2018-01-06" }, "operations":{ "CreateScalingPlan":{ "name":"CreateScalingPlan", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateScalingPlanRequest"}, "output":{"shape":"CreateScalingPlanResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"LimitExceededException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Creates a scaling plan.

A scaling plan contains a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions in your scaling plan.

" }, "DeleteScalingPlan":{ "name":"DeleteScalingPlan", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteScalingPlanRequest"}, "output":{"shape":"DeleteScalingPlanResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ObjectNotFoundException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Deletes the specified scaling plan.

" }, "DescribeScalingPlanResources":{ "name":"DescribeScalingPlanResources", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeScalingPlanResourcesRequest"}, "output":{"shape":"DescribeScalingPlanResourcesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Describes the scalable resources in the specified scaling plan.

" }, "DescribeScalingPlans":{ "name":"DescribeScalingPlans", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeScalingPlansRequest"}, "output":{"shape":"DescribeScalingPlansResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Describes the specified scaling plans or all of your scaling plans.

" } }, "shapes":{ "ApplicationSource":{ "type":"structure", "members":{ "CloudFormationStackARN":{ "shape":"XmlString", "documentation":"

The Amazon Resource Name (ARN) of a CloudFormation stack.

" } }, "documentation":"

Represents an application source.

" }, "ApplicationSources":{ "type":"list", "member":{"shape":"ApplicationSource"} }, "ConcurrentUpdateException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.

", "exception":true }, "Cooldown":{"type":"integer"}, "CreateScalingPlanRequest":{ "type":"structure", "required":[ "ScalingPlanName", "ApplicationSource", "ScalingInstructions" ], "members":{ "ScalingPlanName":{ "shape":"ScalingPlanName", "documentation":"

The name of the scaling plan.

" }, "ApplicationSource":{ "shape":"ApplicationSource", "documentation":"

The source for the application.

" }, "ScalingInstructions":{ "shape":"ScalingInstructions", "documentation":"

The scaling instructions.

" } } }, "CreateScalingPlanResponse":{ "type":"structure", "required":["ScalingPlanVersion"], "members":{ "ScalingPlanVersion":{ "shape":"ScalingPlanVersion", "documentation":"

The version of the scaling plan. This value is always 1.

" } } }, "CustomizedScalingMetricSpecification":{ "type":"structure", "required":[ "MetricName", "Namespace", "Statistic" ], "members":{ "MetricName":{ "shape":"MetricName", "documentation":"

The name of the metric.

" }, "Namespace":{ "shape":"MetricNamespace", "documentation":"

The namespace of the metric.

" }, "Dimensions":{ "shape":"MetricDimensions", "documentation":"

The dimensions of the metric.

" }, "Statistic":{ "shape":"MetricStatistic", "documentation":"

The statistic of the metric.

" }, "Unit":{ "shape":"MetricUnit", "documentation":"

The unit of the metric.

" } }, "documentation":"

Represents a customized metric for a target tracking policy.

" }, "DeleteScalingPlanRequest":{ "type":"structure", "required":[ "ScalingPlanName", "ScalingPlanVersion" ], "members":{ "ScalingPlanName":{ "shape":"ScalingPlanName", "documentation":"

The name of the scaling plan.

" }, "ScalingPlanVersion":{ "shape":"ScalingPlanVersion", "documentation":"

The version of the scaling plan.

" } } }, "DeleteScalingPlanResponse":{ "type":"structure", "members":{ } }, "DescribeScalingPlanResourcesRequest":{ "type":"structure", "required":[ "ScalingPlanName", "ScalingPlanVersion" ], "members":{ "ScalingPlanName":{ "shape":"ScalingPlanName", "documentation":"

The name of the scaling plan.

" }, "ScalingPlanVersion":{ "shape":"ScalingPlanVersion", "documentation":"

The version of the scaling plan.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results.

" } } }, "DescribeScalingPlanResourcesResponse":{ "type":"structure", "members":{ "ScalingPlanResources":{ "shape":"ScalingPlanResources", "documentation":"

Information about the scalable resources.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token required to get the next set of results. This value is null if there are no more results to return.

" } } }, "DescribeScalingPlansRequest":{ "type":"structure", "members":{ "ScalingPlanNames":{ "shape":"ScalingPlanNames", "documentation":"

The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

" }, "ScalingPlanVersion":{ "shape":"ScalingPlanVersion", "documentation":"

The version of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.

" }, "ApplicationSources":{ "shape":"ApplicationSources", "documentation":"

The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of results.

" } } }, "DescribeScalingPlansResponse":{ "type":"structure", "members":{ "ScalingPlans":{ "shape":"ScalingPlans", "documentation":"

Information about the scaling plans.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token required to get the next set of results. This value is null if there are no more results to return.

" } } }, "DisableScaleIn":{"type":"boolean"}, "ErrorMessage":{"type":"string"}, "InternalServiceException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The service encountered an internal error.

", "exception":true }, "InvalidNextTokenException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The token provided is not valid.

", "exception":true }, "LimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.

", "exception":true }, "MaxResults":{"type":"integer"}, "MetricDimension":{ "type":"structure", "required":[ "Name", "Value" ], "members":{ "Name":{ "shape":"MetricDimensionName", "documentation":"

The name of the dimension.

" }, "Value":{ "shape":"MetricDimensionValue", "documentation":"

The value of the dimension.

" } }, "documentation":"

Represents a dimension for a customized metric.

" }, "MetricDimensionName":{"type":"string"}, "MetricDimensionValue":{"type":"string"}, "MetricDimensions":{ "type":"list", "member":{"shape":"MetricDimension"} }, "MetricName":{"type":"string"}, "MetricNamespace":{"type":"string"}, "MetricScale":{"type":"double"}, "MetricStatistic":{ "type":"string", "enum":[ "Average", "Minimum", "Maximum", "SampleCount", "Sum" ] }, "MetricUnit":{"type":"string"}, "NextToken":{"type":"string"}, "ObjectNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The specified object could not be found.

", "exception":true }, "PolicyName":{ "type":"string", "max":256, "min":1, "pattern":"\\p{Print}+" }, "PolicyType":{ "type":"string", "enum":["TargetTrackingScaling"] }, "PredefinedScalingMetricSpecification":{ "type":"structure", "required":["PredefinedScalingMetricType"], "members":{ "PredefinedScalingMetricType":{ "shape":"ScalingMetricType", "documentation":"

The metric type. The ALBRequestCountPerTarget metric type applies only to Auto Scaling groups, Sport Fleet requests, and ECS services.

" }, "ResourceLabel":{ "shape":"ResourceLabel", "documentation":"

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group attached to the Auto Scaling group, Spot Fleet request, or ECS service.

The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:

" } }, "documentation":"

Represents a predefined metric for a target tracking policy.

" }, "ResourceCapacity":{"type":"integer"}, "ResourceIdMaxLen1600":{ "type":"string", "max":1600, "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "ResourceLabel":{ "type":"string", "max":1023, "min":1 }, "ScalableDimension":{ "type":"string", "enum":[ "autoscaling:autoScalingGroup:DesiredCapacity", "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "rds:cluster:ReadReplicaCount", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits" ] }, "ScalingInstruction":{ "type":"structure", "required":[ "ServiceNamespace", "ResourceId", "ScalableDimension", "MinCapacity", "MaxCapacity", "TargetTrackingConfigurations" ], "members":{ "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service.

" }, "ResourceId":{ "shape":"ResourceIdMaxLen1600", "documentation":"

The ID of the resource. This string consists of the resource type and unique identifier.

" }, "ScalableDimension":{ "shape":"ScalableDimension", "documentation":"

The scalable dimension associated with the resource.

" }, "MinCapacity":{ "shape":"ResourceCapacity", "documentation":"

The minimum value to scale to in response to a scale in event.

" }, "MaxCapacity":{ "shape":"ResourceCapacity", "documentation":"

The maximum value to scale to in response to a scale out event.

" }, "TargetTrackingConfigurations":{ "shape":"TargetTrackingConfigurations", "documentation":"

The target tracking scaling policies (up to 10).

" } }, "documentation":"

Specifies the scaling configuration for a scalable resource.

" }, "ScalingInstructions":{ "type":"list", "member":{"shape":"ScalingInstruction"} }, "ScalingMetricType":{ "type":"string", "enum":[ "ASGAverageCPUUtilization", "ASGAverageNetworkIn", "ASGAverageNetworkOut", "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization", "ECSServiceAverageCPUUtilization", "ECSServiceAverageMemoryUtilization", "ALBRequestCountPerTarget", "RDSReaderAverageCPUUtilization", "RDSReaderAverageDatabaseConnections", "EC2SpotFleetRequestAverageCPUUtilization", "EC2SpotFleetRequestAverageNetworkIn", "EC2SpotFleetRequestAverageNetworkOut" ] }, "ScalingPlan":{ "type":"structure", "required":[ "ScalingPlanName", "ScalingPlanVersion", "ApplicationSource", "ScalingInstructions", "StatusCode" ], "members":{ "ScalingPlanName":{ "shape":"ScalingPlanName", "documentation":"

The name of the scaling plan.

" }, "ScalingPlanVersion":{ "shape":"ScalingPlanVersion", "documentation":"

The version of the scaling plan.

" }, "ApplicationSource":{ "shape":"ApplicationSource", "documentation":"

The application source.

" }, "ScalingInstructions":{ "shape":"ScalingInstructions", "documentation":"

The scaling instructions.

" }, "StatusCode":{ "shape":"ScalingPlanStatusCode", "documentation":"

The status of the scaling plan.

" }, "StatusMessage":{ "shape":"XmlString", "documentation":"

A simple message about the current status of the scaling plan.

" }, "CreationTime":{ "shape":"TimestampType", "documentation":"

The Unix timestamp when the scaling plan was created.

" } }, "documentation":"

Represents a scaling plan.

" }, "ScalingPlanName":{ "type":"string", "max":128, "min":1, "pattern":"[\\p{Print}&&[^|]]+" }, "ScalingPlanNames":{ "type":"list", "member":{"shape":"ScalingPlanName"} }, "ScalingPlanResource":{ "type":"structure", "required":[ "ScalingPlanName", "ScalingPlanVersion", "ServiceNamespace", "ResourceId", "ScalableDimension", "ScalingStatusCode" ], "members":{ "ScalingPlanName":{ "shape":"ScalingPlanName", "documentation":"

The name of the scaling plan.

" }, "ScalingPlanVersion":{ "shape":"ScalingPlanVersion", "documentation":"

The version of the scaling plan.

" }, "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service.

" }, "ResourceId":{ "shape":"ResourceIdMaxLen1600", "documentation":"

The ID of the resource. This string consists of the resource type and unique identifier.

" }, "ScalableDimension":{ "shape":"ScalableDimension", "documentation":"

The scalable dimension for the resource.

" }, "ScalingPolicies":{ "shape":"ScalingPolicies", "documentation":"

The scaling policies.

" }, "ScalingStatusCode":{ "shape":"ScalingStatusCode", "documentation":"

The scaling status of the resource.

" }, "ScalingStatusMessage":{ "shape":"XmlString", "documentation":"

A simple message about the current scaling status of the resource.

" } }, "documentation":"

Represents a scalable resource.

" }, "ScalingPlanResources":{ "type":"list", "member":{"shape":"ScalingPlanResource"} }, "ScalingPlanStatusCode":{ "type":"string", "enum":[ "Active", "ActiveWithProblems", "CreationInProgress", "CreationFailed", "DeletionInProgress", "DeletionFailed" ] }, "ScalingPlanVersion":{"type":"long"}, "ScalingPlans":{ "type":"list", "member":{"shape":"ScalingPlan"} }, "ScalingPolicies":{ "type":"list", "member":{"shape":"ScalingPolicy"} }, "ScalingPolicy":{ "type":"structure", "required":[ "PolicyName", "PolicyType" ], "members":{ "PolicyName":{ "shape":"PolicyName", "documentation":"

The name of the scaling policy.

" }, "PolicyType":{ "shape":"PolicyType", "documentation":"

The type of scaling policy.

" }, "TargetTrackingConfiguration":{ "shape":"TargetTrackingConfiguration", "documentation":"

The target tracking scaling policy.

" } }, "documentation":"

Represents a scaling policy.

" }, "ScalingStatusCode":{ "type":"string", "enum":[ "Inactive", "PartiallyActive", "Active" ] }, "ServiceNamespace":{ "type":"string", "enum":[ "autoscaling", "ecs", "ec2", "rds", "dynamodb" ] }, "TargetTrackingConfiguration":{ "type":"structure", "required":["TargetValue"], "members":{ "PredefinedScalingMetricSpecification":{ "shape":"PredefinedScalingMetricSpecification", "documentation":"

A predefined metric.

" }, "CustomizedScalingMetricSpecification":{ "shape":"CustomizedScalingMetricSpecification", "documentation":"

A customized metric.

" }, "TargetValue":{ "shape":"MetricScale", "documentation":"

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

" }, "DisableScaleIn":{ "shape":"DisableScaleIn", "documentation":"

Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.

" }, "ScaleOutCooldown":{ "shape":"Cooldown", "documentation":"

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. This value is not used if the scalable resource is an Auto Scaling group.

While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. The intention is to continuously (but not excessively) scale out.

" }, "ScaleInCooldown":{ "shape":"Cooldown", "documentation":"

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.

The cooldown period is used to block subsequent scale in requests until it has expired. The intention is to scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, AWS Auto Scaling scales out your scalable target immediately.

" }, "EstimatedInstanceWarmup":{ "shape":"Cooldown", "documentation":"

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.

" } }, "documentation":"

Represents a target tracking scaling policy.

" }, "TargetTrackingConfigurations":{ "type":"list", "member":{"shape":"TargetTrackingConfiguration"} }, "TimestampType":{"type":"timestamp"}, "ValidationException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

An exception was thrown for a validation issue. Review the parameters provided.

", "exception":true }, "XmlString":{ "type":"string", "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "documentation":"

Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling for your scalable resources.

To get started, create a scaling plan with a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies for the scalable resources in your scaling plan. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.

" }