@aws-sdk/client-auto-scaling-plans 3.490.0 → 3.495.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/AutoScalingPlans.js +1 -23
- package/dist-cjs/AutoScalingPlansClient.js +1 -43
- package/dist-cjs/commands/CreateScalingPlanCommand.js +1 -28
- package/dist-cjs/commands/DeleteScalingPlanCommand.js +1 -28
- package/dist-cjs/commands/DescribeScalingPlanResourcesCommand.js +1 -28
- package/dist-cjs/commands/DescribeScalingPlansCommand.js +1 -28
- package/dist-cjs/commands/GetScalingPlanResourceForecastDataCommand.js +1 -28
- package/dist-cjs/commands/UpdateScalingPlanCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -9
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1093 -10
- package/dist-cjs/models/AutoScalingPlansServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -170
- package/dist-cjs/protocols/Aws_json1_1.js +1 -622
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +39 -39
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AutoScalingPlansServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class AutoScalingPlansServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, AutoScalingPlansServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,170 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ForecastDataType = exports.ScalingPlanStatusCode = exports.InvalidNextTokenException = exports.ScalingStatusCode = exports.PolicyType = exports.ObjectNotFoundException = exports.ValidationException = exports.LimitExceededException = exports.InternalServiceException = exports.ScalingMetricType = exports.ServiceNamespace = exports.ScalingPolicyUpdateBehavior = exports.ScalableDimension = exports.PredictiveScalingMode = exports.PredictiveScalingMaxCapacityBehavior = exports.LoadMetricType = exports.MetricStatistic = exports.ConcurrentUpdateException = void 0;
|
|
4
|
-
const AutoScalingPlansServiceException_1 = require("./AutoScalingPlansServiceException");
|
|
5
|
-
class ConcurrentUpdateException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "ConcurrentUpdateException",
|
|
9
|
-
$fault: "server",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "ConcurrentUpdateException";
|
|
13
|
-
this.$fault = "server";
|
|
14
|
-
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
15
|
-
this.Message = opts.Message;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.ConcurrentUpdateException = ConcurrentUpdateException;
|
|
19
|
-
exports.MetricStatistic = {
|
|
20
|
-
Average: "Average",
|
|
21
|
-
Maximum: "Maximum",
|
|
22
|
-
Minimum: "Minimum",
|
|
23
|
-
SampleCount: "SampleCount",
|
|
24
|
-
Sum: "Sum",
|
|
25
|
-
};
|
|
26
|
-
exports.LoadMetricType = {
|
|
27
|
-
ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
|
|
28
|
-
ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
|
|
29
|
-
ASGTotalNetworkIn: "ASGTotalNetworkIn",
|
|
30
|
-
ASGTotalNetworkOut: "ASGTotalNetworkOut",
|
|
31
|
-
};
|
|
32
|
-
exports.PredictiveScalingMaxCapacityBehavior = {
|
|
33
|
-
SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity",
|
|
34
|
-
SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity",
|
|
35
|
-
SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity",
|
|
36
|
-
};
|
|
37
|
-
exports.PredictiveScalingMode = {
|
|
38
|
-
ForecastAndScale: "ForecastAndScale",
|
|
39
|
-
ForecastOnly: "ForecastOnly",
|
|
40
|
-
};
|
|
41
|
-
exports.ScalableDimension = {
|
|
42
|
-
AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
43
|
-
DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits",
|
|
44
|
-
DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits",
|
|
45
|
-
DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits",
|
|
46
|
-
DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits",
|
|
47
|
-
EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity",
|
|
48
|
-
ECSServiceDesiredCount: "ecs:service:DesiredCount",
|
|
49
|
-
RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount",
|
|
50
|
-
};
|
|
51
|
-
exports.ScalingPolicyUpdateBehavior = {
|
|
52
|
-
KeepExternalPolicies: "KeepExternalPolicies",
|
|
53
|
-
ReplaceExternalPolicies: "ReplaceExternalPolicies",
|
|
54
|
-
};
|
|
55
|
-
exports.ServiceNamespace = {
|
|
56
|
-
AUTOSCALING: "autoscaling",
|
|
57
|
-
DYNAMODB: "dynamodb",
|
|
58
|
-
EC2: "ec2",
|
|
59
|
-
ECS: "ecs",
|
|
60
|
-
RDS: "rds",
|
|
61
|
-
};
|
|
62
|
-
exports.ScalingMetricType = {
|
|
63
|
-
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
64
|
-
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
65
|
-
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
66
|
-
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
67
|
-
DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization",
|
|
68
|
-
DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization",
|
|
69
|
-
EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization",
|
|
70
|
-
EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn",
|
|
71
|
-
EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut",
|
|
72
|
-
ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization",
|
|
73
|
-
ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization",
|
|
74
|
-
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
75
|
-
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
76
|
-
};
|
|
77
|
-
class InternalServiceException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "InternalServiceException",
|
|
81
|
-
$fault: "server",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
this.name = "InternalServiceException";
|
|
85
|
-
this.$fault = "server";
|
|
86
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
87
|
-
this.Message = opts.Message;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.InternalServiceException = InternalServiceException;
|
|
91
|
-
class LimitExceededException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
92
|
-
constructor(opts) {
|
|
93
|
-
super({
|
|
94
|
-
name: "LimitExceededException",
|
|
95
|
-
$fault: "client",
|
|
96
|
-
...opts,
|
|
97
|
-
});
|
|
98
|
-
this.name = "LimitExceededException";
|
|
99
|
-
this.$fault = "client";
|
|
100
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
101
|
-
this.Message = opts.Message;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.LimitExceededException = LimitExceededException;
|
|
105
|
-
class ValidationException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
106
|
-
constructor(opts) {
|
|
107
|
-
super({
|
|
108
|
-
name: "ValidationException",
|
|
109
|
-
$fault: "client",
|
|
110
|
-
...opts,
|
|
111
|
-
});
|
|
112
|
-
this.name = "ValidationException";
|
|
113
|
-
this.$fault = "client";
|
|
114
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
115
|
-
this.Message = opts.Message;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
exports.ValidationException = ValidationException;
|
|
119
|
-
class ObjectNotFoundException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "ObjectNotFoundException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
this.name = "ObjectNotFoundException";
|
|
127
|
-
this.$fault = "client";
|
|
128
|
-
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
129
|
-
this.Message = opts.Message;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
exports.ObjectNotFoundException = ObjectNotFoundException;
|
|
133
|
-
exports.PolicyType = {
|
|
134
|
-
TargetTrackingScaling: "TargetTrackingScaling",
|
|
135
|
-
};
|
|
136
|
-
exports.ScalingStatusCode = {
|
|
137
|
-
Active: "Active",
|
|
138
|
-
Inactive: "Inactive",
|
|
139
|
-
PartiallyActive: "PartiallyActive",
|
|
140
|
-
};
|
|
141
|
-
class InvalidNextTokenException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
142
|
-
constructor(opts) {
|
|
143
|
-
super({
|
|
144
|
-
name: "InvalidNextTokenException",
|
|
145
|
-
$fault: "client",
|
|
146
|
-
...opts,
|
|
147
|
-
});
|
|
148
|
-
this.name = "InvalidNextTokenException";
|
|
149
|
-
this.$fault = "client";
|
|
150
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
151
|
-
this.Message = opts.Message;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
155
|
-
exports.ScalingPlanStatusCode = {
|
|
156
|
-
Active: "Active",
|
|
157
|
-
ActiveWithProblems: "ActiveWithProblems",
|
|
158
|
-
CreationFailed: "CreationFailed",
|
|
159
|
-
CreationInProgress: "CreationInProgress",
|
|
160
|
-
DeletionFailed: "DeletionFailed",
|
|
161
|
-
DeletionInProgress: "DeletionInProgress",
|
|
162
|
-
UpdateFailed: "UpdateFailed",
|
|
163
|
-
UpdateInProgress: "UpdateInProgress",
|
|
164
|
-
};
|
|
165
|
-
exports.ForecastDataType = {
|
|
166
|
-
CapacityForecast: "CapacityForecast",
|
|
167
|
-
LoadForecast: "LoadForecast",
|
|
168
|
-
ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity",
|
|
169
|
-
ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
|
|
170
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|