@aws-sdk/client-application-auto-scaling 3.934.0 → 3.936.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/index.js +113 -112
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +112 -0
- package/dist-es/models/errors.js +131 -0
- package/dist-es/models/models_0.js +1 -243
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +192 -0
- package/dist-types/models/errors.d.ts +138 -0
- package/dist-types/models/models_0.d.ts +1 -330
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +130 -0
- package/dist-types/ts3.4/models/errors.d.ts +76 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -206
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,11 +117,6 @@ let ApplicationAutoScalingServiceException$1 = class ApplicationAutoScalingServi
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const AdjustmentType = {
|
|
121
|
-
ChangeInCapacity: "ChangeInCapacity",
|
|
122
|
-
ExactCapacity: "ExactCapacity",
|
|
123
|
-
PercentChangeInCapacity: "PercentChangeInCapacity",
|
|
124
|
-
};
|
|
125
120
|
let ConcurrentUpdateException$1 = class ConcurrentUpdateException extends ApplicationAutoScalingServiceException$1 {
|
|
126
121
|
name = "ConcurrentUpdateException";
|
|
127
122
|
$fault = "server";
|
|
@@ -136,49 +131,6 @@ let ConcurrentUpdateException$1 = class ConcurrentUpdateException extends Applic
|
|
|
136
131
|
this.Message = opts.Message;
|
|
137
132
|
}
|
|
138
133
|
};
|
|
139
|
-
const ScalableDimension = {
|
|
140
|
-
AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
|
|
141
|
-
CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
|
|
142
|
-
CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
|
|
143
|
-
ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
|
|
144
|
-
ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
|
|
145
|
-
CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
|
|
146
|
-
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
147
|
-
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
148
|
-
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
149
|
-
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
150
|
-
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
151
|
-
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
152
|
-
EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
|
|
153
|
-
ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes",
|
|
154
|
-
ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
|
|
155
|
-
ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
|
|
156
|
-
KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
|
|
157
|
-
LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
|
|
158
|
-
NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
|
|
159
|
-
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
160
|
-
SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount",
|
|
161
|
-
SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
|
|
162
|
-
SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency",
|
|
163
|
-
WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions",
|
|
164
|
-
};
|
|
165
|
-
const ServiceNamespace = {
|
|
166
|
-
APPSTREAM: "appstream",
|
|
167
|
-
CASSANDRA: "cassandra",
|
|
168
|
-
COMPREHEND: "comprehend",
|
|
169
|
-
CUSTOM_RESOURCE: "custom-resource",
|
|
170
|
-
DYNAMODB: "dynamodb",
|
|
171
|
-
EC2: "ec2",
|
|
172
|
-
ECS: "ecs",
|
|
173
|
-
ELASTICACHE: "elasticache",
|
|
174
|
-
EMR: "elasticmapreduce",
|
|
175
|
-
KAFKA: "kafka",
|
|
176
|
-
LAMBDA: "lambda",
|
|
177
|
-
NEPTUNE: "neptune",
|
|
178
|
-
RDS: "rds",
|
|
179
|
-
SAGEMAKER: "sagemaker",
|
|
180
|
-
WORKSPACES: "workspaces",
|
|
181
|
-
};
|
|
182
134
|
let InternalServiceException$1 = class InternalServiceException extends ApplicationAutoScalingServiceException$1 {
|
|
183
135
|
name = "InternalServiceException";
|
|
184
136
|
$fault = "server";
|
|
@@ -235,70 +187,6 @@ let InvalidNextTokenException$1 = class InvalidNextTokenException extends Applic
|
|
|
235
187
|
this.Message = opts.Message;
|
|
236
188
|
}
|
|
237
189
|
};
|
|
238
|
-
const ScalingActivityStatusCode = {
|
|
239
|
-
Failed: "Failed",
|
|
240
|
-
InProgress: "InProgress",
|
|
241
|
-
Overridden: "Overridden",
|
|
242
|
-
Pending: "Pending",
|
|
243
|
-
Successful: "Successful",
|
|
244
|
-
Unfulfilled: "Unfulfilled",
|
|
245
|
-
};
|
|
246
|
-
const PolicyType = {
|
|
247
|
-
PredictiveScaling: "PredictiveScaling",
|
|
248
|
-
StepScaling: "StepScaling",
|
|
249
|
-
TargetTrackingScaling: "TargetTrackingScaling",
|
|
250
|
-
};
|
|
251
|
-
const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
252
|
-
HonorMaxCapacity: "HonorMaxCapacity",
|
|
253
|
-
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
254
|
-
};
|
|
255
|
-
const PredictiveScalingMode = {
|
|
256
|
-
ForecastAndScale: "ForecastAndScale",
|
|
257
|
-
ForecastOnly: "ForecastOnly",
|
|
258
|
-
};
|
|
259
|
-
const MetricAggregationType = {
|
|
260
|
-
Average: "Average",
|
|
261
|
-
Maximum: "Maximum",
|
|
262
|
-
Minimum: "Minimum",
|
|
263
|
-
};
|
|
264
|
-
const MetricStatistic = {
|
|
265
|
-
Average: "Average",
|
|
266
|
-
Maximum: "Maximum",
|
|
267
|
-
Minimum: "Minimum",
|
|
268
|
-
SampleCount: "SampleCount",
|
|
269
|
-
Sum: "Sum",
|
|
270
|
-
};
|
|
271
|
-
const MetricType = {
|
|
272
|
-
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
273
|
-
AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
|
|
274
|
-
CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
|
|
275
|
-
CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
|
|
276
|
-
ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
|
|
277
|
-
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
278
|
-
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
279
|
-
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
280
|
-
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
281
|
-
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
282
|
-
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
283
|
-
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
284
|
-
ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
|
|
285
|
-
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
286
|
-
ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage",
|
|
287
|
-
ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization",
|
|
288
|
-
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
289
|
-
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
290
|
-
KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
|
|
291
|
-
LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
|
|
292
|
-
NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
|
|
293
|
-
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
294
|
-
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
295
|
-
SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution",
|
|
296
|
-
SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy",
|
|
297
|
-
SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution",
|
|
298
|
-
SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
|
|
299
|
-
SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization",
|
|
300
|
-
WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization",
|
|
301
|
-
};
|
|
302
190
|
let FailedResourceAccessException$1 = class FailedResourceAccessException extends ApplicationAutoScalingServiceException$1 {
|
|
303
191
|
name = "FailedResourceAccessException";
|
|
304
192
|
$fault = "client";
|
|
@@ -1324,6 +1212,119 @@ const paginateDescribeScalingPolicies = core.createPaginator(ApplicationAutoScal
|
|
|
1324
1212
|
|
|
1325
1213
|
const paginateDescribeScheduledActions = core.createPaginator(ApplicationAutoScalingClient, DescribeScheduledActionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1326
1214
|
|
|
1215
|
+
const AdjustmentType = {
|
|
1216
|
+
ChangeInCapacity: "ChangeInCapacity",
|
|
1217
|
+
ExactCapacity: "ExactCapacity",
|
|
1218
|
+
PercentChangeInCapacity: "PercentChangeInCapacity",
|
|
1219
|
+
};
|
|
1220
|
+
const ScalableDimension = {
|
|
1221
|
+
AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
|
|
1222
|
+
CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
|
|
1223
|
+
CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
|
|
1224
|
+
ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
|
|
1225
|
+
ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
|
|
1226
|
+
CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
|
|
1227
|
+
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
1228
|
+
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
1229
|
+
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
1230
|
+
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
1231
|
+
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
1232
|
+
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
1233
|
+
EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
|
|
1234
|
+
ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes",
|
|
1235
|
+
ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
|
|
1236
|
+
ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
|
|
1237
|
+
KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
|
|
1238
|
+
LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
|
|
1239
|
+
NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
|
|
1240
|
+
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
1241
|
+
SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount",
|
|
1242
|
+
SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
|
|
1243
|
+
SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency",
|
|
1244
|
+
WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions",
|
|
1245
|
+
};
|
|
1246
|
+
const ServiceNamespace = {
|
|
1247
|
+
APPSTREAM: "appstream",
|
|
1248
|
+
CASSANDRA: "cassandra",
|
|
1249
|
+
COMPREHEND: "comprehend",
|
|
1250
|
+
CUSTOM_RESOURCE: "custom-resource",
|
|
1251
|
+
DYNAMODB: "dynamodb",
|
|
1252
|
+
EC2: "ec2",
|
|
1253
|
+
ECS: "ecs",
|
|
1254
|
+
ELASTICACHE: "elasticache",
|
|
1255
|
+
EMR: "elasticmapreduce",
|
|
1256
|
+
KAFKA: "kafka",
|
|
1257
|
+
LAMBDA: "lambda",
|
|
1258
|
+
NEPTUNE: "neptune",
|
|
1259
|
+
RDS: "rds",
|
|
1260
|
+
SAGEMAKER: "sagemaker",
|
|
1261
|
+
WORKSPACES: "workspaces",
|
|
1262
|
+
};
|
|
1263
|
+
const ScalingActivityStatusCode = {
|
|
1264
|
+
Failed: "Failed",
|
|
1265
|
+
InProgress: "InProgress",
|
|
1266
|
+
Overridden: "Overridden",
|
|
1267
|
+
Pending: "Pending",
|
|
1268
|
+
Successful: "Successful",
|
|
1269
|
+
Unfulfilled: "Unfulfilled",
|
|
1270
|
+
};
|
|
1271
|
+
const PolicyType = {
|
|
1272
|
+
PredictiveScaling: "PredictiveScaling",
|
|
1273
|
+
StepScaling: "StepScaling",
|
|
1274
|
+
TargetTrackingScaling: "TargetTrackingScaling",
|
|
1275
|
+
};
|
|
1276
|
+
const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
1277
|
+
HonorMaxCapacity: "HonorMaxCapacity",
|
|
1278
|
+
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
1279
|
+
};
|
|
1280
|
+
const PredictiveScalingMode = {
|
|
1281
|
+
ForecastAndScale: "ForecastAndScale",
|
|
1282
|
+
ForecastOnly: "ForecastOnly",
|
|
1283
|
+
};
|
|
1284
|
+
const MetricAggregationType = {
|
|
1285
|
+
Average: "Average",
|
|
1286
|
+
Maximum: "Maximum",
|
|
1287
|
+
Minimum: "Minimum",
|
|
1288
|
+
};
|
|
1289
|
+
const MetricStatistic = {
|
|
1290
|
+
Average: "Average",
|
|
1291
|
+
Maximum: "Maximum",
|
|
1292
|
+
Minimum: "Minimum",
|
|
1293
|
+
SampleCount: "SampleCount",
|
|
1294
|
+
Sum: "Sum",
|
|
1295
|
+
};
|
|
1296
|
+
const MetricType = {
|
|
1297
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
1298
|
+
AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
|
|
1299
|
+
CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
|
|
1300
|
+
CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
|
|
1301
|
+
ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
|
|
1302
|
+
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
1303
|
+
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
1304
|
+
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
1305
|
+
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
1306
|
+
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
1307
|
+
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
1308
|
+
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
1309
|
+
ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
|
|
1310
|
+
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
1311
|
+
ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage",
|
|
1312
|
+
ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization",
|
|
1313
|
+
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
1314
|
+
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
1315
|
+
KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
|
|
1316
|
+
LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
|
|
1317
|
+
NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
|
|
1318
|
+
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
1319
|
+
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
1320
|
+
SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution",
|
|
1321
|
+
SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy",
|
|
1322
|
+
SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution",
|
|
1323
|
+
SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
|
|
1324
|
+
SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization",
|
|
1325
|
+
WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization",
|
|
1326
|
+
};
|
|
1327
|
+
|
|
1327
1328
|
Object.defineProperty(exports, "$Command", {
|
|
1328
1329
|
enumerable: true,
|
|
1329
1330
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ApplicationAutoScalingClient";
|
|
|
2
2
|
export * from "./ApplicationAutoScaling";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export const AdjustmentType = {
|
|
2
|
+
ChangeInCapacity: "ChangeInCapacity",
|
|
3
|
+
ExactCapacity: "ExactCapacity",
|
|
4
|
+
PercentChangeInCapacity: "PercentChangeInCapacity",
|
|
5
|
+
};
|
|
6
|
+
export const ScalableDimension = {
|
|
7
|
+
AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
|
|
8
|
+
CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
|
|
9
|
+
CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
|
|
10
|
+
ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
|
|
11
|
+
ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
|
|
12
|
+
CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
|
|
13
|
+
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
14
|
+
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
15
|
+
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
16
|
+
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
17
|
+
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
18
|
+
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
19
|
+
EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
|
|
20
|
+
ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes",
|
|
21
|
+
ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
|
|
22
|
+
ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
|
|
23
|
+
KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
|
|
24
|
+
LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
|
|
25
|
+
NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
|
|
26
|
+
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
27
|
+
SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount",
|
|
28
|
+
SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
|
|
29
|
+
SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency",
|
|
30
|
+
WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions",
|
|
31
|
+
};
|
|
32
|
+
export const ServiceNamespace = {
|
|
33
|
+
APPSTREAM: "appstream",
|
|
34
|
+
CASSANDRA: "cassandra",
|
|
35
|
+
COMPREHEND: "comprehend",
|
|
36
|
+
CUSTOM_RESOURCE: "custom-resource",
|
|
37
|
+
DYNAMODB: "dynamodb",
|
|
38
|
+
EC2: "ec2",
|
|
39
|
+
ECS: "ecs",
|
|
40
|
+
ELASTICACHE: "elasticache",
|
|
41
|
+
EMR: "elasticmapreduce",
|
|
42
|
+
KAFKA: "kafka",
|
|
43
|
+
LAMBDA: "lambda",
|
|
44
|
+
NEPTUNE: "neptune",
|
|
45
|
+
RDS: "rds",
|
|
46
|
+
SAGEMAKER: "sagemaker",
|
|
47
|
+
WORKSPACES: "workspaces",
|
|
48
|
+
};
|
|
49
|
+
export const ScalingActivityStatusCode = {
|
|
50
|
+
Failed: "Failed",
|
|
51
|
+
InProgress: "InProgress",
|
|
52
|
+
Overridden: "Overridden",
|
|
53
|
+
Pending: "Pending",
|
|
54
|
+
Successful: "Successful",
|
|
55
|
+
Unfulfilled: "Unfulfilled",
|
|
56
|
+
};
|
|
57
|
+
export const PolicyType = {
|
|
58
|
+
PredictiveScaling: "PredictiveScaling",
|
|
59
|
+
StepScaling: "StepScaling",
|
|
60
|
+
TargetTrackingScaling: "TargetTrackingScaling",
|
|
61
|
+
};
|
|
62
|
+
export const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
63
|
+
HonorMaxCapacity: "HonorMaxCapacity",
|
|
64
|
+
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
65
|
+
};
|
|
66
|
+
export const PredictiveScalingMode = {
|
|
67
|
+
ForecastAndScale: "ForecastAndScale",
|
|
68
|
+
ForecastOnly: "ForecastOnly",
|
|
69
|
+
};
|
|
70
|
+
export const MetricAggregationType = {
|
|
71
|
+
Average: "Average",
|
|
72
|
+
Maximum: "Maximum",
|
|
73
|
+
Minimum: "Minimum",
|
|
74
|
+
};
|
|
75
|
+
export const MetricStatistic = {
|
|
76
|
+
Average: "Average",
|
|
77
|
+
Maximum: "Maximum",
|
|
78
|
+
Minimum: "Minimum",
|
|
79
|
+
SampleCount: "SampleCount",
|
|
80
|
+
Sum: "Sum",
|
|
81
|
+
};
|
|
82
|
+
export const MetricType = {
|
|
83
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
84
|
+
AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
|
|
85
|
+
CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
|
|
86
|
+
CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
|
|
87
|
+
ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
|
|
88
|
+
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
89
|
+
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
90
|
+
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
91
|
+
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
92
|
+
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
93
|
+
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
94
|
+
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
95
|
+
ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
|
|
96
|
+
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
97
|
+
ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage",
|
|
98
|
+
ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization",
|
|
99
|
+
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
100
|
+
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
101
|
+
KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
|
|
102
|
+
LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
|
|
103
|
+
NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
|
|
104
|
+
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
105
|
+
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
106
|
+
SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution",
|
|
107
|
+
SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy",
|
|
108
|
+
SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution",
|
|
109
|
+
SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
|
|
110
|
+
SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization",
|
|
111
|
+
WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization",
|
|
112
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
2
|
+
export class ConcurrentUpdateException extends __BaseException {
|
|
3
|
+
name = "ConcurrentUpdateException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ConcurrentUpdateException",
|
|
9
|
+
$fault: "server",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServiceException extends __BaseException {
|
|
17
|
+
name = "InternalServiceException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalServiceException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ObjectNotFoundException extends __BaseException {
|
|
31
|
+
name = "ObjectNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ObjectNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ValidationException extends __BaseException {
|
|
45
|
+
name = "ValidationException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ValidationException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class InvalidNextTokenException extends __BaseException {
|
|
59
|
+
name = "InvalidNextTokenException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InvalidNextTokenException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class FailedResourceAccessException extends __BaseException {
|
|
73
|
+
name = "FailedResourceAccessException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "FailedResourceAccessException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, FailedResourceAccessException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
87
|
+
name = "ResourceNotFoundException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
ResourceName;
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "ResourceNotFoundException",
|
|
94
|
+
$fault: "client",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
98
|
+
this.Message = opts.Message;
|
|
99
|
+
this.ResourceName = opts.ResourceName;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class LimitExceededException extends __BaseException {
|
|
103
|
+
name = "LimitExceededException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
Message;
|
|
106
|
+
constructor(opts) {
|
|
107
|
+
super({
|
|
108
|
+
name: "LimitExceededException",
|
|
109
|
+
$fault: "client",
|
|
110
|
+
...opts,
|
|
111
|
+
});
|
|
112
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
113
|
+
this.Message = opts.Message;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export class TooManyTagsException extends __BaseException {
|
|
117
|
+
name = "TooManyTagsException";
|
|
118
|
+
$fault = "client";
|
|
119
|
+
Message;
|
|
120
|
+
ResourceName;
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "TooManyTagsException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
128
|
+
this.Message = opts.Message;
|
|
129
|
+
this.ResourceName = opts.ResourceName;
|
|
130
|
+
}
|
|
131
|
+
}
|