@effect-aws/client-auto-scaling 1.9.3 → 1.10.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/AutoScalingService.d.ts +67 -66
- package/dist/cjs/AutoScalingService.d.ts.map +1 -1
- package/dist/cjs/AutoScalingService.js +1 -1
- package/dist/cjs/AutoScalingService.js.map +1 -1
- package/dist/dts/AutoScalingService.d.ts +67 -66
- package/dist/dts/AutoScalingService.d.ts.map +1 -1
- package/dist/esm/AutoScalingService.js +1 -1
- package/dist/esm/AutoScalingService.js.map +1 -1
- package/package.json +2 -2
- package/src/AutoScalingService.ts +88 -63
|
@@ -202,6 +202,7 @@ import {
|
|
|
202
202
|
} from "@aws-sdk/client-auto-scaling";
|
|
203
203
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
204
204
|
import { Service } from "@effect-aws/commons";
|
|
205
|
+
import type { Cause } from "effect";
|
|
205
206
|
import { Effect, Layer } from "effect";
|
|
206
207
|
import * as Instance from "./AutoScalingClientInstance.js";
|
|
207
208
|
import * as AutoScalingServiceConfig from "./AutoScalingServiceConfig.js";
|
|
@@ -298,7 +299,7 @@ interface AutoScalingService$ {
|
|
|
298
299
|
options?: HttpHandlerOptions,
|
|
299
300
|
): Effect.Effect<
|
|
300
301
|
AttachInstancesCommandOutput,
|
|
301
|
-
SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
302
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
302
303
|
>;
|
|
303
304
|
|
|
304
305
|
/**
|
|
@@ -309,7 +310,7 @@ interface AutoScalingService$ {
|
|
|
309
310
|
options?: HttpHandlerOptions,
|
|
310
311
|
): Effect.Effect<
|
|
311
312
|
AttachLoadBalancerTargetGroupsCommandOutput,
|
|
312
|
-
SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
313
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
313
314
|
>;
|
|
314
315
|
|
|
315
316
|
/**
|
|
@@ -320,7 +321,7 @@ interface AutoScalingService$ {
|
|
|
320
321
|
options?: HttpHandlerOptions,
|
|
321
322
|
): Effect.Effect<
|
|
322
323
|
AttachLoadBalancersCommandOutput,
|
|
323
|
-
SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
324
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
324
325
|
>;
|
|
325
326
|
|
|
326
327
|
/**
|
|
@@ -331,7 +332,7 @@ interface AutoScalingService$ {
|
|
|
331
332
|
options?: HttpHandlerOptions,
|
|
332
333
|
): Effect.Effect<
|
|
333
334
|
AttachTrafficSourcesCommandOutput,
|
|
334
|
-
SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
335
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
335
336
|
>;
|
|
336
337
|
|
|
337
338
|
/**
|
|
@@ -342,7 +343,7 @@ interface AutoScalingService$ {
|
|
|
342
343
|
options?: HttpHandlerOptions,
|
|
343
344
|
): Effect.Effect<
|
|
344
345
|
BatchDeleteScheduledActionCommandOutput,
|
|
345
|
-
SdkError | ResourceContentionFaultError
|
|
346
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
346
347
|
>;
|
|
347
348
|
|
|
348
349
|
/**
|
|
@@ -353,7 +354,7 @@ interface AutoScalingService$ {
|
|
|
353
354
|
options?: HttpHandlerOptions,
|
|
354
355
|
): Effect.Effect<
|
|
355
356
|
BatchPutScheduledUpdateGroupActionCommandOutput,
|
|
356
|
-
SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
|
|
357
|
+
Cause.TimeoutException | SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
|
|
357
358
|
>;
|
|
358
359
|
|
|
359
360
|
/**
|
|
@@ -364,7 +365,11 @@ interface AutoScalingService$ {
|
|
|
364
365
|
options?: HttpHandlerOptions,
|
|
365
366
|
): Effect.Effect<
|
|
366
367
|
CancelInstanceRefreshCommandOutput,
|
|
367
|
-
|
|
368
|
+
| Cause.TimeoutException
|
|
369
|
+
| SdkError
|
|
370
|
+
| ActiveInstanceRefreshNotFoundFaultError
|
|
371
|
+
| LimitExceededFaultError
|
|
372
|
+
| ResourceContentionFaultError
|
|
368
373
|
>;
|
|
369
374
|
|
|
370
375
|
/**
|
|
@@ -375,7 +380,7 @@ interface AutoScalingService$ {
|
|
|
375
380
|
options?: HttpHandlerOptions,
|
|
376
381
|
): Effect.Effect<
|
|
377
382
|
CompleteLifecycleActionCommandOutput,
|
|
378
|
-
SdkError | ResourceContentionFaultError
|
|
383
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
379
384
|
>;
|
|
380
385
|
|
|
381
386
|
/**
|
|
@@ -386,7 +391,12 @@ interface AutoScalingService$ {
|
|
|
386
391
|
options?: HttpHandlerOptions,
|
|
387
392
|
): Effect.Effect<
|
|
388
393
|
CreateAutoScalingGroupCommandOutput,
|
|
389
|
-
|
|
394
|
+
| Cause.TimeoutException
|
|
395
|
+
| SdkError
|
|
396
|
+
| AlreadyExistsFaultError
|
|
397
|
+
| LimitExceededFaultError
|
|
398
|
+
| ResourceContentionFaultError
|
|
399
|
+
| ServiceLinkedRoleError
|
|
390
400
|
>;
|
|
391
401
|
|
|
392
402
|
/**
|
|
@@ -397,7 +407,7 @@ interface AutoScalingService$ {
|
|
|
397
407
|
options?: HttpHandlerOptions,
|
|
398
408
|
): Effect.Effect<
|
|
399
409
|
CreateLaunchConfigurationCommandOutput,
|
|
400
|
-
SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
|
|
410
|
+
Cause.TimeoutException | SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
|
|
401
411
|
>;
|
|
402
412
|
|
|
403
413
|
/**
|
|
@@ -408,6 +418,7 @@ interface AutoScalingService$ {
|
|
|
408
418
|
options?: HttpHandlerOptions,
|
|
409
419
|
): Effect.Effect<
|
|
410
420
|
CreateOrUpdateTagsCommandOutput,
|
|
421
|
+
| Cause.TimeoutException
|
|
411
422
|
| SdkError
|
|
412
423
|
| AlreadyExistsFaultError
|
|
413
424
|
| LimitExceededFaultError
|
|
@@ -423,7 +434,11 @@ interface AutoScalingService$ {
|
|
|
423
434
|
options?: HttpHandlerOptions,
|
|
424
435
|
): Effect.Effect<
|
|
425
436
|
DeleteAutoScalingGroupCommandOutput,
|
|
426
|
-
|
|
437
|
+
| Cause.TimeoutException
|
|
438
|
+
| SdkError
|
|
439
|
+
| ResourceContentionFaultError
|
|
440
|
+
| ResourceInUseFaultError
|
|
441
|
+
| ScalingActivityInProgressFaultError
|
|
427
442
|
>;
|
|
428
443
|
|
|
429
444
|
/**
|
|
@@ -434,7 +449,7 @@ interface AutoScalingService$ {
|
|
|
434
449
|
options?: HttpHandlerOptions,
|
|
435
450
|
): Effect.Effect<
|
|
436
451
|
DeleteLaunchConfigurationCommandOutput,
|
|
437
|
-
SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
452
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
438
453
|
>;
|
|
439
454
|
|
|
440
455
|
/**
|
|
@@ -445,7 +460,7 @@ interface AutoScalingService$ {
|
|
|
445
460
|
options?: HttpHandlerOptions,
|
|
446
461
|
): Effect.Effect<
|
|
447
462
|
DeleteLifecycleHookCommandOutput,
|
|
448
|
-
SdkError | ResourceContentionFaultError
|
|
463
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
449
464
|
>;
|
|
450
465
|
|
|
451
466
|
/**
|
|
@@ -456,7 +471,7 @@ interface AutoScalingService$ {
|
|
|
456
471
|
options?: HttpHandlerOptions,
|
|
457
472
|
): Effect.Effect<
|
|
458
473
|
DeleteNotificationConfigurationCommandOutput,
|
|
459
|
-
SdkError | ResourceContentionFaultError
|
|
474
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
460
475
|
>;
|
|
461
476
|
|
|
462
477
|
/**
|
|
@@ -467,7 +482,7 @@ interface AutoScalingService$ {
|
|
|
467
482
|
options?: HttpHandlerOptions,
|
|
468
483
|
): Effect.Effect<
|
|
469
484
|
DeletePolicyCommandOutput,
|
|
470
|
-
SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
485
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
471
486
|
>;
|
|
472
487
|
|
|
473
488
|
/**
|
|
@@ -478,7 +493,7 @@ interface AutoScalingService$ {
|
|
|
478
493
|
options?: HttpHandlerOptions,
|
|
479
494
|
): Effect.Effect<
|
|
480
495
|
DeleteScheduledActionCommandOutput,
|
|
481
|
-
SdkError | ResourceContentionFaultError
|
|
496
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
482
497
|
>;
|
|
483
498
|
|
|
484
499
|
/**
|
|
@@ -489,7 +504,7 @@ interface AutoScalingService$ {
|
|
|
489
504
|
options?: HttpHandlerOptions,
|
|
490
505
|
): Effect.Effect<
|
|
491
506
|
DeleteTagsCommandOutput,
|
|
492
|
-
SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
507
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
493
508
|
>;
|
|
494
509
|
|
|
495
510
|
/**
|
|
@@ -500,6 +515,7 @@ interface AutoScalingService$ {
|
|
|
500
515
|
options?: HttpHandlerOptions,
|
|
501
516
|
): Effect.Effect<
|
|
502
517
|
DeleteWarmPoolCommandOutput,
|
|
518
|
+
| Cause.TimeoutException
|
|
503
519
|
| SdkError
|
|
504
520
|
| LimitExceededFaultError
|
|
505
521
|
| ResourceContentionFaultError
|
|
@@ -515,7 +531,7 @@ interface AutoScalingService$ {
|
|
|
515
531
|
options?: HttpHandlerOptions,
|
|
516
532
|
): Effect.Effect<
|
|
517
533
|
DescribeAccountLimitsCommandOutput,
|
|
518
|
-
SdkError | ResourceContentionFaultError
|
|
534
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
519
535
|
>;
|
|
520
536
|
|
|
521
537
|
/**
|
|
@@ -526,7 +542,7 @@ interface AutoScalingService$ {
|
|
|
526
542
|
options?: HttpHandlerOptions,
|
|
527
543
|
): Effect.Effect<
|
|
528
544
|
DescribeAdjustmentTypesCommandOutput,
|
|
529
|
-
SdkError | ResourceContentionFaultError
|
|
545
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
530
546
|
>;
|
|
531
547
|
|
|
532
548
|
/**
|
|
@@ -537,7 +553,7 @@ interface AutoScalingService$ {
|
|
|
537
553
|
options?: HttpHandlerOptions,
|
|
538
554
|
): Effect.Effect<
|
|
539
555
|
DescribeAutoScalingGroupsCommandOutput,
|
|
540
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
556
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
541
557
|
>;
|
|
542
558
|
|
|
543
559
|
/**
|
|
@@ -548,7 +564,7 @@ interface AutoScalingService$ {
|
|
|
548
564
|
options?: HttpHandlerOptions,
|
|
549
565
|
): Effect.Effect<
|
|
550
566
|
DescribeAutoScalingInstancesCommandOutput,
|
|
551
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
567
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
552
568
|
>;
|
|
553
569
|
|
|
554
570
|
/**
|
|
@@ -559,7 +575,7 @@ interface AutoScalingService$ {
|
|
|
559
575
|
options?: HttpHandlerOptions,
|
|
560
576
|
): Effect.Effect<
|
|
561
577
|
DescribeAutoScalingNotificationTypesCommandOutput,
|
|
562
|
-
SdkError | ResourceContentionFaultError
|
|
578
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
563
579
|
>;
|
|
564
580
|
|
|
565
581
|
/**
|
|
@@ -570,7 +586,7 @@ interface AutoScalingService$ {
|
|
|
570
586
|
options?: HttpHandlerOptions,
|
|
571
587
|
): Effect.Effect<
|
|
572
588
|
DescribeInstanceRefreshesCommandOutput,
|
|
573
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
589
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
574
590
|
>;
|
|
575
591
|
|
|
576
592
|
/**
|
|
@@ -581,7 +597,7 @@ interface AutoScalingService$ {
|
|
|
581
597
|
options?: HttpHandlerOptions,
|
|
582
598
|
): Effect.Effect<
|
|
583
599
|
DescribeLaunchConfigurationsCommandOutput,
|
|
584
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
600
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
585
601
|
>;
|
|
586
602
|
|
|
587
603
|
/**
|
|
@@ -592,7 +608,7 @@ interface AutoScalingService$ {
|
|
|
592
608
|
options?: HttpHandlerOptions,
|
|
593
609
|
): Effect.Effect<
|
|
594
610
|
DescribeLifecycleHookTypesCommandOutput,
|
|
595
|
-
SdkError | ResourceContentionFaultError
|
|
611
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
596
612
|
>;
|
|
597
613
|
|
|
598
614
|
/**
|
|
@@ -603,7 +619,7 @@ interface AutoScalingService$ {
|
|
|
603
619
|
options?: HttpHandlerOptions,
|
|
604
620
|
): Effect.Effect<
|
|
605
621
|
DescribeLifecycleHooksCommandOutput,
|
|
606
|
-
SdkError | ResourceContentionFaultError
|
|
622
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
607
623
|
>;
|
|
608
624
|
|
|
609
625
|
/**
|
|
@@ -614,7 +630,7 @@ interface AutoScalingService$ {
|
|
|
614
630
|
options?: HttpHandlerOptions,
|
|
615
631
|
): Effect.Effect<
|
|
616
632
|
DescribeLoadBalancerTargetGroupsCommandOutput,
|
|
617
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
633
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
618
634
|
>;
|
|
619
635
|
|
|
620
636
|
/**
|
|
@@ -625,7 +641,7 @@ interface AutoScalingService$ {
|
|
|
625
641
|
options?: HttpHandlerOptions,
|
|
626
642
|
): Effect.Effect<
|
|
627
643
|
DescribeLoadBalancersCommandOutput,
|
|
628
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
644
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
629
645
|
>;
|
|
630
646
|
|
|
631
647
|
/**
|
|
@@ -636,7 +652,7 @@ interface AutoScalingService$ {
|
|
|
636
652
|
options?: HttpHandlerOptions,
|
|
637
653
|
): Effect.Effect<
|
|
638
654
|
DescribeMetricCollectionTypesCommandOutput,
|
|
639
|
-
SdkError | ResourceContentionFaultError
|
|
655
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
640
656
|
>;
|
|
641
657
|
|
|
642
658
|
/**
|
|
@@ -647,7 +663,7 @@ interface AutoScalingService$ {
|
|
|
647
663
|
options?: HttpHandlerOptions,
|
|
648
664
|
): Effect.Effect<
|
|
649
665
|
DescribeNotificationConfigurationsCommandOutput,
|
|
650
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
666
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
651
667
|
>;
|
|
652
668
|
|
|
653
669
|
/**
|
|
@@ -658,7 +674,7 @@ interface AutoScalingService$ {
|
|
|
658
674
|
options?: HttpHandlerOptions,
|
|
659
675
|
): Effect.Effect<
|
|
660
676
|
DescribePoliciesCommandOutput,
|
|
661
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
677
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
662
678
|
>;
|
|
663
679
|
|
|
664
680
|
/**
|
|
@@ -669,7 +685,7 @@ interface AutoScalingService$ {
|
|
|
669
685
|
options?: HttpHandlerOptions,
|
|
670
686
|
): Effect.Effect<
|
|
671
687
|
DescribeScalingActivitiesCommandOutput,
|
|
672
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
688
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
673
689
|
>;
|
|
674
690
|
|
|
675
691
|
/**
|
|
@@ -680,7 +696,7 @@ interface AutoScalingService$ {
|
|
|
680
696
|
options?: HttpHandlerOptions,
|
|
681
697
|
): Effect.Effect<
|
|
682
698
|
DescribeScalingProcessTypesCommandOutput,
|
|
683
|
-
SdkError | ResourceContentionFaultError
|
|
699
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
684
700
|
>;
|
|
685
701
|
|
|
686
702
|
/**
|
|
@@ -691,7 +707,7 @@ interface AutoScalingService$ {
|
|
|
691
707
|
options?: HttpHandlerOptions,
|
|
692
708
|
): Effect.Effect<
|
|
693
709
|
DescribeScheduledActionsCommandOutput,
|
|
694
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
710
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
695
711
|
>;
|
|
696
712
|
|
|
697
713
|
/**
|
|
@@ -702,7 +718,7 @@ interface AutoScalingService$ {
|
|
|
702
718
|
options?: HttpHandlerOptions,
|
|
703
719
|
): Effect.Effect<
|
|
704
720
|
DescribeTagsCommandOutput,
|
|
705
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
721
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
706
722
|
>;
|
|
707
723
|
|
|
708
724
|
/**
|
|
@@ -713,7 +729,7 @@ interface AutoScalingService$ {
|
|
|
713
729
|
options?: HttpHandlerOptions,
|
|
714
730
|
): Effect.Effect<
|
|
715
731
|
DescribeTerminationPolicyTypesCommandOutput,
|
|
716
|
-
SdkError | ResourceContentionFaultError
|
|
732
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
717
733
|
>;
|
|
718
734
|
|
|
719
735
|
/**
|
|
@@ -724,7 +740,7 @@ interface AutoScalingService$ {
|
|
|
724
740
|
options?: HttpHandlerOptions,
|
|
725
741
|
): Effect.Effect<
|
|
726
742
|
DescribeTrafficSourcesCommandOutput,
|
|
727
|
-
SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
743
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | ResourceContentionFaultError
|
|
728
744
|
>;
|
|
729
745
|
|
|
730
746
|
/**
|
|
@@ -735,7 +751,7 @@ interface AutoScalingService$ {
|
|
|
735
751
|
options?: HttpHandlerOptions,
|
|
736
752
|
): Effect.Effect<
|
|
737
753
|
DescribeWarmPoolCommandOutput,
|
|
738
|
-
SdkError | InvalidNextTokenError | LimitExceededFaultError | ResourceContentionFaultError
|
|
754
|
+
Cause.TimeoutException | SdkError | InvalidNextTokenError | LimitExceededFaultError | ResourceContentionFaultError
|
|
739
755
|
>;
|
|
740
756
|
|
|
741
757
|
/**
|
|
@@ -746,7 +762,7 @@ interface AutoScalingService$ {
|
|
|
746
762
|
options?: HttpHandlerOptions,
|
|
747
763
|
): Effect.Effect<
|
|
748
764
|
DetachInstancesCommandOutput,
|
|
749
|
-
SdkError | ResourceContentionFaultError
|
|
765
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
750
766
|
>;
|
|
751
767
|
|
|
752
768
|
/**
|
|
@@ -757,7 +773,7 @@ interface AutoScalingService$ {
|
|
|
757
773
|
options?: HttpHandlerOptions,
|
|
758
774
|
): Effect.Effect<
|
|
759
775
|
DetachLoadBalancerTargetGroupsCommandOutput,
|
|
760
|
-
SdkError | ResourceContentionFaultError
|
|
776
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
761
777
|
>;
|
|
762
778
|
|
|
763
779
|
/**
|
|
@@ -768,7 +784,7 @@ interface AutoScalingService$ {
|
|
|
768
784
|
options?: HttpHandlerOptions,
|
|
769
785
|
): Effect.Effect<
|
|
770
786
|
DetachLoadBalancersCommandOutput,
|
|
771
|
-
SdkError | ResourceContentionFaultError
|
|
787
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
772
788
|
>;
|
|
773
789
|
|
|
774
790
|
/**
|
|
@@ -779,7 +795,7 @@ interface AutoScalingService$ {
|
|
|
779
795
|
options?: HttpHandlerOptions,
|
|
780
796
|
): Effect.Effect<
|
|
781
797
|
DetachTrafficSourcesCommandOutput,
|
|
782
|
-
SdkError | ResourceContentionFaultError
|
|
798
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
783
799
|
>;
|
|
784
800
|
|
|
785
801
|
/**
|
|
@@ -790,7 +806,7 @@ interface AutoScalingService$ {
|
|
|
790
806
|
options?: HttpHandlerOptions,
|
|
791
807
|
): Effect.Effect<
|
|
792
808
|
DisableMetricsCollectionCommandOutput,
|
|
793
|
-
SdkError | ResourceContentionFaultError
|
|
809
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
794
810
|
>;
|
|
795
811
|
|
|
796
812
|
/**
|
|
@@ -801,7 +817,7 @@ interface AutoScalingService$ {
|
|
|
801
817
|
options?: HttpHandlerOptions,
|
|
802
818
|
): Effect.Effect<
|
|
803
819
|
EnableMetricsCollectionCommandOutput,
|
|
804
|
-
SdkError | ResourceContentionFaultError
|
|
820
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
805
821
|
>;
|
|
806
822
|
|
|
807
823
|
/**
|
|
@@ -812,7 +828,7 @@ interface AutoScalingService$ {
|
|
|
812
828
|
options?: HttpHandlerOptions,
|
|
813
829
|
): Effect.Effect<
|
|
814
830
|
EnterStandbyCommandOutput,
|
|
815
|
-
SdkError | ResourceContentionFaultError
|
|
831
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
816
832
|
>;
|
|
817
833
|
|
|
818
834
|
/**
|
|
@@ -823,7 +839,7 @@ interface AutoScalingService$ {
|
|
|
823
839
|
options?: HttpHandlerOptions,
|
|
824
840
|
): Effect.Effect<
|
|
825
841
|
ExecutePolicyCommandOutput,
|
|
826
|
-
SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
|
|
842
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
|
|
827
843
|
>;
|
|
828
844
|
|
|
829
845
|
/**
|
|
@@ -834,7 +850,7 @@ interface AutoScalingService$ {
|
|
|
834
850
|
options?: HttpHandlerOptions,
|
|
835
851
|
): Effect.Effect<
|
|
836
852
|
ExitStandbyCommandOutput,
|
|
837
|
-
SdkError | ResourceContentionFaultError
|
|
853
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
838
854
|
>;
|
|
839
855
|
|
|
840
856
|
/**
|
|
@@ -845,7 +861,7 @@ interface AutoScalingService$ {
|
|
|
845
861
|
options?: HttpHandlerOptions,
|
|
846
862
|
): Effect.Effect<
|
|
847
863
|
GetPredictiveScalingForecastCommandOutput,
|
|
848
|
-
SdkError | ResourceContentionFaultError
|
|
864
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
849
865
|
>;
|
|
850
866
|
|
|
851
867
|
/**
|
|
@@ -856,7 +872,7 @@ interface AutoScalingService$ {
|
|
|
856
872
|
options?: HttpHandlerOptions,
|
|
857
873
|
): Effect.Effect<
|
|
858
874
|
PutLifecycleHookCommandOutput,
|
|
859
|
-
SdkError | LimitExceededFaultError | ResourceContentionFaultError
|
|
875
|
+
Cause.TimeoutException | SdkError | LimitExceededFaultError | ResourceContentionFaultError
|
|
860
876
|
>;
|
|
861
877
|
|
|
862
878
|
/**
|
|
@@ -867,7 +883,7 @@ interface AutoScalingService$ {
|
|
|
867
883
|
options?: HttpHandlerOptions,
|
|
868
884
|
): Effect.Effect<
|
|
869
885
|
PutNotificationConfigurationCommandOutput,
|
|
870
|
-
SdkError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
886
|
+
Cause.TimeoutException | SdkError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
871
887
|
>;
|
|
872
888
|
|
|
873
889
|
/**
|
|
@@ -878,7 +894,7 @@ interface AutoScalingService$ {
|
|
|
878
894
|
options?: HttpHandlerOptions,
|
|
879
895
|
): Effect.Effect<
|
|
880
896
|
PutScalingPolicyCommandOutput,
|
|
881
|
-
SdkError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
897
|
+
Cause.TimeoutException | SdkError | LimitExceededFaultError | ResourceContentionFaultError | ServiceLinkedRoleError
|
|
882
898
|
>;
|
|
883
899
|
|
|
884
900
|
/**
|
|
@@ -889,7 +905,7 @@ interface AutoScalingService$ {
|
|
|
889
905
|
options?: HttpHandlerOptions,
|
|
890
906
|
): Effect.Effect<
|
|
891
907
|
PutScheduledUpdateGroupActionCommandOutput,
|
|
892
|
-
SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
|
|
908
|
+
Cause.TimeoutException | SdkError | AlreadyExistsFaultError | LimitExceededFaultError | ResourceContentionFaultError
|
|
893
909
|
>;
|
|
894
910
|
|
|
895
911
|
/**
|
|
@@ -900,7 +916,7 @@ interface AutoScalingService$ {
|
|
|
900
916
|
options?: HttpHandlerOptions,
|
|
901
917
|
): Effect.Effect<
|
|
902
918
|
PutWarmPoolCommandOutput,
|
|
903
|
-
SdkError | LimitExceededFaultError | ResourceContentionFaultError
|
|
919
|
+
Cause.TimeoutException | SdkError | LimitExceededFaultError | ResourceContentionFaultError
|
|
904
920
|
>;
|
|
905
921
|
|
|
906
922
|
/**
|
|
@@ -911,7 +927,7 @@ interface AutoScalingService$ {
|
|
|
911
927
|
options?: HttpHandlerOptions,
|
|
912
928
|
): Effect.Effect<
|
|
913
929
|
RecordLifecycleActionHeartbeatCommandOutput,
|
|
914
|
-
SdkError | ResourceContentionFaultError
|
|
930
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
915
931
|
>;
|
|
916
932
|
|
|
917
933
|
/**
|
|
@@ -922,7 +938,7 @@ interface AutoScalingService$ {
|
|
|
922
938
|
options?: HttpHandlerOptions,
|
|
923
939
|
): Effect.Effect<
|
|
924
940
|
ResumeProcessesCommandOutput,
|
|
925
|
-
SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
941
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
926
942
|
>;
|
|
927
943
|
|
|
928
944
|
/**
|
|
@@ -933,6 +949,7 @@ interface AutoScalingService$ {
|
|
|
933
949
|
options?: HttpHandlerOptions,
|
|
934
950
|
): Effect.Effect<
|
|
935
951
|
RollbackInstanceRefreshCommandOutput,
|
|
952
|
+
| Cause.TimeoutException
|
|
936
953
|
| SdkError
|
|
937
954
|
| ActiveInstanceRefreshNotFoundFaultError
|
|
938
955
|
| IrreversibleInstanceRefreshFaultError
|
|
@@ -948,7 +965,7 @@ interface AutoScalingService$ {
|
|
|
948
965
|
options?: HttpHandlerOptions,
|
|
949
966
|
): Effect.Effect<
|
|
950
967
|
SetDesiredCapacityCommandOutput,
|
|
951
|
-
SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
|
|
968
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
|
|
952
969
|
>;
|
|
953
970
|
|
|
954
971
|
/**
|
|
@@ -959,7 +976,7 @@ interface AutoScalingService$ {
|
|
|
959
976
|
options?: HttpHandlerOptions,
|
|
960
977
|
): Effect.Effect<
|
|
961
978
|
SetInstanceHealthCommandOutput,
|
|
962
|
-
SdkError | ResourceContentionFaultError
|
|
979
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError
|
|
963
980
|
>;
|
|
964
981
|
|
|
965
982
|
/**
|
|
@@ -970,7 +987,7 @@ interface AutoScalingService$ {
|
|
|
970
987
|
options?: HttpHandlerOptions,
|
|
971
988
|
): Effect.Effect<
|
|
972
989
|
SetInstanceProtectionCommandOutput,
|
|
973
|
-
SdkError | LimitExceededFaultError | ResourceContentionFaultError
|
|
990
|
+
Cause.TimeoutException | SdkError | LimitExceededFaultError | ResourceContentionFaultError
|
|
974
991
|
>;
|
|
975
992
|
|
|
976
993
|
/**
|
|
@@ -981,7 +998,11 @@ interface AutoScalingService$ {
|
|
|
981
998
|
options?: HttpHandlerOptions,
|
|
982
999
|
): Effect.Effect<
|
|
983
1000
|
StartInstanceRefreshCommandOutput,
|
|
984
|
-
|
|
1001
|
+
| Cause.TimeoutException
|
|
1002
|
+
| SdkError
|
|
1003
|
+
| InstanceRefreshInProgressFaultError
|
|
1004
|
+
| LimitExceededFaultError
|
|
1005
|
+
| ResourceContentionFaultError
|
|
985
1006
|
>;
|
|
986
1007
|
|
|
987
1008
|
/**
|
|
@@ -992,7 +1013,7 @@ interface AutoScalingService$ {
|
|
|
992
1013
|
options?: HttpHandlerOptions,
|
|
993
1014
|
): Effect.Effect<
|
|
994
1015
|
SuspendProcessesCommandOutput,
|
|
995
|
-
SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
1016
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ResourceInUseFaultError
|
|
996
1017
|
>;
|
|
997
1018
|
|
|
998
1019
|
/**
|
|
@@ -1003,7 +1024,7 @@ interface AutoScalingService$ {
|
|
|
1003
1024
|
options?: HttpHandlerOptions,
|
|
1004
1025
|
): Effect.Effect<
|
|
1005
1026
|
TerminateInstanceInAutoScalingGroupCommandOutput,
|
|
1006
|
-
SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
|
|
1027
|
+
Cause.TimeoutException | SdkError | ResourceContentionFaultError | ScalingActivityInProgressFaultError
|
|
1007
1028
|
>;
|
|
1008
1029
|
|
|
1009
1030
|
/**
|
|
@@ -1014,7 +1035,11 @@ interface AutoScalingService$ {
|
|
|
1014
1035
|
options?: HttpHandlerOptions,
|
|
1015
1036
|
): Effect.Effect<
|
|
1016
1037
|
UpdateAutoScalingGroupCommandOutput,
|
|
1017
|
-
|
|
1038
|
+
| Cause.TimeoutException
|
|
1039
|
+
| SdkError
|
|
1040
|
+
| ResourceContentionFaultError
|
|
1041
|
+
| ScalingActivityInProgressFaultError
|
|
1042
|
+
| ServiceLinkedRoleError
|
|
1018
1043
|
>;
|
|
1019
1044
|
}
|
|
1020
1045
|
|
|
@@ -1025,7 +1050,7 @@ interface AutoScalingService$ {
|
|
|
1025
1050
|
export const makeAutoScalingService = Effect.gen(function*() {
|
|
1026
1051
|
const client = yield* Instance.AutoScalingClientInstance;
|
|
1027
1052
|
|
|
1028
|
-
return Service.fromClientAndCommands<AutoScalingService$>(
|
|
1053
|
+
return yield* Service.fromClientAndCommands<AutoScalingService$>(
|
|
1029
1054
|
client,
|
|
1030
1055
|
commands,
|
|
1031
1056
|
{
|