|
1678 | 1678 | "members":{
|
1679 | 1679 | "Timestamps":{
|
1680 | 1680 | "shape":"PredictiveScalingForecastTimestamps",
|
1681 |
| - "documentation":"<p>The time stamps for the data points, in UTC format.</p>" |
| 1681 | + "documentation":"<p>The timestamps for the data points, in UTC format.</p>" |
1682 | 1682 | },
|
1683 | 1683 | "Values":{
|
1684 | 1684 | "shape":"PredictiveScalingForecastValues",
|
|
3603 | 3603 | "members":{
|
3604 | 3604 | "Timestamps":{
|
3605 | 3605 | "shape":"PredictiveScalingForecastTimestamps",
|
3606 |
| - "documentation":"<p>The time stamps for the data points, in UTC format.</p>" |
| 3606 | + "documentation":"<p>The timestamps for the data points, in UTC format.</p>" |
3607 | 3607 | },
|
3608 | 3608 | "Values":{
|
3609 | 3609 | "shape":"PredictiveScalingForecastValues",
|
|
3676 | 3676 | },
|
3677 | 3677 | "documentation":"<p>Specifies the minimum and maximum for the <code>MemoryMiB</code> object when you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>"
|
3678 | 3678 | },
|
| 3679 | + "Metric":{ |
| 3680 | + "type":"structure", |
| 3681 | + "required":[ |
| 3682 | + "Namespace", |
| 3683 | + "MetricName" |
| 3684 | + ], |
| 3685 | + "members":{ |
| 3686 | + "Namespace":{ |
| 3687 | + "shape":"MetricNamespace", |
| 3688 | + "documentation":"<p>The namespace of the metric. For more information, see the table in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html\">Amazon Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User Guide</i>.</p>" |
| 3689 | + }, |
| 3690 | + "MetricName":{ |
| 3691 | + "shape":"MetricName", |
| 3692 | + "documentation":"<p>The name of the metric.</p>" |
| 3693 | + }, |
| 3694 | + "Dimensions":{ |
| 3695 | + "shape":"MetricDimensions", |
| 3696 | + "documentation":"<p>The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html\">Amazon Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User Guide</i>. </p> <p>Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.</p>" |
| 3697 | + } |
| 3698 | + }, |
| 3699 | + "documentation":"<p>Represents a specific metric. </p>" |
| 3700 | + }, |
3679 | 3701 | "MetricCollectionType":{
|
3680 | 3702 | "type":"structure",
|
3681 | 3703 | "members":{
|
|
3690 | 3712 | "type":"list",
|
3691 | 3713 | "member":{"shape":"MetricCollectionType"}
|
3692 | 3714 | },
|
| 3715 | + "MetricDataQueries":{ |
| 3716 | + "type":"list", |
| 3717 | + "member":{"shape":"MetricDataQuery"} |
| 3718 | + }, |
| 3719 | + "MetricDataQuery":{ |
| 3720 | + "type":"structure", |
| 3721 | + "required":["Id"], |
| 3722 | + "members":{ |
| 3723 | + "Id":{ |
| 3724 | + "shape":"XmlStringMaxLen255", |
| 3725 | + "documentation":"<p>A short name that identifies the object's results in the response. This name must be unique among all <code>MetricDataQuery</code> objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter. </p>" |
| 3726 | + }, |
| 3727 | + "Expression":{ |
| 3728 | + "shape":"XmlStringMaxLen1023", |
| 3729 | + "documentation":"<p>The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the <code>Id</code> of the other metrics to refer to those metrics, and can also use the <code>Id</code> of other expressions to use the result of those expressions. </p> <p>For example, to use search expressions, use the SEARCH() function in your metric math expression to combine multiple metrics from Auto Scaling groups that use a specific name prefix.</p> <p>Conditional: Within each <code>MetricDataQuery</code> object, you must specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>" |
| 3730 | + }, |
| 3731 | + "MetricStat":{ |
| 3732 | + "shape":"MetricStat", |
| 3733 | + "documentation":"<p>Information about the metric data to return.</p> <p>Conditional: Within each <code>MetricDataQuery</code> object, you must specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>" |
| 3734 | + }, |
| 3735 | + "Label":{ |
| 3736 | + "shape":"XmlStringMetricLabel", |
| 3737 | + "documentation":"<p>A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.</p>" |
| 3738 | + }, |
| 3739 | + "ReturnData":{ |
| 3740 | + "shape":"ReturnData", |
| 3741 | + "documentation":"<p>Indicates whether to return the timestamps and raw data values of this metric. </p> <p>If you use any math expressions, specify <code>True</code> for this value for only the final math expression that the metric specification is based on. You must specify <code>False</code> for <code>ReturnData</code> for all the other metrics and expressions used in the metric specification.</p> <p>If you are only retrieving metrics and not performing any math expressions, do not specify anything for <code>ReturnData</code>. This sets it to its default (<code>True</code>).</p>" |
| 3742 | + } |
| 3743 | + }, |
| 3744 | + "documentation":"<p>The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.</p> <p>For more information and examples, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html\">Advanced predictive scaling policy configurations using customized metrics</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>" |
| 3745 | + }, |
3693 | 3746 | "MetricDimension":{
|
3694 | 3747 | "type":"structure",
|
3695 | 3748 | "required":[
|
|
3731 | 3784 | "MetricName":{"type":"string"},
|
3732 | 3785 | "MetricNamespace":{"type":"string"},
|
3733 | 3786 | "MetricScale":{"type":"double"},
|
| 3787 | + "MetricStat":{ |
| 3788 | + "type":"structure", |
| 3789 | + "required":[ |
| 3790 | + "Metric", |
| 3791 | + "Stat" |
| 3792 | + ], |
| 3793 | + "members":{ |
| 3794 | + "Metric":{ |
| 3795 | + "shape":"Metric", |
| 3796 | + "documentation":"<p>The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html\">Metric</a> object that is returned by a call to <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html\">ListMetrics</a>.</p>" |
| 3797 | + }, |
| 3798 | + "Stat":{ |
| 3799 | + "shape":"XmlStringMetricStat", |
| 3800 | + "documentation":"<p>The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic\">Statistics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>The most commonly used metrics for predictive scaling are <code>Average</code> and <code>Sum</code>.</p>" |
| 3801 | + }, |
| 3802 | + "Unit":{ |
| 3803 | + "shape":"MetricUnit", |
| 3804 | + "documentation":"<p>The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html\">MetricDatum</a> data type in the <i>Amazon CloudWatch API Reference</i>. </p>" |
| 3805 | + } |
| 3806 | + }, |
| 3807 | + "documentation":"<p>This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.</p> <p>For more information about the CloudWatch terminology below, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html\">Amazon CloudWatch concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>" |
| 3808 | + }, |
3734 | 3809 | "MetricStatistic":{
|
3735 | 3810 | "type":"string",
|
3736 | 3811 | "enum":[
|
|
3950 | 4025 | },
|
3951 | 4026 | "documentation":"<p>Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.</p>"
|
3952 | 4027 | },
|
| 4028 | + "PredictiveScalingCustomizedCapacityMetric":{ |
| 4029 | + "type":"structure", |
| 4030 | + "required":["MetricDataQueries"], |
| 4031 | + "members":{ |
| 4032 | + "MetricDataQueries":{ |
| 4033 | + "shape":"MetricDataQueries", |
| 4034 | + "documentation":"<p>One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data. </p>" |
| 4035 | + } |
| 4036 | + }, |
| 4037 | + "documentation":"<p>Describes a customized capacity metric for a predictive scaling policy.</p>" |
| 4038 | + }, |
| 4039 | + "PredictiveScalingCustomizedLoadMetric":{ |
| 4040 | + "type":"structure", |
| 4041 | + "required":["MetricDataQueries"], |
| 4042 | + "members":{ |
| 4043 | + "MetricDataQueries":{ |
| 4044 | + "shape":"MetricDataQueries", |
| 4045 | + "documentation":"<p>One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data. </p>" |
| 4046 | + } |
| 4047 | + }, |
| 4048 | + "documentation":"<p>Describes a customized load metric for a predictive scaling policy.</p>" |
| 4049 | + }, |
| 4050 | + "PredictiveScalingCustomizedScalingMetric":{ |
| 4051 | + "type":"structure", |
| 4052 | + "required":["MetricDataQueries"], |
| 4053 | + "members":{ |
| 4054 | + "MetricDataQueries":{ |
| 4055 | + "shape":"MetricDataQueries", |
| 4056 | + "documentation":"<p>One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data. </p>" |
| 4057 | + } |
| 4058 | + }, |
| 4059 | + "documentation":"<p>Describes a customized scaling metric for a predictive scaling policy.</p>" |
| 4060 | + }, |
3953 | 4061 | "PredictiveScalingForecastTimestamps":{
|
3954 | 4062 | "type":"list",
|
3955 | 4063 | "member":{"shape":"TimestampType"}
|
|
3976 | 4084 | "members":{
|
3977 | 4085 | "TargetValue":{
|
3978 | 4086 | "shape":"MetricScale",
|
3979 |
| - "documentation":"<p>Specifies the target utilization.</p>" |
| 4087 | + "documentation":"<p>Specifies the target utilization.</p> <note> <p>Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval. </p> </note>" |
3980 | 4088 | },
|
3981 | 4089 | "PredefinedMetricPairSpecification":{
|
3982 | 4090 | "shape":"PredictiveScalingPredefinedMetricPair",
|
3983 |
| - "documentation":"<p>The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.</p>" |
| 4091 | + "documentation":"<p>The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.</p>" |
3984 | 4092 | },
|
3985 | 4093 | "PredefinedScalingMetricSpecification":{
|
3986 | 4094 | "shape":"PredictiveScalingPredefinedScalingMetric",
|
3987 |
| - "documentation":"<p>The scaling metric specification.</p>" |
| 4095 | + "documentation":"<p>The predefined scaling metric specification.</p>" |
3988 | 4096 | },
|
3989 | 4097 | "PredefinedLoadMetricSpecification":{
|
3990 | 4098 | "shape":"PredictiveScalingPredefinedLoadMetric",
|
3991 |
| - "documentation":"<p>The load metric specification.</p>" |
| 4099 | + "documentation":"<p>The predefined load metric specification.</p>" |
| 4100 | + }, |
| 4101 | + "CustomizedScalingMetricSpecification":{ |
| 4102 | + "shape":"PredictiveScalingCustomizedScalingMetric", |
| 4103 | + "documentation":"<p>The customized scaling metric specification.</p>" |
| 4104 | + }, |
| 4105 | + "CustomizedLoadMetricSpecification":{ |
| 4106 | + "shape":"PredictiveScalingCustomizedLoadMetric", |
| 4107 | + "documentation":"<p>The customized load metric specification.</p>" |
| 4108 | + }, |
| 4109 | + "CustomizedCapacityMetricSpecification":{ |
| 4110 | + "shape":"PredictiveScalingCustomizedCapacityMetric", |
| 4111 | + "documentation":"<p>The customized capacity metric specification.</p>" |
3992 | 4112 | }
|
3993 | 4113 | },
|
3994 |
| - "documentation":"<p>This structure specifies the metrics and target utilization settings for a predictive scaling policy. </p> <p>You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.</p> <p>Example</p> <ul> <li> <p>You create a predictive scaling policy and specify <code>ALBRequestCount</code> as the value for the metric pair and <code>1000.0</code> as the target value. For this type of metric, you must provide the metric dimension for the corresponding target group, so you also provide a resource label for the Application Load Balancer target group that is attached to your Auto Scaling group.</p> </li> <li> <p>The number of requests the target group receives per minute provides the load metric, and the request count averaged between the members of the target group provides the scaling metric. In CloudWatch, this refers to the <code>RequestCount</code> and <code>RequestCountPerTarget</code> metrics, respectively.</p> </li> <li> <p>For optimal use of predictive scaling, you adhere to the best practice of using a dynamic scaling policy to automatically scale between the minimum capacity and maximum capacity in response to real-time changes in resource utilization.</p> </li> <li> <p>Amazon EC2 Auto Scaling consumes data points for the load metric over the last 14 days and creates an hourly load forecast for predictive scaling. (A minimum of 24 hours of data is required.)</p> </li> <li> <p>After creating the load forecast, Amazon EC2 Auto Scaling determines when to reduce or increase the capacity of your Auto Scaling group in each hour of the forecast period so that the average number of requests received by each instance is as close to 1000 requests per minute as possible at all times.</p> </li> </ul>" |
| 4114 | + "documentation":"<p>This structure specifies the metrics and target utilization settings for a predictive scaling policy. </p> <p>You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.</p> <p>Example</p> <ul> <li> <p>You create a predictive scaling policy and specify <code>ALBRequestCount</code> as the value for the metric pair and <code>1000.0</code> as the target value. For this type of metric, you must provide the metric dimension for the corresponding target group, so you also provide a resource label for the Application Load Balancer target group that is attached to your Auto Scaling group.</p> </li> <li> <p>The number of requests the target group receives per minute provides the load metric, and the request count averaged between the members of the target group provides the scaling metric. In CloudWatch, this refers to the <code>RequestCount</code> and <code>RequestCountPerTarget</code> metrics, respectively.</p> </li> <li> <p>For optimal use of predictive scaling, you adhere to the best practice of using a dynamic scaling policy to automatically scale between the minimum capacity and maximum capacity in response to real-time changes in resource utilization.</p> </li> <li> <p>Amazon EC2 Auto Scaling consumes data points for the load metric over the last 14 days and creates an hourly load forecast for predictive scaling. (A minimum of 24 hours of data is required.)</p> </li> <li> <p>After creating the load forecast, Amazon EC2 Auto Scaling determines when to reduce or increase the capacity of your Auto Scaling group in each hour of the forecast period so that the average number of requests received by each instance is as close to 1000 requests per minute as possible at all times.</p> </li> </ul> <p>For information about using customized metrics with predictive scaling, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html\">Advanced predictive scaling policy configurations using customized metrics</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>" |
3995 | 4115 | },
|
3996 | 4116 | "PredictiveScalingMetricSpecifications":{
|
3997 | 4117 | "type":"list",
|
|
4395 | 4515 | "min":1,
|
4396 | 4516 | "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
4397 | 4517 | },
|
| 4518 | + "ReturnData":{"type":"boolean"}, |
4398 | 4519 | "ScalingActivityInProgressFault":{
|
4399 | 4520 | "type":"structure",
|
4400 | 4521 | "members":{
|
|
5142 | 5263 | "min":1,
|
5143 | 5264 | "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
|
5144 | 5265 | },
|
| 5266 | + "XmlStringMetricLabel":{ |
| 5267 | + "type":"string", |
| 5268 | + "max":2047, |
| 5269 | + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" |
| 5270 | + }, |
| 5271 | + "XmlStringMetricStat":{ |
| 5272 | + "type":"string", |
| 5273 | + "max":100, |
| 5274 | + "min":1, |
| 5275 | + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" |
| 5276 | + }, |
5145 | 5277 | "XmlStringUserData":{
|
5146 | 5278 | "type":"string",
|
5147 | 5279 | "max":21847,
|
|
0 commit comments