@aws-sdk/client-application-auto-scaling 3.338.0 → 3.340.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/ApplicationAutoScaling.d.ts +3 -3
- package/dist-types/ApplicationAutoScalingClient.d.ts +3 -3
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +18 -187
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,10 +43,10 @@ resources:</p>
|
|
|
43
43
|
<p>Amazon Neptune clusters</p>
|
|
44
44
|
</li>
|
|
45
45
|
<li>
|
|
46
|
-
<p>Amazon SageMaker
|
|
46
|
+
<p>Amazon SageMaker endpoint variants</p>
|
|
47
47
|
</li>
|
|
48
48
|
<li>
|
|
49
|
-
<p>Amazon SageMaker endpoint
|
|
49
|
+
<p>Amazon SageMaker Serverless endpoint provisioned concurrency</p>
|
|
50
50
|
</li>
|
|
51
51
|
<li>
|
|
52
52
|
<p>Spot Fleets (Amazon EC2)</p>
|
|
@@ -153,6 +153,7 @@ exports.MetricType = {
|
|
|
153
153
|
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
154
154
|
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
155
155
|
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
156
|
+
ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
|
|
156
157
|
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
157
158
|
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
158
159
|
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
@@ -145,6 +145,7 @@ export const MetricType = {
|
|
|
145
145
|
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
146
146
|
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
147
147
|
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
148
|
+
ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
|
|
148
149
|
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
149
150
|
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
150
151
|
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
@@ -132,10 +132,10 @@ export interface ApplicationAutoScaling {
|
|
|
132
132
|
* <p>Amazon Neptune clusters</p>
|
|
133
133
|
* </li>
|
|
134
134
|
* <li>
|
|
135
|
-
* <p>Amazon SageMaker
|
|
135
|
+
* <p>Amazon SageMaker endpoint variants</p>
|
|
136
136
|
* </li>
|
|
137
137
|
* <li>
|
|
138
|
-
* <p>Amazon SageMaker endpoint
|
|
138
|
+
* <p>Amazon SageMaker Serverless endpoint provisioned concurrency</p>
|
|
139
139
|
* </li>
|
|
140
140
|
* <li>
|
|
141
141
|
* <p>Spot Fleets (Amazon EC2)</p>
|
|
@@ -145,7 +145,7 @@ export interface ApplicationAutoScaling {
|
|
|
145
145
|
* </li>
|
|
146
146
|
* </ul>
|
|
147
147
|
* <p>To learn more about Application Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
148
|
-
*
|
|
148
|
+
* Guide</a>.</p>
|
|
149
149
|
* <p>
|
|
150
150
|
* <b>API Summary</b>
|
|
151
151
|
* </p>
|
|
@@ -195,10 +195,10 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
|
|
|
195
195
|
* <p>Amazon Neptune clusters</p>
|
|
196
196
|
* </li>
|
|
197
197
|
* <li>
|
|
198
|
-
* <p>Amazon SageMaker
|
|
198
|
+
* <p>Amazon SageMaker endpoint variants</p>
|
|
199
199
|
* </li>
|
|
200
200
|
* <li>
|
|
201
|
-
* <p>Amazon SageMaker endpoint
|
|
201
|
+
* <p>Amazon SageMaker Serverless endpoint provisioned concurrency</p>
|
|
202
202
|
* </li>
|
|
203
203
|
* <li>
|
|
204
204
|
* <p>Spot Fleets (Amazon EC2)</p>
|
|
@@ -208,7 +208,7 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
|
|
|
208
208
|
* </li>
|
|
209
209
|
* </ul>
|
|
210
210
|
* <p>To learn more about Application Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
211
|
-
*
|
|
211
|
+
* Guide</a>.</p>
|
|
212
212
|
* <p>
|
|
213
213
|
* <b>API Summary</b>
|
|
214
214
|
* </p>
|
|
@@ -70,7 +70,7 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
70
70
|
* // TargetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
|
|
71
71
|
* // TargetValue: Number("double"), // required
|
|
72
72
|
* // PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
73
|
-
* // PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization" || "SageMakerVariantProvisionedConcurrencyUtilization", // required
|
|
73
|
+
* // PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization" || "SageMakerVariantProvisionedConcurrencyUtilization" || "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage", // required
|
|
74
74
|
* // ResourceLabel: "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
76
|
* // CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
@@ -25,7 +25,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns all the tags on the specified Application Auto Scaling scalable target.</p>
|
|
27
27
|
* <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
28
|
-
*
|
|
28
|
+
* resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -76,7 +76,7 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
76
76
|
* TargetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
|
|
77
77
|
* TargetValue: Number("double"), // required
|
|
78
78
|
* PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
79
|
-
* PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization" || "SageMakerVariantProvisionedConcurrencyUtilization", // required
|
|
79
|
+
* PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization" || "SageMakerVariantProvisionedConcurrencyUtilization" || "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage", // required
|
|
80
80
|
* ResourceLabel: "STRING_VALUE",
|
|
81
81
|
* },
|
|
82
82
|
* CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
@@ -30,11 +30,11 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* <p>You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a
|
|
31
31
|
* scaling policy or scheduled action.</p>
|
|
32
32
|
* <p>You can also add tags to an Application Auto Scaling scalable target while creating it
|
|
33
|
-
*
|
|
33
|
+
* (<code>RegisterScalableTarget</code>).</p>
|
|
34
34
|
* <p>For general information about tags, including the format and syntax, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
|
|
35
|
-
*
|
|
35
|
+
* resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
36
36
|
* <p>Use tags to control access to a scalable target. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html">Tagging support
|
|
37
|
-
*
|
|
37
|
+
* for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
* <p>Amazon Neptune clusters</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
* <p>Amazon SageMaker
|
|
39
|
+
* <p>Amazon SageMaker endpoint variants</p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
42
|
-
* <p>Amazon SageMaker endpoint
|
|
42
|
+
* <p>Amazon SageMaker Serverless endpoint provisioned concurrency</p>
|
|
43
43
|
* </li>
|
|
44
44
|
* <li>
|
|
45
45
|
* <p>Spot Fleets (Amazon EC2)</p>
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
* </li>
|
|
50
50
|
* </ul>
|
|
51
51
|
* <p>To learn more about Application Auto Scaling, see the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User
|
|
52
|
-
*
|
|
52
|
+
* Guide</a>.</p>
|
|
53
53
|
* <p>
|
|
54
54
|
* <b>API Summary</b>
|
|
55
55
|
* </p>
|
|
@@ -1879,13 +1879,14 @@ export interface StepAdjustment {
|
|
|
1879
1879
|
/**
|
|
1880
1880
|
* <p>The amount by which to scale, based on the specified adjustment type. A positive value
|
|
1881
1881
|
* adds to the current capacity while a negative number removes from the current capacity. For
|
|
1882
|
-
* exact capacity, you must specify a
|
|
1882
|
+
* exact capacity, you must specify a non-negative value.</p>
|
|
1883
1883
|
*/
|
|
1884
1884
|
ScalingAdjustment: number | undefined;
|
|
1885
1885
|
}
|
|
1886
1886
|
/**
|
|
1887
1887
|
* @public
|
|
1888
1888
|
* <p>Represents a step scaling policy configuration to use with Application Auto Scaling.</p>
|
|
1889
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html">Step scaling policies</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
1889
1890
|
*/
|
|
1890
1891
|
export interface StepScalingPolicyConfiguration {
|
|
1891
1892
|
/**
|
|
@@ -1915,71 +1916,8 @@ export interface StepScalingPolicyConfiguration {
|
|
|
1915
1916
|
*/
|
|
1916
1917
|
MinAdjustmentMagnitude?: number;
|
|
1917
1918
|
/**
|
|
1918
|
-
* <p>The amount of time, in seconds, to wait for a previous scaling activity to take effect.
|
|
1919
|
-
*
|
|
1920
|
-
* After Application Auto Scaling successfully scales out using a step scaling policy, it starts to calculate the
|
|
1921
|
-
* cooldown time. The scaling policy won't increase the desired capacity again unless either a
|
|
1922
|
-
* larger scale out is triggered or the cooldown period ends. While the cooldown period is in
|
|
1923
|
-
* effect, capacity added by the initiating scale-out activity is calculated as part of the
|
|
1924
|
-
* desired capacity for the next scale-out activity. For example, when an alarm triggers a step
|
|
1925
|
-
* scaling policy to increase the capacity by 2, the scaling activity completes successfully, and
|
|
1926
|
-
* a cooldown period starts. If the alarm triggers again during the cooldown period but at a more
|
|
1927
|
-
* aggressive step adjustment of 3, the previous increase of 2 is considered part of the current
|
|
1928
|
-
* capacity. Therefore, only 1 is added to the capacity.</p>
|
|
1929
|
-
* <p>With scale-in policies, the intention is to scale in conservatively to protect your
|
|
1930
|
-
* application’s availability, so scale-in activities are blocked until the cooldown period has
|
|
1931
|
-
* expired. However, if another alarm triggers a scale-out activity during the cooldown period
|
|
1932
|
-
* after a scale-in activity, Application Auto Scaling scales out the target immediately. In this case, the
|
|
1933
|
-
* cooldown period for the scale-in activity stops and doesn't complete.</p>
|
|
1934
|
-
* <p>Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups
|
|
1935
|
-
* and a default value of 300 for the following scalable targets:</p>
|
|
1936
|
-
* <ul>
|
|
1937
|
-
* <li>
|
|
1938
|
-
* <p>AppStream 2.0 fleets</p>
|
|
1939
|
-
* </li>
|
|
1940
|
-
* <li>
|
|
1941
|
-
* <p>Aurora DB clusters</p>
|
|
1942
|
-
* </li>
|
|
1943
|
-
* <li>
|
|
1944
|
-
* <p>ECS services</p>
|
|
1945
|
-
* </li>
|
|
1946
|
-
* <li>
|
|
1947
|
-
* <p>EMR clusters</p>
|
|
1948
|
-
* </li>
|
|
1949
|
-
* <li>
|
|
1950
|
-
* <p> Neptune clusters</p>
|
|
1951
|
-
* </li>
|
|
1952
|
-
* <li>
|
|
1953
|
-
* <p>SageMaker Serverless endpoint provisioned concurrency</p>
|
|
1954
|
-
* </li>
|
|
1955
|
-
* <li>
|
|
1956
|
-
* <p>SageMaker endpoint variants</p>
|
|
1957
|
-
* </li>
|
|
1958
|
-
* <li>
|
|
1959
|
-
* <p>Spot Fleets</p>
|
|
1960
|
-
* </li>
|
|
1961
|
-
* <li>
|
|
1962
|
-
* <p>Custom resources</p>
|
|
1963
|
-
* </li>
|
|
1964
|
-
* </ul>
|
|
1965
|
-
* <p>For all other scalable targets, the default value is 0:</p>
|
|
1966
|
-
* <ul>
|
|
1967
|
-
* <li>
|
|
1968
|
-
* <p>Amazon Comprehend document classification and entity recognizer endpoints</p>
|
|
1969
|
-
* </li>
|
|
1970
|
-
* <li>
|
|
1971
|
-
* <p>DynamoDB tables and global secondary indexes</p>
|
|
1972
|
-
* </li>
|
|
1973
|
-
* <li>
|
|
1974
|
-
* <p>Amazon Keyspaces tables</p>
|
|
1975
|
-
* </li>
|
|
1976
|
-
* <li>
|
|
1977
|
-
* <p>Lambda provisioned concurrency</p>
|
|
1978
|
-
* </li>
|
|
1979
|
-
* <li>
|
|
1980
|
-
* <p>Amazon MSK broker storage</p>
|
|
1981
|
-
* </li>
|
|
1982
|
-
* </ul>
|
|
1919
|
+
* <p>The amount of time, in seconds, to wait for a previous scaling activity to take effect. If
|
|
1920
|
+
* not specified, the default value is 300. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#step-scaling-cooldown">Cooldown period</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
1983
1921
|
*/
|
|
1984
1922
|
Cooldown?: number;
|
|
1985
1923
|
/**
|
|
@@ -2077,7 +2015,7 @@ export interface TargetTrackingMetricStat {
|
|
|
2077
2015
|
* statistics to create a new time series. A time series is a series of data points, each of
|
|
2078
2016
|
* which is associated with a timestamp.</p>
|
|
2079
2017
|
* <p>For more information and examples, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html">Create a target tracking scaling policy for Application Auto Scaling using metric math</a> in the
|
|
2080
|
-
*
|
|
2018
|
+
* <i>Application Auto Scaling User Guide</i>.</p>
|
|
2081
2019
|
*/
|
|
2082
2020
|
export interface TargetTrackingMetricDataQuery {
|
|
2083
2021
|
/**
|
|
@@ -2210,6 +2148,7 @@ export declare const MetricType: {
|
|
|
2210
2148
|
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
2211
2149
|
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
2212
2150
|
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
2151
|
+
readonly ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage";
|
|
2213
2152
|
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
2214
2153
|
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
2215
2154
|
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
|
@@ -2268,6 +2207,8 @@ export interface PredefinedMetricSpecification {
|
|
|
2268
2207
|
/**
|
|
2269
2208
|
* @public
|
|
2270
2209
|
* <p>Represents a target tracking scaling policy configuration to use with Application Auto Scaling.</p>
|
|
2210
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html">Target tracking scaling policies</a> in the <i>Application Auto Scaling User
|
|
2211
|
+
* Guide</i>.</p>
|
|
2271
2212
|
*/
|
|
2272
2213
|
export interface TargetTrackingScalingPolicyConfiguration {
|
|
2273
2214
|
/**
|
|
@@ -2294,123 +2235,13 @@ export interface TargetTrackingScalingPolicyConfiguration {
|
|
|
2294
2235
|
*/
|
|
2295
2236
|
CustomizedMetricSpecification?: CustomizedMetricSpecification;
|
|
2296
2237
|
/**
|
|
2297
|
-
* <p>The amount of time, in seconds, to wait for a previous scale-out activity to take
|
|
2298
|
-
*
|
|
2299
|
-
* <p>With the <i>scale-out cooldown period</i>, the intention is to continuously
|
|
2300
|
-
* (but not excessively) scale out. After Application Auto Scaling successfully scales out using a target
|
|
2301
|
-
* tracking scaling policy, it starts to calculate the cooldown time. The scaling policy won't
|
|
2302
|
-
* increase the desired capacity again unless either a larger scale out is triggered or the
|
|
2303
|
-
* cooldown period ends. While the cooldown period is in effect, the capacity added by the
|
|
2304
|
-
* initiating scale-out activity is calculated as part of the desired capacity for the next
|
|
2305
|
-
* scale-out activity.</p>
|
|
2306
|
-
* <p>Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups
|
|
2307
|
-
* and a default value of 300 for the following scalable targets:</p>
|
|
2308
|
-
* <ul>
|
|
2309
|
-
* <li>
|
|
2310
|
-
* <p>AppStream 2.0 fleets</p>
|
|
2311
|
-
* </li>
|
|
2312
|
-
* <li>
|
|
2313
|
-
* <p>Aurora DB clusters</p>
|
|
2314
|
-
* </li>
|
|
2315
|
-
* <li>
|
|
2316
|
-
* <p>ECS services</p>
|
|
2317
|
-
* </li>
|
|
2318
|
-
* <li>
|
|
2319
|
-
* <p>EMR clusters</p>
|
|
2320
|
-
* </li>
|
|
2321
|
-
* <li>
|
|
2322
|
-
* <p> Neptune clusters</p>
|
|
2323
|
-
* </li>
|
|
2324
|
-
* <li>
|
|
2325
|
-
* <p>SageMaker Serverless endpoint provisioned concurrency</p>
|
|
2326
|
-
* </li>
|
|
2327
|
-
* <li>
|
|
2328
|
-
* <p>SageMaker endpoint variants</p>
|
|
2329
|
-
* </li>
|
|
2330
|
-
* <li>
|
|
2331
|
-
* <p>Spot Fleets</p>
|
|
2332
|
-
* </li>
|
|
2333
|
-
* <li>
|
|
2334
|
-
* <p>Custom resources</p>
|
|
2335
|
-
* </li>
|
|
2336
|
-
* </ul>
|
|
2337
|
-
* <p>For all other scalable targets, the default value is 0:</p>
|
|
2338
|
-
* <ul>
|
|
2339
|
-
* <li>
|
|
2340
|
-
* <p>Amazon Comprehend document classification and entity recognizer endpoints</p>
|
|
2341
|
-
* </li>
|
|
2342
|
-
* <li>
|
|
2343
|
-
* <p>DynamoDB tables and global secondary indexes</p>
|
|
2344
|
-
* </li>
|
|
2345
|
-
* <li>
|
|
2346
|
-
* <p>Amazon Keyspaces tables</p>
|
|
2347
|
-
* </li>
|
|
2348
|
-
* <li>
|
|
2349
|
-
* <p>Lambda provisioned concurrency</p>
|
|
2350
|
-
* </li>
|
|
2351
|
-
* <li>
|
|
2352
|
-
* <p>Amazon MSK broker storage</p>
|
|
2353
|
-
* </li>
|
|
2354
|
-
* </ul>
|
|
2238
|
+
* <p>The amount of time, in seconds, to wait for a previous scale-out activity to take effect.
|
|
2239
|
+
* For more information and for default values, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html#target-tracking-cooldown">Define cooldown periods</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2355
2240
|
*/
|
|
2356
2241
|
ScaleOutCooldown?: number;
|
|
2357
2242
|
/**
|
|
2358
2243
|
* <p>The amount of time, in seconds, after a scale-in activity completes before another
|
|
2359
|
-
* scale-in activity can start
|
|
2360
|
-
* <p>With the <i>scale-in cooldown period</i>, the intention is to scale in
|
|
2361
|
-
* conservatively to protect your application’s availability, so scale-in activities are blocked
|
|
2362
|
-
* until the cooldown period has expired. However, if another alarm triggers a scale-out activity
|
|
2363
|
-
* during the scale-in cooldown period, Application Auto Scaling scales out the target immediately. In this case,
|
|
2364
|
-
* the scale-in cooldown period stops and doesn't complete.</p>
|
|
2365
|
-
* <p>Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups
|
|
2366
|
-
* and a default value of 300 for the following scalable targets:</p>
|
|
2367
|
-
* <ul>
|
|
2368
|
-
* <li>
|
|
2369
|
-
* <p>AppStream 2.0 fleets</p>
|
|
2370
|
-
* </li>
|
|
2371
|
-
* <li>
|
|
2372
|
-
* <p>Aurora DB clusters</p>
|
|
2373
|
-
* </li>
|
|
2374
|
-
* <li>
|
|
2375
|
-
* <p>ECS services</p>
|
|
2376
|
-
* </li>
|
|
2377
|
-
* <li>
|
|
2378
|
-
* <p>EMR clusters</p>
|
|
2379
|
-
* </li>
|
|
2380
|
-
* <li>
|
|
2381
|
-
* <p> Neptune clusters</p>
|
|
2382
|
-
* </li>
|
|
2383
|
-
* <li>
|
|
2384
|
-
* <p>SageMaker Serverless endpoint provisioned concurrency</p>
|
|
2385
|
-
* </li>
|
|
2386
|
-
* <li>
|
|
2387
|
-
* <p>SageMaker endpoint variants</p>
|
|
2388
|
-
* </li>
|
|
2389
|
-
* <li>
|
|
2390
|
-
* <p>Spot Fleets</p>
|
|
2391
|
-
* </li>
|
|
2392
|
-
* <li>
|
|
2393
|
-
* <p>Custom resources</p>
|
|
2394
|
-
* </li>
|
|
2395
|
-
* </ul>
|
|
2396
|
-
* <p>For all other scalable targets, the default value is 0:</p>
|
|
2397
|
-
* <ul>
|
|
2398
|
-
* <li>
|
|
2399
|
-
* <p>Amazon Comprehend document classification and entity recognizer endpoints</p>
|
|
2400
|
-
* </li>
|
|
2401
|
-
* <li>
|
|
2402
|
-
* <p>DynamoDB tables and global secondary indexes</p>
|
|
2403
|
-
* </li>
|
|
2404
|
-
* <li>
|
|
2405
|
-
* <p>Amazon Keyspaces tables</p>
|
|
2406
|
-
* </li>
|
|
2407
|
-
* <li>
|
|
2408
|
-
* <p>Lambda provisioned concurrency</p>
|
|
2409
|
-
* </li>
|
|
2410
|
-
* <li>
|
|
2411
|
-
* <p>Amazon MSK broker storage</p>
|
|
2412
|
-
* </li>
|
|
2413
|
-
* </ul>
|
|
2244
|
+
* scale-in activity can start. For more information and for default values, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html#target-tracking-cooldown">Define cooldown periods</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
2414
2245
|
*/
|
|
2415
2246
|
ScaleInCooldown?: number;
|
|
2416
2247
|
/**
|
|
@@ -3131,7 +2962,7 @@ export interface ListTagsForResourceRequest {
|
|
|
3131
2962
|
/**
|
|
3132
2963
|
* <p>Specify the ARN of the scalable target.</p>
|
|
3133
2964
|
* <p>For example:
|
|
3134
|
-
*
|
|
2965
|
+
* <code>arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123</code>
|
|
3135
2966
|
* </p>
|
|
3136
2967
|
* <p>To get the ARN for a scalable target, use <a>DescribeScalableTargets</a>.</p>
|
|
3137
2968
|
*/
|
|
@@ -3819,10 +3650,10 @@ export interface RegisterScalableTargetRequest {
|
|
|
3819
3650
|
* <p>Lambda provisioned concurrency</p>
|
|
3820
3651
|
* </li>
|
|
3821
3652
|
* <li>
|
|
3822
|
-
* <p>SageMaker
|
|
3653
|
+
* <p>SageMaker endpoint variants</p>
|
|
3823
3654
|
* </li>
|
|
3824
3655
|
* <li>
|
|
3825
|
-
* <p>SageMaker endpoint
|
|
3656
|
+
* <p>SageMaker Serverless endpoint provisioned concurrency</p>
|
|
3826
3657
|
* </li>
|
|
3827
3658
|
* <li>
|
|
3828
3659
|
* <p>Spot Fleets</p>
|
|
@@ -3893,7 +3724,7 @@ export interface RegisterScalableTargetRequest {
|
|
|
3893
3724
|
* required. You cannot have more than one tag on a scalable target with the same tag
|
|
3894
3725
|
* key.</p>
|
|
3895
3726
|
* <p>Use tags to control access to a scalable target. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/resource-tagging-support.html">Tagging support
|
|
3896
|
-
*
|
|
3727
|
+
* for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
3897
3728
|
*/
|
|
3898
3729
|
Tags?: Record<string, string>;
|
|
3899
3730
|
}
|
|
@@ -3913,7 +3744,7 @@ export interface TagResourceRequest {
|
|
|
3913
3744
|
/**
|
|
3914
3745
|
* <p>Identifies the Application Auto Scaling scalable target that you want to apply tags to.</p>
|
|
3915
3746
|
* <p>For example:
|
|
3916
|
-
*
|
|
3747
|
+
* <code>arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123</code>
|
|
3917
3748
|
* </p>
|
|
3918
3749
|
* <p>To get the ARN for a scalable target, use <a>DescribeScalableTargets</a>.</p>
|
|
3919
3750
|
*/
|
|
@@ -3926,7 +3757,7 @@ export interface TagResourceRequest {
|
|
|
3926
3757
|
* If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the
|
|
3927
3758
|
* current tag value with the specified one.</p>
|
|
3928
3759
|
* <p>For information about the rules that apply to tag keys and tag values, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html">User-defined tag
|
|
3929
|
-
*
|
|
3760
|
+
* restrictions</a> in the <i>Amazon Web Services Billing and Cost Management User
|
|
3930
3761
|
* Guide</i>.</p>
|
|
3931
3762
|
*/
|
|
3932
3763
|
Tags: Record<string, string> | undefined;
|
|
@@ -3960,7 +3791,7 @@ export interface UntagResourceRequest {
|
|
|
3960
3791
|
/**
|
|
3961
3792
|
* <p>Identifies the Application Auto Scaling scalable target from which to remove tags.</p>
|
|
3962
3793
|
* <p>For example:
|
|
3963
|
-
*
|
|
3794
|
+
* <code>arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123</code>
|
|
3964
3795
|
* </p>
|
|
3965
3796
|
* <p>To get the ARN for a scalable target, use <a>DescribeScalableTargets</a>.</p>
|
|
3966
3797
|
*/
|
|
@@ -270,6 +270,7 @@ export declare const MetricType: {
|
|
|
270
270
|
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
271
271
|
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
272
272
|
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
273
|
+
readonly ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage";
|
|
273
274
|
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
274
275
|
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
275
276
|
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.340.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|