@aws-sdk/client-auto-scaling-plans 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/AutoScalingPlans.js +33 -26
- package/dist-es/AutoScalingPlansClient.js +28 -22
- package/dist-es/commands/CreateScalingPlanCommand.js +28 -21
- package/dist-es/commands/DeleteScalingPlanCommand.js +28 -21
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +28 -21
- package/dist-es/commands/DescribeScalingPlansCommand.js +28 -21
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +28 -21
- package/dist-es/commands/UpdateScalingPlanCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AutoScalingPlansServiceException.js +10 -5
- package/dist-es/models/models_0.js +98 -147
- package/dist-es/protocols/Aws_json1_1.js +700 -622
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
12
|
-
this.Message = opts.Message;
|
|
3
|
+
var ConcurrentUpdateException = (function (_super) {
|
|
4
|
+
__extends(ConcurrentUpdateException, _super);
|
|
5
|
+
function ConcurrentUpdateException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "ConcurrentUpdateException", $fault: "server" }, opts)) || this;
|
|
7
|
+
_this.name = "ConcurrentUpdateException";
|
|
8
|
+
_this.$fault = "server";
|
|
9
|
+
Object.setPrototypeOf(_this, ConcurrentUpdateException.prototype);
|
|
10
|
+
_this.Message = opts.Message;
|
|
11
|
+
return _this;
|
|
13
12
|
}
|
|
14
|
-
|
|
13
|
+
return ConcurrentUpdateException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { ConcurrentUpdateException };
|
|
15
16
|
export var MetricStatistic;
|
|
16
17
|
(function (MetricStatistic) {
|
|
17
18
|
MetricStatistic["Average"] = "Average";
|
|
@@ -78,58 +79,58 @@ export var ScalingMetricType;
|
|
|
78
79
|
ScalingMetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
|
|
79
80
|
ScalingMetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
80
81
|
})(ScalingMetricType || (ScalingMetricType = {}));
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
91
|
-
this.Message = opts.Message;
|
|
82
|
+
var InternalServiceException = (function (_super) {
|
|
83
|
+
__extends(InternalServiceException, _super);
|
|
84
|
+
function InternalServiceException(opts) {
|
|
85
|
+
var _this = _super.call(this, __assign({ name: "InternalServiceException", $fault: "server" }, opts)) || this;
|
|
86
|
+
_this.name = "InternalServiceException";
|
|
87
|
+
_this.$fault = "server";
|
|
88
|
+
Object.setPrototypeOf(_this, InternalServiceException.prototype);
|
|
89
|
+
_this.Message = opts.Message;
|
|
90
|
+
return _this;
|
|
92
91
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
92
|
+
return InternalServiceException;
|
|
93
|
+
}(__BaseException));
|
|
94
|
+
export { InternalServiceException };
|
|
95
|
+
var LimitExceededException = (function (_super) {
|
|
96
|
+
__extends(LimitExceededException, _super);
|
|
97
|
+
function LimitExceededException(opts) {
|
|
98
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
99
|
+
_this.name = "LimitExceededException";
|
|
100
|
+
_this.$fault = "client";
|
|
101
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
102
|
+
_this.Message = opts.Message;
|
|
103
|
+
return _this;
|
|
105
104
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
105
|
+
return LimitExceededException;
|
|
106
|
+
}(__BaseException));
|
|
107
|
+
export { LimitExceededException };
|
|
108
|
+
var ValidationException = (function (_super) {
|
|
109
|
+
__extends(ValidationException, _super);
|
|
110
|
+
function ValidationException(opts) {
|
|
111
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
112
|
+
_this.name = "ValidationException";
|
|
113
|
+
_this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
115
|
+
_this.Message = opts.Message;
|
|
116
|
+
return _this;
|
|
118
117
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
118
|
+
return ValidationException;
|
|
119
|
+
}(__BaseException));
|
|
120
|
+
export { ValidationException };
|
|
121
|
+
var ObjectNotFoundException = (function (_super) {
|
|
122
|
+
__extends(ObjectNotFoundException, _super);
|
|
123
|
+
function ObjectNotFoundException(opts) {
|
|
124
|
+
var _this = _super.call(this, __assign({ name: "ObjectNotFoundException", $fault: "client" }, opts)) || this;
|
|
125
|
+
_this.name = "ObjectNotFoundException";
|
|
126
|
+
_this.$fault = "client";
|
|
127
|
+
Object.setPrototypeOf(_this, ObjectNotFoundException.prototype);
|
|
128
|
+
_this.Message = opts.Message;
|
|
129
|
+
return _this;
|
|
131
130
|
}
|
|
132
|
-
|
|
131
|
+
return ObjectNotFoundException;
|
|
132
|
+
}(__BaseException));
|
|
133
|
+
export { ObjectNotFoundException };
|
|
133
134
|
export var PolicyType;
|
|
134
135
|
(function (PolicyType) {
|
|
135
136
|
PolicyType["TargetTrackingScaling"] = "TargetTrackingScaling";
|
|
@@ -140,19 +141,19 @@ export var ScalingStatusCode;
|
|
|
140
141
|
ScalingStatusCode["Inactive"] = "Inactive";
|
|
141
142
|
ScalingStatusCode["PartiallyActive"] = "PartiallyActive";
|
|
142
143
|
})(ScalingStatusCode || (ScalingStatusCode = {}));
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
153
|
-
this.Message = opts.Message;
|
|
144
|
+
var InvalidNextTokenException = (function (_super) {
|
|
145
|
+
__extends(InvalidNextTokenException, _super);
|
|
146
|
+
function InvalidNextTokenException(opts) {
|
|
147
|
+
var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
|
|
148
|
+
_this.name = "InvalidNextTokenException";
|
|
149
|
+
_this.$fault = "client";
|
|
150
|
+
Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
|
|
151
|
+
_this.Message = opts.Message;
|
|
152
|
+
return _this;
|
|
154
153
|
}
|
|
155
|
-
|
|
154
|
+
return InvalidNextTokenException;
|
|
155
|
+
}(__BaseException));
|
|
156
|
+
export { InvalidNextTokenException };
|
|
156
157
|
export var ScalingPlanStatusCode;
|
|
157
158
|
(function (ScalingPlanStatusCode) {
|
|
158
159
|
ScalingPlanStatusCode["Active"] = "Active";
|
|
@@ -171,78 +172,28 @@ export var ForecastDataType;
|
|
|
171
172
|
ForecastDataType["ScheduledActionMaxCapacity"] = "ScheduledActionMaxCapacity";
|
|
172
173
|
ForecastDataType["ScheduledActionMinCapacity"] = "ScheduledActionMinCapacity";
|
|
173
174
|
})(ForecastDataType || (ForecastDataType = {}));
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
});
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
});
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
});
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
});
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
});
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
});
|
|
192
|
-
export
|
|
193
|
-
|
|
194
|
-
});
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
});
|
|
198
|
-
export
|
|
199
|
-
...obj,
|
|
200
|
-
});
|
|
201
|
-
export const CreateScalingPlanRequestFilterSensitiveLog = (obj) => ({
|
|
202
|
-
...obj,
|
|
203
|
-
});
|
|
204
|
-
export const CreateScalingPlanResponseFilterSensitiveLog = (obj) => ({
|
|
205
|
-
...obj,
|
|
206
|
-
});
|
|
207
|
-
export const DeleteScalingPlanRequestFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
});
|
|
210
|
-
export const DeleteScalingPlanResponseFilterSensitiveLog = (obj) => ({
|
|
211
|
-
...obj,
|
|
212
|
-
});
|
|
213
|
-
export const DescribeScalingPlanResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
});
|
|
216
|
-
export const ScalingPolicyFilterSensitiveLog = (obj) => ({
|
|
217
|
-
...obj,
|
|
218
|
-
});
|
|
219
|
-
export const ScalingPlanResourceFilterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
});
|
|
222
|
-
export const DescribeScalingPlanResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
});
|
|
225
|
-
export const DescribeScalingPlansRequestFilterSensitiveLog = (obj) => ({
|
|
226
|
-
...obj,
|
|
227
|
-
});
|
|
228
|
-
export const ScalingPlanFilterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
});
|
|
231
|
-
export const DescribeScalingPlansResponseFilterSensitiveLog = (obj) => ({
|
|
232
|
-
...obj,
|
|
233
|
-
});
|
|
234
|
-
export const GetScalingPlanResourceForecastDataRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
-
...obj,
|
|
236
|
-
});
|
|
237
|
-
export const DatapointFilterSensitiveLog = (obj) => ({
|
|
238
|
-
...obj,
|
|
239
|
-
});
|
|
240
|
-
export const GetScalingPlanResourceForecastDataResponseFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
});
|
|
243
|
-
export const UpdateScalingPlanRequestFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
});
|
|
246
|
-
export const UpdateScalingPlanResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
});
|
|
175
|
+
export var TagFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
+
export var ApplicationSourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var MetricDimensionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var CustomizedLoadMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var PredefinedLoadMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var CustomizedScalingMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var PredefinedScalingMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var TargetTrackingConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var ScalingInstructionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var CreateScalingPlanRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var CreateScalingPlanResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var DeleteScalingPlanRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var DeleteScalingPlanResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
export var DescribeScalingPlanResourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var ScalingPolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var ScalingPlanResourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var DescribeScalingPlanResourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var DescribeScalingPlansRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var ScalingPlanFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var DescribeScalingPlansResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var GetScalingPlanResourceForecastDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var DatapointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var GetScalingPlanResourceForecastDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var UpdateScalingPlanRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var UpdateScalingPlanResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|