@aws-sdk/client-auto-scaling-plans 3.957.0 → 3.962.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/README.md +1 -11
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +134 -191
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +134 -191
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -42,10 +42,8 @@ previous</p>
|
|
|
42
42
|
permissions for AWS Auto Scaling actions, see the <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html">AWS Auto Scaling User Guide</a>. </p>
|
|
43
43
|
|
|
44
44
|
## Installing
|
|
45
|
-
|
|
46
45
|
To install this package, simply type add or install @aws-sdk/client-auto-scaling-plans
|
|
47
46
|
using your favorite package manager:
|
|
48
|
-
|
|
49
47
|
- `npm install @aws-sdk/client-auto-scaling-plans`
|
|
50
48
|
- `yarn add @aws-sdk/client-auto-scaling-plans`
|
|
51
49
|
- `pnpm add @aws-sdk/client-auto-scaling-plans`
|
|
@@ -81,9 +79,7 @@ To send a request, you:
|
|
|
81
79
|
// a client can be shared by different commands.
|
|
82
80
|
const client = new AutoScalingPlansClient({ region: "REGION" });
|
|
83
81
|
|
|
84
|
-
const params = {
|
|
85
|
-
/** input parameters */
|
|
86
|
-
};
|
|
82
|
+
const params = { /** input parameters */ };
|
|
87
83
|
const command = new DescribeScalingPlansCommand(params);
|
|
88
84
|
```
|
|
89
85
|
|
|
@@ -242,7 +238,6 @@ CreateScalingPlan
|
|
|
242
238
|
</summary>
|
|
243
239
|
|
|
244
240
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling-plans/command/CreateScalingPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/CreateScalingPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/CreateScalingPlanCommandOutput/)
|
|
245
|
-
|
|
246
241
|
</details>
|
|
247
242
|
<details>
|
|
248
243
|
<summary>
|
|
@@ -250,7 +245,6 @@ DeleteScalingPlan
|
|
|
250
245
|
</summary>
|
|
251
246
|
|
|
252
247
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling-plans/command/DeleteScalingPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/DeleteScalingPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/DeleteScalingPlanCommandOutput/)
|
|
253
|
-
|
|
254
248
|
</details>
|
|
255
249
|
<details>
|
|
256
250
|
<summary>
|
|
@@ -258,7 +252,6 @@ DescribeScalingPlanResources
|
|
|
258
252
|
</summary>
|
|
259
253
|
|
|
260
254
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling-plans/command/DescribeScalingPlanResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/DescribeScalingPlanResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/DescribeScalingPlanResourcesCommandOutput/)
|
|
261
|
-
|
|
262
255
|
</details>
|
|
263
256
|
<details>
|
|
264
257
|
<summary>
|
|
@@ -266,7 +259,6 @@ DescribeScalingPlans
|
|
|
266
259
|
</summary>
|
|
267
260
|
|
|
268
261
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling-plans/command/DescribeScalingPlansCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/DescribeScalingPlansCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/DescribeScalingPlansCommandOutput/)
|
|
269
|
-
|
|
270
262
|
</details>
|
|
271
263
|
<details>
|
|
272
264
|
<summary>
|
|
@@ -274,7 +266,6 @@ GetScalingPlanResourceForecastData
|
|
|
274
266
|
</summary>
|
|
275
267
|
|
|
276
268
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling-plans/command/GetScalingPlanResourceForecastDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/GetScalingPlanResourceForecastDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/GetScalingPlanResourceForecastDataCommandOutput/)
|
|
277
|
-
|
|
278
269
|
</details>
|
|
279
270
|
<details>
|
|
280
271
|
<summary>
|
|
@@ -282,5 +273,4 @@ UpdateScalingPlan
|
|
|
282
273
|
</summary>
|
|
283
274
|
|
|
284
275
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling-plans/command/UpdateScalingPlanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/UpdateScalingPlanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling-plans/Interface/UpdateScalingPlanCommandOutput/)
|
|
285
|
-
|
|
286
276
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultAutoScalingPlansHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultAutoScalingPlansHttpAuthSchemeParametersProvider = defaultAutoScalingPlansHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -302,270 +302,213 @@ const _hE = "httpError";
|
|
|
302
302
|
const _s = "server";
|
|
303
303
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
|
|
304
304
|
const n0 = "com.amazonaws.autoscalingplans";
|
|
305
|
-
var ApplicationSource$ = [3, n0, _AS,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
var ApplicationSource$ = [3, n0, _AS,
|
|
306
|
+
0,
|
|
307
|
+
[_CFSARN, _TF],
|
|
308
|
+
[0, () => TagFilters]
|
|
309
|
+
];
|
|
310
|
+
var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
310
311
|
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _s, [_hE]: 500 },
|
|
311
312
|
[_M],
|
|
312
|
-
[0]
|
|
313
|
+
[0]
|
|
313
314
|
];
|
|
314
315
|
schema.TypeRegistry.for(n0).registerError(ConcurrentUpdateException$, ConcurrentUpdateException);
|
|
315
|
-
var CreateScalingPlanRequest$ = [
|
|
316
|
-
3,
|
|
317
|
-
n0,
|
|
318
|
-
_CSPR,
|
|
316
|
+
var CreateScalingPlanRequest$ = [3, n0, _CSPR,
|
|
319
317
|
0,
|
|
320
318
|
[_SPN, _AS, _SI],
|
|
321
|
-
[0, () => ApplicationSource$, () => ScalingInstructions]
|
|
319
|
+
[0, () => ApplicationSource$, () => ScalingInstructions]
|
|
320
|
+
];
|
|
321
|
+
var CreateScalingPlanResponse$ = [3, n0, _CSPRr,
|
|
322
|
+
0,
|
|
323
|
+
[_SPV],
|
|
324
|
+
[1]
|
|
322
325
|
];
|
|
323
|
-
var
|
|
324
|
-
var CustomizedLoadMetricSpecification$ = [
|
|
325
|
-
3,
|
|
326
|
-
n0,
|
|
327
|
-
_CLMS,
|
|
326
|
+
var CustomizedLoadMetricSpecification$ = [3, n0, _CLMS,
|
|
328
327
|
0,
|
|
329
328
|
[_MN, _N, _D, _S, _U],
|
|
330
|
-
[0, 0, () => MetricDimensions, 0, 0]
|
|
329
|
+
[0, 0, () => MetricDimensions, 0, 0]
|
|
331
330
|
];
|
|
332
|
-
var CustomizedScalingMetricSpecification$ = [
|
|
333
|
-
3,
|
|
334
|
-
n0,
|
|
335
|
-
_CSMS,
|
|
331
|
+
var CustomizedScalingMetricSpecification$ = [3, n0, _CSMS,
|
|
336
332
|
0,
|
|
337
333
|
[_MN, _N, _D, _S, _U],
|
|
338
|
-
[0, 0, () => MetricDimensions, 0, 0]
|
|
339
|
-
];
|
|
340
|
-
var Datapoint$ = [3, n0, _Da,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
334
|
+
[0, 0, () => MetricDimensions, 0, 0]
|
|
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]
|
|
345
|
+
];
|
|
346
|
+
var DeleteScalingPlanResponse$ = [3, n0, _DSPRe,
|
|
347
|
+
0,
|
|
348
|
+
[],
|
|
349
|
+
[]
|
|
350
|
+
];
|
|
351
|
+
var DescribeScalingPlanResourcesRequest$ = [3, n0, _DSPRR,
|
|
347
352
|
0,
|
|
348
353
|
[_SPN, _SPV, _MR, _NT],
|
|
349
|
-
[0, 1, 1, 0]
|
|
354
|
+
[0, 1, 1, 0]
|
|
350
355
|
];
|
|
351
|
-
var DescribeScalingPlanResourcesResponse$ = [
|
|
352
|
-
3,
|
|
353
|
-
n0,
|
|
354
|
-
_DSPRRe,
|
|
356
|
+
var DescribeScalingPlanResourcesResponse$ = [3, n0, _DSPRRe,
|
|
355
357
|
0,
|
|
356
358
|
[_SPR, _NT],
|
|
357
|
-
[() => ScalingPlanResources, 0]
|
|
359
|
+
[() => ScalingPlanResources, 0]
|
|
358
360
|
];
|
|
359
|
-
var DescribeScalingPlansRequest$ = [
|
|
360
|
-
3,
|
|
361
|
-
n0,
|
|
362
|
-
_DSPRes,
|
|
361
|
+
var DescribeScalingPlansRequest$ = [3, n0, _DSPRes,
|
|
363
362
|
0,
|
|
364
363
|
[_SPNc, _SPV, _ASp, _MR, _NT],
|
|
365
|
-
[64 | 0, 1, () => ApplicationSources, 1, 0]
|
|
364
|
+
[64 | 0, 1, () => ApplicationSources, 1, 0]
|
|
366
365
|
];
|
|
367
|
-
var DescribeScalingPlansResponse$ = [
|
|
368
|
-
3,
|
|
369
|
-
n0,
|
|
370
|
-
_DSPResc,
|
|
366
|
+
var DescribeScalingPlansResponse$ = [3, n0, _DSPResc,
|
|
371
367
|
0,
|
|
372
368
|
[_SP, _NT],
|
|
373
|
-
[() => ScalingPlans, 0]
|
|
369
|
+
[() => ScalingPlans, 0]
|
|
374
370
|
];
|
|
375
|
-
var GetScalingPlanResourceForecastDataRequest$ = [
|
|
376
|
-
3,
|
|
377
|
-
n0,
|
|
378
|
-
_GSPRFDR,
|
|
371
|
+
var GetScalingPlanResourceForecastDataRequest$ = [3, n0, _GSPRFDR,
|
|
379
372
|
0,
|
|
380
373
|
[_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
|
|
381
|
-
[0, 1, 0, 0, 0, 0, 4, 4]
|
|
374
|
+
[0, 1, 0, 0, 0, 0, 4, 4]
|
|
382
375
|
];
|
|
383
|
-
var GetScalingPlanResourceForecastDataResponse$ = [
|
|
384
|
-
3,
|
|
385
|
-
n0,
|
|
386
|
-
_GSPRFDRe,
|
|
376
|
+
var GetScalingPlanResourceForecastDataResponse$ = [3, n0, _GSPRFDRe,
|
|
387
377
|
0,
|
|
388
378
|
[_Dat],
|
|
389
|
-
[() => Datapoints]
|
|
379
|
+
[() => Datapoints]
|
|
390
380
|
];
|
|
391
|
-
var InternalServiceException$ = [
|
|
392
|
-
-3,
|
|
393
|
-
n0,
|
|
394
|
-
_ISE,
|
|
381
|
+
var InternalServiceException$ = [-3, n0, _ISE,
|
|
395
382
|
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _s, [_hE]: 500 },
|
|
396
383
|
[_M],
|
|
397
|
-
[0]
|
|
384
|
+
[0]
|
|
398
385
|
];
|
|
399
386
|
schema.TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
400
|
-
var InvalidNextTokenException$ = [
|
|
401
|
-
-3,
|
|
402
|
-
n0,
|
|
403
|
-
_INTE,
|
|
387
|
+
var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
404
388
|
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
405
389
|
[_M],
|
|
406
|
-
[0]
|
|
390
|
+
[0]
|
|
407
391
|
];
|
|
408
392
|
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
409
|
-
var LimitExceededException$ = [
|
|
410
|
-
-3,
|
|
411
|
-
n0,
|
|
412
|
-
_LEE,
|
|
393
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
413
394
|
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
414
395
|
[_M],
|
|
415
|
-
[0]
|
|
396
|
+
[0]
|
|
416
397
|
];
|
|
417
398
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
418
|
-
var MetricDimension$ = [3, n0, _MD,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
399
|
+
var MetricDimension$ = [3, n0, _MD,
|
|
400
|
+
0,
|
|
401
|
+
[_Na, _V],
|
|
402
|
+
[0, 0]
|
|
403
|
+
];
|
|
404
|
+
var ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
423
405
|
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
424
406
|
[_M],
|
|
425
|
-
[0]
|
|
407
|
+
[0]
|
|
426
408
|
];
|
|
427
409
|
schema.TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
428
|
-
var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
410
|
+
var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
411
|
+
0,
|
|
412
|
+
[_PLMT, _RL],
|
|
413
|
+
[0, 0]
|
|
414
|
+
];
|
|
415
|
+
var PredefinedScalingMetricSpecification$ = [3, n0, _PSMS,
|
|
416
|
+
0,
|
|
417
|
+
[_PSMT, _RL],
|
|
418
|
+
[0, 0]
|
|
419
|
+
];
|
|
420
|
+
var ScalingInstruction$ = [3, n0, _SIc,
|
|
434
421
|
0,
|
|
435
422
|
[_SN, _RI, _SD, _MC, _MCa, _TTC, _PLMS, _CLMS, _SABT, _PSMCB, _PSMCBr, _PSM, _SPUB, _DDS],
|
|
436
|
-
[
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
0,
|
|
440
|
-
1,
|
|
441
|
-
1,
|
|
442
|
-
() => TargetTrackingConfigurations,
|
|
443
|
-
() => PredefinedLoadMetricSpecification$,
|
|
444
|
-
() => CustomizedLoadMetricSpecification$,
|
|
445
|
-
1,
|
|
446
|
-
0,
|
|
447
|
-
1,
|
|
448
|
-
0,
|
|
449
|
-
0,
|
|
450
|
-
2,
|
|
451
|
-
],
|
|
452
|
-
];
|
|
453
|
-
var ScalingPlan$ = [
|
|
454
|
-
3,
|
|
455
|
-
n0,
|
|
456
|
-
_SPc,
|
|
423
|
+
[0, 0, 0, 1, 1, () => TargetTrackingConfigurations, () => PredefinedLoadMetricSpecification$, () => CustomizedLoadMetricSpecification$, 1, 0, 1, 0, 0, 2]
|
|
424
|
+
];
|
|
425
|
+
var ScalingPlan$ = [3, n0, _SPc,
|
|
457
426
|
0,
|
|
458
427
|
[_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
|
|
459
|
-
[0, 1, () => ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4]
|
|
428
|
+
[0, 1, () => ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4]
|
|
460
429
|
];
|
|
461
|
-
var ScalingPlanResource$ = [
|
|
462
|
-
3,
|
|
463
|
-
n0,
|
|
464
|
-
_SPRc,
|
|
430
|
+
var ScalingPlanResource$ = [3, n0, _SPRc,
|
|
465
431
|
0,
|
|
466
432
|
[_SPN, _SPV, _SN, _RI, _SD, _SPca, _SSC, _SSM],
|
|
467
|
-
[0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0]
|
|
433
|
+
[0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0]
|
|
468
434
|
];
|
|
469
|
-
var ScalingPolicy$ = [
|
|
470
|
-
3,
|
|
471
|
-
n0,
|
|
472
|
-
_SPcal,
|
|
435
|
+
var ScalingPolicy$ = [3, n0, _SPcal,
|
|
473
436
|
0,
|
|
474
437
|
[_PN, _PT, _TTCa],
|
|
475
|
-
[0, 0, () => TargetTrackingConfiguration$]
|
|
438
|
+
[0, 0, () => TargetTrackingConfiguration$]
|
|
476
439
|
];
|
|
477
|
-
var TagFilter$ = [3, n0, _TFa,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
440
|
+
var TagFilter$ = [3, n0, _TFa,
|
|
441
|
+
0,
|
|
442
|
+
[_K, _Va],
|
|
443
|
+
[0, 64 | 0]
|
|
444
|
+
];
|
|
445
|
+
var TargetTrackingConfiguration$ = [3, n0, _TTCa,
|
|
482
446
|
0,
|
|
483
447
|
[_PSMS, _CSMS, _TV, _DSI, _SOC, _SIC, _EIW],
|
|
484
|
-
[() => PredefinedScalingMetricSpecification$, () => CustomizedScalingMetricSpecification$, 1, 2, 1, 1, 1]
|
|
448
|
+
[() => PredefinedScalingMetricSpecification$, () => CustomizedScalingMetricSpecification$, 1, 2, 1, 1, 1]
|
|
485
449
|
];
|
|
486
|
-
var UpdateScalingPlanRequest$ = [
|
|
487
|
-
3,
|
|
488
|
-
n0,
|
|
489
|
-
_USPR,
|
|
450
|
+
var UpdateScalingPlanRequest$ = [3, n0, _USPR,
|
|
490
451
|
0,
|
|
491
452
|
[_SPN, _SPV, _AS, _SI],
|
|
492
|
-
[0, 1, () => ApplicationSource$, () => ScalingInstructions]
|
|
453
|
+
[0, 1, () => ApplicationSource$, () => ScalingInstructions]
|
|
493
454
|
];
|
|
494
|
-
var UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
455
|
+
var UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
456
|
+
0,
|
|
457
|
+
[],
|
|
458
|
+
[]
|
|
459
|
+
];
|
|
460
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
499
461
|
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
500
462
|
[_M],
|
|
501
|
-
[0]
|
|
463
|
+
[0]
|
|
502
464
|
];
|
|
503
465
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
504
|
-
var AutoScalingPlansServiceException$ = [
|
|
505
|
-
-3,
|
|
506
|
-
_sm,
|
|
507
|
-
"AutoScalingPlansServiceException",
|
|
508
|
-
0,
|
|
509
|
-
[],
|
|
510
|
-
[],
|
|
511
|
-
];
|
|
466
|
+
var AutoScalingPlansServiceException$ = [-3, _sm, "AutoScalingPlansServiceException", 0, [], []];
|
|
512
467
|
schema.TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
513
|
-
var ApplicationSources = [1, n0, _ASp,
|
|
514
|
-
|
|
515
|
-
var MetricDimensions = [1, n0, _MDe, 0, () => MetricDimension$];
|
|
516
|
-
var ScalingInstructions = [1, n0, _SI, 0, () => ScalingInstruction$];
|
|
517
|
-
var ScalingPlanResources = [1, n0, _SPR, 0, () => ScalingPlanResource$];
|
|
518
|
-
var ScalingPlans = [1, n0, _SP, 0, () => ScalingPlan$];
|
|
519
|
-
var ScalingPolicies = [1, n0, _SPca, 0, () => ScalingPolicy$];
|
|
520
|
-
var TagFilters = [1, n0, _TF, 0, () => TagFilter$];
|
|
521
|
-
var TargetTrackingConfigurations = [1, n0, _TTC, 0, () => TargetTrackingConfiguration$];
|
|
522
|
-
var CreateScalingPlan$ = [
|
|
523
|
-
9,
|
|
524
|
-
n0,
|
|
525
|
-
_CSP,
|
|
526
|
-
0,
|
|
527
|
-
() => CreateScalingPlanRequest$,
|
|
528
|
-
() => CreateScalingPlanResponse$,
|
|
468
|
+
var ApplicationSources = [1, n0, _ASp,
|
|
469
|
+
0, () => ApplicationSource$
|
|
529
470
|
];
|
|
530
|
-
var
|
|
531
|
-
|
|
532
|
-
n0,
|
|
533
|
-
_DSP,
|
|
534
|
-
0,
|
|
535
|
-
() => DeleteScalingPlanRequest$,
|
|
536
|
-
() => DeleteScalingPlanResponse$,
|
|
471
|
+
var Datapoints = [1, n0, _Dat,
|
|
472
|
+
0, () => Datapoint$
|
|
537
473
|
];
|
|
538
|
-
var
|
|
539
|
-
|
|
540
|
-
n0,
|
|
541
|
-
_DSPRescr,
|
|
542
|
-
0,
|
|
543
|
-
() => DescribeScalingPlanResourcesRequest$,
|
|
544
|
-
() => DescribeScalingPlanResourcesResponse$,
|
|
474
|
+
var MetricDimensions = [1, n0, _MDe,
|
|
475
|
+
0, () => MetricDimension$
|
|
545
476
|
];
|
|
546
|
-
var
|
|
547
|
-
|
|
548
|
-
n0,
|
|
549
|
-
_DSPe,
|
|
550
|
-
0,
|
|
551
|
-
() => DescribeScalingPlansRequest$,
|
|
552
|
-
() => DescribeScalingPlansResponse$,
|
|
477
|
+
var ScalingInstructions = [1, n0, _SI,
|
|
478
|
+
0, () => ScalingInstruction$
|
|
553
479
|
];
|
|
554
|
-
var
|
|
555
|
-
|
|
556
|
-
n0,
|
|
557
|
-
_GSPRFD,
|
|
558
|
-
0,
|
|
559
|
-
() => GetScalingPlanResourceForecastDataRequest$,
|
|
560
|
-
() => GetScalingPlanResourceForecastDataResponse$,
|
|
480
|
+
var ScalingPlanResources = [1, n0, _SPR,
|
|
481
|
+
0, () => ScalingPlanResource$
|
|
561
482
|
];
|
|
562
|
-
var
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
0,
|
|
567
|
-
|
|
568
|
-
|
|
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$
|
|
569
512
|
];
|
|
570
513
|
|
|
571
514
|
class CreateScalingPlanCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultAutoScalingPlansHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -101,270 +101,213 @@ 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
|
-
export var ApplicationSource$ = [3, n0, _AS,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
export var ApplicationSource$ = [3, n0, _AS,
|
|
105
|
+
0,
|
|
106
|
+
[_CFSARN, _TF],
|
|
107
|
+
[0, () => TagFilters]
|
|
108
|
+
];
|
|
109
|
+
export var ConcurrentUpdateException$ = [-3, n0, _CUE,
|
|
109
110
|
{ [_aQE]: [`ConcurrentUpdateException`, 500], [_e]: _s, [_hE]: 500 },
|
|
110
111
|
[_M],
|
|
111
|
-
[0]
|
|
112
|
+
[0]
|
|
112
113
|
];
|
|
113
114
|
TypeRegistry.for(n0).registerError(ConcurrentUpdateException$, ConcurrentUpdateException);
|
|
114
|
-
export var CreateScalingPlanRequest$ = [
|
|
115
|
-
3,
|
|
116
|
-
n0,
|
|
117
|
-
_CSPR,
|
|
115
|
+
export var CreateScalingPlanRequest$ = [3, n0, _CSPR,
|
|
118
116
|
0,
|
|
119
117
|
[_SPN, _AS, _SI],
|
|
120
|
-
[0, () => ApplicationSource$, () => ScalingInstructions]
|
|
118
|
+
[0, () => ApplicationSource$, () => ScalingInstructions]
|
|
119
|
+
];
|
|
120
|
+
export var CreateScalingPlanResponse$ = [3, n0, _CSPRr,
|
|
121
|
+
0,
|
|
122
|
+
[_SPV],
|
|
123
|
+
[1]
|
|
121
124
|
];
|
|
122
|
-
export var
|
|
123
|
-
export var CustomizedLoadMetricSpecification$ = [
|
|
124
|
-
3,
|
|
125
|
-
n0,
|
|
126
|
-
_CLMS,
|
|
125
|
+
export var CustomizedLoadMetricSpecification$ = [3, n0, _CLMS,
|
|
127
126
|
0,
|
|
128
127
|
[_MN, _N, _D, _S, _U],
|
|
129
|
-
[0, 0, () => MetricDimensions, 0, 0]
|
|
128
|
+
[0, 0, () => MetricDimensions, 0, 0]
|
|
130
129
|
];
|
|
131
|
-
export var CustomizedScalingMetricSpecification$ = [
|
|
132
|
-
3,
|
|
133
|
-
n0,
|
|
134
|
-
_CSMS,
|
|
130
|
+
export var CustomizedScalingMetricSpecification$ = [3, n0, _CSMS,
|
|
135
131
|
0,
|
|
136
132
|
[_MN, _N, _D, _S, _U],
|
|
137
|
-
[0, 0, () => MetricDimensions, 0, 0]
|
|
138
|
-
];
|
|
139
|
-
export var Datapoint$ = [3, n0, _Da,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
133
|
+
[0, 0, () => MetricDimensions, 0, 0]
|
|
134
|
+
];
|
|
135
|
+
export var Datapoint$ = [3, n0, _Da,
|
|
136
|
+
0,
|
|
137
|
+
[_T, _V],
|
|
138
|
+
[4, 1]
|
|
139
|
+
];
|
|
140
|
+
export var DeleteScalingPlanRequest$ = [3, n0, _DSPR,
|
|
141
|
+
0,
|
|
142
|
+
[_SPN, _SPV],
|
|
143
|
+
[0, 1]
|
|
144
|
+
];
|
|
145
|
+
export var DeleteScalingPlanResponse$ = [3, n0, _DSPRe,
|
|
146
|
+
0,
|
|
147
|
+
[],
|
|
148
|
+
[]
|
|
149
|
+
];
|
|
150
|
+
export var DescribeScalingPlanResourcesRequest$ = [3, n0, _DSPRR,
|
|
146
151
|
0,
|
|
147
152
|
[_SPN, _SPV, _MR, _NT],
|
|
148
|
-
[0, 1, 1, 0]
|
|
153
|
+
[0, 1, 1, 0]
|
|
149
154
|
];
|
|
150
|
-
export var DescribeScalingPlanResourcesResponse$ = [
|
|
151
|
-
3,
|
|
152
|
-
n0,
|
|
153
|
-
_DSPRRe,
|
|
155
|
+
export var DescribeScalingPlanResourcesResponse$ = [3, n0, _DSPRRe,
|
|
154
156
|
0,
|
|
155
157
|
[_SPR, _NT],
|
|
156
|
-
[() => ScalingPlanResources, 0]
|
|
158
|
+
[() => ScalingPlanResources, 0]
|
|
157
159
|
];
|
|
158
|
-
export var DescribeScalingPlansRequest$ = [
|
|
159
|
-
3,
|
|
160
|
-
n0,
|
|
161
|
-
_DSPRes,
|
|
160
|
+
export var DescribeScalingPlansRequest$ = [3, n0, _DSPRes,
|
|
162
161
|
0,
|
|
163
162
|
[_SPNc, _SPV, _ASp, _MR, _NT],
|
|
164
|
-
[64 | 0, 1, () => ApplicationSources, 1, 0]
|
|
163
|
+
[64 | 0, 1, () => ApplicationSources, 1, 0]
|
|
165
164
|
];
|
|
166
|
-
export var DescribeScalingPlansResponse$ = [
|
|
167
|
-
3,
|
|
168
|
-
n0,
|
|
169
|
-
_DSPResc,
|
|
165
|
+
export var DescribeScalingPlansResponse$ = [3, n0, _DSPResc,
|
|
170
166
|
0,
|
|
171
167
|
[_SP, _NT],
|
|
172
|
-
[() => ScalingPlans, 0]
|
|
168
|
+
[() => ScalingPlans, 0]
|
|
173
169
|
];
|
|
174
|
-
export var GetScalingPlanResourceForecastDataRequest$ = [
|
|
175
|
-
3,
|
|
176
|
-
n0,
|
|
177
|
-
_GSPRFDR,
|
|
170
|
+
export var GetScalingPlanResourceForecastDataRequest$ = [3, n0, _GSPRFDR,
|
|
178
171
|
0,
|
|
179
172
|
[_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
|
|
180
|
-
[0, 1, 0, 0, 0, 0, 4, 4]
|
|
173
|
+
[0, 1, 0, 0, 0, 0, 4, 4]
|
|
181
174
|
];
|
|
182
|
-
export var GetScalingPlanResourceForecastDataResponse$ = [
|
|
183
|
-
3,
|
|
184
|
-
n0,
|
|
185
|
-
_GSPRFDRe,
|
|
175
|
+
export var GetScalingPlanResourceForecastDataResponse$ = [3, n0, _GSPRFDRe,
|
|
186
176
|
0,
|
|
187
177
|
[_Dat],
|
|
188
|
-
[() => Datapoints]
|
|
178
|
+
[() => Datapoints]
|
|
189
179
|
];
|
|
190
|
-
export var InternalServiceException$ = [
|
|
191
|
-
-3,
|
|
192
|
-
n0,
|
|
193
|
-
_ISE,
|
|
180
|
+
export var InternalServiceException$ = [-3, n0, _ISE,
|
|
194
181
|
{ [_aQE]: [`InternalServiceException`, 500], [_e]: _s, [_hE]: 500 },
|
|
195
182
|
[_M],
|
|
196
|
-
[0]
|
|
183
|
+
[0]
|
|
197
184
|
];
|
|
198
185
|
TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
199
|
-
export var InvalidNextTokenException$ = [
|
|
200
|
-
-3,
|
|
201
|
-
n0,
|
|
202
|
-
_INTE,
|
|
186
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE,
|
|
203
187
|
{ [_aQE]: [`InvalidNextTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
204
188
|
[_M],
|
|
205
|
-
[0]
|
|
189
|
+
[0]
|
|
206
190
|
];
|
|
207
191
|
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
208
|
-
export var LimitExceededException$ = [
|
|
209
|
-
-3,
|
|
210
|
-
n0,
|
|
211
|
-
_LEE,
|
|
192
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
212
193
|
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
213
194
|
[_M],
|
|
214
|
-
[0]
|
|
195
|
+
[0]
|
|
215
196
|
];
|
|
216
197
|
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
217
|
-
export var MetricDimension$ = [3, n0, _MD,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
198
|
+
export var MetricDimension$ = [3, n0, _MD,
|
|
199
|
+
0,
|
|
200
|
+
[_Na, _V],
|
|
201
|
+
[0, 0]
|
|
202
|
+
];
|
|
203
|
+
export var ObjectNotFoundException$ = [-3, n0, _ONFE,
|
|
222
204
|
{ [_aQE]: [`ObjectNotFoundException`, 400], [_e]: _c, [_hE]: 400 },
|
|
223
205
|
[_M],
|
|
224
|
-
[0]
|
|
206
|
+
[0]
|
|
225
207
|
];
|
|
226
208
|
TypeRegistry.for(n0).registerError(ObjectNotFoundException$, ObjectNotFoundException);
|
|
227
|
-
export var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
209
|
+
export var PredefinedLoadMetricSpecification$ = [3, n0, _PLMS,
|
|
210
|
+
0,
|
|
211
|
+
[_PLMT, _RL],
|
|
212
|
+
[0, 0]
|
|
213
|
+
];
|
|
214
|
+
export var PredefinedScalingMetricSpecification$ = [3, n0, _PSMS,
|
|
215
|
+
0,
|
|
216
|
+
[_PSMT, _RL],
|
|
217
|
+
[0, 0]
|
|
218
|
+
];
|
|
219
|
+
export var ScalingInstruction$ = [3, n0, _SIc,
|
|
233
220
|
0,
|
|
234
221
|
[_SN, _RI, _SD, _MC, _MCa, _TTC, _PLMS, _CLMS, _SABT, _PSMCB, _PSMCBr, _PSM, _SPUB, _DDS],
|
|
235
|
-
[
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
0,
|
|
239
|
-
1,
|
|
240
|
-
1,
|
|
241
|
-
() => TargetTrackingConfigurations,
|
|
242
|
-
() => PredefinedLoadMetricSpecification$,
|
|
243
|
-
() => CustomizedLoadMetricSpecification$,
|
|
244
|
-
1,
|
|
245
|
-
0,
|
|
246
|
-
1,
|
|
247
|
-
0,
|
|
248
|
-
0,
|
|
249
|
-
2,
|
|
250
|
-
],
|
|
251
|
-
];
|
|
252
|
-
export var ScalingPlan$ = [
|
|
253
|
-
3,
|
|
254
|
-
n0,
|
|
255
|
-
_SPc,
|
|
222
|
+
[0, 0, 0, 1, 1, () => TargetTrackingConfigurations, () => PredefinedLoadMetricSpecification$, () => CustomizedLoadMetricSpecification$, 1, 0, 1, 0, 0, 2]
|
|
223
|
+
];
|
|
224
|
+
export var ScalingPlan$ = [3, n0, _SPc,
|
|
256
225
|
0,
|
|
257
226
|
[_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
|
|
258
|
-
[0, 1, () => ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4]
|
|
227
|
+
[0, 1, () => ApplicationSource$, () => ScalingInstructions, 0, 0, 4, 4]
|
|
259
228
|
];
|
|
260
|
-
export var ScalingPlanResource$ = [
|
|
261
|
-
3,
|
|
262
|
-
n0,
|
|
263
|
-
_SPRc,
|
|
229
|
+
export var ScalingPlanResource$ = [3, n0, _SPRc,
|
|
264
230
|
0,
|
|
265
231
|
[_SPN, _SPV, _SN, _RI, _SD, _SPca, _SSC, _SSM],
|
|
266
|
-
[0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0]
|
|
232
|
+
[0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0]
|
|
267
233
|
];
|
|
268
|
-
export var ScalingPolicy$ = [
|
|
269
|
-
3,
|
|
270
|
-
n0,
|
|
271
|
-
_SPcal,
|
|
234
|
+
export var ScalingPolicy$ = [3, n0, _SPcal,
|
|
272
235
|
0,
|
|
273
236
|
[_PN, _PT, _TTCa],
|
|
274
|
-
[0, 0, () => TargetTrackingConfiguration$]
|
|
237
|
+
[0, 0, () => TargetTrackingConfiguration$]
|
|
275
238
|
];
|
|
276
|
-
export var TagFilter$ = [3, n0, _TFa,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
239
|
+
export var TagFilter$ = [3, n0, _TFa,
|
|
240
|
+
0,
|
|
241
|
+
[_K, _Va],
|
|
242
|
+
[0, 64 | 0]
|
|
243
|
+
];
|
|
244
|
+
export var TargetTrackingConfiguration$ = [3, n0, _TTCa,
|
|
281
245
|
0,
|
|
282
246
|
[_PSMS, _CSMS, _TV, _DSI, _SOC, _SIC, _EIW],
|
|
283
|
-
[() => PredefinedScalingMetricSpecification$, () => CustomizedScalingMetricSpecification$, 1, 2, 1, 1, 1]
|
|
247
|
+
[() => PredefinedScalingMetricSpecification$, () => CustomizedScalingMetricSpecification$, 1, 2, 1, 1, 1]
|
|
284
248
|
];
|
|
285
|
-
export var UpdateScalingPlanRequest$ = [
|
|
286
|
-
3,
|
|
287
|
-
n0,
|
|
288
|
-
_USPR,
|
|
249
|
+
export var UpdateScalingPlanRequest$ = [3, n0, _USPR,
|
|
289
250
|
0,
|
|
290
251
|
[_SPN, _SPV, _AS, _SI],
|
|
291
|
-
[0, 1, () => ApplicationSource$, () => ScalingInstructions]
|
|
252
|
+
[0, 1, () => ApplicationSource$, () => ScalingInstructions]
|
|
292
253
|
];
|
|
293
|
-
export var UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
254
|
+
export var UpdateScalingPlanResponse$ = [3, n0, _USPRp,
|
|
255
|
+
0,
|
|
256
|
+
[],
|
|
257
|
+
[]
|
|
258
|
+
];
|
|
259
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
298
260
|
{ [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
|
|
299
261
|
[_M],
|
|
300
|
-
[0]
|
|
262
|
+
[0]
|
|
301
263
|
];
|
|
302
264
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
303
|
-
export var AutoScalingPlansServiceException$ = [
|
|
304
|
-
-3,
|
|
305
|
-
_sm,
|
|
306
|
-
"AutoScalingPlansServiceException",
|
|
307
|
-
0,
|
|
308
|
-
[],
|
|
309
|
-
[],
|
|
310
|
-
];
|
|
265
|
+
export var AutoScalingPlansServiceException$ = [-3, _sm, "AutoScalingPlansServiceException", 0, [], []];
|
|
311
266
|
TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException$, AutoScalingPlansServiceException);
|
|
312
|
-
var ApplicationSources = [1, n0, _ASp,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
var
|
|
267
|
+
var ApplicationSources = [1, n0, _ASp,
|
|
268
|
+
0, () => ApplicationSource$
|
|
269
|
+
];
|
|
270
|
+
var Datapoints = [1, n0, _Dat,
|
|
271
|
+
0, () => Datapoint$
|
|
272
|
+
];
|
|
273
|
+
var MetricDimensions = [1, n0, _MDe,
|
|
274
|
+
0, () => MetricDimension$
|
|
275
|
+
];
|
|
276
|
+
var ScalingInstructions = [1, n0, _SI,
|
|
277
|
+
0, () => ScalingInstruction$
|
|
278
|
+
];
|
|
316
279
|
var ScalingPlanNames = 64 | 0;
|
|
317
|
-
var ScalingPlanResources = [1, n0, _SPR,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
var
|
|
280
|
+
var ScalingPlanResources = [1, n0, _SPR,
|
|
281
|
+
0, () => ScalingPlanResource$
|
|
282
|
+
];
|
|
283
|
+
var ScalingPlans = [1, n0, _SP,
|
|
284
|
+
0, () => ScalingPlan$
|
|
285
|
+
];
|
|
286
|
+
var ScalingPolicies = [1, n0, _SPca,
|
|
287
|
+
0, () => ScalingPolicy$
|
|
288
|
+
];
|
|
289
|
+
var TagFilters = [1, n0, _TF,
|
|
290
|
+
0, () => TagFilter$
|
|
291
|
+
];
|
|
321
292
|
var TagValues = 64 | 0;
|
|
322
|
-
var TargetTrackingConfigurations = [1, n0, _TTC,
|
|
323
|
-
|
|
324
|
-
9,
|
|
325
|
-
n0,
|
|
326
|
-
_CSP,
|
|
327
|
-
0,
|
|
328
|
-
() => CreateScalingPlanRequest$,
|
|
329
|
-
() => CreateScalingPlanResponse$,
|
|
293
|
+
var TargetTrackingConfigurations = [1, n0, _TTC,
|
|
294
|
+
0, () => TargetTrackingConfiguration$
|
|
330
295
|
];
|
|
331
|
-
export var
|
|
332
|
-
|
|
333
|
-
n0,
|
|
334
|
-
_DSP,
|
|
335
|
-
0,
|
|
336
|
-
() => DeleteScalingPlanRequest$,
|
|
337
|
-
() => DeleteScalingPlanResponse$,
|
|
296
|
+
export var CreateScalingPlan$ = [9, n0, _CSP,
|
|
297
|
+
0, () => CreateScalingPlanRequest$, () => CreateScalingPlanResponse$
|
|
338
298
|
];
|
|
339
|
-
export var
|
|
340
|
-
|
|
341
|
-
n0,
|
|
342
|
-
_DSPRescr,
|
|
343
|
-
0,
|
|
344
|
-
() => DescribeScalingPlanResourcesRequest$,
|
|
345
|
-
() => DescribeScalingPlanResourcesResponse$,
|
|
299
|
+
export var DeleteScalingPlan$ = [9, n0, _DSP,
|
|
300
|
+
0, () => DeleteScalingPlanRequest$, () => DeleteScalingPlanResponse$
|
|
346
301
|
];
|
|
347
|
-
export var
|
|
348
|
-
|
|
349
|
-
n0,
|
|
350
|
-
_DSPe,
|
|
351
|
-
0,
|
|
352
|
-
() => DescribeScalingPlansRequest$,
|
|
353
|
-
() => DescribeScalingPlansResponse$,
|
|
302
|
+
export var DescribeScalingPlanResources$ = [9, n0, _DSPRescr,
|
|
303
|
+
0, () => DescribeScalingPlanResourcesRequest$, () => DescribeScalingPlanResourcesResponse$
|
|
354
304
|
];
|
|
355
|
-
export var
|
|
356
|
-
|
|
357
|
-
n0,
|
|
358
|
-
_GSPRFD,
|
|
359
|
-
0,
|
|
360
|
-
() => GetScalingPlanResourceForecastDataRequest$,
|
|
361
|
-
() => GetScalingPlanResourceForecastDataResponse$,
|
|
305
|
+
export var DescribeScalingPlans$ = [9, n0, _DSPe,
|
|
306
|
+
0, () => DescribeScalingPlansRequest$, () => DescribeScalingPlansResponse$
|
|
362
307
|
];
|
|
363
|
-
export var
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
0,
|
|
368
|
-
() => UpdateScalingPlanRequest$,
|
|
369
|
-
() => UpdateScalingPlanResponse$,
|
|
308
|
+
export var GetScalingPlanResourceForecastData$ = [9, n0, _GSPRFD,
|
|
309
|
+
0, () => GetScalingPlanResourceForecastDataRequest$, () => GetScalingPlanResourceForecastDataResponse$
|
|
310
|
+
];
|
|
311
|
+
export var UpdateScalingPlan$ = [9, n0, _USP,
|
|
312
|
+
0, () => UpdateScalingPlanRequest$, () => UpdateScalingPlanResponse$
|
|
370
313
|
];
|
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.962.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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|