@aws-sdk/client-application-auto-scaling 3.301.0 → 3.306.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/dist-cjs/models/models_0.js +90 -98
- package/dist-es/models/models_0.js +90 -98
- package/dist-types/models/models_0.d.ts +130 -90
- package/dist-types/ts3.4/models/models_0.d.ts +104 -90
- package/package.json +34 -34
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TooManyTagsException = exports.LimitExceededException = exports.ResourceNotFoundException = exports.FailedResourceAccessException = exports.MetricType = exports.MetricStatistic = exports.MetricAggregationType = exports.PolicyType = exports.ScalingActivityStatusCode = exports.InvalidNextTokenException = exports.ValidationException = exports.ObjectNotFoundException = exports.InternalServiceException = exports.ServiceNamespace = exports.ScalableDimension = exports.ConcurrentUpdateException = exports.AdjustmentType = void 0;
|
|
4
4
|
const ApplicationAutoScalingServiceException_1 = require("./ApplicationAutoScalingServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})(AdjustmentType = exports.AdjustmentType || (exports.AdjustmentType = {}));
|
|
5
|
+
exports.AdjustmentType = {
|
|
6
|
+
ChangeInCapacity: "ChangeInCapacity",
|
|
7
|
+
ExactCapacity: "ExactCapacity",
|
|
8
|
+
PercentChangeInCapacity: "PercentChangeInCapacity",
|
|
9
|
+
};
|
|
11
10
|
class ConcurrentUpdateException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
|
|
12
11
|
constructor(opts) {
|
|
13
12
|
super({
|
|
@@ -22,46 +21,44 @@ class ConcurrentUpdateException extends ApplicationAutoScalingServiceException_1
|
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
exports.ConcurrentUpdateException = ConcurrentUpdateException;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
ServiceNamespace["SAGEMAKER"] = "sagemaker";
|
|
64
|
-
})(ServiceNamespace = exports.ServiceNamespace || (exports.ServiceNamespace = {}));
|
|
24
|
+
exports.ScalableDimension = {
|
|
25
|
+
AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
|
|
26
|
+
CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
|
|
27
|
+
CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
|
|
28
|
+
ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
|
|
29
|
+
ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
|
|
30
|
+
CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
|
|
31
|
+
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
32
|
+
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
33
|
+
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
34
|
+
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
35
|
+
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
36
|
+
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
37
|
+
EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
|
|
38
|
+
ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
|
|
39
|
+
ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
|
|
40
|
+
KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
|
|
41
|
+
LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
|
|
42
|
+
NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
|
|
43
|
+
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
44
|
+
SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
|
|
45
|
+
};
|
|
46
|
+
exports.ServiceNamespace = {
|
|
47
|
+
APPSTREAM: "appstream",
|
|
48
|
+
CASSANDRA: "cassandra",
|
|
49
|
+
COMPREHEND: "comprehend",
|
|
50
|
+
CUSTOM_RESOURCE: "custom-resource",
|
|
51
|
+
DYNAMODB: "dynamodb",
|
|
52
|
+
EC2: "ec2",
|
|
53
|
+
ECS: "ecs",
|
|
54
|
+
ELASTICACHE: "elasticache",
|
|
55
|
+
EMR: "elasticmapreduce",
|
|
56
|
+
KAFKA: "kafka",
|
|
57
|
+
LAMBDA: "lambda",
|
|
58
|
+
NEPTUNE: "neptune",
|
|
59
|
+
RDS: "rds",
|
|
60
|
+
SAGEMAKER: "sagemaker",
|
|
61
|
+
};
|
|
65
62
|
class InternalServiceException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
|
|
66
63
|
constructor(opts) {
|
|
67
64
|
super({
|
|
@@ -118,58 +115,53 @@ class InvalidNextTokenException extends ApplicationAutoScalingServiceException_1
|
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
MetricType["NeptuneReaderAverageCPUUtilization"] = "NeptuneReaderAverageCPUUtilization";
|
|
169
|
-
MetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
|
|
170
|
-
MetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
171
|
-
MetricType["SageMakerVariantInvocationsPerInstance"] = "SageMakerVariantInvocationsPerInstance";
|
|
172
|
-
})(MetricType = exports.MetricType || (exports.MetricType = {}));
|
|
118
|
+
exports.ScalingActivityStatusCode = {
|
|
119
|
+
Failed: "Failed",
|
|
120
|
+
InProgress: "InProgress",
|
|
121
|
+
Overridden: "Overridden",
|
|
122
|
+
Pending: "Pending",
|
|
123
|
+
Successful: "Successful",
|
|
124
|
+
Unfulfilled: "Unfulfilled",
|
|
125
|
+
};
|
|
126
|
+
exports.PolicyType = {
|
|
127
|
+
StepScaling: "StepScaling",
|
|
128
|
+
TargetTrackingScaling: "TargetTrackingScaling",
|
|
129
|
+
};
|
|
130
|
+
exports.MetricAggregationType = {
|
|
131
|
+
Average: "Average",
|
|
132
|
+
Maximum: "Maximum",
|
|
133
|
+
Minimum: "Minimum",
|
|
134
|
+
};
|
|
135
|
+
exports.MetricStatistic = {
|
|
136
|
+
Average: "Average",
|
|
137
|
+
Maximum: "Maximum",
|
|
138
|
+
Minimum: "Minimum",
|
|
139
|
+
SampleCount: "SampleCount",
|
|
140
|
+
Sum: "Sum",
|
|
141
|
+
};
|
|
142
|
+
exports.MetricType = {
|
|
143
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
144
|
+
AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
|
|
145
|
+
CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
|
|
146
|
+
CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
|
|
147
|
+
ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
|
|
148
|
+
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
149
|
+
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
150
|
+
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
151
|
+
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
152
|
+
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
153
|
+
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
154
|
+
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
155
|
+
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
156
|
+
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
157
|
+
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
158
|
+
KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
|
|
159
|
+
LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
|
|
160
|
+
NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
|
|
161
|
+
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
162
|
+
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
163
|
+
SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
|
|
164
|
+
};
|
|
173
165
|
class FailedResourceAccessException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
|
|
174
166
|
constructor(opts) {
|
|
175
167
|
super({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})(AdjustmentType || (AdjustmentType = {}));
|
|
2
|
+
export const AdjustmentType = {
|
|
3
|
+
ChangeInCapacity: "ChangeInCapacity",
|
|
4
|
+
ExactCapacity: "ExactCapacity",
|
|
5
|
+
PercentChangeInCapacity: "PercentChangeInCapacity",
|
|
6
|
+
};
|
|
8
7
|
export class ConcurrentUpdateException extends __BaseException {
|
|
9
8
|
constructor(opts) {
|
|
10
9
|
super({
|
|
@@ -18,46 +17,44 @@ export class ConcurrentUpdateException extends __BaseException {
|
|
|
18
17
|
this.Message = opts.Message;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
ServiceNamespace["SAGEMAKER"] = "sagemaker";
|
|
60
|
-
})(ServiceNamespace || (ServiceNamespace = {}));
|
|
20
|
+
export const ScalableDimension = {
|
|
21
|
+
AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
|
|
22
|
+
CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
|
|
23
|
+
CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
|
|
24
|
+
ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
|
|
25
|
+
ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
|
|
26
|
+
CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
|
|
27
|
+
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
28
|
+
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
29
|
+
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
30
|
+
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
31
|
+
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
32
|
+
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
33
|
+
EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
|
|
34
|
+
ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
|
|
35
|
+
ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
|
|
36
|
+
KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
|
|
37
|
+
LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
|
|
38
|
+
NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
|
|
39
|
+
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
40
|
+
SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
|
|
41
|
+
};
|
|
42
|
+
export const ServiceNamespace = {
|
|
43
|
+
APPSTREAM: "appstream",
|
|
44
|
+
CASSANDRA: "cassandra",
|
|
45
|
+
COMPREHEND: "comprehend",
|
|
46
|
+
CUSTOM_RESOURCE: "custom-resource",
|
|
47
|
+
DYNAMODB: "dynamodb",
|
|
48
|
+
EC2: "ec2",
|
|
49
|
+
ECS: "ecs",
|
|
50
|
+
ELASTICACHE: "elasticache",
|
|
51
|
+
EMR: "elasticmapreduce",
|
|
52
|
+
KAFKA: "kafka",
|
|
53
|
+
LAMBDA: "lambda",
|
|
54
|
+
NEPTUNE: "neptune",
|
|
55
|
+
RDS: "rds",
|
|
56
|
+
SAGEMAKER: "sagemaker",
|
|
57
|
+
};
|
|
61
58
|
export class InternalServiceException extends __BaseException {
|
|
62
59
|
constructor(opts) {
|
|
63
60
|
super({
|
|
@@ -110,58 +107,53 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
110
107
|
this.Message = opts.Message;
|
|
111
108
|
}
|
|
112
109
|
}
|
|
113
|
-
export
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
MetricType["NeptuneReaderAverageCPUUtilization"] = "NeptuneReaderAverageCPUUtilization";
|
|
161
|
-
MetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
|
|
162
|
-
MetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
163
|
-
MetricType["SageMakerVariantInvocationsPerInstance"] = "SageMakerVariantInvocationsPerInstance";
|
|
164
|
-
})(MetricType || (MetricType = {}));
|
|
110
|
+
export const ScalingActivityStatusCode = {
|
|
111
|
+
Failed: "Failed",
|
|
112
|
+
InProgress: "InProgress",
|
|
113
|
+
Overridden: "Overridden",
|
|
114
|
+
Pending: "Pending",
|
|
115
|
+
Successful: "Successful",
|
|
116
|
+
Unfulfilled: "Unfulfilled",
|
|
117
|
+
};
|
|
118
|
+
export const PolicyType = {
|
|
119
|
+
StepScaling: "StepScaling",
|
|
120
|
+
TargetTrackingScaling: "TargetTrackingScaling",
|
|
121
|
+
};
|
|
122
|
+
export const MetricAggregationType = {
|
|
123
|
+
Average: "Average",
|
|
124
|
+
Maximum: "Maximum",
|
|
125
|
+
Minimum: "Minimum",
|
|
126
|
+
};
|
|
127
|
+
export const MetricStatistic = {
|
|
128
|
+
Average: "Average",
|
|
129
|
+
Maximum: "Maximum",
|
|
130
|
+
Minimum: "Minimum",
|
|
131
|
+
SampleCount: "SampleCount",
|
|
132
|
+
Sum: "Sum",
|
|
133
|
+
};
|
|
134
|
+
export const MetricType = {
|
|
135
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
136
|
+
AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
|
|
137
|
+
CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
|
|
138
|
+
CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
|
|
139
|
+
ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
|
|
140
|
+
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
141
|
+
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
142
|
+
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
143
|
+
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
144
|
+
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
145
|
+
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
146
|
+
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
147
|
+
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
148
|
+
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
149
|
+
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
150
|
+
KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
|
|
151
|
+
LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
|
|
152
|
+
NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
|
|
153
|
+
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
154
|
+
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
155
|
+
SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
|
|
156
|
+
};
|
|
165
157
|
export class FailedResourceAccessException extends __BaseException {
|
|
166
158
|
constructor(opts) {
|
|
167
159
|
super({
|
|
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
ChangeInCapacity
|
|
8
|
-
ExactCapacity
|
|
9
|
-
PercentChangeInCapacity
|
|
10
|
-
}
|
|
7
|
+
export declare const AdjustmentType: {
|
|
8
|
+
readonly ChangeInCapacity: "ChangeInCapacity";
|
|
9
|
+
readonly ExactCapacity: "ExactCapacity";
|
|
10
|
+
readonly PercentChangeInCapacity: "PercentChangeInCapacity";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
11
16
|
/**
|
|
12
17
|
* @public
|
|
13
18
|
* <p>Represents a CloudWatch alarm associated with a scaling policy.</p>
|
|
@@ -38,48 +43,58 @@ export declare class ConcurrentUpdateException extends __BaseException {
|
|
|
38
43
|
}
|
|
39
44
|
/**
|
|
40
45
|
* @public
|
|
46
|
+
* @enum
|
|
41
47
|
*/
|
|
42
|
-
export declare
|
|
43
|
-
AppstreamFleetDesiredCapacity
|
|
44
|
-
CassandraTableReadCapacityUnits
|
|
45
|
-
CassandraTableWriteCapacityUnits
|
|
46
|
-
ComprehendDocClassifierEndpointInferenceUnits
|
|
47
|
-
ComprehendEntityRecognizerEndpointInferenceUnits
|
|
48
|
-
CustomResourceScalableDimension
|
|
49
|
-
DynamoDBIndexReadCapacityUnits
|
|
50
|
-
DynamoDBIndexWriteCapacityUnits
|
|
51
|
-
DynamoDBTableReadCapacityUnits
|
|
52
|
-
DynamoDBTableWriteCapacityUnits
|
|
53
|
-
EC2SpotFleetRequestTargetCapacity
|
|
54
|
-
ECSServiceDesiredCount
|
|
55
|
-
EMRInstanceGroupInstanceCount
|
|
56
|
-
ElastiCacheReplicationGroupNodeGroups
|
|
57
|
-
ElastiCacheReplicationGroupReplicas
|
|
58
|
-
KafkaBrokerStorageVolumeSize
|
|
59
|
-
LambdaFunctionProvisionedConcurrency
|
|
60
|
-
NeptuneClusterReadReplicaCount
|
|
61
|
-
RDSClusterReadReplicaCount
|
|
62
|
-
SageMakerVariantDesiredInstanceCount
|
|
63
|
-
}
|
|
48
|
+
export declare const ScalableDimension: {
|
|
49
|
+
readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
|
|
50
|
+
readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
|
|
51
|
+
readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
|
|
52
|
+
readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
|
|
53
|
+
readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
|
|
54
|
+
readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
|
|
55
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
56
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
57
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
58
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
59
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
60
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
61
|
+
readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
|
|
62
|
+
readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
|
|
63
|
+
readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
|
|
64
|
+
readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
|
|
65
|
+
readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
|
|
66
|
+
readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
|
|
67
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
68
|
+
readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
|
|
69
|
+
};
|
|
64
70
|
/**
|
|
65
71
|
* @public
|
|
66
72
|
*/
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const ServiceNamespace: {
|
|
79
|
+
readonly APPSTREAM: "appstream";
|
|
80
|
+
readonly CASSANDRA: "cassandra";
|
|
81
|
+
readonly COMPREHEND: "comprehend";
|
|
82
|
+
readonly CUSTOM_RESOURCE: "custom-resource";
|
|
83
|
+
readonly DYNAMODB: "dynamodb";
|
|
84
|
+
readonly EC2: "ec2";
|
|
85
|
+
readonly ECS: "ecs";
|
|
86
|
+
readonly ELASTICACHE: "elasticache";
|
|
87
|
+
readonly EMR: "elasticmapreduce";
|
|
88
|
+
readonly KAFKA: "kafka";
|
|
89
|
+
readonly LAMBDA: "lambda";
|
|
90
|
+
readonly NEPTUNE: "neptune";
|
|
91
|
+
readonly RDS: "rds";
|
|
92
|
+
readonly SAGEMAKER: "sagemaker";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
83
98
|
/**
|
|
84
99
|
* @public
|
|
85
100
|
*/
|
|
@@ -1299,15 +1314,20 @@ export interface NotScaledReason {
|
|
|
1299
1314
|
}
|
|
1300
1315
|
/**
|
|
1301
1316
|
* @public
|
|
1317
|
+
* @enum
|
|
1302
1318
|
*/
|
|
1303
|
-
export declare
|
|
1304
|
-
Failed
|
|
1305
|
-
InProgress
|
|
1306
|
-
Overridden
|
|
1307
|
-
Pending
|
|
1308
|
-
Successful
|
|
1309
|
-
Unfulfilled
|
|
1310
|
-
}
|
|
1319
|
+
export declare const ScalingActivityStatusCode: {
|
|
1320
|
+
readonly Failed: "Failed";
|
|
1321
|
+
readonly InProgress: "InProgress";
|
|
1322
|
+
readonly Overridden: "Overridden";
|
|
1323
|
+
readonly Pending: "Pending";
|
|
1324
|
+
readonly Successful: "Successful";
|
|
1325
|
+
readonly Unfulfilled: "Unfulfilled";
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1330
|
+
export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
1311
1331
|
/**
|
|
1312
1332
|
* @public
|
|
1313
1333
|
* <p>Represents a scaling activity.</p>
|
|
@@ -1711,19 +1731,29 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
1711
1731
|
}
|
|
1712
1732
|
/**
|
|
1713
1733
|
* @public
|
|
1734
|
+
* @enum
|
|
1714
1735
|
*/
|
|
1715
|
-
export declare
|
|
1716
|
-
StepScaling
|
|
1717
|
-
TargetTrackingScaling
|
|
1718
|
-
}
|
|
1736
|
+
export declare const PolicyType: {
|
|
1737
|
+
readonly StepScaling: "StepScaling";
|
|
1738
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
1739
|
+
};
|
|
1719
1740
|
/**
|
|
1720
1741
|
* @public
|
|
1721
1742
|
*/
|
|
1722
|
-
export
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1743
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
1744
|
+
/**
|
|
1745
|
+
* @public
|
|
1746
|
+
* @enum
|
|
1747
|
+
*/
|
|
1748
|
+
export declare const MetricAggregationType: {
|
|
1749
|
+
readonly Average: "Average";
|
|
1750
|
+
readonly Maximum: "Maximum";
|
|
1751
|
+
readonly Minimum: "Minimum";
|
|
1752
|
+
};
|
|
1753
|
+
/**
|
|
1754
|
+
* @public
|
|
1755
|
+
*/
|
|
1756
|
+
export type MetricAggregationType = (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
1727
1757
|
/**
|
|
1728
1758
|
* @public
|
|
1729
1759
|
* <p>Represents a step adjustment for a <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html">StepScalingPolicyConfiguration</a>. Describes an adjustment based on the difference
|
|
@@ -2025,14 +2055,19 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
2025
2055
|
}
|
|
2026
2056
|
/**
|
|
2027
2057
|
* @public
|
|
2058
|
+
* @enum
|
|
2028
2059
|
*/
|
|
2029
|
-
export declare
|
|
2030
|
-
Average
|
|
2031
|
-
Maximum
|
|
2032
|
-
Minimum
|
|
2033
|
-
SampleCount
|
|
2034
|
-
Sum
|
|
2035
|
-
}
|
|
2060
|
+
export declare const MetricStatistic: {
|
|
2061
|
+
readonly Average: "Average";
|
|
2062
|
+
readonly Maximum: "Maximum";
|
|
2063
|
+
readonly Minimum: "Minimum";
|
|
2064
|
+
readonly SampleCount: "SampleCount";
|
|
2065
|
+
readonly Sum: "Sum";
|
|
2066
|
+
};
|
|
2067
|
+
/**
|
|
2068
|
+
* @public
|
|
2069
|
+
*/
|
|
2070
|
+
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
2036
2071
|
/**
|
|
2037
2072
|
* @public
|
|
2038
2073
|
* <p>Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use
|
|
@@ -2092,30 +2127,35 @@ export interface CustomizedMetricSpecification {
|
|
|
2092
2127
|
}
|
|
2093
2128
|
/**
|
|
2094
2129
|
* @public
|
|
2130
|
+
* @enum
|
|
2095
2131
|
*/
|
|
2096
|
-
export declare
|
|
2097
|
-
ALBRequestCountPerTarget
|
|
2098
|
-
AppStreamAverageCapacityUtilization
|
|
2099
|
-
CassandraReadCapacityUtilization
|
|
2100
|
-
CassandraWriteCapacityUtilization
|
|
2101
|
-
ComprehendInferenceUtilization
|
|
2102
|
-
DynamoDBReadCapacityUtilization
|
|
2103
|
-
DynamoDBWriteCapacityUtilization
|
|
2104
|
-
EC2SpotFleetRequestAverageCPUUtilization
|
|
2105
|
-
EC2SpotFleetRequestAverageNetworkIn
|
|
2106
|
-
EC2SpotFleetRequestAverageNetworkOut
|
|
2107
|
-
ECSServiceAverageCPUUtilization
|
|
2108
|
-
ECSServiceAverageMemoryUtilization
|
|
2109
|
-
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage
|
|
2110
|
-
ElastiCachePrimaryEngineCPUUtilization
|
|
2111
|
-
ElastiCacheReplicaEngineCPUUtilization
|
|
2112
|
-
KafkaBrokerStorageUtilization
|
|
2113
|
-
LambdaProvisionedConcurrencyUtilization
|
|
2114
|
-
NeptuneReaderAverageCPUUtilization
|
|
2115
|
-
RDSReaderAverageCPUUtilization
|
|
2116
|
-
RDSReaderAverageDatabaseConnections
|
|
2117
|
-
SageMakerVariantInvocationsPerInstance
|
|
2118
|
-
}
|
|
2132
|
+
export declare const MetricType: {
|
|
2133
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
2134
|
+
readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
|
|
2135
|
+
readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
|
|
2136
|
+
readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
|
|
2137
|
+
readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
|
|
2138
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
2139
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
2140
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
2141
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
2142
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
2143
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
2144
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
2145
|
+
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
2146
|
+
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
2147
|
+
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
|
2148
|
+
readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
|
|
2149
|
+
readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
|
|
2150
|
+
readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
|
|
2151
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
2152
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
2153
|
+
readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
|
|
2154
|
+
};
|
|
2155
|
+
/**
|
|
2156
|
+
* @public
|
|
2157
|
+
*/
|
|
2158
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
2119
2159
|
/**
|
|
2120
2160
|
* @public
|
|
2121
2161
|
* <p>Represents a predefined metric for a target tracking scaling policy to use with
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ChangeInCapacity
|
|
5
|
-
ExactCapacity
|
|
6
|
-
PercentChangeInCapacity
|
|
7
|
-
}
|
|
3
|
+
export declare const AdjustmentType: {
|
|
4
|
+
readonly ChangeInCapacity: "ChangeInCapacity";
|
|
5
|
+
readonly ExactCapacity: "ExactCapacity";
|
|
6
|
+
readonly PercentChangeInCapacity: "PercentChangeInCapacity";
|
|
7
|
+
};
|
|
8
|
+
export type AdjustmentType =
|
|
9
|
+
(typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
8
10
|
export interface Alarm {
|
|
9
11
|
AlarmName: string | undefined;
|
|
10
12
|
AlarmARN: string | undefined;
|
|
@@ -17,44 +19,48 @@ export declare class ConcurrentUpdateException extends __BaseException {
|
|
|
17
19
|
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
18
20
|
);
|
|
19
21
|
}
|
|
20
|
-
export declare
|
|
21
|
-
AppstreamFleetDesiredCapacity
|
|
22
|
-
CassandraTableReadCapacityUnits
|
|
23
|
-
CassandraTableWriteCapacityUnits
|
|
24
|
-
ComprehendDocClassifierEndpointInferenceUnits
|
|
25
|
-
ComprehendEntityRecognizerEndpointInferenceUnits
|
|
26
|
-
CustomResourceScalableDimension
|
|
27
|
-
DynamoDBIndexReadCapacityUnits
|
|
28
|
-
DynamoDBIndexWriteCapacityUnits
|
|
29
|
-
DynamoDBTableReadCapacityUnits
|
|
30
|
-
DynamoDBTableWriteCapacityUnits
|
|
31
|
-
EC2SpotFleetRequestTargetCapacity
|
|
32
|
-
ECSServiceDesiredCount
|
|
33
|
-
EMRInstanceGroupInstanceCount
|
|
34
|
-
ElastiCacheReplicationGroupNodeGroups
|
|
35
|
-
ElastiCacheReplicationGroupReplicas
|
|
36
|
-
KafkaBrokerStorageVolumeSize
|
|
37
|
-
LambdaFunctionProvisionedConcurrency
|
|
38
|
-
NeptuneClusterReadReplicaCount
|
|
39
|
-
RDSClusterReadReplicaCount
|
|
40
|
-
SageMakerVariantDesiredInstanceCount
|
|
41
|
-
}
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
22
|
+
export declare const ScalableDimension: {
|
|
23
|
+
readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
|
|
24
|
+
readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
|
|
25
|
+
readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
|
|
26
|
+
readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
|
|
27
|
+
readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
|
|
28
|
+
readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
|
|
29
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
30
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
31
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
32
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
33
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
34
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
35
|
+
readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
|
|
36
|
+
readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
|
|
37
|
+
readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
|
|
38
|
+
readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
|
|
39
|
+
readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
|
|
40
|
+
readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
|
|
41
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
42
|
+
readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
|
|
43
|
+
};
|
|
44
|
+
export type ScalableDimension =
|
|
45
|
+
(typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
46
|
+
export declare const ServiceNamespace: {
|
|
47
|
+
readonly APPSTREAM: "appstream";
|
|
48
|
+
readonly CASSANDRA: "cassandra";
|
|
49
|
+
readonly COMPREHEND: "comprehend";
|
|
50
|
+
readonly CUSTOM_RESOURCE: "custom-resource";
|
|
51
|
+
readonly DYNAMODB: "dynamodb";
|
|
52
|
+
readonly EC2: "ec2";
|
|
53
|
+
readonly ECS: "ecs";
|
|
54
|
+
readonly ELASTICACHE: "elasticache";
|
|
55
|
+
readonly EMR: "elasticmapreduce";
|
|
56
|
+
readonly KAFKA: "kafka";
|
|
57
|
+
readonly LAMBDA: "lambda";
|
|
58
|
+
readonly NEPTUNE: "neptune";
|
|
59
|
+
readonly RDS: "rds";
|
|
60
|
+
readonly SAGEMAKER: "sagemaker";
|
|
61
|
+
};
|
|
62
|
+
export type ServiceNamespace =
|
|
63
|
+
(typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
58
64
|
export interface DeleteScalingPolicyRequest {
|
|
59
65
|
PolicyName: string | undefined;
|
|
60
66
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
@@ -148,14 +154,16 @@ export interface NotScaledReason {
|
|
|
148
154
|
MinCapacity?: number;
|
|
149
155
|
CurrentCapacity?: number;
|
|
150
156
|
}
|
|
151
|
-
export declare
|
|
152
|
-
Failed
|
|
153
|
-
InProgress
|
|
154
|
-
Overridden
|
|
155
|
-
Pending
|
|
156
|
-
Successful
|
|
157
|
-
Unfulfilled
|
|
158
|
-
}
|
|
157
|
+
export declare const ScalingActivityStatusCode: {
|
|
158
|
+
readonly Failed: "Failed";
|
|
159
|
+
readonly InProgress: "InProgress";
|
|
160
|
+
readonly Overridden: "Overridden";
|
|
161
|
+
readonly Pending: "Pending";
|
|
162
|
+
readonly Successful: "Successful";
|
|
163
|
+
readonly Unfulfilled: "Unfulfilled";
|
|
164
|
+
};
|
|
165
|
+
export type ScalingActivityStatusCode =
|
|
166
|
+
(typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
159
167
|
export interface ScalingActivity {
|
|
160
168
|
ActivityId: string | undefined;
|
|
161
169
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
@@ -182,15 +190,18 @@ export interface DescribeScalingPoliciesRequest {
|
|
|
182
190
|
MaxResults?: number;
|
|
183
191
|
NextToken?: string;
|
|
184
192
|
}
|
|
185
|
-
export declare
|
|
186
|
-
StepScaling
|
|
187
|
-
TargetTrackingScaling
|
|
188
|
-
}
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
193
|
+
export declare const PolicyType: {
|
|
194
|
+
readonly StepScaling: "StepScaling";
|
|
195
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
196
|
+
};
|
|
197
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
198
|
+
export declare const MetricAggregationType: {
|
|
199
|
+
readonly Average: "Average";
|
|
200
|
+
readonly Maximum: "Maximum";
|
|
201
|
+
readonly Minimum: "Minimum";
|
|
202
|
+
};
|
|
203
|
+
export type MetricAggregationType =
|
|
204
|
+
(typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
194
205
|
export interface StepAdjustment {
|
|
195
206
|
MetricIntervalLowerBound?: number;
|
|
196
207
|
MetricIntervalUpperBound?: number;
|
|
@@ -228,13 +239,15 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
228
239
|
MetricStat?: TargetTrackingMetricStat;
|
|
229
240
|
ReturnData?: boolean;
|
|
230
241
|
}
|
|
231
|
-
export declare
|
|
232
|
-
Average
|
|
233
|
-
Maximum
|
|
234
|
-
Minimum
|
|
235
|
-
SampleCount
|
|
236
|
-
Sum
|
|
237
|
-
}
|
|
242
|
+
export declare const MetricStatistic: {
|
|
243
|
+
readonly Average: "Average";
|
|
244
|
+
readonly Maximum: "Maximum";
|
|
245
|
+
readonly Minimum: "Minimum";
|
|
246
|
+
readonly SampleCount: "SampleCount";
|
|
247
|
+
readonly Sum: "Sum";
|
|
248
|
+
};
|
|
249
|
+
export type MetricStatistic =
|
|
250
|
+
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
238
251
|
export interface CustomizedMetricSpecification {
|
|
239
252
|
MetricName?: string;
|
|
240
253
|
Namespace?: string;
|
|
@@ -243,29 +256,30 @@ export interface CustomizedMetricSpecification {
|
|
|
243
256
|
Unit?: string;
|
|
244
257
|
Metrics?: TargetTrackingMetricDataQuery[];
|
|
245
258
|
}
|
|
246
|
-
export declare
|
|
247
|
-
ALBRequestCountPerTarget
|
|
248
|
-
AppStreamAverageCapacityUtilization
|
|
249
|
-
CassandraReadCapacityUtilization
|
|
250
|
-
CassandraWriteCapacityUtilization
|
|
251
|
-
ComprehendInferenceUtilization
|
|
252
|
-
DynamoDBReadCapacityUtilization
|
|
253
|
-
DynamoDBWriteCapacityUtilization
|
|
254
|
-
EC2SpotFleetRequestAverageCPUUtilization
|
|
255
|
-
EC2SpotFleetRequestAverageNetworkIn
|
|
256
|
-
EC2SpotFleetRequestAverageNetworkOut
|
|
257
|
-
ECSServiceAverageCPUUtilization
|
|
258
|
-
ECSServiceAverageMemoryUtilization
|
|
259
|
-
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage
|
|
260
|
-
ElastiCachePrimaryEngineCPUUtilization
|
|
261
|
-
ElastiCacheReplicaEngineCPUUtilization
|
|
262
|
-
KafkaBrokerStorageUtilization
|
|
263
|
-
LambdaProvisionedConcurrencyUtilization
|
|
264
|
-
NeptuneReaderAverageCPUUtilization
|
|
265
|
-
RDSReaderAverageCPUUtilization
|
|
266
|
-
RDSReaderAverageDatabaseConnections
|
|
267
|
-
SageMakerVariantInvocationsPerInstance
|
|
268
|
-
}
|
|
259
|
+
export declare const MetricType: {
|
|
260
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
261
|
+
readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
|
|
262
|
+
readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
|
|
263
|
+
readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
|
|
264
|
+
readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
|
|
265
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
266
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
267
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
268
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
269
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
270
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
271
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
272
|
+
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
273
|
+
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
274
|
+
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
|
275
|
+
readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
|
|
276
|
+
readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
|
|
277
|
+
readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
|
|
278
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
279
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
280
|
+
readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
|
|
281
|
+
};
|
|
282
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
269
283
|
export interface PredefinedMetricSpecification {
|
|
270
284
|
PredefinedMetricType: MetricType | string | undefined;
|
|
271
285
|
ResourceLabel?: string;
|
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.306.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|