@aws-sdk/client-application-auto-scaling 3.337.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/ApplicationAutoScalingClient.js +2 -1
- package/dist-cjs/commands/DeleteScalingPolicyCommand.js +2 -1
- package/dist-cjs/commands/DeleteScheduledActionCommand.js +2 -1
- package/dist-cjs/commands/DeregisterScalableTargetCommand.js +2 -1
- package/dist-cjs/commands/DescribeScalableTargetsCommand.js +2 -1
- package/dist-cjs/commands/DescribeScalingActivitiesCommand.js +2 -1
- package/dist-cjs/commands/DescribeScalingPoliciesCommand.js +2 -1
- package/dist-cjs/commands/DescribeScheduledActionsCommand.js +2 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
- package/dist-cjs/commands/PutScalingPolicyCommand.js +2 -1
- package/dist-cjs/commands/PutScheduledActionCommand.js +2 -1
- package/dist-cjs/commands/RegisterScalableTargetCommand.js +2 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -1
- package/dist-cjs/commands/UntagResourceCommand.js +2 -1
- package/dist-cjs/index.js +2 -2
- package/dist-cjs/models/ApplicationAutoScalingServiceException.js +2 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/ApplicationAutoScalingClient.js +1 -0
- package/dist-es/commands/DeleteScalingPolicyCommand.js +1 -0
- package/dist-es/commands/DeleteScheduledActionCommand.js +1 -0
- package/dist-es/commands/DeregisterScalableTargetCommand.js +1 -0
- package/dist-es/commands/DescribeScalableTargetsCommand.js +1 -0
- package/dist-es/commands/DescribeScalingActivitiesCommand.js +1 -0
- package/dist-es/commands/DescribeScalingPoliciesCommand.js +1 -0
- package/dist-es/commands/DescribeScheduledActionsCommand.js +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
- package/dist-es/commands/PutScalingPolicyCommand.js +1 -0
- package/dist-es/commands/PutScheduledActionCommand.js +1 -0
- package/dist-es/commands/RegisterScalableTargetCommand.js +1 -0
- package/dist-es/commands/TagResourceCommand.js +1 -0
- package/dist-es/commands/UntagResourceCommand.js +1 -0
- package/dist-es/index.js +2 -2
- package/dist-es/models/ApplicationAutoScalingServiceException.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 +6 -6
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +5 -1
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +5 -1
- package/dist-types/commands/PutScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +7 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/index.d.ts +80 -2
- package/dist-types/models/ApplicationAutoScalingServiceException.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +18 -187
- package/dist-types/ts3.4/ApplicationAutoScalingClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteScalingPolicyCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeregisterScalableTargetCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribeScalableTargetsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribeScalingActivitiesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribeScalingPoliciesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/PutScheduledActionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/RegisterScalableTargetCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/dist-types/ts3.4/models/ApplicationAutoScalingServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +28 -28
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
5
5
|
import { PutScheduledActionRequest, PutScheduledActionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
5
5
|
import { RegisterScalableTargetRequest, RegisterScalableTargetResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
5
5
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -26,11 +30,11 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
30
|
* <p>You can use this operation to tag an Application Auto Scaling scalable target, but you cannot tag a
|
|
27
31
|
* scaling policy or scheduled action.</p>
|
|
28
32
|
* <p>You can also add tags to an Application Auto Scaling scalable target while creating it
|
|
29
|
-
*
|
|
33
|
+
* (<code>RegisterScalableTarget</code>).</p>
|
|
30
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
|
|
31
|
-
*
|
|
35
|
+
* resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
32
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
|
|
33
|
-
*
|
|
37
|
+
* for Application Auto Scaling</a> in the <i>Application Auto Scaling User Guide</i>.</p>
|
|
34
38
|
* @example
|
|
35
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
40
|
* ```javascript
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ApplicationAutoScalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationAutoScalingClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>With Application Auto Scaling, you can configure automatic scaling for the following
|
|
3
|
+
* resources:</p>
|
|
4
|
+
* <ul>
|
|
5
|
+
* <li>
|
|
6
|
+
* <p>Amazon AppStream 2.0 fleets</p>
|
|
7
|
+
* </li>
|
|
8
|
+
* <li>
|
|
9
|
+
* <p>Amazon Aurora Replicas</p>
|
|
10
|
+
* </li>
|
|
11
|
+
* <li>
|
|
12
|
+
* <p>Amazon Comprehend document classification and entity recognizer endpoints</p>
|
|
13
|
+
* </li>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>Amazon DynamoDB tables and global secondary indexes throughput capacity</p>
|
|
16
|
+
* </li>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>Amazon ECS services</p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>Amazon ElastiCache for Redis clusters (replication groups)</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>Amazon EMR clusters</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>Amazon Keyspaces (for Apache Cassandra) tables</p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>Lambda function provisioned concurrency</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>Amazon Managed Streaming for Apache Kafka broker storage</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>Amazon Neptune clusters</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>Amazon SageMaker endpoint variants</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>Amazon SageMaker Serverless endpoint provisioned concurrency</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>Spot Fleets (Amazon EC2)</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>Custom resources provided by your own applications or services</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* </ul>
|
|
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
|
+
* Guide</a>.</p>
|
|
53
|
+
* <p>
|
|
54
|
+
* <b>API Summary</b>
|
|
55
|
+
* </p>
|
|
56
|
+
* <p>The Application Auto Scaling service API includes three key sets of actions: </p>
|
|
57
|
+
* <ul>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>Register and manage scalable targets - Register Amazon Web Services or custom resources as scalable
|
|
60
|
+
* targets (a resource that Application Auto Scaling can scale), set minimum and maximum capacity limits, and
|
|
61
|
+
* retrieve information on existing scalable targets.</p>
|
|
62
|
+
* </li>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>Configure and manage automatic scaling - Define scaling policies to dynamically scale
|
|
65
|
+
* your resources in response to CloudWatch alarms, schedule one-time or recurring scaling actions,
|
|
66
|
+
* and retrieve your recent scaling activity history.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>Suspend and resume scaling - Temporarily suspend and later resume automatic scaling by
|
|
70
|
+
* calling the <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html">RegisterScalableTarget</a> API action for any Application Auto Scaling scalable target. You can
|
|
71
|
+
* suspend and resume (individually or in combination) scale-out activities that are
|
|
72
|
+
* triggered by a scaling policy, scale-in activities that are triggered by a scaling policy,
|
|
73
|
+
* and scheduled scaling.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* </ul>
|
|
76
|
+
*
|
|
77
|
+
* @packageDocumentation
|
|
78
|
+
*/
|
|
2
79
|
export * from "./ApplicationAutoScalingClient";
|
|
80
|
+
export * from "./ApplicationAutoScaling";
|
|
3
81
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
82
|
export * from "./pagination";
|
|
83
|
+
export * from "./models";
|
|
6
84
|
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|
|
@@ -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
|
*/
|
|
@@ -103,6 +103,7 @@ import {
|
|
|
103
103
|
ClientResolvedEndpointParameters,
|
|
104
104
|
EndpointParameters,
|
|
105
105
|
} from "./endpoint/EndpointParameters";
|
|
106
|
+
export { __Client };
|
|
106
107
|
export type ServiceInputTypes =
|
|
107
108
|
| DeleteScalingPolicyCommandInput
|
|
108
109
|
| DeleteScheduledActionCommandInput
|
|
@@ -155,7 +156,7 @@ export interface ClientDefaults
|
|
|
155
156
|
logger?: __Logger;
|
|
156
157
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
157
158
|
}
|
|
158
|
-
type ApplicationAutoScalingClientConfigType = Partial<
|
|
159
|
+
export type ApplicationAutoScalingClientConfigType = Partial<
|
|
159
160
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
160
161
|
> &
|
|
161
162
|
ClientDefaults &
|
|
@@ -168,7 +169,7 @@ type ApplicationAutoScalingClientConfigType = Partial<
|
|
|
168
169
|
ClientInputEndpointParameters;
|
|
169
170
|
export interface ApplicationAutoScalingClientConfig
|
|
170
171
|
extends ApplicationAutoScalingClientConfigType {}
|
|
171
|
-
type ApplicationAutoScalingClientResolvedConfigType =
|
|
172
|
+
export type ApplicationAutoScalingClientResolvedConfigType =
|
|
172
173
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
173
174
|
Required<ClientDefaults> &
|
|
174
175
|
RegionResolvedConfig &
|
|
@@ -190,4 +191,3 @@ export declare class ApplicationAutoScalingClient extends __Client<
|
|
|
190
191
|
constructor(configuration: ApplicationAutoScalingClientConfig);
|
|
191
192
|
destroy(): void;
|
|
192
193
|
}
|
|
193
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DeleteScalingPolicyRequest,
|
|
16
16
|
DeleteScalingPolicyResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeleteScalingPolicyCommandInput
|
|
19
20
|
extends DeleteScalingPolicyRequest {}
|
|
20
21
|
export interface DeleteScalingPolicyCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DeleteScheduledActionRequest,
|
|
16
16
|
DeleteScheduledActionResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeleteScheduledActionCommandInput
|
|
19
20
|
extends DeleteScheduledActionRequest {}
|
|
20
21
|
export interface DeleteScheduledActionCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DeregisterScalableTargetRequest,
|
|
16
16
|
DeregisterScalableTargetResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeregisterScalableTargetCommandInput
|
|
19
20
|
extends DeregisterScalableTargetRequest {}
|
|
20
21
|
export interface DeregisterScalableTargetCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DescribeScalableTargetsRequest,
|
|
16
16
|
DescribeScalableTargetsResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribeScalableTargetsCommandInput
|
|
19
20
|
extends DescribeScalableTargetsRequest {}
|
|
20
21
|
export interface DescribeScalableTargetsCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DescribeScalingActivitiesRequest,
|
|
16
16
|
DescribeScalingActivitiesResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribeScalingActivitiesCommandInput
|
|
19
20
|
extends DescribeScalingActivitiesRequest {}
|
|
20
21
|
export interface DescribeScalingActivitiesCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DescribeScalingPoliciesRequest,
|
|
16
16
|
DescribeScalingPoliciesResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribeScalingPoliciesCommandInput
|
|
19
20
|
extends DescribeScalingPoliciesRequest {}
|
|
20
21
|
export interface DescribeScalingPoliciesCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DescribeScheduledActionsRequest,
|
|
16
16
|
DescribeScheduledActionsResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribeScheduledActionsCommandInput
|
|
19
20
|
extends DescribeScheduledActionsRequest {}
|
|
20
21
|
export interface DescribeScheduledActionsCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListTagsForResourceRequest,
|
|
16
16
|
ListTagsForResourceResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListTagsForResourceCommandInput
|
|
19
20
|
extends ListTagsForResourceRequest {}
|
|
20
21
|
export interface ListTagsForResourceCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
PutScalingPolicyRequest,
|
|
16
16
|
PutScalingPolicyResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface PutScalingPolicyCommandInput extends PutScalingPolicyRequest {}
|
|
19
20
|
export interface PutScalingPolicyCommandOutput
|
|
20
21
|
extends PutScalingPolicyResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
PutScheduledActionRequest,
|
|
16
16
|
PutScheduledActionResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface PutScheduledActionCommandInput
|
|
19
20
|
extends PutScheduledActionRequest {}
|
|
20
21
|
export interface PutScheduledActionCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
RegisterScalableTargetRequest,
|
|
16
16
|
RegisterScalableTargetResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface RegisterScalableTargetCommandInput
|
|
19
20
|
extends RegisterScalableTargetRequest {}
|
|
20
21
|
export interface RegisterScalableTargetCommandOutput
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ApplicationAutoScalingClient";
|
|
14
14
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
16
17
|
export interface TagResourceCommandOutput
|
|
17
18
|
extends TagResourceResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
UntagResourceRequest,
|
|
16
16
|
UntagResourceResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
19
20
|
export interface UntagResourceCommandOutput
|
|
20
21
|
extends UntagResourceResponse,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./ApplicationAutoScaling";
|
|
2
1
|
export * from "./ApplicationAutoScalingClient";
|
|
2
|
+
export * from "./ApplicationAutoScaling";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class ApplicationAutoScalingServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
|
@@ -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";
|