@aws-sdk/client-auto-scaling-plans 3.987.0 → 3.988.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 +25 -452
- package/dist-cjs/models/AutoScalingPlansServiceException.js +12 -0
- package/dist-cjs/models/errors.js +94 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +322 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +46 -40
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var AutoScalingPlansServiceException = require('./models/AutoScalingPlansServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,407 +113,6 @@ class AutoScalingPlansClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class AutoScalingPlansServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, AutoScalingPlansServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class ConcurrentUpdateException extends AutoScalingPlansServiceException {
|
|
121
|
-
name = "ConcurrentUpdateException";
|
|
122
|
-
$fault = "server";
|
|
123
|
-
Message;
|
|
124
|
-
constructor(opts) {
|
|
125
|
-
super({
|
|
126
|
-
name: "ConcurrentUpdateException",
|
|
127
|
-
$fault: "server",
|
|
128
|
-
...opts,
|
|
129
|
-
});
|
|
130
|
-
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
131
|
-
this.Message = opts.Message;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
class InternalServiceException extends AutoScalingPlansServiceException {
|
|
135
|
-
name = "InternalServiceException";
|
|
136
|
-
$fault = "server";
|
|
137
|
-
Message;
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "InternalServiceException",
|
|
141
|
-
$fault: "server",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
class LimitExceededException extends AutoScalingPlansServiceException {
|
|
149
|
-
name = "LimitExceededException";
|
|
150
|
-
$fault = "client";
|
|
151
|
-
Message;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "LimitExceededException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
159
|
-
this.Message = opts.Message;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
class ValidationException extends AutoScalingPlansServiceException {
|
|
163
|
-
name = "ValidationException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
Message;
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "ValidationException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
173
|
-
this.Message = opts.Message;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
class ObjectNotFoundException extends AutoScalingPlansServiceException {
|
|
177
|
-
name = "ObjectNotFoundException";
|
|
178
|
-
$fault = "client";
|
|
179
|
-
Message;
|
|
180
|
-
constructor(opts) {
|
|
181
|
-
super({
|
|
182
|
-
name: "ObjectNotFoundException",
|
|
183
|
-
$fault: "client",
|
|
184
|
-
...opts,
|
|
185
|
-
});
|
|
186
|
-
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
187
|
-
this.Message = opts.Message;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
class InvalidNextTokenException extends AutoScalingPlansServiceException {
|
|
191
|
-
name = "InvalidNextTokenException";
|
|
192
|
-
$fault = "client";
|
|
193
|
-
Message;
|
|
194
|
-
constructor(opts) {
|
|
195
|
-
super({
|
|
196
|
-
name: "InvalidNextTokenException",
|
|
197
|
-
$fault: "client",
|
|
198
|
-
...opts,
|
|
199
|
-
});
|
|
200
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
201
|
-
this.Message = opts.Message;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
const _AS = "ApplicationSource";
|
|
206
|
-
const _ASp = "ApplicationSources";
|
|
207
|
-
const _CFSARN = "CloudFormationStackARN";
|
|
208
|
-
const _CLMS = "CustomizedLoadMetricSpecification";
|
|
209
|
-
const _CSMS = "CustomizedScalingMetricSpecification";
|
|
210
|
-
const _CSP = "CreateScalingPlan";
|
|
211
|
-
const _CSPR = "CreateScalingPlanRequest";
|
|
212
|
-
const _CSPRr = "CreateScalingPlanResponse";
|
|
213
|
-
const _CT = "CreationTime";
|
|
214
|
-
const _CUE = "ConcurrentUpdateException";
|
|
215
|
-
const _D = "Dimensions";
|
|
216
|
-
const _DDS = "DisableDynamicScaling";
|
|
217
|
-
const _DSI = "DisableScaleIn";
|
|
218
|
-
const _DSP = "DeleteScalingPlan";
|
|
219
|
-
const _DSPR = "DeleteScalingPlanRequest";
|
|
220
|
-
const _DSPRR = "DescribeScalingPlanResourcesRequest";
|
|
221
|
-
const _DSPRRe = "DescribeScalingPlanResourcesResponse";
|
|
222
|
-
const _DSPRe = "DeleteScalingPlanResponse";
|
|
223
|
-
const _DSPRes = "DescribeScalingPlansRequest";
|
|
224
|
-
const _DSPResc = "DescribeScalingPlansResponse";
|
|
225
|
-
const _DSPRescr = "DescribeScalingPlanResources";
|
|
226
|
-
const _DSPe = "DescribeScalingPlans";
|
|
227
|
-
const _Da = "Datapoint";
|
|
228
|
-
const _Dat = "Datapoints";
|
|
229
|
-
const _EIW = "EstimatedInstanceWarmup";
|
|
230
|
-
const _ET = "EndTime";
|
|
231
|
-
const _FDT = "ForecastDataType";
|
|
232
|
-
const _GSPRFD = "GetScalingPlanResourceForecastData";
|
|
233
|
-
const _GSPRFDR = "GetScalingPlanResourceForecastDataRequest";
|
|
234
|
-
const _GSPRFDRe = "GetScalingPlanResourceForecastDataResponse";
|
|
235
|
-
const _INTE = "InvalidNextTokenException";
|
|
236
|
-
const _ISE = "InternalServiceException";
|
|
237
|
-
const _K = "Key";
|
|
238
|
-
const _LEE = "LimitExceededException";
|
|
239
|
-
const _M = "Message";
|
|
240
|
-
const _MC = "MinCapacity";
|
|
241
|
-
const _MCa = "MaxCapacity";
|
|
242
|
-
const _MD = "MetricDimension";
|
|
243
|
-
const _MDe = "MetricDimensions";
|
|
244
|
-
const _MN = "MetricName";
|
|
245
|
-
const _MR = "MaxResults";
|
|
246
|
-
const _N = "Namespace";
|
|
247
|
-
const _NT = "NextToken";
|
|
248
|
-
const _Na = "Name";
|
|
249
|
-
const _ONFE = "ObjectNotFoundException";
|
|
250
|
-
const _PLMS = "PredefinedLoadMetricSpecification";
|
|
251
|
-
const _PLMT = "PredefinedLoadMetricType";
|
|
252
|
-
const _PN = "PolicyName";
|
|
253
|
-
const _PSM = "PredictiveScalingMode";
|
|
254
|
-
const _PSMCB = "PredictiveScalingMaxCapacityBehavior";
|
|
255
|
-
const _PSMCBr = "PredictiveScalingMaxCapacityBuffer";
|
|
256
|
-
const _PSMS = "PredefinedScalingMetricSpecification";
|
|
257
|
-
const _PSMT = "PredefinedScalingMetricType";
|
|
258
|
-
const _PT = "PolicyType";
|
|
259
|
-
const _RI = "ResourceId";
|
|
260
|
-
const _RL = "ResourceLabel";
|
|
261
|
-
const _S = "Statistic";
|
|
262
|
-
const _SABT = "ScheduledActionBufferTime";
|
|
263
|
-
const _SC = "StatusCode";
|
|
264
|
-
const _SD = "ScalableDimension";
|
|
265
|
-
const _SI = "ScalingInstructions";
|
|
266
|
-
const _SIC = "ScaleInCooldown";
|
|
267
|
-
const _SIc = "ScalingInstruction";
|
|
268
|
-
const _SM = "StatusMessage";
|
|
269
|
-
const _SN = "ServiceNamespace";
|
|
270
|
-
const _SOC = "ScaleOutCooldown";
|
|
271
|
-
const _SP = "ScalingPlans";
|
|
272
|
-
const _SPN = "ScalingPlanName";
|
|
273
|
-
const _SPNc = "ScalingPlanNames";
|
|
274
|
-
const _SPR = "ScalingPlanResources";
|
|
275
|
-
const _SPRc = "ScalingPlanResource";
|
|
276
|
-
const _SPUB = "ScalingPolicyUpdateBehavior";
|
|
277
|
-
const _SPV = "ScalingPlanVersion";
|
|
278
|
-
const _SPc = "ScalingPlan";
|
|
279
|
-
const _SPca = "ScalingPolicies";
|
|
280
|
-
const _SPcal = "ScalingPolicy";
|
|
281
|
-
const _SSC = "ScalingStatusCode";
|
|
282
|
-
const _SSM = "ScalingStatusMessage";
|
|
283
|
-
const _SST = "StatusStartTime";
|
|
284
|
-
const _ST = "StartTime";
|
|
285
|
-
const _T = "Timestamp";
|
|
286
|
-
const _TF = "TagFilters";
|
|
287
|
-
const _TFa = "TagFilter";
|
|
288
|
-
const _TTC = "TargetTrackingConfigurations";
|
|
289
|
-
const _TTCa = "TargetTrackingConfiguration";
|
|
290
|
-
const _TV = "TargetValue";
|
|
291
|
-
const _U = "Unit";
|
|
292
|
-
const _USP = "UpdateScalingPlan";
|
|
293
|
-
const _USPR = "UpdateScalingPlanRequest";
|
|
294
|
-
const _USPRp = "UpdateScalingPlanResponse";
|
|
295
|
-
const _V = "Value";
|
|
296
|
-
const _VE = "ValidationException";
|
|
297
|
-
const _Va = "Values";
|
|
298
|
-
const _aQE = "awsQueryError";
|
|
299
|
-
const _c = "client";
|
|
300
|
-
const _e = "error";
|
|
301
|
-
const _hE = "httpError";
|
|
302
|
-
const _s = "server";
|
|
303
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
|
|
304
|
-
const n0 = "com.amazonaws.autoscalingplans";
|
|
305
|
-
var ApplicationSource$ = [3, n0, _AS,
|
|
306
|
-
0,
|
|
307
|
-
[_CFSARN, _TF],
|
|
308
|
-
[0, () => TagFilters]
|
|
309
|
-
];
|
|
310
|
-
var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
311
|
-
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _s, [_hE]: 500 },
|
|
312
|
-
[_M],
|
|
313
|
-
[0]
|
|
314
|
-
];
|
|
315
|
-
schema.TypeRegistry.for(n0).registerError(ConcurrentUpdateException$, ConcurrentUpdateException);
|
|
316
|
-
var CreateScalingPlanRequest$ = [3, n0, _CSPR,
|
|
317
|
-
0,
|
|
318
|
-
[_SPN, _AS, _SI],
|
|
319
|
-
[0, () => ApplicationSource$, () => ScalingInstructions], 3
|
|
320
|
-
];
|
|
321
|
-
var CreateScalingPlanResponse$ = [3, n0, _CSPRr,
|
|
322
|
-
0,
|
|
323
|
-
[_SPV],
|
|
324
|
-
[1], 1
|
|
325
|
-
];
|
|
326
|
-
var CustomizedLoadMetricSpecification$ = [3, n0, _CLMS,
|
|
327
|
-
0,
|
|
328
|
-
[_MN, _N, _S, _D, _U],
|
|
329
|
-
[0, 0, 0, () => MetricDimensions, 0], 3
|
|
330
|
-
];
|
|
331
|
-
var CustomizedScalingMetricSpecification$ = [3, n0, _CSMS,
|
|
332
|
-
0,
|
|
333
|
-
[_MN, _N, _S, _D, _U],
|
|
334
|
-
[0, 0, 0, () => MetricDimensions, 0], 3
|
|
335
|
-
];
|
|
336
|
-
var Datapoint$ = [3, n0, _Da,
|
|
337
|
-
0,
|
|
338
|
-
[_T, _V],
|
|
339
|
-
[4, 1]
|
|
340
|
-
];
|
|
341
|
-
var DeleteScalingPlanRequest$ = [3, n0, _DSPR,
|
|
342
|
-
0,
|
|
343
|
-
[_SPN, _SPV],
|
|
344
|
-
[0, 1], 2
|
|
345
|
-
];
|
|
346
|
-
var DeleteScalingPlanResponse$ = [3, n0, _DSPRe,
|
|
347
|
-
0,
|
|
348
|
-
[],
|
|
349
|
-
[]
|
|
350
|
-
];
|
|
351
|
-
var DescribeScalingPlanResourcesRequest$ = [3, n0, _DSPRR,
|
|
352
|
-
0,
|
|
353
|
-
[_SPN, _SPV, _MR, _NT],
|
|
354
|
-
[0, 1, 1, 0], 2
|
|
355
|
-
];
|
|
356
|
-
var DescribeScalingPlanResourcesResponse$ = [3, n0, _DSPRRe,
|
|
357
|
-
0,
|
|
358
|
-
[_SPR, _NT],
|
|
359
|
-
[() => ScalingPlanResources, 0]
|
|
360
|
-
];
|
|
361
|
-
var DescribeScalingPlansRequest$ = [3, n0, _DSPRes,
|
|
362
|
-
0,
|
|
363
|
-
[_SPNc, _SPV, _ASp, _MR, _NT],
|
|
364
|
-
[64 | 0, 1, () => ApplicationSources, 1, 0]
|
|
365
|
-
];
|
|
366
|
-
var DescribeScalingPlansResponse$ = [3, n0, _DSPResc,
|
|
367
|
-
0,
|
|
368
|
-
[_SP, _NT],
|
|
369
|
-
[() => ScalingPlans, 0]
|
|
370
|
-
];
|
|
371
|
-
var GetScalingPlanResourceForecastDataRequest$ = [3, n0, _GSPRFDR,
|
|
372
|
-
0,
|
|
373
|
-
[_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
|
|
374
|
-
[0, 1, 0, 0, 0, 0, 4, 4], 8
|
|
375
|
-
];
|
|
376
|
-
var GetScalingPlanResourceForecastDataResponse$ = [3, n0, _GSPRFDRe,
|
|
377
|
-
0,
|
|
378
|
-
[_Dat],
|
|
379
|
-
[() => Datapoints], 1
|
|
380
|
-
];
|
|
381
|
-
var InternalServiceException$ = [-3, n0, _ISE,
|
|
382
|
-
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _s, [_hE]: 500 },
|
|
383
|
-
[_M],
|
|
384
|
-
[0]
|
|
385
|
-
];
|
|
386
|
-
schema.TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
387
|
-
var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
388
|
-
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
389
|
-
[_M],
|
|
390
|
-
[0]
|
|
391
|
-
];
|
|
392
|
-
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
393
|
-
var LimitExceededException$ = [-3, n0, _LEE,
|
|
394
|
-
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
395
|
-
[_M],
|
|
396
|
-
[0]
|
|
397
|
-
];
|
|
398
|
-
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
399
|
-
var MetricDimension$ = [3, n0, _MD,
|
|
400
|
-
0,
|
|
401
|
-
[_Na, _V],
|
|
402
|
-
[0, 0], 2
|
|
403
|
-
];
|
|
404
|
-
var ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
405
|
-
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
406
|
-
[_M],
|
|
407
|
-
[0]
|
|
408
|
-
];
|
|
409
|
-
schema.TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
410
|
-
var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
411
|
-
0,
|
|
412
|
-
[_PLMT, _RL],
|
|
413
|
-
[0, 0], 1
|
|
414
|
-
];
|
|
415
|
-
var PredefinedScalingMetricSpecification$ = [3, n0, _PSMS,
|
|
416
|
-
0,
|
|
417
|
-
[_PSMT, _RL],
|
|
418
|
-
[0, 0], 1
|
|
419
|
-
];
|
|
420
|
-
var ScalingInstruction$ = [3, n0, _SIc,
|
|
421
|
-
0,
|
|
422
|
-
[_SN, _RI, _SD, _MC, _MCa, _TTC, _PLMS, _CLMS, _SABT, _PSMCB, _PSMCBr, _PSM, _SPUB, _DDS],
|
|
423
|
-
[0, 0, 0, 1, 1, () => TargetTrackingConfigurations, () => PredefinedLoadMetricSpecification$, () => CustomizedLoadMetricSpecification$, 1, 0, 1, 0, 0, 2], 6
|
|
424
|
-
];
|
|
425
|
-
var ScalingPlan$ = [3, n0, _SPc,
|
|
426
|
-
0,
|
|
427
|
-
[_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
|
|
428
|
-
[0, 1, () => ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4], 5
|
|
429
|
-
];
|
|
430
|
-
var ScalingPlanResource$ = [3, n0, _SPRc,
|
|
431
|
-
0,
|
|
432
|
-
[_SPN, _SPV, _SN, _RI, _SD, _SSC, _SPca, _SSM],
|
|
433
|
-
[0, 1, 0, 0, 0, 0, () => ScalingPolicies, 0], 6
|
|
434
|
-
];
|
|
435
|
-
var ScalingPolicy$ = [3, n0, _SPcal,
|
|
436
|
-
0,
|
|
437
|
-
[_PN, _PT, _TTCa],
|
|
438
|
-
[0, 0, () => TargetTrackingConfiguration$], 2
|
|
439
|
-
];
|
|
440
|
-
var TagFilter$ = [3, n0, _TFa,
|
|
441
|
-
0,
|
|
442
|
-
[_K, _Va],
|
|
443
|
-
[0, 64 | 0]
|
|
444
|
-
];
|
|
445
|
-
var TargetTrackingConfiguration$ = [3, n0, _TTCa,
|
|
446
|
-
0,
|
|
447
|
-
[_TV, _PSMS, _CSMS, _DSI, _SOC, _SIC, _EIW],
|
|
448
|
-
[1, () => PredefinedScalingMetricSpecification$, () => CustomizedScalingMetricSpecification$, 2, 1, 1, 1], 1
|
|
449
|
-
];
|
|
450
|
-
var UpdateScalingPlanRequest$ = [3, n0, _USPR,
|
|
451
|
-
0,
|
|
452
|
-
[_SPN, _SPV, _AS, _SI],
|
|
453
|
-
[0, 1, () => ApplicationSource$, () => ScalingInstructions], 2
|
|
454
|
-
];
|
|
455
|
-
var UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
456
|
-
0,
|
|
457
|
-
[],
|
|
458
|
-
[]
|
|
459
|
-
];
|
|
460
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
461
|
-
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
462
|
-
[_M],
|
|
463
|
-
[0]
|
|
464
|
-
];
|
|
465
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
466
|
-
var AutoScalingPlansServiceException$ = [-3, _sm, "AutoScalingPlansServiceException", 0, [], []];
|
|
467
|
-
schema.TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
468
|
-
var ApplicationSources = [1, n0, _ASp,
|
|
469
|
-
0, () => ApplicationSource$
|
|
470
|
-
];
|
|
471
|
-
var Datapoints = [1, n0, _Dat,
|
|
472
|
-
0, () => Datapoint$
|
|
473
|
-
];
|
|
474
|
-
var MetricDimensions = [1, n0, _MDe,
|
|
475
|
-
0, () => MetricDimension$
|
|
476
|
-
];
|
|
477
|
-
var ScalingInstructions = [1, n0, _SI,
|
|
478
|
-
0, () => ScalingInstruction$
|
|
479
|
-
];
|
|
480
|
-
var ScalingPlanResources = [1, n0, _SPR,
|
|
481
|
-
0, () => ScalingPlanResource$
|
|
482
|
-
];
|
|
483
|
-
var ScalingPlans = [1, n0, _SP,
|
|
484
|
-
0, () => ScalingPlan$
|
|
485
|
-
];
|
|
486
|
-
var ScalingPolicies = [1, n0, _SPca,
|
|
487
|
-
0, () => ScalingPolicy$
|
|
488
|
-
];
|
|
489
|
-
var TagFilters = [1, n0, _TF,
|
|
490
|
-
0, () => TagFilter$
|
|
491
|
-
];
|
|
492
|
-
var TargetTrackingConfigurations = [1, n0, _TTC,
|
|
493
|
-
0, () => TargetTrackingConfiguration$
|
|
494
|
-
];
|
|
495
|
-
var CreateScalingPlan$ = [9, n0, _CSP,
|
|
496
|
-
0, () => CreateScalingPlanRequest$, () => CreateScalingPlanResponse$
|
|
497
|
-
];
|
|
498
|
-
var DeleteScalingPlan$ = [9, n0, _DSP,
|
|
499
|
-
0, () => DeleteScalingPlanRequest$, () => DeleteScalingPlanResponse$
|
|
500
|
-
];
|
|
501
|
-
var DescribeScalingPlanResources$ = [9, n0, _DSPRescr,
|
|
502
|
-
0, () => DescribeScalingPlanResourcesRequest$, () => DescribeScalingPlanResourcesResponse$
|
|
503
|
-
];
|
|
504
|
-
var DescribeScalingPlans$ = [9, n0, _DSPe,
|
|
505
|
-
0, () => DescribeScalingPlansRequest$, () => DescribeScalingPlansResponse$
|
|
506
|
-
];
|
|
507
|
-
var GetScalingPlanResourceForecastData$ = [9, n0, _GSPRFD,
|
|
508
|
-
0, () => GetScalingPlanResourceForecastDataRequest$, () => GetScalingPlanResourceForecastDataResponse$
|
|
509
|
-
];
|
|
510
|
-
var UpdateScalingPlan$ = [9, n0, _USP,
|
|
511
|
-
0, () => UpdateScalingPlanRequest$, () => UpdateScalingPlanResponse$
|
|
512
|
-
];
|
|
513
|
-
|
|
514
116
|
class CreateScalingPlanCommand extends smithyClient.Command
|
|
515
117
|
.classBuilder()
|
|
516
118
|
.ep(commonParams)
|
|
@@ -519,7 +121,7 @@ class CreateScalingPlanCommand extends smithyClient.Command
|
|
|
519
121
|
})
|
|
520
122
|
.s("AnyScaleScalingPlannerFrontendService", "CreateScalingPlan", {})
|
|
521
123
|
.n("AutoScalingPlansClient", "CreateScalingPlanCommand")
|
|
522
|
-
.sc(CreateScalingPlan$)
|
|
124
|
+
.sc(schemas_0.CreateScalingPlan$)
|
|
523
125
|
.build() {
|
|
524
126
|
}
|
|
525
127
|
|
|
@@ -531,7 +133,7 @@ class DeleteScalingPlanCommand extends smithyClient.Command
|
|
|
531
133
|
})
|
|
532
134
|
.s("AnyScaleScalingPlannerFrontendService", "DeleteScalingPlan", {})
|
|
533
135
|
.n("AutoScalingPlansClient", "DeleteScalingPlanCommand")
|
|
534
|
-
.sc(DeleteScalingPlan$)
|
|
136
|
+
.sc(schemas_0.DeleteScalingPlan$)
|
|
535
137
|
.build() {
|
|
536
138
|
}
|
|
537
139
|
|
|
@@ -543,7 +145,7 @@ class DescribeScalingPlanResourcesCommand extends smithyClient.Command
|
|
|
543
145
|
})
|
|
544
146
|
.s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlanResources", {})
|
|
545
147
|
.n("AutoScalingPlansClient", "DescribeScalingPlanResourcesCommand")
|
|
546
|
-
.sc(DescribeScalingPlanResources$)
|
|
148
|
+
.sc(schemas_0.DescribeScalingPlanResources$)
|
|
547
149
|
.build() {
|
|
548
150
|
}
|
|
549
151
|
|
|
@@ -555,7 +157,7 @@ class DescribeScalingPlansCommand extends smithyClient.Command
|
|
|
555
157
|
})
|
|
556
158
|
.s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlans", {})
|
|
557
159
|
.n("AutoScalingPlansClient", "DescribeScalingPlansCommand")
|
|
558
|
-
.sc(DescribeScalingPlans$)
|
|
160
|
+
.sc(schemas_0.DescribeScalingPlans$)
|
|
559
161
|
.build() {
|
|
560
162
|
}
|
|
561
163
|
|
|
@@ -567,7 +169,7 @@ class GetScalingPlanResourceForecastDataCommand extends smithyClient.Command
|
|
|
567
169
|
})
|
|
568
170
|
.s("AnyScaleScalingPlannerFrontendService", "GetScalingPlanResourceForecastData", {})
|
|
569
171
|
.n("AutoScalingPlansClient", "GetScalingPlanResourceForecastDataCommand")
|
|
570
|
-
.sc(GetScalingPlanResourceForecastData$)
|
|
172
|
+
.sc(schemas_0.GetScalingPlanResourceForecastData$)
|
|
571
173
|
.build() {
|
|
572
174
|
}
|
|
573
175
|
|
|
@@ -579,7 +181,7 @@ class UpdateScalingPlanCommand extends smithyClient.Command
|
|
|
579
181
|
})
|
|
580
182
|
.s("AnyScaleScalingPlannerFrontendService", "UpdateScalingPlan", {})
|
|
581
183
|
.n("AutoScalingPlansClient", "UpdateScalingPlanCommand")
|
|
582
|
-
.sc(UpdateScalingPlan$)
|
|
184
|
+
.sc(schemas_0.UpdateScalingPlan$)
|
|
583
185
|
.build() {
|
|
584
186
|
}
|
|
585
187
|
|
|
@@ -686,68 +288,39 @@ Object.defineProperty(exports, "__Client", {
|
|
|
686
288
|
enumerable: true,
|
|
687
289
|
get: function () { return smithyClient.Client; }
|
|
688
290
|
});
|
|
689
|
-
exports
|
|
291
|
+
Object.defineProperty(exports, "AutoScalingPlansServiceException", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return AutoScalingPlansServiceException.AutoScalingPlansServiceException; }
|
|
294
|
+
});
|
|
690
295
|
exports.AutoScalingPlans = AutoScalingPlans;
|
|
691
296
|
exports.AutoScalingPlansClient = AutoScalingPlansClient;
|
|
692
|
-
exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException;
|
|
693
|
-
exports.AutoScalingPlansServiceException$ = AutoScalingPlansServiceException$;
|
|
694
|
-
exports.ConcurrentUpdateException = ConcurrentUpdateException;
|
|
695
|
-
exports.ConcurrentUpdateException$ = ConcurrentUpdateException$;
|
|
696
|
-
exports.CreateScalingPlan$ = CreateScalingPlan$;
|
|
697
297
|
exports.CreateScalingPlanCommand = CreateScalingPlanCommand;
|
|
698
|
-
exports.CreateScalingPlanRequest$ = CreateScalingPlanRequest$;
|
|
699
|
-
exports.CreateScalingPlanResponse$ = CreateScalingPlanResponse$;
|
|
700
|
-
exports.CustomizedLoadMetricSpecification$ = CustomizedLoadMetricSpecification$;
|
|
701
|
-
exports.CustomizedScalingMetricSpecification$ = CustomizedScalingMetricSpecification$;
|
|
702
|
-
exports.Datapoint$ = Datapoint$;
|
|
703
|
-
exports.DeleteScalingPlan$ = DeleteScalingPlan$;
|
|
704
298
|
exports.DeleteScalingPlanCommand = DeleteScalingPlanCommand;
|
|
705
|
-
exports.DeleteScalingPlanRequest$ = DeleteScalingPlanRequest$;
|
|
706
|
-
exports.DeleteScalingPlanResponse$ = DeleteScalingPlanResponse$;
|
|
707
|
-
exports.DescribeScalingPlanResources$ = DescribeScalingPlanResources$;
|
|
708
299
|
exports.DescribeScalingPlanResourcesCommand = DescribeScalingPlanResourcesCommand;
|
|
709
|
-
exports.DescribeScalingPlanResourcesRequest$ = DescribeScalingPlanResourcesRequest$;
|
|
710
|
-
exports.DescribeScalingPlanResourcesResponse$ = DescribeScalingPlanResourcesResponse$;
|
|
711
|
-
exports.DescribeScalingPlans$ = DescribeScalingPlans$;
|
|
712
300
|
exports.DescribeScalingPlansCommand = DescribeScalingPlansCommand;
|
|
713
|
-
exports.DescribeScalingPlansRequest$ = DescribeScalingPlansRequest$;
|
|
714
|
-
exports.DescribeScalingPlansResponse$ = DescribeScalingPlansResponse$;
|
|
715
301
|
exports.ForecastDataType = ForecastDataType;
|
|
716
|
-
exports.GetScalingPlanResourceForecastData$ = GetScalingPlanResourceForecastData$;
|
|
717
302
|
exports.GetScalingPlanResourceForecastDataCommand = GetScalingPlanResourceForecastDataCommand;
|
|
718
|
-
exports.GetScalingPlanResourceForecastDataRequest$ = GetScalingPlanResourceForecastDataRequest$;
|
|
719
|
-
exports.GetScalingPlanResourceForecastDataResponse$ = GetScalingPlanResourceForecastDataResponse$;
|
|
720
|
-
exports.InternalServiceException = InternalServiceException;
|
|
721
|
-
exports.InternalServiceException$ = InternalServiceException$;
|
|
722
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
723
|
-
exports.InvalidNextTokenException$ = InvalidNextTokenException$;
|
|
724
|
-
exports.LimitExceededException = LimitExceededException;
|
|
725
|
-
exports.LimitExceededException$ = LimitExceededException$;
|
|
726
303
|
exports.LoadMetricType = LoadMetricType;
|
|
727
|
-
exports.MetricDimension$ = MetricDimension$;
|
|
728
304
|
exports.MetricStatistic = MetricStatistic;
|
|
729
|
-
exports.ObjectNotFoundException = ObjectNotFoundException;
|
|
730
|
-
exports.ObjectNotFoundException$ = ObjectNotFoundException$;
|
|
731
305
|
exports.PolicyType = PolicyType;
|
|
732
|
-
exports.PredefinedLoadMetricSpecification$ = PredefinedLoadMetricSpecification$;
|
|
733
|
-
exports.PredefinedScalingMetricSpecification$ = PredefinedScalingMetricSpecification$;
|
|
734
306
|
exports.PredictiveScalingMaxCapacityBehavior = PredictiveScalingMaxCapacityBehavior;
|
|
735
307
|
exports.PredictiveScalingMode = PredictiveScalingMode;
|
|
736
308
|
exports.ScalableDimension = ScalableDimension;
|
|
737
|
-
exports.ScalingInstruction$ = ScalingInstruction$;
|
|
738
309
|
exports.ScalingMetricType = ScalingMetricType;
|
|
739
|
-
exports.ScalingPlan$ = ScalingPlan$;
|
|
740
|
-
exports.ScalingPlanResource$ = ScalingPlanResource$;
|
|
741
310
|
exports.ScalingPlanStatusCode = ScalingPlanStatusCode;
|
|
742
|
-
exports.ScalingPolicy$ = ScalingPolicy$;
|
|
743
311
|
exports.ScalingPolicyUpdateBehavior = ScalingPolicyUpdateBehavior;
|
|
744
312
|
exports.ScalingStatusCode = ScalingStatusCode;
|
|
745
313
|
exports.ServiceNamespace = ServiceNamespace;
|
|
746
|
-
exports.TagFilter$ = TagFilter$;
|
|
747
|
-
exports.TargetTrackingConfiguration$ = TargetTrackingConfiguration$;
|
|
748
|
-
exports.UpdateScalingPlan$ = UpdateScalingPlan$;
|
|
749
314
|
exports.UpdateScalingPlanCommand = UpdateScalingPlanCommand;
|
|
750
|
-
|
|
751
|
-
exports.
|
|
752
|
-
|
|
753
|
-
|
|
315
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
316
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
317
|
+
enumerable: true,
|
|
318
|
+
get: function () { return schemas_0[k]; }
|
|
319
|
+
});
|
|
320
|
+
});
|
|
321
|
+
Object.keys(errors).forEach(function (k) {
|
|
322
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
323
|
+
enumerable: true,
|
|
324
|
+
get: function () { return errors[k]; }
|
|
325
|
+
});
|
|
326
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
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;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidNextTokenException = exports.ObjectNotFoundException = exports.ValidationException = exports.LimitExceededException = exports.InternalServiceException = exports.ConcurrentUpdateException = void 0;
|
|
4
|
+
const AutoScalingPlansServiceException_1 = require("./AutoScalingPlansServiceException");
|
|
5
|
+
class ConcurrentUpdateException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
6
|
+
name = "ConcurrentUpdateException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "ConcurrentUpdateException",
|
|
12
|
+
$fault: "server",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ConcurrentUpdateException = ConcurrentUpdateException;
|
|
20
|
+
class InternalServiceException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
21
|
+
name = "InternalServiceException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InternalServiceException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InternalServiceException = InternalServiceException;
|
|
35
|
+
class LimitExceededException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
36
|
+
name = "LimitExceededException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "LimitExceededException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.LimitExceededException = LimitExceededException;
|
|
50
|
+
class ValidationException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ValidationException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ValidationException = ValidationException;
|
|
65
|
+
class ObjectNotFoundException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
66
|
+
name = "ObjectNotFoundException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ObjectNotFoundException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ObjectNotFoundException = ObjectNotFoundException;
|
|
80
|
+
class InvalidNextTokenException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
|
|
81
|
+
name = "InvalidNextTokenException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "InvalidNextTokenException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-01-06",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.autoscalingplans",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-01-06",
|
|
33
35
|
serviceTarget: "AnyScaleScalingPlannerFrontendService",
|
|
34
36
|
},
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateScalingPlan$ = exports.GetScalingPlanResourceForecastData$ = exports.DescribeScalingPlans$ = exports.DescribeScalingPlanResources$ = exports.DeleteScalingPlan$ = exports.CreateScalingPlan$ = exports.UpdateScalingPlanResponse$ = exports.UpdateScalingPlanRequest$ = exports.TargetTrackingConfiguration$ = exports.TagFilter$ = exports.ScalingPolicy$ = exports.ScalingPlanResource$ = exports.ScalingPlan$ = exports.ScalingInstruction$ = exports.PredefinedScalingMetricSpecification$ = exports.PredefinedLoadMetricSpecification$ = exports.MetricDimension$ = exports.GetScalingPlanResourceForecastDataResponse$ = exports.GetScalingPlanResourceForecastDataRequest$ = exports.DescribeScalingPlansResponse$ = exports.DescribeScalingPlansRequest$ = exports.DescribeScalingPlanResourcesResponse$ = exports.DescribeScalingPlanResourcesRequest$ = exports.DeleteScalingPlanResponse$ = exports.DeleteScalingPlanRequest$ = exports.Datapoint$ = exports.CustomizedScalingMetricSpecification$ = exports.CustomizedLoadMetricSpecification$ = exports.CreateScalingPlanResponse$ = exports.CreateScalingPlanRequest$ = exports.ApplicationSource$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ObjectNotFoundException$ = exports.LimitExceededException$ = exports.InvalidNextTokenException$ = exports.InternalServiceException$ = exports.ConcurrentUpdateException$ = exports.AutoScalingPlansServiceException$ = void 0;
|
|
4
|
+
const _AS = "ApplicationSource";
|
|
5
|
+
const _ASp = "ApplicationSources";
|
|
6
|
+
const _CFSARN = "CloudFormationStackARN";
|
|
7
|
+
const _CLMS = "CustomizedLoadMetricSpecification";
|
|
8
|
+
const _CSMS = "CustomizedScalingMetricSpecification";
|
|
9
|
+
const _CSP = "CreateScalingPlan";
|
|
10
|
+
const _CSPR = "CreateScalingPlanRequest";
|
|
11
|
+
const _CSPRr = "CreateScalingPlanResponse";
|
|
12
|
+
const _CT = "CreationTime";
|
|
13
|
+
const _CUE = "ConcurrentUpdateException";
|
|
14
|
+
const _D = "Dimensions";
|
|
15
|
+
const _DDS = "DisableDynamicScaling";
|
|
16
|
+
const _DSI = "DisableScaleIn";
|
|
17
|
+
const _DSP = "DeleteScalingPlan";
|
|
18
|
+
const _DSPR = "DeleteScalingPlanRequest";
|
|
19
|
+
const _DSPRR = "DescribeScalingPlanResourcesRequest";
|
|
20
|
+
const _DSPRRe = "DescribeScalingPlanResourcesResponse";
|
|
21
|
+
const _DSPRe = "DeleteScalingPlanResponse";
|
|
22
|
+
const _DSPRes = "DescribeScalingPlansRequest";
|
|
23
|
+
const _DSPResc = "DescribeScalingPlansResponse";
|
|
24
|
+
const _DSPRescr = "DescribeScalingPlanResources";
|
|
25
|
+
const _DSPe = "DescribeScalingPlans";
|
|
26
|
+
const _Da = "Datapoint";
|
|
27
|
+
const _Dat = "Datapoints";
|
|
28
|
+
const _EIW = "EstimatedInstanceWarmup";
|
|
29
|
+
const _ET = "EndTime";
|
|
30
|
+
const _FDT = "ForecastDataType";
|
|
31
|
+
const _GSPRFD = "GetScalingPlanResourceForecastData";
|
|
32
|
+
const _GSPRFDR = "GetScalingPlanResourceForecastDataRequest";
|
|
33
|
+
const _GSPRFDRe = "GetScalingPlanResourceForecastDataResponse";
|
|
34
|
+
const _INTE = "InvalidNextTokenException";
|
|
35
|
+
const _ISE = "InternalServiceException";
|
|
36
|
+
const _K = "Key";
|
|
37
|
+
const _LEE = "LimitExceededException";
|
|
38
|
+
const _M = "Message";
|
|
39
|
+
const _MC = "MinCapacity";
|
|
40
|
+
const _MCa = "MaxCapacity";
|
|
41
|
+
const _MD = "MetricDimension";
|
|
42
|
+
const _MDe = "MetricDimensions";
|
|
43
|
+
const _MN = "MetricName";
|
|
44
|
+
const _MR = "MaxResults";
|
|
45
|
+
const _N = "Namespace";
|
|
46
|
+
const _NT = "NextToken";
|
|
47
|
+
const _Na = "Name";
|
|
48
|
+
const _ONFE = "ObjectNotFoundException";
|
|
49
|
+
const _PLMS = "PredefinedLoadMetricSpecification";
|
|
50
|
+
const _PLMT = "PredefinedLoadMetricType";
|
|
51
|
+
const _PN = "PolicyName";
|
|
52
|
+
const _PSM = "PredictiveScalingMode";
|
|
53
|
+
const _PSMCB = "PredictiveScalingMaxCapacityBehavior";
|
|
54
|
+
const _PSMCBr = "PredictiveScalingMaxCapacityBuffer";
|
|
55
|
+
const _PSMS = "PredefinedScalingMetricSpecification";
|
|
56
|
+
const _PSMT = "PredefinedScalingMetricType";
|
|
57
|
+
const _PT = "PolicyType";
|
|
58
|
+
const _RI = "ResourceId";
|
|
59
|
+
const _RL = "ResourceLabel";
|
|
60
|
+
const _S = "Statistic";
|
|
61
|
+
const _SABT = "ScheduledActionBufferTime";
|
|
62
|
+
const _SC = "StatusCode";
|
|
63
|
+
const _SD = "ScalableDimension";
|
|
64
|
+
const _SI = "ScalingInstructions";
|
|
65
|
+
const _SIC = "ScaleInCooldown";
|
|
66
|
+
const _SIc = "ScalingInstruction";
|
|
67
|
+
const _SM = "StatusMessage";
|
|
68
|
+
const _SN = "ServiceNamespace";
|
|
69
|
+
const _SOC = "ScaleOutCooldown";
|
|
70
|
+
const _SP = "ScalingPlans";
|
|
71
|
+
const _SPN = "ScalingPlanName";
|
|
72
|
+
const _SPNc = "ScalingPlanNames";
|
|
73
|
+
const _SPR = "ScalingPlanResources";
|
|
74
|
+
const _SPRc = "ScalingPlanResource";
|
|
75
|
+
const _SPUB = "ScalingPolicyUpdateBehavior";
|
|
76
|
+
const _SPV = "ScalingPlanVersion";
|
|
77
|
+
const _SPc = "ScalingPlan";
|
|
78
|
+
const _SPca = "ScalingPolicies";
|
|
79
|
+
const _SPcal = "ScalingPolicy";
|
|
80
|
+
const _SSC = "ScalingStatusCode";
|
|
81
|
+
const _SSM = "ScalingStatusMessage";
|
|
82
|
+
const _SST = "StatusStartTime";
|
|
83
|
+
const _ST = "StartTime";
|
|
84
|
+
const _T = "Timestamp";
|
|
85
|
+
const _TF = "TagFilters";
|
|
86
|
+
const _TFa = "TagFilter";
|
|
87
|
+
const _TTC = "TargetTrackingConfigurations";
|
|
88
|
+
const _TTCa = "TargetTrackingConfiguration";
|
|
89
|
+
const _TV = "TargetValue";
|
|
90
|
+
const _U = "Unit";
|
|
91
|
+
const _USP = "UpdateScalingPlan";
|
|
92
|
+
const _USPR = "UpdateScalingPlanRequest";
|
|
93
|
+
const _USPRp = "UpdateScalingPlanResponse";
|
|
94
|
+
const _V = "Value";
|
|
95
|
+
const _VE = "ValidationException";
|
|
96
|
+
const _Va = "Values";
|
|
97
|
+
const _aQE = "awsQueryError";
|
|
98
|
+
const _c = "client";
|
|
99
|
+
const _e = "error";
|
|
100
|
+
const _hE = "httpError";
|
|
101
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
|
|
102
|
+
const _se = "server";
|
|
103
|
+
const n0 = "com.amazonaws.autoscalingplans";
|
|
104
|
+
const schema_1 = require("@smithy/core/schema");
|
|
105
|
+
const AutoScalingPlansServiceException_1 = require("../models/AutoScalingPlansServiceException");
|
|
106
|
+
const errors_1 = require("../models/errors");
|
|
107
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
108
|
+
exports.AutoScalingPlansServiceException$ = [-3, _s, "AutoScalingPlansServiceException", 0, [], []];
|
|
109
|
+
_s_registry.registerError(exports.AutoScalingPlansServiceException$, AutoScalingPlansServiceException_1.AutoScalingPlansServiceException);
|
|
110
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
111
|
+
exports.ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
112
|
+
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _se, [_hE]: 500 },
|
|
113
|
+
[_M],
|
|
114
|
+
[0]
|
|
115
|
+
];
|
|
116
|
+
n0_registry.registerError(exports.ConcurrentUpdateException$, errors_1.ConcurrentUpdateException);
|
|
117
|
+
exports.InternalServiceException$ = [-3, n0, _ISE,
|
|
118
|
+
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _se, [_hE]: 500 },
|
|
119
|
+
[_M],
|
|
120
|
+
[0]
|
|
121
|
+
];
|
|
122
|
+
n0_registry.registerError(exports.InternalServiceException$, errors_1.InternalServiceException);
|
|
123
|
+
exports.InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
124
|
+
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
125
|
+
[_M],
|
|
126
|
+
[0]
|
|
127
|
+
];
|
|
128
|
+
n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
|
|
129
|
+
exports.LimitExceededException$ = [-3, n0, _LEE,
|
|
130
|
+
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
131
|
+
[_M],
|
|
132
|
+
[0]
|
|
133
|
+
];
|
|
134
|
+
n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
|
|
135
|
+
exports.ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
136
|
+
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
137
|
+
[_M],
|
|
138
|
+
[0]
|
|
139
|
+
];
|
|
140
|
+
n0_registry.registerError(exports.ObjectNotFoundException$, errors_1.ObjectNotFoundException);
|
|
141
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
142
|
+
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
143
|
+
[_M],
|
|
144
|
+
[0]
|
|
145
|
+
];
|
|
146
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
147
|
+
exports.errorTypeRegistries = [
|
|
148
|
+
_s_registry,
|
|
149
|
+
n0_registry,
|
|
150
|
+
];
|
|
151
|
+
exports.ApplicationSource$ = [3, n0, _AS,
|
|
152
|
+
0,
|
|
153
|
+
[_CFSARN, _TF],
|
|
154
|
+
[0, () => TagFilters]
|
|
155
|
+
];
|
|
156
|
+
exports.CreateScalingPlanRequest$ = [3, n0, _CSPR,
|
|
157
|
+
0,
|
|
158
|
+
[_SPN, _AS, _SI],
|
|
159
|
+
[0, () => exports.ApplicationSource$, () => ScalingInstructions], 3
|
|
160
|
+
];
|
|
161
|
+
exports.CreateScalingPlanResponse$ = [3, n0, _CSPRr,
|
|
162
|
+
0,
|
|
163
|
+
[_SPV],
|
|
164
|
+
[1], 1
|
|
165
|
+
];
|
|
166
|
+
exports.CustomizedLoadMetricSpecification$ = [3, n0, _CLMS,
|
|
167
|
+
0,
|
|
168
|
+
[_MN, _N, _S, _D, _U],
|
|
169
|
+
[0, 0, 0, () => MetricDimensions, 0], 3
|
|
170
|
+
];
|
|
171
|
+
exports.CustomizedScalingMetricSpecification$ = [3, n0, _CSMS,
|
|
172
|
+
0,
|
|
173
|
+
[_MN, _N, _S, _D, _U],
|
|
174
|
+
[0, 0, 0, () => MetricDimensions, 0], 3
|
|
175
|
+
];
|
|
176
|
+
exports.Datapoint$ = [3, n0, _Da,
|
|
177
|
+
0,
|
|
178
|
+
[_T, _V],
|
|
179
|
+
[4, 1]
|
|
180
|
+
];
|
|
181
|
+
exports.DeleteScalingPlanRequest$ = [3, n0, _DSPR,
|
|
182
|
+
0,
|
|
183
|
+
[_SPN, _SPV],
|
|
184
|
+
[0, 1], 2
|
|
185
|
+
];
|
|
186
|
+
exports.DeleteScalingPlanResponse$ = [3, n0, _DSPRe,
|
|
187
|
+
0,
|
|
188
|
+
[],
|
|
189
|
+
[]
|
|
190
|
+
];
|
|
191
|
+
exports.DescribeScalingPlanResourcesRequest$ = [3, n0, _DSPRR,
|
|
192
|
+
0,
|
|
193
|
+
[_SPN, _SPV, _MR, _NT],
|
|
194
|
+
[0, 1, 1, 0], 2
|
|
195
|
+
];
|
|
196
|
+
exports.DescribeScalingPlanResourcesResponse$ = [3, n0, _DSPRRe,
|
|
197
|
+
0,
|
|
198
|
+
[_SPR, _NT],
|
|
199
|
+
[() => ScalingPlanResources, 0]
|
|
200
|
+
];
|
|
201
|
+
exports.DescribeScalingPlansRequest$ = [3, n0, _DSPRes,
|
|
202
|
+
0,
|
|
203
|
+
[_SPNc, _SPV, _ASp, _MR, _NT],
|
|
204
|
+
[64 | 0, 1, () => ApplicationSources, 1, 0]
|
|
205
|
+
];
|
|
206
|
+
exports.DescribeScalingPlansResponse$ = [3, n0, _DSPResc,
|
|
207
|
+
0,
|
|
208
|
+
[_SP, _NT],
|
|
209
|
+
[() => ScalingPlans, 0]
|
|
210
|
+
];
|
|
211
|
+
exports.GetScalingPlanResourceForecastDataRequest$ = [3, n0, _GSPRFDR,
|
|
212
|
+
0,
|
|
213
|
+
[_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
|
|
214
|
+
[0, 1, 0, 0, 0, 0, 4, 4], 8
|
|
215
|
+
];
|
|
216
|
+
exports.GetScalingPlanResourceForecastDataResponse$ = [3, n0, _GSPRFDRe,
|
|
217
|
+
0,
|
|
218
|
+
[_Dat],
|
|
219
|
+
[() => Datapoints], 1
|
|
220
|
+
];
|
|
221
|
+
exports.MetricDimension$ = [3, n0, _MD,
|
|
222
|
+
0,
|
|
223
|
+
[_Na, _V],
|
|
224
|
+
[0, 0], 2
|
|
225
|
+
];
|
|
226
|
+
exports.PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
227
|
+
0,
|
|
228
|
+
[_PLMT, _RL],
|
|
229
|
+
[0, 0], 1
|
|
230
|
+
];
|
|
231
|
+
exports.PredefinedScalingMetricSpecification$ = [3, n0, _PSMS,
|
|
232
|
+
0,
|
|
233
|
+
[_PSMT, _RL],
|
|
234
|
+
[0, 0], 1
|
|
235
|
+
];
|
|
236
|
+
exports.ScalingInstruction$ = [3, n0, _SIc,
|
|
237
|
+
0,
|
|
238
|
+
[_SN, _RI, _SD, _MC, _MCa, _TTC, _PLMS, _CLMS, _SABT, _PSMCB, _PSMCBr, _PSM, _SPUB, _DDS],
|
|
239
|
+
[0, 0, 0, 1, 1, () => TargetTrackingConfigurations, () => exports.PredefinedLoadMetricSpecification$, () => exports.CustomizedLoadMetricSpecification$, 1, 0, 1, 0, 0, 2], 6
|
|
240
|
+
];
|
|
241
|
+
exports.ScalingPlan$ = [3, n0, _SPc,
|
|
242
|
+
0,
|
|
243
|
+
[_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
|
|
244
|
+
[0, 1, () => exports.ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4], 5
|
|
245
|
+
];
|
|
246
|
+
exports.ScalingPlanResource$ = [3, n0, _SPRc,
|
|
247
|
+
0,
|
|
248
|
+
[_SPN, _SPV, _SN, _RI, _SD, _SSC, _SPca, _SSM],
|
|
249
|
+
[0, 1, 0, 0, 0, 0, () => ScalingPolicies, 0], 6
|
|
250
|
+
];
|
|
251
|
+
exports.ScalingPolicy$ = [3, n0, _SPcal,
|
|
252
|
+
0,
|
|
253
|
+
[_PN, _PT, _TTCa],
|
|
254
|
+
[0, 0, () => exports.TargetTrackingConfiguration$], 2
|
|
255
|
+
];
|
|
256
|
+
exports.TagFilter$ = [3, n0, _TFa,
|
|
257
|
+
0,
|
|
258
|
+
[_K, _Va],
|
|
259
|
+
[0, 64 | 0]
|
|
260
|
+
];
|
|
261
|
+
exports.TargetTrackingConfiguration$ = [3, n0, _TTCa,
|
|
262
|
+
0,
|
|
263
|
+
[_TV, _PSMS, _CSMS, _DSI, _SOC, _SIC, _EIW],
|
|
264
|
+
[1, () => exports.PredefinedScalingMetricSpecification$, () => exports.CustomizedScalingMetricSpecification$, 2, 1, 1, 1], 1
|
|
265
|
+
];
|
|
266
|
+
exports.UpdateScalingPlanRequest$ = [3, n0, _USPR,
|
|
267
|
+
0,
|
|
268
|
+
[_SPN, _SPV, _AS, _SI],
|
|
269
|
+
[0, 1, () => exports.ApplicationSource$, () => ScalingInstructions], 2
|
|
270
|
+
];
|
|
271
|
+
exports.UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
272
|
+
0,
|
|
273
|
+
[],
|
|
274
|
+
[]
|
|
275
|
+
];
|
|
276
|
+
var ApplicationSources = [1, n0, _ASp,
|
|
277
|
+
0, () => exports.ApplicationSource$
|
|
278
|
+
];
|
|
279
|
+
var Datapoints = [1, n0, _Dat,
|
|
280
|
+
0, () => exports.Datapoint$
|
|
281
|
+
];
|
|
282
|
+
var MetricDimensions = [1, n0, _MDe,
|
|
283
|
+
0, () => exports.MetricDimension$
|
|
284
|
+
];
|
|
285
|
+
var ScalingInstructions = [1, n0, _SI,
|
|
286
|
+
0, () => exports.ScalingInstruction$
|
|
287
|
+
];
|
|
288
|
+
var ScalingPlanNames = 64 | 0;
|
|
289
|
+
var ScalingPlanResources = [1, n0, _SPR,
|
|
290
|
+
0, () => exports.ScalingPlanResource$
|
|
291
|
+
];
|
|
292
|
+
var ScalingPlans = [1, n0, _SP,
|
|
293
|
+
0, () => exports.ScalingPlan$
|
|
294
|
+
];
|
|
295
|
+
var ScalingPolicies = [1, n0, _SPca,
|
|
296
|
+
0, () => exports.ScalingPolicy$
|
|
297
|
+
];
|
|
298
|
+
var TagFilters = [1, n0, _TF,
|
|
299
|
+
0, () => exports.TagFilter$
|
|
300
|
+
];
|
|
301
|
+
var TagValues = 64 | 0;
|
|
302
|
+
var TargetTrackingConfigurations = [1, n0, _TTC,
|
|
303
|
+
0, () => exports.TargetTrackingConfiguration$
|
|
304
|
+
];
|
|
305
|
+
exports.CreateScalingPlan$ = [9, n0, _CSP,
|
|
306
|
+
0, () => exports.CreateScalingPlanRequest$, () => exports.CreateScalingPlanResponse$
|
|
307
|
+
];
|
|
308
|
+
exports.DeleteScalingPlan$ = [9, n0, _DSP,
|
|
309
|
+
0, () => exports.DeleteScalingPlanRequest$, () => exports.DeleteScalingPlanResponse$
|
|
310
|
+
];
|
|
311
|
+
exports.DescribeScalingPlanResources$ = [9, n0, _DSPRescr,
|
|
312
|
+
0, () => exports.DescribeScalingPlanResourcesRequest$, () => exports.DescribeScalingPlanResourcesResponse$
|
|
313
|
+
];
|
|
314
|
+
exports.DescribeScalingPlans$ = [9, n0, _DSPe,
|
|
315
|
+
0, () => exports.DescribeScalingPlansRequest$, () => exports.DescribeScalingPlansResponse$
|
|
316
|
+
];
|
|
317
|
+
exports.GetScalingPlanResourceForecastData$ = [9, n0, _GSPRFD,
|
|
318
|
+
0, () => exports.GetScalingPlanResourceForecastDataRequest$, () => exports.GetScalingPlanResourceForecastDataResponse$
|
|
319
|
+
];
|
|
320
|
+
exports.UpdateScalingPlan$ = [9, n0, _USP,
|
|
321
|
+
0, () => exports.UpdateScalingPlanRequest$, () => exports.UpdateScalingPlanResponse$
|
|
322
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultAutoScalingPlansHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-01-06",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.autoscalingplans",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-01-06",
|
|
30
32
|
serviceTarget: "AnyScaleScalingPlannerFrontendService",
|
|
31
33
|
},
|
|
@@ -95,23 +95,61 @@ const _aQE = "awsQueryError";
|
|
|
95
95
|
const _c = "client";
|
|
96
96
|
const _e = "error";
|
|
97
97
|
const _hE = "httpError";
|
|
98
|
-
const _s = "
|
|
99
|
-
const
|
|
98
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
|
|
99
|
+
const _se = "server";
|
|
100
100
|
const n0 = "com.amazonaws.autoscalingplans";
|
|
101
101
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
102
102
|
import { AutoScalingPlansServiceException } from "../models/AutoScalingPlansServiceException";
|
|
103
103
|
import { ConcurrentUpdateException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/errors";
|
|
104
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
105
|
+
export var AutoScalingPlansServiceException$ = [-3, _s, "AutoScalingPlansServiceException", 0, [], []];
|
|
106
|
+
_s_registry.registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
107
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
108
|
+
export var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
109
|
+
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _se, [_hE]: 500 },
|
|
110
|
+
[_M],
|
|
111
|
+
[0]
|
|
112
|
+
];
|
|
113
|
+
n0_registry.registerError(ConcurrentUpdateException$, ConcurrentUpdateException);
|
|
114
|
+
export var InternalServiceException$ = [-3, n0, _ISE,
|
|
115
|
+
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _se, [_hE]: 500 },
|
|
116
|
+
[_M],
|
|
117
|
+
[0]
|
|
118
|
+
];
|
|
119
|
+
n0_registry.registerError(InternalServiceException$, InternalServiceException);
|
|
120
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
121
|
+
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
122
|
+
[_M],
|
|
123
|
+
[0]
|
|
124
|
+
];
|
|
125
|
+
n0_registry.registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
126
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
127
|
+
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
128
|
+
[_M],
|
|
129
|
+
[0]
|
|
130
|
+
];
|
|
131
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
132
|
+
export var ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
133
|
+
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
134
|
+
[_M],
|
|
135
|
+
[0]
|
|
136
|
+
];
|
|
137
|
+
n0_registry.registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
138
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
139
|
+
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
140
|
+
[_M],
|
|
141
|
+
[0]
|
|
142
|
+
];
|
|
143
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
144
|
+
export const errorTypeRegistries = [
|
|
145
|
+
_s_registry,
|
|
146
|
+
n0_registry,
|
|
147
|
+
];
|
|
104
148
|
export var ApplicationSource$ = [3, n0, _AS,
|
|
105
149
|
0,
|
|
106
150
|
[_CFSARN, _TF],
|
|
107
151
|
[0, () => TagFilters]
|
|
108
152
|
];
|
|
109
|
-
export var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
110
|
-
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _s, [_hE]: 500 },
|
|
111
|
-
[_M],
|
|
112
|
-
[0]
|
|
113
|
-
];
|
|
114
|
-
TypeRegistry.for(n0).registerError(ConcurrentUpdateException$, ConcurrentUpdateException);
|
|
115
153
|
export var CreateScalingPlanRequest$ = [3, n0, _CSPR,
|
|
116
154
|
0,
|
|
117
155
|
[_SPN, _AS, _SI],
|
|
@@ -177,35 +215,11 @@ export var GetScalingPlanResourceForecastDataResponse$ = [3, n0, _GSPRFDRe,
|
|
|
177
215
|
[_Dat],
|
|
178
216
|
[() => Datapoints], 1
|
|
179
217
|
];
|
|
180
|
-
export var InternalServiceException$ = [-3, n0, _ISE,
|
|
181
|
-
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _s, [_hE]: 500 },
|
|
182
|
-
[_M],
|
|
183
|
-
[0]
|
|
184
|
-
];
|
|
185
|
-
TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
186
|
-
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
187
|
-
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
188
|
-
[_M],
|
|
189
|
-
[0]
|
|
190
|
-
];
|
|
191
|
-
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
192
|
-
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
193
|
-
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
194
|
-
[_M],
|
|
195
|
-
[0]
|
|
196
|
-
];
|
|
197
|
-
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
198
218
|
export var MetricDimension$ = [3, n0, _MD,
|
|
199
219
|
0,
|
|
200
220
|
[_Na, _V],
|
|
201
221
|
[0, 0], 2
|
|
202
222
|
];
|
|
203
|
-
export var ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
204
|
-
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
205
|
-
[_M],
|
|
206
|
-
[0]
|
|
207
|
-
];
|
|
208
|
-
TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
209
223
|
export var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
210
224
|
0,
|
|
211
225
|
[_PLMT, _RL],
|
|
@@ -256,14 +270,6 @@ export var UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
|
256
270
|
[],
|
|
257
271
|
[]
|
|
258
272
|
];
|
|
259
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
260
|
-
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
261
|
-
[_M],
|
|
262
|
-
[0]
|
|
263
|
-
];
|
|
264
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
265
|
-
export var AutoScalingPlansServiceException$ = [-3, _sm, "AutoScalingPlansServiceException", 0, [], []];
|
|
266
|
-
TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
267
273
|
var ApplicationSources = [1, n0, _ASp,
|
|
268
274
|
0, () => ApplicationSource$
|
|
269
275
|
];
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
-
export declare var
|
|
3
|
+
export declare var AutoScalingPlansServiceException$: StaticErrorSchema;
|
|
3
4
|
export declare var ConcurrentUpdateException$: StaticErrorSchema;
|
|
5
|
+
export declare var InternalServiceException$: StaticErrorSchema;
|
|
6
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
7
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
8
|
+
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
9
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
10
|
+
/**
|
|
11
|
+
* TypeRegistry instances containing modeled errors.
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
16
|
+
export declare var ApplicationSource$: StaticStructureSchema;
|
|
4
17
|
export declare var CreateScalingPlanRequest$: StaticStructureSchema;
|
|
5
18
|
export declare var CreateScalingPlanResponse$: StaticStructureSchema;
|
|
6
19
|
export declare var CustomizedLoadMetricSpecification$: StaticStructureSchema;
|
|
@@ -14,11 +27,7 @@ export declare var DescribeScalingPlansRequest$: StaticStructureSchema;
|
|
|
14
27
|
export declare var DescribeScalingPlansResponse$: StaticStructureSchema;
|
|
15
28
|
export declare var GetScalingPlanResourceForecastDataRequest$: StaticStructureSchema;
|
|
16
29
|
export declare var GetScalingPlanResourceForecastDataResponse$: StaticStructureSchema;
|
|
17
|
-
export declare var InternalServiceException$: StaticErrorSchema;
|
|
18
|
-
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
19
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
20
30
|
export declare var MetricDimension$: StaticStructureSchema;
|
|
21
|
-
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
22
31
|
export declare var PredefinedLoadMetricSpecification$: StaticStructureSchema;
|
|
23
32
|
export declare var PredefinedScalingMetricSpecification$: StaticStructureSchema;
|
|
24
33
|
export declare var ScalingInstruction$: StaticStructureSchema;
|
|
@@ -29,8 +38,6 @@ export declare var TagFilter$: StaticStructureSchema;
|
|
|
29
38
|
export declare var TargetTrackingConfiguration$: StaticStructureSchema;
|
|
30
39
|
export declare var UpdateScalingPlanRequest$: StaticStructureSchema;
|
|
31
40
|
export declare var UpdateScalingPlanResponse$: StaticStructureSchema;
|
|
32
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
33
|
-
export declare var AutoScalingPlansServiceException$: StaticErrorSchema;
|
|
34
41
|
export declare var CreateScalingPlan$: StaticOperationSchema;
|
|
35
42
|
export declare var DeleteScalingPlan$: StaticOperationSchema;
|
|
36
43
|
export declare var DescribeScalingPlanResources$: StaticOperationSchema;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
6
|
-
export declare var
|
|
7
|
+
export declare var AutoScalingPlansServiceException$: StaticErrorSchema;
|
|
7
8
|
export declare var ConcurrentUpdateException$: StaticErrorSchema;
|
|
9
|
+
export declare var InternalServiceException$: StaticErrorSchema;
|
|
10
|
+
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
11
|
+
export declare var LimitExceededException$: StaticErrorSchema;
|
|
12
|
+
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
13
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
15
|
+
export declare var ApplicationSource$: StaticStructureSchema;
|
|
8
16
|
export declare var CreateScalingPlanRequest$: StaticStructureSchema;
|
|
9
17
|
export declare var CreateScalingPlanResponse$: StaticStructureSchema;
|
|
10
18
|
export declare var CustomizedLoadMetricSpecification$: StaticStructureSchema;
|
|
@@ -18,11 +26,7 @@ export declare var DescribeScalingPlansRequest$: StaticStructureSchema;
|
|
|
18
26
|
export declare var DescribeScalingPlansResponse$: StaticStructureSchema;
|
|
19
27
|
export declare var GetScalingPlanResourceForecastDataRequest$: StaticStructureSchema;
|
|
20
28
|
export declare var GetScalingPlanResourceForecastDataResponse$: StaticStructureSchema;
|
|
21
|
-
export declare var InternalServiceException$: StaticErrorSchema;
|
|
22
|
-
export declare var InvalidNextTokenException$: StaticErrorSchema;
|
|
23
|
-
export declare var LimitExceededException$: StaticErrorSchema;
|
|
24
29
|
export declare var MetricDimension$: StaticStructureSchema;
|
|
25
|
-
export declare var ObjectNotFoundException$: StaticErrorSchema;
|
|
26
30
|
export declare var PredefinedLoadMetricSpecification$: StaticStructureSchema;
|
|
27
31
|
export declare var PredefinedScalingMetricSpecification$: StaticStructureSchema;
|
|
28
32
|
export declare var ScalingInstruction$: StaticStructureSchema;
|
|
@@ -33,8 +37,6 @@ export declare var TagFilter$: StaticStructureSchema;
|
|
|
33
37
|
export declare var TargetTrackingConfiguration$: StaticStructureSchema;
|
|
34
38
|
export declare var UpdateScalingPlanRequest$: StaticStructureSchema;
|
|
35
39
|
export declare var UpdateScalingPlanResponse$: StaticStructureSchema;
|
|
36
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
37
|
-
export declare var AutoScalingPlansServiceException$: StaticErrorSchema;
|
|
38
40
|
export declare var CreateScalingPlan$: StaticOperationSchema;
|
|
39
41
|
export declare var DeleteScalingPlan$: StaticOperationSchema;
|
|
40
42
|
export declare var DescribeScalingPlanResources$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auto-scaling-plans",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|