@aws-sdk/client-application-auto-scaling 3.933.0 → 3.935.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 +12 -12
- 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
|
@@ -1,243 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const AdjustmentType = {
|
|
3
|
-
ChangeInCapacity: "ChangeInCapacity",
|
|
4
|
-
ExactCapacity: "ExactCapacity",
|
|
5
|
-
PercentChangeInCapacity: "PercentChangeInCapacity",
|
|
6
|
-
};
|
|
7
|
-
export class ConcurrentUpdateException extends __BaseException {
|
|
8
|
-
name = "ConcurrentUpdateException";
|
|
9
|
-
$fault = "server";
|
|
10
|
-
Message;
|
|
11
|
-
constructor(opts) {
|
|
12
|
-
super({
|
|
13
|
-
name: "ConcurrentUpdateException",
|
|
14
|
-
$fault: "server",
|
|
15
|
-
...opts,
|
|
16
|
-
});
|
|
17
|
-
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
18
|
-
this.Message = opts.Message;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export const ScalableDimension = {
|
|
22
|
-
AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity",
|
|
23
|
-
CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits",
|
|
24
|
-
CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits",
|
|
25
|
-
ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits",
|
|
26
|
-
ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits",
|
|
27
|
-
CustomResourceScalableDimension: "custom-resource:ResourceType:Property",
|
|
28
|
-
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
29
|
-
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
30
|
-
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
31
|
-
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
32
|
-
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
33
|
-
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
34
|
-
EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount",
|
|
35
|
-
ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes",
|
|
36
|
-
ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups",
|
|
37
|
-
ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas",
|
|
38
|
-
KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize",
|
|
39
|
-
LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency",
|
|
40
|
-
NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount",
|
|
41
|
-
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
42
|
-
SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount",
|
|
43
|
-
SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount",
|
|
44
|
-
SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency",
|
|
45
|
-
WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions",
|
|
46
|
-
};
|
|
47
|
-
export const ServiceNamespace = {
|
|
48
|
-
APPSTREAM: "appstream",
|
|
49
|
-
CASSANDRA: "cassandra",
|
|
50
|
-
COMPREHEND: "comprehend",
|
|
51
|
-
CUSTOM_RESOURCE: "custom-resource",
|
|
52
|
-
DYNAMODB: "dynamodb",
|
|
53
|
-
EC2: "ec2",
|
|
54
|
-
ECS: "ecs",
|
|
55
|
-
ELASTICACHE: "elasticache",
|
|
56
|
-
EMR: "elasticmapreduce",
|
|
57
|
-
KAFKA: "kafka",
|
|
58
|
-
LAMBDA: "lambda",
|
|
59
|
-
NEPTUNE: "neptune",
|
|
60
|
-
RDS: "rds",
|
|
61
|
-
SAGEMAKER: "sagemaker",
|
|
62
|
-
WORKSPACES: "workspaces",
|
|
63
|
-
};
|
|
64
|
-
export class InternalServiceException extends __BaseException {
|
|
65
|
-
name = "InternalServiceException";
|
|
66
|
-
$fault = "server";
|
|
67
|
-
Message;
|
|
68
|
-
constructor(opts) {
|
|
69
|
-
super({
|
|
70
|
-
name: "InternalServiceException",
|
|
71
|
-
$fault: "server",
|
|
72
|
-
...opts,
|
|
73
|
-
});
|
|
74
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
75
|
-
this.Message = opts.Message;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
export class ObjectNotFoundException extends __BaseException {
|
|
79
|
-
name = "ObjectNotFoundException";
|
|
80
|
-
$fault = "client";
|
|
81
|
-
Message;
|
|
82
|
-
constructor(opts) {
|
|
83
|
-
super({
|
|
84
|
-
name: "ObjectNotFoundException",
|
|
85
|
-
$fault: "client",
|
|
86
|
-
...opts,
|
|
87
|
-
});
|
|
88
|
-
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
89
|
-
this.Message = opts.Message;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
export class ValidationException extends __BaseException {
|
|
93
|
-
name = "ValidationException";
|
|
94
|
-
$fault = "client";
|
|
95
|
-
Message;
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "ValidationException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
103
|
-
this.Message = opts.Message;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
export class InvalidNextTokenException extends __BaseException {
|
|
107
|
-
name = "InvalidNextTokenException";
|
|
108
|
-
$fault = "client";
|
|
109
|
-
Message;
|
|
110
|
-
constructor(opts) {
|
|
111
|
-
super({
|
|
112
|
-
name: "InvalidNextTokenException",
|
|
113
|
-
$fault: "client",
|
|
114
|
-
...opts,
|
|
115
|
-
});
|
|
116
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
117
|
-
this.Message = opts.Message;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export const ScalingActivityStatusCode = {
|
|
121
|
-
Failed: "Failed",
|
|
122
|
-
InProgress: "InProgress",
|
|
123
|
-
Overridden: "Overridden",
|
|
124
|
-
Pending: "Pending",
|
|
125
|
-
Successful: "Successful",
|
|
126
|
-
Unfulfilled: "Unfulfilled",
|
|
127
|
-
};
|
|
128
|
-
export const PolicyType = {
|
|
129
|
-
PredictiveScaling: "PredictiveScaling",
|
|
130
|
-
StepScaling: "StepScaling",
|
|
131
|
-
TargetTrackingScaling: "TargetTrackingScaling",
|
|
132
|
-
};
|
|
133
|
-
export const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
134
|
-
HonorMaxCapacity: "HonorMaxCapacity",
|
|
135
|
-
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
136
|
-
};
|
|
137
|
-
export const PredictiveScalingMode = {
|
|
138
|
-
ForecastAndScale: "ForecastAndScale",
|
|
139
|
-
ForecastOnly: "ForecastOnly",
|
|
140
|
-
};
|
|
141
|
-
export const MetricAggregationType = {
|
|
142
|
-
Average: "Average",
|
|
143
|
-
Maximum: "Maximum",
|
|
144
|
-
Minimum: "Minimum",
|
|
145
|
-
};
|
|
146
|
-
export const MetricStatistic = {
|
|
147
|
-
Average: "Average",
|
|
148
|
-
Maximum: "Maximum",
|
|
149
|
-
Minimum: "Minimum",
|
|
150
|
-
SampleCount: "SampleCount",
|
|
151
|
-
Sum: "Sum",
|
|
152
|
-
};
|
|
153
|
-
export const MetricType = {
|
|
154
|
-
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
155
|
-
AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization",
|
|
156
|
-
CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization",
|
|
157
|
-
CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization",
|
|
158
|
-
ComprehendInferenceUtilization: "ComprehendInferenceUtilization",
|
|
159
|
-
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
160
|
-
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
161
|
-
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
162
|
-
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
163
|
-
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
164
|
-
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
165
|
-
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
166
|
-
ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage",
|
|
167
|
-
ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage",
|
|
168
|
-
ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage",
|
|
169
|
-
ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization",
|
|
170
|
-
ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization",
|
|
171
|
-
ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization",
|
|
172
|
-
KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization",
|
|
173
|
-
LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization",
|
|
174
|
-
NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization",
|
|
175
|
-
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
176
|
-
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
177
|
-
SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution",
|
|
178
|
-
SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy",
|
|
179
|
-
SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution",
|
|
180
|
-
SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance",
|
|
181
|
-
SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization",
|
|
182
|
-
WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization",
|
|
183
|
-
};
|
|
184
|
-
export class FailedResourceAccessException extends __BaseException {
|
|
185
|
-
name = "FailedResourceAccessException";
|
|
186
|
-
$fault = "client";
|
|
187
|
-
Message;
|
|
188
|
-
constructor(opts) {
|
|
189
|
-
super({
|
|
190
|
-
name: "FailedResourceAccessException",
|
|
191
|
-
$fault: "client",
|
|
192
|
-
...opts,
|
|
193
|
-
});
|
|
194
|
-
Object.setPrototypeOf(this, FailedResourceAccessException.prototype);
|
|
195
|
-
this.Message = opts.Message;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
199
|
-
name = "ResourceNotFoundException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
Message;
|
|
202
|
-
ResourceName;
|
|
203
|
-
constructor(opts) {
|
|
204
|
-
super({
|
|
205
|
-
name: "ResourceNotFoundException",
|
|
206
|
-
$fault: "client",
|
|
207
|
-
...opts,
|
|
208
|
-
});
|
|
209
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
210
|
-
this.Message = opts.Message;
|
|
211
|
-
this.ResourceName = opts.ResourceName;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
export class LimitExceededException extends __BaseException {
|
|
215
|
-
name = "LimitExceededException";
|
|
216
|
-
$fault = "client";
|
|
217
|
-
Message;
|
|
218
|
-
constructor(opts) {
|
|
219
|
-
super({
|
|
220
|
-
name: "LimitExceededException",
|
|
221
|
-
$fault: "client",
|
|
222
|
-
...opts,
|
|
223
|
-
});
|
|
224
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
225
|
-
this.Message = opts.Message;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
export class TooManyTagsException extends __BaseException {
|
|
229
|
-
name = "TooManyTagsException";
|
|
230
|
-
$fault = "client";
|
|
231
|
-
Message;
|
|
232
|
-
ResourceName;
|
|
233
|
-
constructor(opts) {
|
|
234
|
-
super({
|
|
235
|
-
name: "TooManyTagsException",
|
|
236
|
-
$fault: "client",
|
|
237
|
-
...opts,
|
|
238
|
-
});
|
|
239
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
240
|
-
this.Message = opts.Message;
|
|
241
|
-
this.ResourceName = opts.ResourceName;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
1
|
+
export {};
|
|
@@ -188,7 +188,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.applicationautoscaling";
|
|
|
188
188
|
const n0 = "com.amazonaws.applicationautoscaling";
|
|
189
189
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
190
190
|
import { ApplicationAutoScalingServiceException as __ApplicationAutoScalingServiceException } from "../models/ApplicationAutoScalingServiceException";
|
|
191
|
-
import { ConcurrentUpdateException as __ConcurrentUpdateException, FailedResourceAccessException as __FailedResourceAccessException, InternalServiceException as __InternalServiceException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ObjectNotFoundException as __ObjectNotFoundException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/
|
|
191
|
+
import { ConcurrentUpdateException as __ConcurrentUpdateException, FailedResourceAccessException as __FailedResourceAccessException, InternalServiceException as __InternalServiceException, InvalidNextTokenException as __InvalidNextTokenException, LimitExceededException as __LimitExceededException, ObjectNotFoundException as __ObjectNotFoundException, ResourceNotFoundException as __ResourceNotFoundException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
|
|
192
192
|
export var Alarm = [3, n0, _A, 0, [_AN, _AARN], [0, 0]];
|
|
193
193
|
export var CapacityForecast = [3, n0, _CF, 0, [_T, _V], [64 | 4, 64 | 1]];
|
|
194
194
|
export var ConcurrentUpdateException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -89,5 +89,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
89
89
|
export type { ApplicationAutoScalingExtensionConfiguration } from "./extensionConfiguration";
|
|
90
90
|
export * from "./commands";
|
|
91
91
|
export * from "./pagination";
|
|
92
|
-
export * from "./models";
|
|
92
|
+
export * from "./models/enums";
|
|
93
|
+
export * from "./models/errors";
|
|
94
|
+
export type * from "./models/models_0";
|
|
93
95
|
export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException";
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AdjustmentType: {
|
|
6
|
+
readonly ChangeInCapacity: "ChangeInCapacity";
|
|
7
|
+
readonly ExactCapacity: "ExactCapacity";
|
|
8
|
+
readonly PercentChangeInCapacity: "PercentChangeInCapacity";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const ScalableDimension: {
|
|
19
|
+
readonly AppstreamFleetDesiredCapacity: "appstream:fleet:DesiredCapacity";
|
|
20
|
+
readonly CassandraTableReadCapacityUnits: "cassandra:table:ReadCapacityUnits";
|
|
21
|
+
readonly CassandraTableWriteCapacityUnits: "cassandra:table:WriteCapacityUnits";
|
|
22
|
+
readonly ComprehendDocClassifierEndpointInferenceUnits: "comprehend:document-classifier-endpoint:DesiredInferenceUnits";
|
|
23
|
+
readonly ComprehendEntityRecognizerEndpointInferenceUnits: "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits";
|
|
24
|
+
readonly CustomResourceScalableDimension: "custom-resource:ResourceType:Property";
|
|
25
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
26
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
27
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
28
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
29
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
30
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
31
|
+
readonly EMRInstanceGroupInstanceCount: "elasticmapreduce:instancegroup:InstanceCount";
|
|
32
|
+
readonly ElastiCacheCacheClusterNodes: "elasticache:cache-cluster:Nodes";
|
|
33
|
+
readonly ElastiCacheReplicationGroupNodeGroups: "elasticache:replication-group:NodeGroups";
|
|
34
|
+
readonly ElastiCacheReplicationGroupReplicas: "elasticache:replication-group:Replicas";
|
|
35
|
+
readonly KafkaBrokerStorageVolumeSize: "kafka:broker-storage:VolumeSize";
|
|
36
|
+
readonly LambdaFunctionProvisionedConcurrency: "lambda:function:ProvisionedConcurrency";
|
|
37
|
+
readonly NeptuneClusterReadReplicaCount: "neptune:cluster:ReadReplicaCount";
|
|
38
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
39
|
+
readonly SageMakerInferenceComponentDesiredCopyCount: "sagemaker:inference-component:DesiredCopyCount";
|
|
40
|
+
readonly SageMakerVariantDesiredInstanceCount: "sagemaker:variant:DesiredInstanceCount";
|
|
41
|
+
readonly SageMakerVariantDesiredProvisionedConcurrency: "sagemaker:variant:DesiredProvisionedConcurrency";
|
|
42
|
+
readonly WorkSpacesWorkSpacesPoolDesiredUserSessions: "workspaces:workspacespool:DesiredUserSessions";
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @enum
|
|
51
|
+
*/
|
|
52
|
+
export declare const ServiceNamespace: {
|
|
53
|
+
readonly APPSTREAM: "appstream";
|
|
54
|
+
readonly CASSANDRA: "cassandra";
|
|
55
|
+
readonly COMPREHEND: "comprehend";
|
|
56
|
+
readonly CUSTOM_RESOURCE: "custom-resource";
|
|
57
|
+
readonly DYNAMODB: "dynamodb";
|
|
58
|
+
readonly EC2: "ec2";
|
|
59
|
+
readonly ECS: "ecs";
|
|
60
|
+
readonly ELASTICACHE: "elasticache";
|
|
61
|
+
readonly EMR: "elasticmapreduce";
|
|
62
|
+
readonly KAFKA: "kafka";
|
|
63
|
+
readonly LAMBDA: "lambda";
|
|
64
|
+
readonly NEPTUNE: "neptune";
|
|
65
|
+
readonly RDS: "rds";
|
|
66
|
+
readonly SAGEMAKER: "sagemaker";
|
|
67
|
+
readonly WORKSPACES: "workspaces";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const ScalingActivityStatusCode: {
|
|
78
|
+
readonly Failed: "Failed";
|
|
79
|
+
readonly InProgress: "InProgress";
|
|
80
|
+
readonly Overridden: "Overridden";
|
|
81
|
+
readonly Pending: "Pending";
|
|
82
|
+
readonly Successful: "Successful";
|
|
83
|
+
readonly Unfulfilled: "Unfulfilled";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @enum
|
|
92
|
+
*/
|
|
93
|
+
export declare const PolicyType: {
|
|
94
|
+
readonly PredictiveScaling: "PredictiveScaling";
|
|
95
|
+
readonly StepScaling: "StepScaling";
|
|
96
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @enum
|
|
105
|
+
*/
|
|
106
|
+
export declare const PredictiveScalingMaxCapacityBreachBehavior: {
|
|
107
|
+
readonly HonorMaxCapacity: "HonorMaxCapacity";
|
|
108
|
+
readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type PredictiveScalingMaxCapacityBreachBehavior = (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const PredictiveScalingMode: {
|
|
119
|
+
readonly ForecastAndScale: "ForecastAndScale";
|
|
120
|
+
readonly ForecastOnly: "ForecastOnly";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* @enum
|
|
129
|
+
*/
|
|
130
|
+
export declare const MetricAggregationType: {
|
|
131
|
+
readonly Average: "Average";
|
|
132
|
+
readonly Maximum: "Maximum";
|
|
133
|
+
readonly Minimum: "Minimum";
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export type MetricAggregationType = (typeof MetricAggregationType)[keyof typeof MetricAggregationType];
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @enum
|
|
142
|
+
*/
|
|
143
|
+
export declare const MetricStatistic: {
|
|
144
|
+
readonly Average: "Average";
|
|
145
|
+
readonly Maximum: "Maximum";
|
|
146
|
+
readonly Minimum: "Minimum";
|
|
147
|
+
readonly SampleCount: "SampleCount";
|
|
148
|
+
readonly Sum: "Sum";
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* @enum
|
|
157
|
+
*/
|
|
158
|
+
export declare const MetricType: {
|
|
159
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
160
|
+
readonly AppStreamAverageCapacityUtilization: "AppStreamAverageCapacityUtilization";
|
|
161
|
+
readonly CassandraReadCapacityUtilization: "CassandraReadCapacityUtilization";
|
|
162
|
+
readonly CassandraWriteCapacityUtilization: "CassandraWriteCapacityUtilization";
|
|
163
|
+
readonly ComprehendInferenceUtilization: "ComprehendInferenceUtilization";
|
|
164
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
165
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
166
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
167
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
168
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
169
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
170
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
171
|
+
readonly ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage: "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage";
|
|
172
|
+
readonly ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage: "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage";
|
|
173
|
+
readonly ElastiCacheDatabaseMemoryUsagePercentage: "ElastiCacheDatabaseMemoryUsagePercentage";
|
|
174
|
+
readonly ElastiCacheEngineCPUUtilization: "ElastiCacheEngineCPUUtilization";
|
|
175
|
+
readonly ElastiCachePrimaryEngineCPUUtilization: "ElastiCachePrimaryEngineCPUUtilization";
|
|
176
|
+
readonly ElastiCacheReplicaEngineCPUUtilization: "ElastiCacheReplicaEngineCPUUtilization";
|
|
177
|
+
readonly KafkaBrokerStorageUtilization: "KafkaBrokerStorageUtilization";
|
|
178
|
+
readonly LambdaProvisionedConcurrencyUtilization: "LambdaProvisionedConcurrencyUtilization";
|
|
179
|
+
readonly NeptuneReaderAverageCPUUtilization: "NeptuneReaderAverageCPUUtilization";
|
|
180
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
181
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
182
|
+
readonly SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution: "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution";
|
|
183
|
+
readonly SageMakerInferenceComponentInvocationsPerCopy: "SageMakerInferenceComponentInvocationsPerCopy";
|
|
184
|
+
readonly SageMakerVariantConcurrentRequestsPerModelHighResolution: "SageMakerVariantConcurrentRequestsPerModelHighResolution";
|
|
185
|
+
readonly SageMakerVariantInvocationsPerInstance: "SageMakerVariantInvocationsPerInstance";
|
|
186
|
+
readonly SageMakerVariantProvisionedConcurrencyUtilization: "SageMakerVariantProvisionedConcurrencyUtilization";
|
|
187
|
+
readonly WorkSpacesAverageUserSessionsCapacityUtilization: "WorkSpacesAverageUserSessionsCapacityUtilization";
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export type MetricType = (typeof MetricType)[keyof typeof MetricType];
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ApplicationAutoScalingServiceException as __BaseException } from "./ApplicationAutoScalingServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to an
|
|
5
|
+
* Application Auto Scaling resource that already has a pending update.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class ConcurrentUpdateException extends __BaseException {
|
|
9
|
+
readonly name: "ConcurrentUpdateException";
|
|
10
|
+
readonly $fault: "server";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The service encountered an internal error.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InternalServiceException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServiceException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The specified object could not be found. For any operation that depends on the existence
|
|
32
|
+
* of a scalable target, this exception is thrown if the scalable target with the specified
|
|
33
|
+
* service namespace, resource ID, and scalable dimension does not exist. For any operation
|
|
34
|
+
* that deletes or deregisters a resource, this exception is thrown if the resource cannot be
|
|
35
|
+
* found.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
39
|
+
readonly name: "ObjectNotFoundException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
Message?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* <p>An exception was thrown for a validation issue. Review the available parameters for the
|
|
49
|
+
* API request.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export declare class ValidationException extends __BaseException {
|
|
53
|
+
readonly name: "ValidationException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
Message?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>The next token supplied was invalid.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
66
|
+
readonly name: "InvalidNextTokenException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
Message?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>Failed access to resources caused an exception. This exception is thrown when Application Auto Scaling
|
|
76
|
+
* is unable to retrieve the alarms associated with a scaling policy due to a client error,
|
|
77
|
+
* for example, if the role ARN specified for a scalable target does not have permission to
|
|
78
|
+
* call the CloudWatch <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> on your behalf.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class FailedResourceAccessException extends __BaseException {
|
|
82
|
+
readonly name: "FailedResourceAccessException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
Message?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<FailedResourceAccessException, __BaseException>);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>The specified resource doesn't exist.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
95
|
+
readonly name: "ResourceNotFoundException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
Message?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
ResourceName?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* <p>A per-account resource limit is exceeded. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html">Application Auto Scaling service quotas</a>.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class LimitExceededException extends __BaseException {
|
|
113
|
+
readonly name: "LimitExceededException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
Message?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* <p>The request contains too many tags. Try the request again with fewer tags.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
126
|
+
readonly name: "TooManyTagsException";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
Message?: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The name of the Application Auto Scaling resource. This value is an Amazon Resource Name (ARN).</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
ResourceName?: string | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
138
|
+
}
|