@aws-sdk/client-auto-scaling-plans 3.927.0 → 3.929.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 +424 -496
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/AutoScalingPlansClient.js +2 -0
- package/dist-es/commands/CreateScalingPlanCommand.js +3 -9
- package/dist-es/commands/DeleteScalingPlanCommand.js +3 -9
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +3 -9
- package/dist-es/commands/DescribeScalingPlansCommand.js +3 -9
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +3 -9
- package/dist-es/commands/UpdateScalingPlanCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +395 -0
- package/dist-types/AutoScalingPlansClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/AutoScalingPlansClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +56 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -440
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -77
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class AutoScalingPlansClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class AutoScalingPlansClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class AutoScalingPlansServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let AutoScalingPlansServiceException$1 = class AutoScalingPlansServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, AutoScalingPlansServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
|
-
class ConcurrentUpdateException extends AutoScalingPlansServiceException {
|
|
120
|
+
let ConcurrentUpdateException$1 = class ConcurrentUpdateException extends AutoScalingPlansServiceException$1 {
|
|
121
121
|
name = "ConcurrentUpdateException";
|
|
122
122
|
$fault = "server";
|
|
123
123
|
Message;
|
|
@@ -130,7 +130,7 @@ class ConcurrentUpdateException extends AutoScalingPlansServiceException {
|
|
|
130
130
|
Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
};
|
|
134
134
|
const MetricStatistic = {
|
|
135
135
|
Average: "Average",
|
|
136
136
|
Maximum: "Maximum",
|
|
@@ -189,7 +189,7 @@ const ScalingMetricType = {
|
|
|
189
189
|
RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
|
|
190
190
|
RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
|
|
191
191
|
};
|
|
192
|
-
class InternalServiceException extends AutoScalingPlansServiceException {
|
|
192
|
+
let InternalServiceException$1 = class InternalServiceException extends AutoScalingPlansServiceException$1 {
|
|
193
193
|
name = "InternalServiceException";
|
|
194
194
|
$fault = "server";
|
|
195
195
|
Message;
|
|
@@ -202,8 +202,8 @@ class InternalServiceException extends AutoScalingPlansServiceException {
|
|
|
202
202
|
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
203
203
|
this.Message = opts.Message;
|
|
204
204
|
}
|
|
205
|
-
}
|
|
206
|
-
class LimitExceededException extends AutoScalingPlansServiceException {
|
|
205
|
+
};
|
|
206
|
+
let LimitExceededException$1 = class LimitExceededException extends AutoScalingPlansServiceException$1 {
|
|
207
207
|
name = "LimitExceededException";
|
|
208
208
|
$fault = "client";
|
|
209
209
|
Message;
|
|
@@ -216,8 +216,8 @@ class LimitExceededException extends AutoScalingPlansServiceException {
|
|
|
216
216
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
217
217
|
this.Message = opts.Message;
|
|
218
218
|
}
|
|
219
|
-
}
|
|
220
|
-
class ValidationException extends AutoScalingPlansServiceException {
|
|
219
|
+
};
|
|
220
|
+
let ValidationException$1 = class ValidationException extends AutoScalingPlansServiceException$1 {
|
|
221
221
|
name = "ValidationException";
|
|
222
222
|
$fault = "client";
|
|
223
223
|
Message;
|
|
@@ -230,8 +230,8 @@ class ValidationException extends AutoScalingPlansServiceException {
|
|
|
230
230
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
231
231
|
this.Message = opts.Message;
|
|
232
232
|
}
|
|
233
|
-
}
|
|
234
|
-
class ObjectNotFoundException extends AutoScalingPlansServiceException {
|
|
233
|
+
};
|
|
234
|
+
let ObjectNotFoundException$1 = class ObjectNotFoundException extends AutoScalingPlansServiceException$1 {
|
|
235
235
|
name = "ObjectNotFoundException";
|
|
236
236
|
$fault = "client";
|
|
237
237
|
Message;
|
|
@@ -244,7 +244,7 @@ class ObjectNotFoundException extends AutoScalingPlansServiceException {
|
|
|
244
244
|
Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
|
|
245
245
|
this.Message = opts.Message;
|
|
246
246
|
}
|
|
247
|
-
}
|
|
247
|
+
};
|
|
248
248
|
const PolicyType = {
|
|
249
249
|
TargetTrackingScaling: "TargetTrackingScaling",
|
|
250
250
|
};
|
|
@@ -253,7 +253,7 @@ const ScalingStatusCode = {
|
|
|
253
253
|
Inactive: "Inactive",
|
|
254
254
|
PartiallyActive: "PartiallyActive",
|
|
255
255
|
};
|
|
256
|
-
class InvalidNextTokenException extends AutoScalingPlansServiceException {
|
|
256
|
+
let InvalidNextTokenException$1 = class InvalidNextTokenException extends AutoScalingPlansServiceException$1 {
|
|
257
257
|
name = "InvalidNextTokenException";
|
|
258
258
|
$fault = "client";
|
|
259
259
|
Message;
|
|
@@ -266,7 +266,7 @@ class InvalidNextTokenException extends AutoScalingPlansServiceException {
|
|
|
266
266
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
267
267
|
this.Message = opts.Message;
|
|
268
268
|
}
|
|
269
|
-
}
|
|
269
|
+
};
|
|
270
270
|
const ScalingPlanStatusCode = {
|
|
271
271
|
Active: "Active",
|
|
272
272
|
ActiveWithProblems: "ActiveWithProblems",
|
|
@@ -284,452 +284,405 @@ const ForecastDataType = {
|
|
|
284
284
|
ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
const
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
const
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
const
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
const
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
const
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
const
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
PredefinedScalingMetricSpecification: smithyClient._json,
|
|
677
|
-
ScaleInCooldown: smithyClient.expectInt32,
|
|
678
|
-
ScaleOutCooldown: smithyClient.expectInt32,
|
|
679
|
-
TargetValue: smithyClient.limitedParseDouble,
|
|
680
|
-
});
|
|
681
|
-
};
|
|
682
|
-
const de_TargetTrackingConfigurations = (output, context) => {
|
|
683
|
-
const retVal = (output || [])
|
|
684
|
-
.filter((e) => e != null)
|
|
685
|
-
.map((entry) => {
|
|
686
|
-
return de_TargetTrackingConfiguration(entry);
|
|
687
|
-
});
|
|
688
|
-
return retVal;
|
|
689
|
-
};
|
|
690
|
-
const deserializeMetadata = (output) => ({
|
|
691
|
-
httpStatusCode: output.statusCode,
|
|
692
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
693
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
694
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
695
|
-
});
|
|
696
|
-
const throwDefaultError = smithyClient.withBaseException(AutoScalingPlansServiceException);
|
|
697
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
698
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
699
|
-
const contents = {
|
|
700
|
-
protocol,
|
|
701
|
-
hostname,
|
|
702
|
-
port,
|
|
703
|
-
method: "POST",
|
|
704
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
705
|
-
headers,
|
|
706
|
-
};
|
|
707
|
-
if (body !== undefined) {
|
|
708
|
-
contents.body = body;
|
|
709
|
-
}
|
|
710
|
-
return new protocolHttp.HttpRequest(contents);
|
|
711
|
-
};
|
|
712
|
-
function sharedHeaders(operation) {
|
|
713
|
-
return {
|
|
714
|
-
"content-type": "application/x-amz-json-1.1",
|
|
715
|
-
"x-amz-target": `AnyScaleScalingPlannerFrontendService.${operation}`,
|
|
716
|
-
};
|
|
717
|
-
}
|
|
287
|
+
const _AS = "ApplicationSource";
|
|
288
|
+
const _ASp = "ApplicationSources";
|
|
289
|
+
const _CFSARN = "CloudFormationStackARN";
|
|
290
|
+
const _CLMS = "CustomizedLoadMetricSpecification";
|
|
291
|
+
const _CSMS = "CustomizedScalingMetricSpecification";
|
|
292
|
+
const _CSP = "CreateScalingPlan";
|
|
293
|
+
const _CSPR = "CreateScalingPlanRequest";
|
|
294
|
+
const _CSPRr = "CreateScalingPlanResponse";
|
|
295
|
+
const _CT = "CreationTime";
|
|
296
|
+
const _CUE = "ConcurrentUpdateException";
|
|
297
|
+
const _D = "Dimensions";
|
|
298
|
+
const _DDS = "DisableDynamicScaling";
|
|
299
|
+
const _DSI = "DisableScaleIn";
|
|
300
|
+
const _DSP = "DeleteScalingPlan";
|
|
301
|
+
const _DSPR = "DeleteScalingPlanRequest";
|
|
302
|
+
const _DSPRR = "DescribeScalingPlanResourcesRequest";
|
|
303
|
+
const _DSPRRe = "DescribeScalingPlanResourcesResponse";
|
|
304
|
+
const _DSPRe = "DeleteScalingPlanResponse";
|
|
305
|
+
const _DSPRes = "DescribeScalingPlansRequest";
|
|
306
|
+
const _DSPResc = "DescribeScalingPlansResponse";
|
|
307
|
+
const _DSPRescr = "DescribeScalingPlanResources";
|
|
308
|
+
const _DSPe = "DescribeScalingPlans";
|
|
309
|
+
const _Da = "Datapoint";
|
|
310
|
+
const _Dat = "Datapoints";
|
|
311
|
+
const _EIW = "EstimatedInstanceWarmup";
|
|
312
|
+
const _ET = "EndTime";
|
|
313
|
+
const _FDT = "ForecastDataType";
|
|
314
|
+
const _GSPRFD = "GetScalingPlanResourceForecastData";
|
|
315
|
+
const _GSPRFDR = "GetScalingPlanResourceForecastDataRequest";
|
|
316
|
+
const _GSPRFDRe = "GetScalingPlanResourceForecastDataResponse";
|
|
317
|
+
const _INTE = "InvalidNextTokenException";
|
|
318
|
+
const _ISE = "InternalServiceException";
|
|
319
|
+
const _K = "Key";
|
|
320
|
+
const _LEE = "LimitExceededException";
|
|
321
|
+
const _M = "Message";
|
|
322
|
+
const _MC = "MinCapacity";
|
|
323
|
+
const _MCa = "MaxCapacity";
|
|
324
|
+
const _MD = "MetricDimension";
|
|
325
|
+
const _MDe = "MetricDimensions";
|
|
326
|
+
const _MN = "MetricName";
|
|
327
|
+
const _MR = "MaxResults";
|
|
328
|
+
const _N = "Namespace";
|
|
329
|
+
const _NT = "NextToken";
|
|
330
|
+
const _Na = "Name";
|
|
331
|
+
const _ONFE = "ObjectNotFoundException";
|
|
332
|
+
const _PLMS = "PredefinedLoadMetricSpecification";
|
|
333
|
+
const _PLMT = "PredefinedLoadMetricType";
|
|
334
|
+
const _PN = "PolicyName";
|
|
335
|
+
const _PSM = "PredictiveScalingMode";
|
|
336
|
+
const _PSMCB = "PredictiveScalingMaxCapacityBehavior";
|
|
337
|
+
const _PSMCBr = "PredictiveScalingMaxCapacityBuffer";
|
|
338
|
+
const _PSMS = "PredefinedScalingMetricSpecification";
|
|
339
|
+
const _PSMT = "PredefinedScalingMetricType";
|
|
340
|
+
const _PT = "PolicyType";
|
|
341
|
+
const _RI = "ResourceId";
|
|
342
|
+
const _RL = "ResourceLabel";
|
|
343
|
+
const _S = "Statistic";
|
|
344
|
+
const _SABT = "ScheduledActionBufferTime";
|
|
345
|
+
const _SC = "StatusCode";
|
|
346
|
+
const _SD = "ScalableDimension";
|
|
347
|
+
const _SI = "ScalingInstructions";
|
|
348
|
+
const _SIC = "ScaleInCooldown";
|
|
349
|
+
const _SIc = "ScalingInstruction";
|
|
350
|
+
const _SM = "StatusMessage";
|
|
351
|
+
const _SN = "ServiceNamespace";
|
|
352
|
+
const _SOC = "ScaleOutCooldown";
|
|
353
|
+
const _SP = "ScalingPlans";
|
|
354
|
+
const _SPN = "ScalingPlanName";
|
|
355
|
+
const _SPNc = "ScalingPlanNames";
|
|
356
|
+
const _SPR = "ScalingPlanResources";
|
|
357
|
+
const _SPRc = "ScalingPlanResource";
|
|
358
|
+
const _SPUB = "ScalingPolicyUpdateBehavior";
|
|
359
|
+
const _SPV = "ScalingPlanVersion";
|
|
360
|
+
const _SPc = "ScalingPlan";
|
|
361
|
+
const _SPca = "ScalingPolicies";
|
|
362
|
+
const _SPcal = "ScalingPolicy";
|
|
363
|
+
const _SSC = "ScalingStatusCode";
|
|
364
|
+
const _SSM = "ScalingStatusMessage";
|
|
365
|
+
const _SST = "StatusStartTime";
|
|
366
|
+
const _ST = "StartTime";
|
|
367
|
+
const _T = "Timestamp";
|
|
368
|
+
const _TF = "TagFilters";
|
|
369
|
+
const _TFa = "TagFilter";
|
|
370
|
+
const _TTC = "TargetTrackingConfigurations";
|
|
371
|
+
const _TTCa = "TargetTrackingConfiguration";
|
|
372
|
+
const _TV = "TargetValue";
|
|
373
|
+
const _U = "Unit";
|
|
374
|
+
const _USP = "UpdateScalingPlan";
|
|
375
|
+
const _USPR = "UpdateScalingPlanRequest";
|
|
376
|
+
const _USPRp = "UpdateScalingPlanResponse";
|
|
377
|
+
const _V = "Value";
|
|
378
|
+
const _VE = "ValidationException";
|
|
379
|
+
const _Va = "Values";
|
|
380
|
+
const _aQE = "awsQueryError";
|
|
381
|
+
const _c = "client";
|
|
382
|
+
const _e = "error";
|
|
383
|
+
const _hE = "httpError";
|
|
384
|
+
const _s = "server";
|
|
385
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
|
|
386
|
+
const n0 = "com.amazonaws.autoscalingplans";
|
|
387
|
+
var ApplicationSource = [3, n0, _AS, 0, [_CFSARN, _TF], [0, () => TagFilters]];
|
|
388
|
+
var ConcurrentUpdateException = [
|
|
389
|
+
-3,
|
|
390
|
+
n0,
|
|
391
|
+
_CUE,
|
|
392
|
+
{
|
|
393
|
+
[_e]: _s,
|
|
394
|
+
[_hE]: 500,
|
|
395
|
+
[_aQE]: [`ConcurrentUpdateException`, 500],
|
|
396
|
+
},
|
|
397
|
+
[_M],
|
|
398
|
+
[0],
|
|
399
|
+
];
|
|
400
|
+
schema.TypeRegistry.for(n0).registerError(ConcurrentUpdateException, ConcurrentUpdateException$1);
|
|
401
|
+
var CreateScalingPlanRequest = [
|
|
402
|
+
3,
|
|
403
|
+
n0,
|
|
404
|
+
_CSPR,
|
|
405
|
+
0,
|
|
406
|
+
[_SPN, _AS, _SI],
|
|
407
|
+
[0, () => ApplicationSource, () => ScalingInstructions],
|
|
408
|
+
];
|
|
409
|
+
var CreateScalingPlanResponse = [3, n0, _CSPRr, 0, [_SPV], [1]];
|
|
410
|
+
var CustomizedLoadMetricSpecification = [
|
|
411
|
+
3,
|
|
412
|
+
n0,
|
|
413
|
+
_CLMS,
|
|
414
|
+
0,
|
|
415
|
+
[_MN, _N, _D, _S, _U],
|
|
416
|
+
[0, 0, () => MetricDimensions, 0, 0],
|
|
417
|
+
];
|
|
418
|
+
var CustomizedScalingMetricSpecification = [
|
|
419
|
+
3,
|
|
420
|
+
n0,
|
|
421
|
+
_CSMS,
|
|
422
|
+
0,
|
|
423
|
+
[_MN, _N, _D, _S, _U],
|
|
424
|
+
[0, 0, () => MetricDimensions, 0, 0],
|
|
425
|
+
];
|
|
426
|
+
var Datapoint = [3, n0, _Da, 0, [_T, _V], [4, 1]];
|
|
427
|
+
var DeleteScalingPlanRequest = [3, n0, _DSPR, 0, [_SPN, _SPV], [0, 1]];
|
|
428
|
+
var DeleteScalingPlanResponse = [3, n0, _DSPRe, 0, [], []];
|
|
429
|
+
var DescribeScalingPlanResourcesRequest = [
|
|
430
|
+
3,
|
|
431
|
+
n0,
|
|
432
|
+
_DSPRR,
|
|
433
|
+
0,
|
|
434
|
+
[_SPN, _SPV, _MR, _NT],
|
|
435
|
+
[0, 1, 1, 0],
|
|
436
|
+
];
|
|
437
|
+
var DescribeScalingPlanResourcesResponse = [
|
|
438
|
+
3,
|
|
439
|
+
n0,
|
|
440
|
+
_DSPRRe,
|
|
441
|
+
0,
|
|
442
|
+
[_SPR, _NT],
|
|
443
|
+
[() => ScalingPlanResources, 0],
|
|
444
|
+
];
|
|
445
|
+
var DescribeScalingPlansRequest = [
|
|
446
|
+
3,
|
|
447
|
+
n0,
|
|
448
|
+
_DSPRes,
|
|
449
|
+
0,
|
|
450
|
+
[_SPNc, _SPV, _ASp, _MR, _NT],
|
|
451
|
+
[64 | 0, 1, () => ApplicationSources, 1, 0],
|
|
452
|
+
];
|
|
453
|
+
var DescribeScalingPlansResponse = [
|
|
454
|
+
3,
|
|
455
|
+
n0,
|
|
456
|
+
_DSPResc,
|
|
457
|
+
0,
|
|
458
|
+
[_SP, _NT],
|
|
459
|
+
[() => ScalingPlans, 0],
|
|
460
|
+
];
|
|
461
|
+
var GetScalingPlanResourceForecastDataRequest = [
|
|
462
|
+
3,
|
|
463
|
+
n0,
|
|
464
|
+
_GSPRFDR,
|
|
465
|
+
0,
|
|
466
|
+
[_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
|
|
467
|
+
[0, 1, 0, 0, 0, 0, 4, 4],
|
|
468
|
+
];
|
|
469
|
+
var GetScalingPlanResourceForecastDataResponse = [
|
|
470
|
+
3,
|
|
471
|
+
n0,
|
|
472
|
+
_GSPRFDRe,
|
|
473
|
+
0,
|
|
474
|
+
[_Dat],
|
|
475
|
+
[() => Datapoints],
|
|
476
|
+
];
|
|
477
|
+
var InternalServiceException = [
|
|
478
|
+
-3,
|
|
479
|
+
n0,
|
|
480
|
+
_ISE,
|
|
481
|
+
{
|
|
482
|
+
[_e]: _s,
|
|
483
|
+
[_hE]: 500,
|
|
484
|
+
[_aQE]: [`InternalServiceException`, 500],
|
|
485
|
+
},
|
|
486
|
+
[_M],
|
|
487
|
+
[0],
|
|
488
|
+
];
|
|
489
|
+
schema.TypeRegistry.for(n0).registerError(InternalServiceException, InternalServiceException$1);
|
|
490
|
+
var InvalidNextTokenException = [
|
|
491
|
+
-3,
|
|
492
|
+
n0,
|
|
493
|
+
_INTE,
|
|
494
|
+
{
|
|
495
|
+
[_e]: _c,
|
|
496
|
+
[_hE]: 400,
|
|
497
|
+
[_aQE]: [`InvalidNextTokenException`, 400],
|
|
498
|
+
},
|
|
499
|
+
[_M],
|
|
500
|
+
[0],
|
|
501
|
+
];
|
|
502
|
+
schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
|
|
503
|
+
var LimitExceededException = [
|
|
504
|
+
-3,
|
|
505
|
+
n0,
|
|
506
|
+
_LEE,
|
|
507
|
+
{
|
|
508
|
+
[_e]: _c,
|
|
509
|
+
[_hE]: 400,
|
|
510
|
+
[_aQE]: [`LimitExceededException`, 400],
|
|
511
|
+
},
|
|
512
|
+
[_M],
|
|
513
|
+
[0],
|
|
514
|
+
];
|
|
515
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
516
|
+
var MetricDimension = [3, n0, _MD, 0, [_Na, _V], [0, 0]];
|
|
517
|
+
var ObjectNotFoundException = [
|
|
518
|
+
-3,
|
|
519
|
+
n0,
|
|
520
|
+
_ONFE,
|
|
521
|
+
{
|
|
522
|
+
[_e]: _c,
|
|
523
|
+
[_hE]: 400,
|
|
524
|
+
[_aQE]: [`ObjectNotFoundException`, 400],
|
|
525
|
+
},
|
|
526
|
+
[_M],
|
|
527
|
+
[0],
|
|
528
|
+
];
|
|
529
|
+
schema.TypeRegistry.for(n0).registerError(ObjectNotFoundException, ObjectNotFoundException$1);
|
|
530
|
+
var PredefinedLoadMetricSpecification = [3, n0, _PLMS, 0, [_PLMT, _RL], [0, 0]];
|
|
531
|
+
var PredefinedScalingMetricSpecification = [3, n0, _PSMS, 0, [_PSMT, _RL], [0, 0]];
|
|
532
|
+
var ScalingInstruction = [
|
|
533
|
+
3,
|
|
534
|
+
n0,
|
|
535
|
+
_SIc,
|
|
536
|
+
0,
|
|
537
|
+
[_SN, _RI, _SD, _MC, _MCa, _TTC, _PLMS, _CLMS, _SABT, _PSMCB, _PSMCBr, _PSM, _SPUB, _DDS],
|
|
538
|
+
[
|
|
539
|
+
0,
|
|
540
|
+
0,
|
|
541
|
+
0,
|
|
542
|
+
1,
|
|
543
|
+
1,
|
|
544
|
+
() => TargetTrackingConfigurations,
|
|
545
|
+
() => PredefinedLoadMetricSpecification,
|
|
546
|
+
() => CustomizedLoadMetricSpecification,
|
|
547
|
+
1,
|
|
548
|
+
0,
|
|
549
|
+
1,
|
|
550
|
+
0,
|
|
551
|
+
0,
|
|
552
|
+
2,
|
|
553
|
+
],
|
|
554
|
+
];
|
|
555
|
+
var ScalingPlan = [
|
|
556
|
+
3,
|
|
557
|
+
n0,
|
|
558
|
+
_SPc,
|
|
559
|
+
0,
|
|
560
|
+
[_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
|
|
561
|
+
[0, 1, () => ApplicationSource, () => ScalingInstructions, 0, 0, 4, 4],
|
|
562
|
+
];
|
|
563
|
+
var ScalingPlanResource = [
|
|
564
|
+
3,
|
|
565
|
+
n0,
|
|
566
|
+
_SPRc,
|
|
567
|
+
0,
|
|
568
|
+
[_SPN, _SPV, _SN, _RI, _SD, _SPca, _SSC, _SSM],
|
|
569
|
+
[0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0],
|
|
570
|
+
];
|
|
571
|
+
var ScalingPolicy = [
|
|
572
|
+
3,
|
|
573
|
+
n0,
|
|
574
|
+
_SPcal,
|
|
575
|
+
0,
|
|
576
|
+
[_PN, _PT, _TTCa],
|
|
577
|
+
[0, 0, () => TargetTrackingConfiguration],
|
|
578
|
+
];
|
|
579
|
+
var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
|
|
580
|
+
var TargetTrackingConfiguration = [
|
|
581
|
+
3,
|
|
582
|
+
n0,
|
|
583
|
+
_TTCa,
|
|
584
|
+
0,
|
|
585
|
+
[_PSMS, _CSMS, _TV, _DSI, _SOC, _SIC, _EIW],
|
|
586
|
+
[() => PredefinedScalingMetricSpecification, () => CustomizedScalingMetricSpecification, 1, 2, 1, 1, 1],
|
|
587
|
+
];
|
|
588
|
+
var UpdateScalingPlanRequest = [
|
|
589
|
+
3,
|
|
590
|
+
n0,
|
|
591
|
+
_USPR,
|
|
592
|
+
0,
|
|
593
|
+
[_SPN, _SPV, _AS, _SI],
|
|
594
|
+
[0, 1, () => ApplicationSource, () => ScalingInstructions],
|
|
595
|
+
];
|
|
596
|
+
var UpdateScalingPlanResponse = [3, n0, _USPRp, 0, [], []];
|
|
597
|
+
var ValidationException = [
|
|
598
|
+
-3,
|
|
599
|
+
n0,
|
|
600
|
+
_VE,
|
|
601
|
+
{
|
|
602
|
+
[_e]: _c,
|
|
603
|
+
[_hE]: 400,
|
|
604
|
+
[_aQE]: [`ValidationException`, 400],
|
|
605
|
+
},
|
|
606
|
+
[_M],
|
|
607
|
+
[0],
|
|
608
|
+
];
|
|
609
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
610
|
+
var AutoScalingPlansServiceException = [
|
|
611
|
+
-3,
|
|
612
|
+
_sm,
|
|
613
|
+
"AutoScalingPlansServiceException",
|
|
614
|
+
0,
|
|
615
|
+
[],
|
|
616
|
+
[],
|
|
617
|
+
];
|
|
618
|
+
schema.TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException, AutoScalingPlansServiceException$1);
|
|
619
|
+
var ApplicationSources = [1, n0, _ASp, 0, () => ApplicationSource];
|
|
620
|
+
var Datapoints = [1, n0, _Dat, 0, () => Datapoint];
|
|
621
|
+
var MetricDimensions = [1, n0, _MDe, 0, () => MetricDimension];
|
|
622
|
+
var ScalingInstructions = [1, n0, _SI, 0, () => ScalingInstruction];
|
|
623
|
+
var ScalingPlanResources = [1, n0, _SPR, 0, () => ScalingPlanResource];
|
|
624
|
+
var ScalingPlans = [1, n0, _SP, 0, () => ScalingPlan];
|
|
625
|
+
var ScalingPolicies = [1, n0, _SPca, 0, () => ScalingPolicy];
|
|
626
|
+
var TagFilters = [1, n0, _TF, 0, () => TagFilter];
|
|
627
|
+
var TargetTrackingConfigurations = [1, n0, _TTC, 0, () => TargetTrackingConfiguration];
|
|
628
|
+
var CreateScalingPlan = [
|
|
629
|
+
9,
|
|
630
|
+
n0,
|
|
631
|
+
_CSP,
|
|
632
|
+
0,
|
|
633
|
+
() => CreateScalingPlanRequest,
|
|
634
|
+
() => CreateScalingPlanResponse,
|
|
635
|
+
];
|
|
636
|
+
var DeleteScalingPlan = [
|
|
637
|
+
9,
|
|
638
|
+
n0,
|
|
639
|
+
_DSP,
|
|
640
|
+
0,
|
|
641
|
+
() => DeleteScalingPlanRequest,
|
|
642
|
+
() => DeleteScalingPlanResponse,
|
|
643
|
+
];
|
|
644
|
+
var DescribeScalingPlanResources = [
|
|
645
|
+
9,
|
|
646
|
+
n0,
|
|
647
|
+
_DSPRescr,
|
|
648
|
+
0,
|
|
649
|
+
() => DescribeScalingPlanResourcesRequest,
|
|
650
|
+
() => DescribeScalingPlanResourcesResponse,
|
|
651
|
+
];
|
|
652
|
+
var DescribeScalingPlans = [
|
|
653
|
+
9,
|
|
654
|
+
n0,
|
|
655
|
+
_DSPe,
|
|
656
|
+
0,
|
|
657
|
+
() => DescribeScalingPlansRequest,
|
|
658
|
+
() => DescribeScalingPlansResponse,
|
|
659
|
+
];
|
|
660
|
+
var GetScalingPlanResourceForecastData = [
|
|
661
|
+
9,
|
|
662
|
+
n0,
|
|
663
|
+
_GSPRFD,
|
|
664
|
+
0,
|
|
665
|
+
() => GetScalingPlanResourceForecastDataRequest,
|
|
666
|
+
() => GetScalingPlanResourceForecastDataResponse,
|
|
667
|
+
];
|
|
668
|
+
var UpdateScalingPlan = [
|
|
669
|
+
9,
|
|
670
|
+
n0,
|
|
671
|
+
_USP,
|
|
672
|
+
0,
|
|
673
|
+
() => UpdateScalingPlanRequest,
|
|
674
|
+
() => UpdateScalingPlanResponse,
|
|
675
|
+
];
|
|
718
676
|
|
|
719
677
|
class CreateScalingPlanCommand extends smithyClient.Command
|
|
720
678
|
.classBuilder()
|
|
721
679
|
.ep(commonParams)
|
|
722
680
|
.m(function (Command, cs, config, o) {
|
|
723
|
-
return [
|
|
724
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
725
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
726
|
-
];
|
|
681
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
727
682
|
})
|
|
728
683
|
.s("AnyScaleScalingPlannerFrontendService", "CreateScalingPlan", {})
|
|
729
684
|
.n("AutoScalingPlansClient", "CreateScalingPlanCommand")
|
|
730
|
-
.
|
|
731
|
-
.ser(se_CreateScalingPlanCommand)
|
|
732
|
-
.de(de_CreateScalingPlanCommand)
|
|
685
|
+
.sc(CreateScalingPlan)
|
|
733
686
|
.build() {
|
|
734
687
|
}
|
|
735
688
|
|
|
@@ -737,16 +690,11 @@ class DeleteScalingPlanCommand extends smithyClient.Command
|
|
|
737
690
|
.classBuilder()
|
|
738
691
|
.ep(commonParams)
|
|
739
692
|
.m(function (Command, cs, config, o) {
|
|
740
|
-
return [
|
|
741
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
742
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
743
|
-
];
|
|
693
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
744
694
|
})
|
|
745
695
|
.s("AnyScaleScalingPlannerFrontendService", "DeleteScalingPlan", {})
|
|
746
696
|
.n("AutoScalingPlansClient", "DeleteScalingPlanCommand")
|
|
747
|
-
.
|
|
748
|
-
.ser(se_DeleteScalingPlanCommand)
|
|
749
|
-
.de(de_DeleteScalingPlanCommand)
|
|
697
|
+
.sc(DeleteScalingPlan)
|
|
750
698
|
.build() {
|
|
751
699
|
}
|
|
752
700
|
|
|
@@ -754,16 +702,11 @@ class DescribeScalingPlanResourcesCommand extends smithyClient.Command
|
|
|
754
702
|
.classBuilder()
|
|
755
703
|
.ep(commonParams)
|
|
756
704
|
.m(function (Command, cs, config, o) {
|
|
757
|
-
return [
|
|
758
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
759
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
760
|
-
];
|
|
705
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
761
706
|
})
|
|
762
707
|
.s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlanResources", {})
|
|
763
708
|
.n("AutoScalingPlansClient", "DescribeScalingPlanResourcesCommand")
|
|
764
|
-
.
|
|
765
|
-
.ser(se_DescribeScalingPlanResourcesCommand)
|
|
766
|
-
.de(de_DescribeScalingPlanResourcesCommand)
|
|
709
|
+
.sc(DescribeScalingPlanResources)
|
|
767
710
|
.build() {
|
|
768
711
|
}
|
|
769
712
|
|
|
@@ -771,16 +714,11 @@ class DescribeScalingPlansCommand extends smithyClient.Command
|
|
|
771
714
|
.classBuilder()
|
|
772
715
|
.ep(commonParams)
|
|
773
716
|
.m(function (Command, cs, config, o) {
|
|
774
|
-
return [
|
|
775
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
776
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
777
|
-
];
|
|
717
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
778
718
|
})
|
|
779
719
|
.s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlans", {})
|
|
780
720
|
.n("AutoScalingPlansClient", "DescribeScalingPlansCommand")
|
|
781
|
-
.
|
|
782
|
-
.ser(se_DescribeScalingPlansCommand)
|
|
783
|
-
.de(de_DescribeScalingPlansCommand)
|
|
721
|
+
.sc(DescribeScalingPlans)
|
|
784
722
|
.build() {
|
|
785
723
|
}
|
|
786
724
|
|
|
@@ -788,16 +726,11 @@ class GetScalingPlanResourceForecastDataCommand extends smithyClient.Command
|
|
|
788
726
|
.classBuilder()
|
|
789
727
|
.ep(commonParams)
|
|
790
728
|
.m(function (Command, cs, config, o) {
|
|
791
|
-
return [
|
|
792
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
793
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
794
|
-
];
|
|
729
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
795
730
|
})
|
|
796
731
|
.s("AnyScaleScalingPlannerFrontendService", "GetScalingPlanResourceForecastData", {})
|
|
797
732
|
.n("AutoScalingPlansClient", "GetScalingPlanResourceForecastDataCommand")
|
|
798
|
-
.
|
|
799
|
-
.ser(se_GetScalingPlanResourceForecastDataCommand)
|
|
800
|
-
.de(de_GetScalingPlanResourceForecastDataCommand)
|
|
733
|
+
.sc(GetScalingPlanResourceForecastData)
|
|
801
734
|
.build() {
|
|
802
735
|
}
|
|
803
736
|
|
|
@@ -805,16 +738,11 @@ class UpdateScalingPlanCommand extends smithyClient.Command
|
|
|
805
738
|
.classBuilder()
|
|
806
739
|
.ep(commonParams)
|
|
807
740
|
.m(function (Command, cs, config, o) {
|
|
808
|
-
return [
|
|
809
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
810
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
811
|
-
];
|
|
741
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
812
742
|
})
|
|
813
743
|
.s("AnyScaleScalingPlannerFrontendService", "UpdateScalingPlan", {})
|
|
814
744
|
.n("AutoScalingPlansClient", "UpdateScalingPlanCommand")
|
|
815
|
-
.
|
|
816
|
-
.ser(se_UpdateScalingPlanCommand)
|
|
817
|
-
.de(de_UpdateScalingPlanCommand)
|
|
745
|
+
.sc(UpdateScalingPlan)
|
|
818
746
|
.build() {
|
|
819
747
|
}
|
|
820
748
|
|
|
@@ -840,20 +768,20 @@ Object.defineProperty(exports, "__Client", {
|
|
|
840
768
|
});
|
|
841
769
|
exports.AutoScalingPlans = AutoScalingPlans;
|
|
842
770
|
exports.AutoScalingPlansClient = AutoScalingPlansClient;
|
|
843
|
-
exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException;
|
|
844
|
-
exports.ConcurrentUpdateException = ConcurrentUpdateException;
|
|
771
|
+
exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException$1;
|
|
772
|
+
exports.ConcurrentUpdateException = ConcurrentUpdateException$1;
|
|
845
773
|
exports.CreateScalingPlanCommand = CreateScalingPlanCommand;
|
|
846
774
|
exports.DeleteScalingPlanCommand = DeleteScalingPlanCommand;
|
|
847
775
|
exports.DescribeScalingPlanResourcesCommand = DescribeScalingPlanResourcesCommand;
|
|
848
776
|
exports.DescribeScalingPlansCommand = DescribeScalingPlansCommand;
|
|
849
777
|
exports.ForecastDataType = ForecastDataType;
|
|
850
778
|
exports.GetScalingPlanResourceForecastDataCommand = GetScalingPlanResourceForecastDataCommand;
|
|
851
|
-
exports.InternalServiceException = InternalServiceException;
|
|
852
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
853
|
-
exports.LimitExceededException = LimitExceededException;
|
|
779
|
+
exports.InternalServiceException = InternalServiceException$1;
|
|
780
|
+
exports.InvalidNextTokenException = InvalidNextTokenException$1;
|
|
781
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
854
782
|
exports.LoadMetricType = LoadMetricType;
|
|
855
783
|
exports.MetricStatistic = MetricStatistic;
|
|
856
|
-
exports.ObjectNotFoundException = ObjectNotFoundException;
|
|
784
|
+
exports.ObjectNotFoundException = ObjectNotFoundException$1;
|
|
857
785
|
exports.PolicyType = PolicyType;
|
|
858
786
|
exports.PredictiveScalingMaxCapacityBehavior = PredictiveScalingMaxCapacityBehavior;
|
|
859
787
|
exports.PredictiveScalingMode = PredictiveScalingMode;
|
|
@@ -864,4 +792,4 @@ exports.ScalingPolicyUpdateBehavior = ScalingPolicyUpdateBehavior;
|
|
|
864
792
|
exports.ScalingStatusCode = ScalingStatusCode;
|
|
865
793
|
exports.ServiceNamespace = ServiceNamespace;
|
|
866
794
|
exports.UpdateScalingPlanCommand = UpdateScalingPlanCommand;
|
|
867
|
-
exports.ValidationException = ValidationException;
|
|
795
|
+
exports.ValidationException = ValidationException$1;
|