{ "version":"2.0", "metadata":{ "apiVersion":"2016-02-06", "endpointPrefix":"autoscaling", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"Application Auto Scaling", "signatureVersion":"v4", "signingName":"application-autoscaling", "targetPrefix":"AnyScaleFrontendService", "uid":"application-autoscaling-2016-02-06" }, "operations":{ "DeleteScalingPolicy":{ "name":"DeleteScalingPolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteScalingPolicyRequest"}, "output":{"shape":"DeleteScalingPolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ObjectNotFoundException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Deletes the specified Application Auto Scaling scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.

To create a scaling policy or update an existing one, see PutScalingPolicy.

" }, "DeregisterScalableTarget":{ "name":"DeregisterScalableTarget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeregisterScalableTargetRequest"}, "output":{"shape":"DeregisterScalableTargetResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ObjectNotFoundException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Deregisters a scalable target.

Deregistering a scalable target deletes the scaling policies that are associated with it.

To create a scalable target or update an existing one, see RegisterScalableTarget.

" }, "DescribeScalableTargets":{ "name":"DescribeScalableTargets", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeScalableTargetsRequest"}, "output":{"shape":"DescribeScalableTargetsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Provides descriptive information about the scalable targets in the specified namespace.

You can filter the results using the ResourceIds and ScalableDimension parameters.

To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

" }, "DescribeScalingActivities":{ "name":"DescribeScalingActivities", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeScalingActivitiesRequest"}, "output":{"shape":"DescribeScalingActivitiesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.

You can filter the results using the ResourceId and ScalableDimension parameters.

Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.

" }, "DescribeScalingPolicies":{ "name":"DescribeScalingPolicies", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeScalingPoliciesRequest"}, "output":{"shape":"DescribeScalingPoliciesResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"FailedResourceAccessException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Provides descriptive information about the scaling policies in the specified namespace.

You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters.

To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

" }, "PutScalingPolicy":{ "name":"PutScalingPolicy", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutScalingPolicyRequest"}, "output":{"shape":"PutScalingPolicyResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"LimitExceededException"}, {"shape":"ObjectNotFoundException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"FailedResourceAccessException"}, {"shape":"InternalServiceException"} ], "documentation":"

Creates or updates a policy for an Application Auto Scaling scalable target.

Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using RegisterScalableTarget.

To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.

You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

" }, "RegisterScalableTarget":{ "name":"RegisterScalableTarget", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RegisterScalableTargetRequest"}, "output":{"shape":"RegisterScalableTargetResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"LimitExceededException"}, {"shape":"ConcurrentUpdateException"}, {"shape":"InternalServiceException"} ], "documentation":"

Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension.

After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

" } }, "shapes":{ "AdjustmentType":{ "type":"string", "enum":[ "ChangeInCapacity", "PercentChangeInCapacity", "ExactCapacity" ] }, "Alarm":{ "type":"structure", "required":[ "AlarmName", "AlarmARN" ], "members":{ "AlarmName":{ "shape":"ResourceId", "documentation":"

The name of the alarm.

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

The Amazon Resource Name (ARN) of the alarm.

" } }, "documentation":"

Represents a CloudWatch alarm associated with a scaling policy.

" }, "Alarms":{ "type":"list", "member":{"shape":"Alarm"} }, "ConcurrentUpdateException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Concurrent updates caused an exception, for example, if you request an update to an Application Auto Scaling resource that already has a pending update.

", "exception":true }, "Cooldown":{"type":"integer"}, "CustomizedMetricSpecification":{ "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":"

Configures a customized metric for a target tracking policy.

" }, "DeleteScalingPolicyRequest":{ "type":"structure", "required":[ "PolicyName", "ServiceNamespace", "ResourceId", "ScalableDimension" ], "members":{ "PolicyName":{ "shape":"ResourceIdMaxLen1600", "documentation":"

The name of the scaling policy.

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

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.

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

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

" } } }, "DeleteScalingPolicyResponse":{ "type":"structure", "members":{ } }, "DeregisterScalableTargetRequest":{ "type":"structure", "required":[ "ServiceNamespace", "ResourceId", "ScalableDimension" ], "members":{ "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.

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

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.

" } } }, "DeregisterScalableTargetResponse":{ "type":"structure", "members":{ } }, "DescribeScalableTargetsRequest":{ "type":"structure", "required":["ServiceNamespace"], "members":{ "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

" }, "ResourceIds":{ "shape":"ResourceIdsMaxLen1600", "documentation":"

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.

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

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.

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

The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50.

If this parameter is used, the operation returns up to MaxResults results at a time, along with a NextToken value. To get the next set of results, include the NextToken value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken value, if applicable.

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

The token for the next set of results.

" } } }, "DescribeScalableTargetsResponse":{ "type":"structure", "members":{ "ScalableTargets":{ "shape":"ScalableTargets", "documentation":"

The list of scalable targets that matches the request parameters.

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

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

" } } }, "DescribeScalingActivitiesRequest":{ "type":"structure", "required":["ServiceNamespace"], "members":{ "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.

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

The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.

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

The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50.

If this parameter is used, the operation returns up to MaxResults results at a time, along with a NextToken value. To get the next set of results, include the NextToken value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken value, if applicable.

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

The token for the next set of results.

" } } }, "DescribeScalingActivitiesResponse":{ "type":"structure", "members":{ "ScalingActivities":{ "shape":"ScalingActivities", "documentation":"

A list of scaling activity objects.

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

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

" } } }, "DescribeScalingPoliciesRequest":{ "type":"structure", "required":["ServiceNamespace"], "members":{ "PolicyNames":{ "shape":"ResourceIdsMaxLen1600", "documentation":"

The names of the scaling policies to describe.

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

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.

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

The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.

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

The maximum number of scalable target results. This value can be between 1 and 50. The default value is 50.

If this parameter is used, the operation returns up to MaxResults results at a time, along with a NextToken value. To get the next set of results, include the NextToken value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken value, if applicable.

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

The token for the next set of results.

" } } }, "DescribeScalingPoliciesResponse":{ "type":"structure", "members":{ "ScalingPolicies":{ "shape":"ScalingPolicies", "documentation":"

A list of scaling policy objects.

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

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

" } } }, "ErrorMessage":{"type":"string"}, "FailedResourceAccessException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling is unable to retrieve the alarms associated with a scaling policy due to a client error, for example, if the role ARN specified for a scalable target does not have permission to call the CloudWatch DescribeAlarms API operation on behalf of your account.

", "exception":true }, "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 next token supplied was invalid.

", "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. For more information, see Application Auto Scaling Limits.

", "exception":true }, "MaxResults":{"type":"integer"}, "MetricAggregationType":{ "type":"string", "enum":[ "Average", "Minimum", "Maximum" ] }, "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":"

Describes the dimension of a 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" ] }, "MetricType":{ "type":"string", "enum":[ "DynamoDBReadCapacityUtilization", "DynamoDBWriteCapacityUtilization" ] }, "MetricUnit":{"type":"string"}, "MinAdjustmentMagnitude":{"type":"integer"}, "ObjectNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

The specified object could not be found. For any Put or Register API operation, which depends on the existence of a scalable target, this exception is thrown if the scalable target with the specified service namespace, resource ID, and scalable dimension does not exist. For any Delete or Deregister API operation, this exception is thrown if the resource that is to be deleted or deregistered cannot be found.

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

The metric type.

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

Reserved for future use.

" } }, "documentation":"

Configures a predefined metric for a target tracking policy.

" }, "PutScalingPolicyRequest":{ "type":"structure", "required":[ "PolicyName", "ServiceNamespace", "ResourceId", "ScalableDimension" ], "members":{ "PolicyName":{ "shape":"PolicyName", "documentation":"

The name of the scaling policy.

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

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

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

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

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

The policy type. If you are creating a new policy, this parameter is required. If you are updating a policy, this parameter is not required.

For DynamoDB, only TargetTrackingScaling is supported. For any other service, only StepScaling is supported.

" }, "StepScalingPolicyConfiguration":{ "shape":"StepScalingPolicyConfiguration", "documentation":"

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

" }, "TargetTrackingScalingPolicyConfiguration":{ "shape":"TargetTrackingScalingPolicyConfiguration", "documentation":"

A target tracking policy.

This parameter is required if you are creating a new policy and the policy type is TargetTrackingScaling.

" } } }, "PutScalingPolicyResponse":{ "type":"structure", "required":["PolicyARN"], "members":{ "PolicyARN":{ "shape":"ResourceIdMaxLen1600", "documentation":"

The Amazon Resource Name (ARN) of the resulting scaling policy.

" }, "Alarms":{ "shape":"Alarms", "documentation":"

The CloudWatch alarms created for the target tracking policy.

" } } }, "RegisterScalableTargetRequest":{ "type":"structure", "required":[ "ServiceNamespace", "ResourceId", "ScalableDimension" ], "members":{ "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.

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

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.

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

The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target and optional if you are updating one.

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

The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target and optional if you are updating one.

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

The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. This parameter is required when you register a scalable target and optional when you update one.

" } } }, "RegisterScalableTargetResponse":{ "type":"structure", "members":{ } }, "ResourceCapacity":{"type":"integer"}, "ResourceId":{ "type":"string", "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "ResourceIdMaxLen1600":{ "type":"string", "max":1600, "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "ResourceIdsMaxLen1600":{ "type":"list", "member":{"shape":"ResourceIdMaxLen1600"} }, "ResourceLabel":{ "type":"string", "max":1023, "min":1 }, "ScalableDimension":{ "type":"string", "enum":[ "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits" ] }, "ScalableTarget":{ "type":"structure", "required":[ "ServiceNamespace", "ResourceId", "ScalableDimension", "MinCapacity", "MaxCapacity", "RoleARN", "CreationTime" ], "members":{ "ServiceNamespace":{ "shape":"ServiceNamespace", "documentation":"

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.

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

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.

" }, "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.

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

The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.

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

The Unix timestamp for when the scalable target was created.

" } }, "documentation":"

Represents a scalable target.

" }, "ScalableTargets":{ "type":"list", "member":{"shape":"ScalableTarget"} }, "ScalingActivities":{ "type":"list", "member":{"shape":"ScalingActivity"} }, "ScalingActivity":{ "type":"structure", "required":[ "ActivityId", "ServiceNamespace", "ResourceId", "ScalableDimension", "Description", "Cause", "StartTime", "StatusCode" ], "members":{ "ActivityId":{ "shape":"ResourceId", "documentation":"

The unique identifier of the scaling activity.

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

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.

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

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

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

A simple description of what action the scaling activity intends to accomplish.

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

A simple description of what caused the scaling activity to happen.

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

The Unix timestamp for when the scaling activity began.

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

The Unix timestamp for when the scaling activity ended.

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

Indicates the status of the scaling activity.

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

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

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

The details about the scaling activity.

" } }, "documentation":"

Represents a scaling activity.

" }, "ScalingActivityStatusCode":{ "type":"string", "enum":[ "Pending", "InProgress", "Successful", "Overridden", "Unfulfilled", "Failed" ] }, "ScalingAdjustment":{"type":"integer"}, "ScalingPolicies":{ "type":"list", "member":{"shape":"ScalingPolicy"} }, "ScalingPolicy":{ "type":"structure", "required":[ "PolicyARN", "PolicyName", "ServiceNamespace", "ResourceId", "ScalableDimension", "PolicyType", "CreationTime" ], "members":{ "PolicyARN":{ "shape":"ResourceIdMaxLen1600", "documentation":"

The Amazon Resource Name (ARN) of the scaling policy.

" }, "PolicyName":{ "shape":"PolicyName", "documentation":"

The name of the scaling policy.

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

The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

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

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

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

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

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

The scaling policy type.

" }, "StepScalingPolicyConfiguration":{ "shape":"StepScalingPolicyConfiguration", "documentation":"

A step scaling policy.

" }, "TargetTrackingScalingPolicyConfiguration":{ "shape":"TargetTrackingScalingPolicyConfiguration", "documentation":"

A target tracking policy.

" }, "Alarms":{ "shape":"Alarms", "documentation":"

The CloudWatch alarms associated with the scaling policy.

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

The Unix timestamp for when the scaling policy was created.

" } }, "documentation":"

Represents a scaling policy.

" }, "ServiceNamespace":{ "type":"string", "enum":[ "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb" ] }, "StepAdjustment":{ "type":"structure", "required":["ScalingAdjustment"], "members":{ "MetricIntervalLowerBound":{ "shape":"MetricScale", "documentation":"

The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

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

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

The upper bound must be greater than the lower bound.

" }, "ScalingAdjustment":{ "shape":"ScalingAdjustment", "documentation":"

The amount by which to scale, based on the specified adjustment type. A positive value adds to the current scalable dimension while a negative number removes from the current scalable dimension.

" } }, "documentation":"

Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

For the following examples, suppose that you have an alarm with a breach threshold of 50:

There are a few rules for the step adjustments for your step policy:

" }, "StepAdjustments":{ "type":"list", "member":{"shape":"StepAdjustment"} }, "StepScalingPolicyConfiguration":{ "type":"structure", "members":{ "AdjustmentType":{ "shape":"AdjustmentType", "documentation":"

The adjustment type, which specifies how the ScalingAdjustment parameter in a StepAdjustment is interpreted.

" }, "StepAdjustments":{ "shape":"StepAdjustments", "documentation":"

A set of adjustments that enable you to scale based on the size of the alarm breach.

" }, "MinAdjustmentMagnitude":{ "shape":"MinAdjustmentMagnitude", "documentation":"

The minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.

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

The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events.

For scale out policies, 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. For example, an alarm triggers a step scaling policy to scale out an Amazon ECS service by 2 tasks, the scaling activity completes successfully, and a cooldown period of 5 minutes starts. During the Cooldown period, if the alarm triggers the same policy again but at a more aggressive step adjustment to scale out the service by 3 tasks, the 2 tasks that were added in the previous scale out event are considered part of that capacity and only 1 additional task is added to the desired count.

For scale in policies, 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, Application Auto Scaling scales out your scalable target immediately.

" }, "MetricAggregationType":{ "shape":"MetricAggregationType", "documentation":"

The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average.

" } }, "documentation":"

Represents a step scaling policy configuration.

" }, "TargetTrackingScalingPolicyConfiguration":{ "type":"structure", "required":["TargetValue"], "members":{ "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).

" }, "PredefinedMetricSpecification":{ "shape":"PredefinedMetricSpecification", "documentation":"

A predefined metric.

" }, "CustomizedMetricSpecification":{ "shape":"CustomizedMetricSpecification", "documentation":"

Reserved for future use.

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

The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.

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.

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, Application Auto Scaling scales out your scalable target immediately.

" } }, "documentation":"

Represents a target tracking scaling policy configuration.

" }, "TimestampType":{"type":"timestamp"}, "ValidationException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, "documentation":"

An exception was thrown for a validation issue. Review the available parameters for the API request.

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

With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of Auto Scaling. You can use Application Auto Scaling to accomplish the following tasks:

Application Auto Scaling can scale the following AWS resources:

For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference.

" }