{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.autoscalingplans#AnyScaleScalingPlannerFrontendService": { "type": "service", "version": "2018-01-06", "operations": [ { "target": "com.amazonaws.autoscalingplans#CreateScalingPlan" }, { "target": "com.amazonaws.autoscalingplans#DeleteScalingPlan" }, { "target": "com.amazonaws.autoscalingplans#DescribeScalingPlanResources" }, { "target": "com.amazonaws.autoscalingplans#DescribeScalingPlans" }, { "target": "com.amazonaws.autoscalingplans#GetScalingPlanResourceForecastData" }, { "target": "com.amazonaws.autoscalingplans#UpdateScalingPlan" } ], "traits": { "aws.api#service": { "sdkId": "Auto Scaling Plans", "arnNamespace": "autoscaling-plans", "cloudFormationName": "AutoScalingPlans", "cloudTrailEventSource": "autoscalingplans.amazonaws.com", "endpointPrefix": "autoscaling-plans" }, "aws.auth#sigv4": { "name": "autoscaling-plans" }, "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "AWS Auto Scaling\n\n \n

Use AWS Auto Scaling to create scaling plans for your applications to\n automatically scale your scalable AWS resources.

\n

\n API Summary\n

\n

You can use the AWS Auto Scaling service API to accomplish the following tasks:

\n \n \n

To learn more about AWS Auto Scaling, including information about granting IAM users required\n permissions for AWS Auto Scaling actions, see the AWS Auto Scaling User Guide.

", "smithy.api#title": "AWS Auto Scaling Plans" } }, "com.amazonaws.autoscalingplans#ApplicationSource": { "type": "structure", "members": { "CloudFormationStackARN": { "target": "com.amazonaws.autoscalingplans#XmlString", "traits": { "smithy.api#documentation": "

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

" } }, "TagFilters": { "target": "com.amazonaws.autoscalingplans#TagFilters", "traits": { "smithy.api#documentation": "

A set of tags (up to 50).

" } } }, "traits": { "smithy.api#documentation": "

Represents an application source.

" } }, "com.amazonaws.autoscalingplans#ApplicationSources": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#ApplicationSource" } }, "com.amazonaws.autoscalingplans#ConcurrentUpdateException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.autoscalingplans#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.autoscalingplans#Cooldown": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#CreateScalingPlan": { "type": "operation", "input": { "target": "com.amazonaws.autoscalingplans#CreateScalingPlanRequest" }, "output": { "target": "com.amazonaws.autoscalingplans#CreateScalingPlanResponse" }, "errors": [ { "target": "com.amazonaws.autoscalingplans#ConcurrentUpdateException" }, { "target": "com.amazonaws.autoscalingplans#InternalServiceException" }, { "target": "com.amazonaws.autoscalingplans#LimitExceededException" }, { "target": "com.amazonaws.autoscalingplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Creates a scaling plan.

" } }, "com.amazonaws.autoscalingplans#CreateScalingPlanRequest": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan. Names cannot contain vertical bars, colons, or forward\n slashes.

", "smithy.api#required": {} } }, "ApplicationSource": { "target": "com.amazonaws.autoscalingplans#ApplicationSource", "traits": { "smithy.api#documentation": "

A CloudFormation stack or set of tags. You can create one scaling plan per application\n source.

\n

For more information, see ApplicationSource in the AWS Auto Scaling API Reference.

", "smithy.api#required": {} } }, "ScalingInstructions": { "target": "com.amazonaws.autoscalingplans#ScalingInstructions", "traits": { "smithy.api#documentation": "

The scaling instructions.

\n

For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.

", "smithy.api#required": {} } } } }, "com.amazonaws.autoscalingplans#CreateScalingPlanResponse": { "type": "structure", "members": { "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan. This value is always 1. Currently,\n you cannot have multiple scaling plan versions.

", "smithy.api#required": {} } } } }, "com.amazonaws.autoscalingplans#CustomizedLoadMetricSpecification": { "type": "structure", "members": { "MetricName": { "target": "com.amazonaws.autoscalingplans#MetricName", "traits": { "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } }, "Namespace": { "target": "com.amazonaws.autoscalingplans#MetricNamespace", "traits": { "smithy.api#documentation": "

The namespace of the metric.

", "smithy.api#required": {} } }, "Dimensions": { "target": "com.amazonaws.autoscalingplans#MetricDimensions", "traits": { "smithy.api#documentation": "

The dimensions of the metric.

\n

Conditional: If you published your metric with dimensions, you must specify the same\n dimensions in your customized load metric specification.

" } }, "Statistic": { "target": "com.amazonaws.autoscalingplans#MetricStatistic", "traits": { "smithy.api#documentation": "

The statistic of the metric. The only valid value is Sum.

", "smithy.api#required": {} } }, "Unit": { "target": "com.amazonaws.autoscalingplans#MetricUnit", "traits": { "smithy.api#documentation": "

The unit of the metric.

" } } }, "traits": { "smithy.api#documentation": "

Represents a CloudWatch metric of your choosing that can be used for predictive scaling.

\n

For predictive scaling to work with a customized load metric specification, AWS Auto Scaling\n needs access to the Sum and Average statistics that CloudWatch computes\n from metric data.

\n

When you choose a load metric, make sure that the required Sum and\n Average statistics for your metric are available in CloudWatch and that they\n provide relevant data for predictive scaling. The Sum statistic must represent\n the total load on the resource, and the Average statistic must represent the\n average load per capacity unit of the resource. For example, there is a metric that counts\n the number of requests processed by your Auto Scaling group. If the Sum statistic\n represents the total request count processed by the group, then the Average\n statistic for the specified metric must represent the average request count processed by\n each instance of the group.

\n

If you publish your own metrics, you can aggregate the data points at a given interval\n and then publish the aggregated data points to CloudWatch. Before AWS Auto Scaling generates the\n forecast, it sums up all the metric data points that occurred within each hour to match the\n granularity period that is used in the forecast (60 minutes).

\n

For information about terminology, available metrics, or how to publish new metrics, see\n Amazon CloudWatch\n Concepts in the Amazon CloudWatch User Guide.

\n

After creating your scaling plan, you can use the AWS Auto Scaling console to visualize\n forecasts for the specified metric. For more information, see View\n Scaling Information for a Resource in the\n AWS Auto Scaling User Guide.

" } }, "com.amazonaws.autoscalingplans#CustomizedScalingMetricSpecification": { "type": "structure", "members": { "MetricName": { "target": "com.amazonaws.autoscalingplans#MetricName", "traits": { "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } }, "Namespace": { "target": "com.amazonaws.autoscalingplans#MetricNamespace", "traits": { "smithy.api#documentation": "

The namespace of the metric.

", "smithy.api#required": {} } }, "Dimensions": { "target": "com.amazonaws.autoscalingplans#MetricDimensions", "traits": { "smithy.api#documentation": "

The dimensions of the metric.

\n

Conditional: If you published your metric with dimensions, you must specify the same\n dimensions in your customized scaling metric specification.

" } }, "Statistic": { "target": "com.amazonaws.autoscalingplans#MetricStatistic", "traits": { "smithy.api#documentation": "

The statistic of the metric.

", "smithy.api#required": {} } }, "Unit": { "target": "com.amazonaws.autoscalingplans#MetricUnit", "traits": { "smithy.api#documentation": "

The unit of the metric.

" } } }, "traits": { "smithy.api#documentation": "

Represents a CloudWatch metric of your choosing that can be used for dynamic scaling as part\n of a target tracking scaling policy.

\n

To create your customized scaling metric specification:

\n \n

For information about terminology, available metrics, or how to publish new metrics, see\n Amazon CloudWatch\n Concepts in the Amazon CloudWatch User Guide.

" } }, "com.amazonaws.autoscalingplans#Datapoint": { "type": "structure", "members": { "Timestamp": { "target": "com.amazonaws.autoscalingplans#TimestampType", "traits": { "smithy.api#documentation": "

The time stamp for the data point in UTC format.

" } }, "Value": { "target": "com.amazonaws.autoscalingplans#MetricScale", "traits": { "smithy.api#documentation": "

The value of the data point.

" } } }, "traits": { "smithy.api#documentation": "

Represents a single value in the forecast data used for predictive scaling.

" } }, "com.amazonaws.autoscalingplans#Datapoints": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#Datapoint" } }, "com.amazonaws.autoscalingplans#DeleteScalingPlan": { "type": "operation", "input": { "target": "com.amazonaws.autoscalingplans#DeleteScalingPlanRequest" }, "output": { "target": "com.amazonaws.autoscalingplans#DeleteScalingPlanResponse" }, "errors": [ { "target": "com.amazonaws.autoscalingplans#ConcurrentUpdateException" }, { "target": "com.amazonaws.autoscalingplans#InternalServiceException" }, { "target": "com.amazonaws.autoscalingplans#ObjectNotFoundException" }, { "target": "com.amazonaws.autoscalingplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Deletes the specified scaling plan.

\n

Deleting a scaling plan deletes the underlying ScalingInstruction for\n all of the scalable resources that are covered by the plan.

\n

If the plan has launched resources or has scaling activities in progress, you must\n delete those resources separately.

" } }, "com.amazonaws.autoscalingplans#DeleteScalingPlanRequest": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan.

", "smithy.api#required": {} } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan. Currently, the only valid value is\n 1.

", "smithy.api#required": {} } } } }, "com.amazonaws.autoscalingplans#DeleteScalingPlanResponse": { "type": "structure", "members": {} }, "com.amazonaws.autoscalingplans#DescribeScalingPlanResources": { "type": "operation", "input": { "target": "com.amazonaws.autoscalingplans#DescribeScalingPlanResourcesRequest" }, "output": { "target": "com.amazonaws.autoscalingplans#DescribeScalingPlanResourcesResponse" }, "errors": [ { "target": "com.amazonaws.autoscalingplans#ConcurrentUpdateException" }, { "target": "com.amazonaws.autoscalingplans#InternalServiceException" }, { "target": "com.amazonaws.autoscalingplans#InvalidNextTokenException" }, { "target": "com.amazonaws.autoscalingplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Describes the scalable resources in the specified scaling plan.

" } }, "com.amazonaws.autoscalingplans#DescribeScalingPlanResourcesRequest": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan.

", "smithy.api#required": {} } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan. Currently, the only valid value is\n 1.

", "smithy.api#required": {} } }, "MaxResults": { "target": "com.amazonaws.autoscalingplans#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of scalable resources to return. The value must be between\n 1 and 50. The default value is 50.

" } }, "NextToken": { "target": "com.amazonaws.autoscalingplans#NextToken", "traits": { "smithy.api#documentation": "

The token for the next set of results.

" } } } }, "com.amazonaws.autoscalingplans#DescribeScalingPlanResourcesResponse": { "type": "structure", "members": { "ScalingPlanResources": { "target": "com.amazonaws.autoscalingplans#ScalingPlanResources", "traits": { "smithy.api#documentation": "

Information about the scalable resources.

" } }, "NextToken": { "target": "com.amazonaws.autoscalingplans#NextToken", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.autoscalingplans#DescribeScalingPlans": { "type": "operation", "input": { "target": "com.amazonaws.autoscalingplans#DescribeScalingPlansRequest" }, "output": { "target": "com.amazonaws.autoscalingplans#DescribeScalingPlansResponse" }, "errors": [ { "target": "com.amazonaws.autoscalingplans#ConcurrentUpdateException" }, { "target": "com.amazonaws.autoscalingplans#InternalServiceException" }, { "target": "com.amazonaws.autoscalingplans#InvalidNextTokenException" }, { "target": "com.amazonaws.autoscalingplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Describes one or more of your scaling plans.

" } }, "com.amazonaws.autoscalingplans#DescribeScalingPlansRequest": { "type": "structure", "members": { "ScalingPlanNames": { "target": "com.amazonaws.autoscalingplans#ScalingPlanNames", "traits": { "smithy.api#documentation": "

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

" } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan. Currently, the only valid value is\n 1.

\n \n

If you specify a scaling plan version, you must also specify a scaling plan\n name.

\n
" } }, "ApplicationSources": { "target": "com.amazonaws.autoscalingplans#ApplicationSources", "traits": { "smithy.api#documentation": "

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

" } }, "MaxResults": { "target": "com.amazonaws.autoscalingplans#MaxResults", "traits": { "smithy.api#documentation": "

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

" } }, "NextToken": { "target": "com.amazonaws.autoscalingplans#NextToken", "traits": { "smithy.api#documentation": "

The token for the next set of results.

" } } } }, "com.amazonaws.autoscalingplans#DescribeScalingPlansResponse": { "type": "structure", "members": { "ScalingPlans": { "target": "com.amazonaws.autoscalingplans#ScalingPlans", "traits": { "smithy.api#documentation": "

Information about the scaling plans.

" } }, "NextToken": { "target": "com.amazonaws.autoscalingplans#NextToken", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.autoscalingplans#DisableDynamicScaling": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#DisableScaleIn": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#ErrorMessage": { "type": "string" }, "com.amazonaws.autoscalingplans#ForecastDataType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CapacityForecast", "name": "CapacityForecast" }, { "value": "LoadForecast", "name": "LoadForecast" }, { "value": "ScheduledActionMinCapacity", "name": "ScheduledActionMinCapacity" }, { "value": "ScheduledActionMaxCapacity", "name": "ScheduledActionMaxCapacity" } ] } }, "com.amazonaws.autoscalingplans#GetScalingPlanResourceForecastData": { "type": "operation", "input": { "target": "com.amazonaws.autoscalingplans#GetScalingPlanResourceForecastDataRequest" }, "output": { "target": "com.amazonaws.autoscalingplans#GetScalingPlanResourceForecastDataResponse" }, "errors": [ { "target": "com.amazonaws.autoscalingplans#InternalServiceException" }, { "target": "com.amazonaws.autoscalingplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Retrieves the forecast data for a scalable resource.

\n

Capacity forecasts are represented as predicted values, or data points, that are\n calculated using historical data points from a specified CloudWatch load metric. Data points are\n available for up to 56 days.

" } }, "com.amazonaws.autoscalingplans#GetScalingPlanResourceForecastDataRequest": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan.

", "smithy.api#required": {} } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan. Currently, the only valid value is\n 1.

", "smithy.api#required": {} } }, "ServiceNamespace": { "target": "com.amazonaws.autoscalingplans#ServiceNamespace", "traits": { "smithy.api#documentation": "

The namespace of the AWS service. The only valid value is autoscaling.\n

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.autoscalingplans#XmlString", "traits": { "smithy.api#documentation": "

The ID of the resource. This string consists of a prefix (autoScalingGroup)\n followed by the name of a specified Auto Scaling group (my-asg). Example:\n autoScalingGroup/my-asg.

", "smithy.api#required": {} } }, "ScalableDimension": { "target": "com.amazonaws.autoscalingplans#ScalableDimension", "traits": { "smithy.api#documentation": "

The scalable dimension for the resource. The only valid value is\n autoscaling:autoScalingGroup:DesiredCapacity.

", "smithy.api#required": {} } }, "ForecastDataType": { "target": "com.amazonaws.autoscalingplans#ForecastDataType", "traits": { "smithy.api#documentation": "

The type of forecast data to get.

\n ", "smithy.api#required": {} } }, "StartTime": { "target": "com.amazonaws.autoscalingplans#TimestampType", "traits": { "smithy.api#documentation": "

The inclusive start time of the time range for the forecast data to get. The date and\n time can be at most 56 days before the current date and time.

", "smithy.api#required": {} } }, "EndTime": { "target": "com.amazonaws.autoscalingplans#TimestampType", "traits": { "smithy.api#documentation": "

The exclusive end time of the time range for the forecast data to get. The maximum time\n duration between the start and end time is seven days.

\n

Although this parameter can accept a date and time that is more than two days in the\n future, the availability of forecast data has limits. AWS Auto Scaling only issues forecasts for\n periods of two days in advance.

", "smithy.api#required": {} } } } }, "com.amazonaws.autoscalingplans#GetScalingPlanResourceForecastDataResponse": { "type": "structure", "members": { "Datapoints": { "target": "com.amazonaws.autoscalingplans#Datapoints", "traits": { "smithy.api#documentation": "

The data points to return.

", "smithy.api#required": {} } } } }, "com.amazonaws.autoscalingplans#InternalServiceException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.autoscalingplans#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

The service encountered an internal error.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.autoscalingplans#InvalidNextTokenException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.autoscalingplans#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

The token provided is not valid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscalingplans#LimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.autoscalingplans#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscalingplans#LoadMetricType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ASGTotalCPUUtilization", "name": "ASGTotalCPUUtilization" }, { "value": "ASGTotalNetworkIn", "name": "ASGTotalNetworkIn" }, { "value": "ASGTotalNetworkOut", "name": "ASGTotalNetworkOut" }, { "value": "ALBTargetGroupRequestCount", "name": "ALBTargetGroupRequestCount" } ] } }, "com.amazonaws.autoscalingplans#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#MetricDimension": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.autoscalingplans#MetricDimensionName", "traits": { "smithy.api#documentation": "

The name of the dimension.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.autoscalingplans#MetricDimensionValue", "traits": { "smithy.api#documentation": "

The value of the dimension.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Represents a dimension for a customized metric.

" } }, "com.amazonaws.autoscalingplans#MetricDimensionName": { "type": "string" }, "com.amazonaws.autoscalingplans#MetricDimensionValue": { "type": "string" }, "com.amazonaws.autoscalingplans#MetricDimensions": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#MetricDimension" } }, "com.amazonaws.autoscalingplans#MetricName": { "type": "string" }, "com.amazonaws.autoscalingplans#MetricNamespace": { "type": "string" }, "com.amazonaws.autoscalingplans#MetricScale": { "type": "double", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#MetricStatistic": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Average", "name": "Average" }, { "value": "Minimum", "name": "Minimum" }, { "value": "Maximum", "name": "Maximum" }, { "value": "SampleCount", "name": "SampleCount" }, { "value": "Sum", "name": "Sum" } ] } }, "com.amazonaws.autoscalingplans#MetricUnit": { "type": "string" }, "com.amazonaws.autoscalingplans#NextToken": { "type": "string" }, "com.amazonaws.autoscalingplans#ObjectNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.autoscalingplans#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

The specified object could not be found.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscalingplans#PolicyName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "\\p{Print}+" } }, "com.amazonaws.autoscalingplans#PolicyType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "TargetTrackingScaling", "name": "TargetTrackingScaling" } ] } }, "com.amazonaws.autoscalingplans#PredefinedLoadMetricSpecification": { "type": "structure", "members": { "PredefinedLoadMetricType": { "target": "com.amazonaws.autoscalingplans#LoadMetricType", "traits": { "smithy.api#documentation": "

The metric type.

", "smithy.api#required": {} } }, "ResourceLabel": { "target": "com.amazonaws.autoscalingplans#ResourceLabel", "traits": { "smithy.api#documentation": "

Identifies the resource associated with the metric type. You can't specify a resource\n label unless the metric type is ALBTargetGroupRequestCount and there is a\n target group for an Application Load Balancer attached to the Auto Scaling group.

\n

You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format is\n app///targetgroup//,\n where:

\n \n

This is an example:\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.

\n

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use\n the DescribeTargetGroups API operation.

" } } }, "traits": { "smithy.api#documentation": "

Represents a predefined metric that can be used for predictive scaling.

\n

After creating your scaling plan, you can use the AWS Auto Scaling console to visualize\n forecasts for the specified metric. For more information, see View\n Scaling Information for a Resource in the\n AWS Auto Scaling User Guide.

" } }, "com.amazonaws.autoscalingplans#PredefinedScalingMetricSpecification": { "type": "structure", "members": { "PredefinedScalingMetricType": { "target": "com.amazonaws.autoscalingplans#ScalingMetricType", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "ResourceLabel": { "target": "com.amazonaws.autoscalingplans#ResourceLabel", "traits": { "smithy.api#documentation": "

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

\n

You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format is\n app///targetgroup//,\n where:

\n \n

This is an example:\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.

\n

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use\n the DescribeTargetGroups API operation.

" } } }, "traits": { "smithy.api#documentation": "

Represents a predefined metric that can be used for dynamic scaling as part of a target\n tracking scaling policy.

" } }, "com.amazonaws.autoscalingplans#PredictiveScalingMaxCapacityBehavior": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SetForecastCapacityToMaxCapacity", "name": "SetForecastCapacityToMaxCapacity" }, { "value": "SetMaxCapacityToForecastCapacity", "name": "SetMaxCapacityToForecastCapacity" }, { "value": "SetMaxCapacityAboveForecastCapacity", "name": "SetMaxCapacityAboveForecastCapacity" } ] } }, "com.amazonaws.autoscalingplans#PredictiveScalingMode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ForecastAndScale", "name": "ForecastAndScale" }, { "value": "ForecastOnly", "name": "ForecastOnly" } ] } }, "com.amazonaws.autoscalingplans#ResourceCapacity": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#ResourceIdMaxLen1600": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1600 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscalingplans#ResourceLabel": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1023 } } }, "com.amazonaws.autoscalingplans#ScalableDimension": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "autoscaling:autoScalingGroup:DesiredCapacity", "name": "AutoScalingGroupDesiredCapacity" }, { "value": "ecs:service:DesiredCount", "name": "ECSServiceDesiredCount" }, { "value": "ec2:spot-fleet-request:TargetCapacity", "name": "EC2SpotFleetRequestTargetCapacity" }, { "value": "rds:cluster:ReadReplicaCount", "name": "RDSClusterReadReplicaCount" }, { "value": "dynamodb:table:ReadCapacityUnits", "name": "DynamoDBTableReadCapacityUnits" }, { "value": "dynamodb:table:WriteCapacityUnits", "name": "DynamoDBTableWriteCapacityUnits" }, { "value": "dynamodb:index:ReadCapacityUnits", "name": "DynamoDBIndexReadCapacityUnits" }, { "value": "dynamodb:index:WriteCapacityUnits", "name": "DynamoDBIndexWriteCapacityUnits" } ] } }, "com.amazonaws.autoscalingplans#ScalingInstruction": { "type": "structure", "members": { "ServiceNamespace": { "target": "com.amazonaws.autoscalingplans#ServiceNamespace", "traits": { "smithy.api#documentation": "

The namespace of the AWS service.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.autoscalingplans#ResourceIdMaxLen1600", "traits": { "smithy.api#documentation": "

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

\n ", "smithy.api#required": {} } }, "ScalableDimension": { "target": "com.amazonaws.autoscalingplans#ScalableDimension", "traits": { "smithy.api#documentation": "

The scalable dimension associated with the resource.

\n ", "smithy.api#required": {} } }, "MinCapacity": { "target": "com.amazonaws.autoscalingplans#ResourceCapacity", "traits": { "smithy.api#documentation": "

The minimum capacity of the resource.

", "smithy.api#required": {} } }, "MaxCapacity": { "target": "com.amazonaws.autoscalingplans#ResourceCapacity", "traits": { "smithy.api#documentation": "

The maximum capacity of the resource. The exception to this upper limit is if you\n specify a non-default setting for PredictiveScalingMaxCapacityBehavior.

", "smithy.api#required": {} } }, "TargetTrackingConfigurations": { "target": "com.amazonaws.autoscalingplans#TargetTrackingConfigurations", "traits": { "smithy.api#documentation": "

The target tracking configurations (up to 10). Each of these structures must specify a\n unique scaling metric and a target value for the metric.

", "smithy.api#required": {} } }, "PredefinedLoadMetricSpecification": { "target": "com.amazonaws.autoscalingplans#PredefinedLoadMetricSpecification", "traits": { "smithy.api#documentation": "

The predefined load metric to use for predictive scaling. This parameter or a CustomizedLoadMetricSpecification is required when configuring\n predictive scaling, and cannot be used otherwise.

" } }, "CustomizedLoadMetricSpecification": { "target": "com.amazonaws.autoscalingplans#CustomizedLoadMetricSpecification", "traits": { "smithy.api#documentation": "

The customized load metric to use for predictive scaling. This parameter or a PredefinedLoadMetricSpecification is required when configuring\n predictive scaling, and cannot be used otherwise.

" } }, "ScheduledActionBufferTime": { "target": "com.amazonaws.autoscalingplans#ScheduledActionBufferTime", "traits": { "smithy.api#documentation": "

The amount of time, in seconds, to buffer the run time of scheduled scaling actions when\n scaling out. For example, if the forecast says to add capacity at 10:00 AM, and the buffer\n time is 5 minutes, then the run time of the corresponding scheduled scaling action will be\n 9:55 AM. The intention is to give resources time to be provisioned. For example, it can\n take a few minutes to launch an EC2 instance. The actual amount of time required depends on\n several factors, such as the size of the instance and whether there are startup scripts to\n complete.

\n

The value must be less than the forecast interval duration of 3600 seconds (60 minutes).\n The default is 300 seconds.

\n

Only valid when configuring predictive scaling.

" } }, "PredictiveScalingMaxCapacityBehavior": { "target": "com.amazonaws.autoscalingplans#PredictiveScalingMaxCapacityBehavior", "traits": { "smithy.api#documentation": "

Defines the behavior that should be applied if the forecast capacity approaches or\n exceeds the maximum capacity specified for the resource. The default value is\n SetForecastCapacityToMaxCapacity.

\n

The following are possible values:

\n \n

Only valid when configuring predictive scaling.

" } }, "PredictiveScalingMaxCapacityBuffer": { "target": "com.amazonaws.autoscalingplans#ResourceCapacity", "traits": { "smithy.api#documentation": "

The size of the capacity buffer to use when the forecast capacity is close to or exceeds\n the maximum capacity. The value is specified as a percentage relative to the forecast\n capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if\n the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum\n capacity is 55.

\n

Only valid when configuring predictive scaling. Required if the PredictiveScalingMaxCapacityBehavior is set to\n SetMaxCapacityAboveForecastCapacity, and cannot be used otherwise.

\n

The range is 1-100.

" } }, "PredictiveScalingMode": { "target": "com.amazonaws.autoscalingplans#PredictiveScalingMode", "traits": { "smithy.api#documentation": "

The predictive scaling mode. The default value is ForecastAndScale.\n Otherwise, AWS Auto Scaling forecasts capacity but does not create any scheduled scaling actions\n based on the capacity forecast.

" } }, "ScalingPolicyUpdateBehavior": { "target": "com.amazonaws.autoscalingplans#ScalingPolicyUpdateBehavior", "traits": { "smithy.api#documentation": "

Controls whether a resource's externally created scaling policies are kept or replaced.

\n

The default value is KeepExternalPolicies. If the parameter is set to\n ReplaceExternalPolicies, any scaling policies that are external to AWS Auto Scaling\n are deleted and new target tracking scaling policies created.

\n

Only valid when configuring dynamic scaling.

\n

Condition: The number of existing policies to be replaced must be less than or equal to\n 50. If there are more than 50 policies to be replaced, AWS Auto Scaling keeps all existing policies\n and does not create new ones.

" } }, "DisableDynamicScaling": { "target": "com.amazonaws.autoscalingplans#DisableDynamicScaling", "traits": { "smithy.api#documentation": "

Controls whether dynamic scaling by AWS Auto Scaling is disabled. When dynamic scaling is\n enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target\n tracking configurations.

\n

The default is enabled (false).

" } } }, "traits": { "smithy.api#documentation": "

Describes a scaling instruction for a scalable resource in a scaling plan. Each scaling\n instruction applies to one resource.

\n

AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions.\n Target tracking scaling policies adjust the capacity of your scalable resource as required\n to maintain resource utilization at the target value that you specified.

\n

AWS Auto Scaling also configures predictive scaling for your Amazon EC2 Auto Scaling groups using a subset of\n parameters, including the load metric, the scaling metric, the target value for the scaling\n metric, the predictive scaling mode (forecast and scale or forecast only), and the desired\n behavior when the forecast capacity exceeds the maximum capacity of the resource. With\n predictive scaling, AWS Auto Scaling generates forecasts with traffic predictions for the two days\n ahead and schedules scaling actions that proactively add and remove resource capacity to\n match the forecast.

\n \n

We recommend waiting a minimum of 24 hours after creating an Auto Scaling group to configure\n predictive scaling. At minimum, there must be 24 hours of historical data to generate a\n forecast. For more information, see Best Practices for\n AWS Auto Scaling in the AWS Auto Scaling User Guide.

\n
" } }, "com.amazonaws.autoscalingplans#ScalingInstructions": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#ScalingInstruction" } }, "com.amazonaws.autoscalingplans#ScalingMetricType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ASGAverageCPUUtilization", "name": "ASGAverageCPUUtilization" }, { "value": "ASGAverageNetworkIn", "name": "ASGAverageNetworkIn" }, { "value": "ASGAverageNetworkOut", "name": "ASGAverageNetworkOut" }, { "value": "DynamoDBReadCapacityUtilization", "name": "DynamoDBReadCapacityUtilization" }, { "value": "DynamoDBWriteCapacityUtilization", "name": "DynamoDBWriteCapacityUtilization" }, { "value": "ECSServiceAverageCPUUtilization", "name": "ECSServiceAverageCPUUtilization" }, { "value": "ECSServiceAverageMemoryUtilization", "name": "ECSServiceAverageMemoryUtilization" }, { "value": "ALBRequestCountPerTarget", "name": "ALBRequestCountPerTarget" }, { "value": "RDSReaderAverageCPUUtilization", "name": "RDSReaderAverageCPUUtilization" }, { "value": "RDSReaderAverageDatabaseConnections", "name": "RDSReaderAverageDatabaseConnections" }, { "value": "EC2SpotFleetRequestAverageCPUUtilization", "name": "EC2SpotFleetRequestAverageCPUUtilization" }, { "value": "EC2SpotFleetRequestAverageNetworkIn", "name": "EC2SpotFleetRequestAverageNetworkIn" }, { "value": "EC2SpotFleetRequestAverageNetworkOut", "name": "EC2SpotFleetRequestAverageNetworkOut" } ] } }, "com.amazonaws.autoscalingplans#ScalingPlan": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan.

", "smithy.api#required": {} } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan.

", "smithy.api#required": {} } }, "ApplicationSource": { "target": "com.amazonaws.autoscalingplans#ApplicationSource", "traits": { "smithy.api#documentation": "

A CloudFormation stack or a set of tags. You can create one scaling plan per application\n source.

", "smithy.api#required": {} } }, "ScalingInstructions": { "target": "com.amazonaws.autoscalingplans#ScalingInstructions", "traits": { "smithy.api#documentation": "

The scaling instructions.

", "smithy.api#required": {} } }, "StatusCode": { "target": "com.amazonaws.autoscalingplans#ScalingPlanStatusCode", "traits": { "smithy.api#documentation": "

The status of the scaling plan.

\n ", "smithy.api#required": {} } }, "StatusMessage": { "target": "com.amazonaws.autoscalingplans#XmlString", "traits": { "smithy.api#documentation": "

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

" } }, "StatusStartTime": { "target": "com.amazonaws.autoscalingplans#TimestampType", "traits": { "smithy.api#documentation": "

The Unix time stamp when the scaling plan entered the current status.

" } }, "CreationTime": { "target": "com.amazonaws.autoscalingplans#TimestampType", "traits": { "smithy.api#documentation": "

The Unix time stamp when the scaling plan was created.

" } } }, "traits": { "smithy.api#documentation": "

Represents a scaling plan.

" } }, "com.amazonaws.autoscalingplans#ScalingPlanName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[\\p{Print}&&[^|:/]]+" } }, "com.amazonaws.autoscalingplans#ScalingPlanNames": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName" } }, "com.amazonaws.autoscalingplans#ScalingPlanResource": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan.

", "smithy.api#required": {} } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan.

", "smithy.api#required": {} } }, "ServiceNamespace": { "target": "com.amazonaws.autoscalingplans#ServiceNamespace", "traits": { "smithy.api#documentation": "

The namespace of the AWS service.

", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.autoscalingplans#ResourceIdMaxLen1600", "traits": { "smithy.api#documentation": "

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

\n ", "smithy.api#required": {} } }, "ScalableDimension": { "target": "com.amazonaws.autoscalingplans#ScalableDimension", "traits": { "smithy.api#documentation": "

The scalable dimension for the resource.

\n ", "smithy.api#required": {} } }, "ScalingPolicies": { "target": "com.amazonaws.autoscalingplans#ScalingPolicies", "traits": { "smithy.api#documentation": "

The scaling policies.

" } }, "ScalingStatusCode": { "target": "com.amazonaws.autoscalingplans#ScalingStatusCode", "traits": { "smithy.api#documentation": "

The scaling status of the resource.

\n ", "smithy.api#required": {} } }, "ScalingStatusMessage": { "target": "com.amazonaws.autoscalingplans#XmlString", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Represents a scalable resource.

" } }, "com.amazonaws.autoscalingplans#ScalingPlanResources": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#ScalingPlanResource" } }, "com.amazonaws.autoscalingplans#ScalingPlanStatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Active", "name": "Active" }, { "value": "ActiveWithProblems", "name": "ActiveWithProblems" }, { "value": "CreationInProgress", "name": "CreationInProgress" }, { "value": "CreationFailed", "name": "CreationFailed" }, { "value": "DeletionInProgress", "name": "DeletionInProgress" }, { "value": "DeletionFailed", "name": "DeletionFailed" }, { "value": "UpdateInProgress", "name": "UpdateInProgress" }, { "value": "UpdateFailed", "name": "UpdateFailed" } ] } }, "com.amazonaws.autoscalingplans#ScalingPlanVersion": { "type": "long", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscalingplans#ScalingPlans": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#ScalingPlan" } }, "com.amazonaws.autoscalingplans#ScalingPolicies": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#ScalingPolicy" } }, "com.amazonaws.autoscalingplans#ScalingPolicy": { "type": "structure", "members": { "PolicyName": { "target": "com.amazonaws.autoscalingplans#PolicyName", "traits": { "smithy.api#documentation": "

The name of the scaling policy.

", "smithy.api#required": {} } }, "PolicyType": { "target": "com.amazonaws.autoscalingplans#PolicyType", "traits": { "smithy.api#documentation": "

The type of scaling policy.

", "smithy.api#required": {} } }, "TargetTrackingConfiguration": { "target": "com.amazonaws.autoscalingplans#TargetTrackingConfiguration", "traits": { "smithy.api#documentation": "

The target tracking scaling policy. Includes support for predefined or customized\n metrics.

" } } }, "traits": { "smithy.api#documentation": "

Represents a scaling policy.

" } }, "com.amazonaws.autoscalingplans#ScalingPolicyUpdateBehavior": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "KeepExternalPolicies", "name": "KeepExternalPolicies" }, { "value": "ReplaceExternalPolicies", "name": "ReplaceExternalPolicies" } ] } }, "com.amazonaws.autoscalingplans#ScalingStatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Inactive", "name": "Inactive" }, { "value": "PartiallyActive", "name": "PartiallyActive" }, { "value": "Active", "name": "Active" } ] } }, "com.amazonaws.autoscalingplans#ScheduledActionBufferTime": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscalingplans#ServiceNamespace": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "autoscaling", "name": "AUTOSCALING" }, { "value": "ecs", "name": "ECS" }, { "value": "ec2", "name": "EC2" }, { "value": "rds", "name": "RDS" }, { "value": "dynamodb", "name": "DYNAMODB" } ] } }, "com.amazonaws.autoscalingplans#TagFilter": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.autoscalingplans#XmlStringMaxLen128", "traits": { "smithy.api#documentation": "

The tag key.

" } }, "Values": { "target": "com.amazonaws.autoscalingplans#TagValues", "traits": { "smithy.api#documentation": "

The tag values (0 to 20).

" } } }, "traits": { "smithy.api#documentation": "

Represents a tag.

" } }, "com.amazonaws.autoscalingplans#TagFilters": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#TagFilter" } }, "com.amazonaws.autoscalingplans#TagValues": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#XmlStringMaxLen256" } }, "com.amazonaws.autoscalingplans#TargetTrackingConfiguration": { "type": "structure", "members": { "PredefinedScalingMetricSpecification": { "target": "com.amazonaws.autoscalingplans#PredefinedScalingMetricSpecification", "traits": { "smithy.api#documentation": "

A predefined metric. You can specify either a predefined metric or a customized\n metric.

" } }, "CustomizedScalingMetricSpecification": { "target": "com.amazonaws.autoscalingplans#CustomizedScalingMetricSpecification", "traits": { "smithy.api#documentation": "

A customized metric. You can specify either a predefined metric or a customized metric.\n

" } }, "TargetValue": { "target": "com.amazonaws.autoscalingplans#MetricScale", "traits": { "smithy.api#documentation": "

The target value for the metric. Although this property accepts numbers of type Double,\n it won't accept values that are either too small or too large. Values must be in the range\n of -2^360 to 2^360.

", "smithy.api#required": {} } }, "DisableScaleIn": { "target": "com.amazonaws.autoscalingplans#DisableScaleIn", "traits": { "smithy.api#documentation": "

Indicates whether scale in by the target tracking scaling policy is disabled. If the\n value is true, scale in is disabled and the target tracking scaling policy\n doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the\n target tracking scaling policy can remove capacity from the scalable resource.

\n

The default value is false.

" } }, "ScaleOutCooldown": { "target": "com.amazonaws.autoscalingplans#Cooldown", "traits": { "smithy.api#documentation": "

The amount of time, in seconds, to wait for a previous scale-out activity to take\n effect. This property is not used if the scalable resource is an Auto Scaling\n group.

\n

With the scale-out cooldown period, the intention is to continuously\n (but not excessively) scale out. After Auto Scaling successfully scales out using a target\n tracking scaling policy, it starts to calculate the cooldown time. The scaling policy won't\n increase the desired capacity again unless either a larger scale out is triggered or the\n cooldown period ends.

" } }, "ScaleInCooldown": { "target": "com.amazonaws.autoscalingplans#Cooldown", "traits": { "smithy.api#documentation": "

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

\n

With the scale-in cooldown period, the intention is to scale in\n conservatively to protect your application’s availability, so scale-in activities are blocked\n until the cooldown period has expired. However, if another alarm triggers a scale-out activity\n during the scale-in cooldown period, Auto Scaling scales out the target immediately. In this case,\n the scale-in cooldown period stops and doesn't complete.

" } }, "EstimatedInstanceWarmup": { "target": "com.amazonaws.autoscalingplans#Cooldown", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Describes a target tracking configuration to use with AWS Auto Scaling. Used with ScalingInstruction and ScalingPolicy.

" } }, "com.amazonaws.autoscalingplans#TargetTrackingConfigurations": { "type": "list", "member": { "target": "com.amazonaws.autoscalingplans#TargetTrackingConfiguration" } }, "com.amazonaws.autoscalingplans#TimestampType": { "type": "timestamp" }, "com.amazonaws.autoscalingplans#UpdateScalingPlan": { "type": "operation", "input": { "target": "com.amazonaws.autoscalingplans#UpdateScalingPlanRequest" }, "output": { "target": "com.amazonaws.autoscalingplans#UpdateScalingPlanResponse" }, "errors": [ { "target": "com.amazonaws.autoscalingplans#ConcurrentUpdateException" }, { "target": "com.amazonaws.autoscalingplans#InternalServiceException" }, { "target": "com.amazonaws.autoscalingplans#ObjectNotFoundException" }, { "target": "com.amazonaws.autoscalingplans#ValidationException" } ], "traits": { "smithy.api#documentation": "

Updates the specified scaling plan.

\n

You cannot update a scaling plan if it is in the process of being created, updated, or\n deleted.

" } }, "com.amazonaws.autoscalingplans#UpdateScalingPlanRequest": { "type": "structure", "members": { "ScalingPlanName": { "target": "com.amazonaws.autoscalingplans#ScalingPlanName", "traits": { "smithy.api#documentation": "

The name of the scaling plan.

", "smithy.api#required": {} } }, "ScalingPlanVersion": { "target": "com.amazonaws.autoscalingplans#ScalingPlanVersion", "traits": { "smithy.api#documentation": "

The version number of the scaling plan. The only valid value is 1.\n Currently, you cannot have multiple scaling plan versions.

", "smithy.api#required": {} } }, "ApplicationSource": { "target": "com.amazonaws.autoscalingplans#ApplicationSource", "traits": { "smithy.api#documentation": "

A CloudFormation stack or set of tags.

\n

For more information, see ApplicationSource in the AWS Auto Scaling API Reference.

" } }, "ScalingInstructions": { "target": "com.amazonaws.autoscalingplans#ScalingInstructions", "traits": { "smithy.api#documentation": "

The scaling instructions.

\n

For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.

" } } } }, "com.amazonaws.autoscalingplans#UpdateScalingPlanResponse": { "type": "structure", "members": {} }, "com.amazonaws.autoscalingplans#ValidationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.autoscalingplans#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

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

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscalingplans#XmlString": { "type": "string", "traits": { "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscalingplans#XmlStringMaxLen128": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscalingplans#XmlStringMaxLen256": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } } } }