@effect-aws/client-auto-scaling 1.9.5 → 1.10.2

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