@aws-sdk/client-application-auto-scaling 3.300.0 → 3.303.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/commands/DeleteScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterScalableTargetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalableTargetsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +15 -15
- package/dist-types/commands/PutScheduledActionCommand.d.ts +2 -2
- package/dist-types/commands/RegisterScalableTargetCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- 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({
|
|
@@ -31,7 +31,7 @@ export interface DeleteScalingPolicyCommandOutput extends DeleteScalingPolicyRes
|
|
|
31
31
|
* import { ApplicationAutoScalingClient, DeleteScalingPolicyCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { ApplicationAutoScalingClient, DeleteScalingPolicyCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new ApplicationAutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeleteScalingPolicyRequest
|
|
35
35
|
* PolicyName: "STRING_VALUE", // required
|
|
36
36
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
37
37
|
* ResourceId: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActio
|
|
|
27
27
|
* import { ApplicationAutoScalingClient, DeleteScheduledActionCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { ApplicationAutoScalingClient, DeleteScheduledActionCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new ApplicationAutoScalingClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteScheduledActionRequest
|
|
31
31
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
32
32
|
* ScheduledActionName: "STRING_VALUE", // required
|
|
33
33
|
* ResourceId: "STRING_VALUE", // required
|
|
@@ -31,7 +31,7 @@ export interface DeregisterScalableTargetCommandOutput extends DeregisterScalabl
|
|
|
31
31
|
* import { ApplicationAutoScalingClient, DeregisterScalableTargetCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { ApplicationAutoScalingClient, DeregisterScalableTargetCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new ApplicationAutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeregisterScalableTargetRequest
|
|
35
35
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
36
36
|
* ResourceId: "STRING_VALUE", // required
|
|
37
37
|
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
@@ -28,9 +28,9 @@ export interface DescribeScalableTargetsCommandOutput extends DescribeScalableTa
|
|
|
28
28
|
* import { ApplicationAutoScalingClient, DescribeScalableTargetsCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { ApplicationAutoScalingClient, DescribeScalableTargetsCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new ApplicationAutoScalingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DescribeScalableTargetsRequest
|
|
32
32
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
33
|
-
* ResourceIds: [
|
|
33
|
+
* ResourceIds: [ // ResourceIdsMaxLen1600
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
@@ -30,7 +30,7 @@ export interface DescribeScalingActivitiesCommandOutput extends DescribeScalingA
|
|
|
30
30
|
* import { ApplicationAutoScalingClient, DescribeScalingActivitiesCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { ApplicationAutoScalingClient, DescribeScalingActivitiesCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new ApplicationAutoScalingClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DescribeScalingActivitiesRequest
|
|
34
34
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
35
35
|
* ResourceId: "STRING_VALUE",
|
|
36
36
|
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount",
|
|
@@ -29,8 +29,8 @@ export interface DescribeScalingPoliciesCommandOutput extends DescribeScalingPol
|
|
|
29
29
|
* import { ApplicationAutoScalingClient, DescribeScalingPoliciesCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { ApplicationAutoScalingClient, DescribeScalingPoliciesCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new ApplicationAutoScalingClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* PolicyNames: [
|
|
32
|
+
* const input = { // DescribeScalingPoliciesRequest
|
|
33
|
+
* PolicyNames: [ // ResourceIdsMaxLen1600
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
@@ -30,8 +30,8 @@ export interface DescribeScheduledActionsCommandOutput extends DescribeScheduled
|
|
|
30
30
|
* import { ApplicationAutoScalingClient, DescribeScheduledActionsCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { ApplicationAutoScalingClient, DescribeScheduledActionsCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new ApplicationAutoScalingClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* ScheduledActionNames: [
|
|
33
|
+
* const input = { // DescribeScheduledActionsRequest
|
|
34
|
+
* ScheduledActionNames: [ // ResourceIdsMaxLen1600
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
@@ -28,7 +28,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
28
28
|
* import { ApplicationAutoScalingClient, ListTagsForResourceCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { ApplicationAutoScalingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new ApplicationAutoScalingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListTagsForResourceRequest
|
|
32
32
|
* ResourceARN: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -50,16 +50,16 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
50
50
|
* import { ApplicationAutoScalingClient, PutScalingPolicyCommand } from "@aws-sdk/client-application-auto-scaling"; // ES Modules import
|
|
51
51
|
* // const { ApplicationAutoScalingClient, PutScalingPolicyCommand } = require("@aws-sdk/client-application-auto-scaling"); // CommonJS import
|
|
52
52
|
* const client = new ApplicationAutoScalingClient(config);
|
|
53
|
-
* const input = {
|
|
53
|
+
* const input = { // PutScalingPolicyRequest
|
|
54
54
|
* PolicyName: "STRING_VALUE", // required
|
|
55
55
|
* ServiceNamespace: "ecs" || "elasticmapreduce" || "ec2" || "appstream" || "dynamodb" || "rds" || "sagemaker" || "custom-resource" || "comprehend" || "lambda" || "cassandra" || "kafka" || "elasticache" || "neptune", // required
|
|
56
56
|
* ResourceId: "STRING_VALUE", // required
|
|
57
57
|
* ScalableDimension: "ecs:service:DesiredCount" || "ec2:spot-fleet-request:TargetCapacity" || "elasticmapreduce:instancegroup:InstanceCount" || "appstream:fleet:DesiredCapacity" || "dynamodb:table:ReadCapacityUnits" || "dynamodb:table:WriteCapacityUnits" || "dynamodb:index:ReadCapacityUnits" || "dynamodb:index:WriteCapacityUnits" || "rds:cluster:ReadReplicaCount" || "sagemaker:variant:DesiredInstanceCount" || "custom-resource:ResourceType:Property" || "comprehend:document-classifier-endpoint:DesiredInferenceUnits" || "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" || "lambda:function:ProvisionedConcurrency" || "cassandra:table:ReadCapacityUnits" || "cassandra:table:WriteCapacityUnits" || "kafka:broker-storage:VolumeSize" || "elasticache:replication-group:NodeGroups" || "elasticache:replication-group:Replicas" || "neptune:cluster:ReadReplicaCount", // required
|
|
58
58
|
* PolicyType: "StepScaling" || "TargetTrackingScaling",
|
|
59
|
-
* StepScalingPolicyConfiguration: {
|
|
59
|
+
* StepScalingPolicyConfiguration: { // StepScalingPolicyConfiguration
|
|
60
60
|
* AdjustmentType: "ChangeInCapacity" || "PercentChangeInCapacity" || "ExactCapacity",
|
|
61
|
-
* StepAdjustments: [
|
|
62
|
-
* {
|
|
61
|
+
* StepAdjustments: [ // StepAdjustments
|
|
62
|
+
* { // StepAdjustment
|
|
63
63
|
* MetricIntervalLowerBound: Number("double"),
|
|
64
64
|
* MetricIntervalUpperBound: Number("double"),
|
|
65
65
|
* ScalingAdjustment: Number("int"), // required
|
|
@@ -69,32 +69,32 @@ export interface PutScalingPolicyCommandOutput extends PutScalingPolicyResponse,
|
|
|
69
69
|
* Cooldown: Number("int"),
|
|
70
70
|
* MetricAggregationType: "Average" || "Minimum" || "Maximum",
|
|
71
71
|
* },
|
|
72
|
-
* TargetTrackingScalingPolicyConfiguration: {
|
|
72
|
+
* TargetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
|
|
73
73
|
* TargetValue: Number("double"), // required
|
|
74
|
-
* PredefinedMetricSpecification: {
|
|
74
|
+
* PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
75
75
|
* PredefinedMetricType: "DynamoDBReadCapacityUtilization" || "DynamoDBWriteCapacityUtilization" || "ALBRequestCountPerTarget" || "RDSReaderAverageCPUUtilization" || "RDSReaderAverageDatabaseConnections" || "EC2SpotFleetRequestAverageCPUUtilization" || "EC2SpotFleetRequestAverageNetworkIn" || "EC2SpotFleetRequestAverageNetworkOut" || "SageMakerVariantInvocationsPerInstance" || "ECSServiceAverageCPUUtilization" || "ECSServiceAverageMemoryUtilization" || "AppStreamAverageCapacityUtilization" || "ComprehendInferenceUtilization" || "LambdaProvisionedConcurrencyUtilization" || "CassandraReadCapacityUtilization" || "CassandraWriteCapacityUtilization" || "KafkaBrokerStorageUtilization" || "ElastiCachePrimaryEngineCPUUtilization" || "ElastiCacheReplicaEngineCPUUtilization" || "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" || "NeptuneReaderAverageCPUUtilization", // required
|
|
76
76
|
* ResourceLabel: "STRING_VALUE",
|
|
77
77
|
* },
|
|
78
|
-
* CustomizedMetricSpecification: {
|
|
78
|
+
* CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
79
79
|
* MetricName: "STRING_VALUE",
|
|
80
80
|
* Namespace: "STRING_VALUE",
|
|
81
|
-
* Dimensions: [
|
|
82
|
-
* {
|
|
81
|
+
* Dimensions: [ // MetricDimensions
|
|
82
|
+
* { // MetricDimension
|
|
83
83
|
* Name: "STRING_VALUE", // required
|
|
84
84
|
* Value: "STRING_VALUE", // required
|
|
85
85
|
* },
|
|
86
86
|
* ],
|
|
87
87
|
* Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum",
|
|
88
88
|
* Unit: "STRING_VALUE",
|
|
89
|
-
* Metrics: [
|
|
90
|
-
* {
|
|
89
|
+
* Metrics: [ // TargetTrackingMetricDataQueries
|
|
90
|
+
* { // TargetTrackingMetricDataQuery
|
|
91
91
|
* Expression: "STRING_VALUE",
|
|
92
92
|
* Id: "STRING_VALUE", // required
|
|
93
93
|
* Label: "STRING_VALUE",
|
|
94
|
-
* MetricStat: {
|
|
95
|
-
* Metric: {
|
|
96
|
-
* Dimensions: [
|
|
97
|
-
* {
|
|
94
|
+
* MetricStat: { // TargetTrackingMetricStat
|
|
95
|
+
* Metric: { // TargetTrackingMetric
|
|
96
|
+
* Dimensions: [ // TargetTrackingMetricDimensions
|
|
97
|
+
* { // TargetTrackingMetricDimension
|
|
98
98
|
* Name: "STRING_VALUE", // required
|
|
99
99
|
* Value: "STRING_VALUE", // required
|
|
100
100
|
* },
|