@aws-sdk/client-auto-scaling-plans 3.186.0 → 3.190.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 +16 -0
- package/dist-es/AutoScalingPlans.js +26 -33
- package/dist-es/AutoScalingPlansClient.js +22 -28
- package/dist-es/commands/CreateScalingPlanCommand.js +21 -28
- package/dist-es/commands/DeleteScalingPlanCommand.js +21 -28
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +21 -28
- package/dist-es/commands/DescribeScalingPlansCommand.js +21 -28
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +21 -28
- package/dist-es/commands/UpdateScalingPlanCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AutoScalingPlansServiceException.js +5 -10
- package/dist-es/models/models_0.js +147 -98
- package/dist-es/protocols/Aws_json1_1.js +622 -700
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
export class ConcurrentUpdateException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "ConcurrentUpdateException",
|
|
6
|
+
$fault: "server",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "ConcurrentUpdateException";
|
|
10
|
+
this.$fault = "server";
|
|
11
|
+
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
12
|
+
this.Message = opts.Message;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
}(__BaseException));
|
|
15
|
-
export { ConcurrentUpdateException };
|
|
14
|
+
}
|
|
16
15
|
export var MetricStatistic;
|
|
17
16
|
(function (MetricStatistic) {
|
|
18
17
|
MetricStatistic["Average"] = "Average";
|
|
@@ -79,58 +78,58 @@ export var ScalingMetricType;
|
|
|
79
78
|
ScalingMetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
|
|
80
79
|
ScalingMetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
|
|
81
80
|
})(ScalingMetricType || (ScalingMetricType = {}));
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
81
|
+
export class InternalServiceException extends __BaseException {
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "InternalServiceException",
|
|
85
|
+
$fault: "server",
|
|
86
|
+
...opts,
|
|
87
|
+
});
|
|
88
|
+
this.name = "InternalServiceException";
|
|
89
|
+
this.$fault = "server";
|
|
90
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
91
92
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
}
|
|
94
|
+
export class LimitExceededException extends __BaseException {
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "LimitExceededException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
this.name = "LimitExceededException";
|
|
102
|
+
this.$fault = "client";
|
|
103
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
104
|
+
this.Message = opts.Message;
|
|
104
105
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
106
|
+
}
|
|
107
|
+
export class ValidationException extends __BaseException {
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ValidationException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
this.name = "ValidationException";
|
|
115
|
+
this.$fault = "client";
|
|
116
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
117
|
+
this.Message = opts.Message;
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
119
|
+
}
|
|
120
|
+
export class ObjectNotFoundException extends __BaseException {
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "ObjectNotFoundException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
this.name = "ObjectNotFoundException";
|
|
128
|
+
this.$fault = "client";
|
|
129
|
+
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
130
|
+
this.Message = opts.Message;
|
|
130
131
|
}
|
|
131
|
-
|
|
132
|
-
}(__BaseException));
|
|
133
|
-
export { ObjectNotFoundException };
|
|
132
|
+
}
|
|
134
133
|
export var PolicyType;
|
|
135
134
|
(function (PolicyType) {
|
|
136
135
|
PolicyType["TargetTrackingScaling"] = "TargetTrackingScaling";
|
|
@@ -141,19 +140,19 @@ export var ScalingStatusCode;
|
|
|
141
140
|
ScalingStatusCode["Inactive"] = "Inactive";
|
|
142
141
|
ScalingStatusCode["PartiallyActive"] = "PartiallyActive";
|
|
143
142
|
})(ScalingStatusCode || (ScalingStatusCode = {}));
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
143
|
+
export class InvalidNextTokenException extends __BaseException {
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "InvalidNextTokenException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
this.name = "InvalidNextTokenException";
|
|
151
|
+
this.$fault = "client";
|
|
152
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
153
|
+
this.Message = opts.Message;
|
|
153
154
|
}
|
|
154
|
-
|
|
155
|
-
}(__BaseException));
|
|
156
|
-
export { InvalidNextTokenException };
|
|
155
|
+
}
|
|
157
156
|
export var ScalingPlanStatusCode;
|
|
158
157
|
(function (ScalingPlanStatusCode) {
|
|
159
158
|
ScalingPlanStatusCode["Active"] = "Active";
|
|
@@ -172,28 +171,78 @@ export var ForecastDataType;
|
|
|
172
171
|
ForecastDataType["ScheduledActionMaxCapacity"] = "ScheduledActionMaxCapacity";
|
|
173
172
|
ForecastDataType["ScheduledActionMinCapacity"] = "ScheduledActionMinCapacity";
|
|
174
173
|
})(ForecastDataType || (ForecastDataType = {}));
|
|
175
|
-
export
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
export
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
export
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
export
|
|
174
|
+
export const TagFilterFilterSensitiveLog = (obj) => ({
|
|
175
|
+
...obj,
|
|
176
|
+
});
|
|
177
|
+
export const ApplicationSourceFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
});
|
|
180
|
+
export const MetricDimensionFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
});
|
|
183
|
+
export const CustomizedLoadMetricSpecificationFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
export const PredefinedLoadMetricSpecificationFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
});
|
|
189
|
+
export const CustomizedScalingMetricSpecificationFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
export const PredefinedScalingMetricSpecificationFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
});
|
|
195
|
+
export const TargetTrackingConfigurationFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
export const ScalingInstructionFilterSensitiveLog = (obj) => ({
|
|
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
|
+
});
|