@effect-aws/client-cloudwatch-logs 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.
@@ -272,8 +272,9 @@ import {
272
272
  type UpdateLogAnomalyDetectorCommandInput,
273
273
  type UpdateLogAnomalyDetectorCommandOutput,
274
274
  } from "@aws-sdk/client-cloudwatch-logs";
275
- import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
275
+ import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
276
276
  import { Service } from "@effect-aws/commons";
277
+ import type { Cause } from "effect";
277
278
  import { Effect, Layer } from "effect";
278
279
  import * as Instance from "./CloudWatchLogsClientInstance.js";
279
280
  import * as CloudWatchLogsServiceConfig from "./CloudWatchLogsServiceConfig.js";
@@ -289,6 +290,7 @@ import type {
289
290
  OperationAbortedError,
290
291
  ResourceAlreadyExistsError,
291
292
  ResourceNotFoundError,
293
+ SdkError,
292
294
  ServiceQuotaExceededError,
293
295
  ServiceUnavailableError,
294
296
  ThrottlingError,
@@ -401,7 +403,12 @@ interface CloudWatchLogsService$ {
401
403
  options?: HttpHandlerOptions,
402
404
  ): Effect.Effect<
403
405
  AssociateKmsKeyCommandOutput,
404
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
406
+ | Cause.TimeoutException
407
+ | SdkError
408
+ | InvalidParameterError
409
+ | OperationAbortedError
410
+ | ResourceNotFoundError
411
+ | ServiceUnavailableError
405
412
  >;
406
413
 
407
414
  /**
@@ -412,7 +419,12 @@ interface CloudWatchLogsService$ {
412
419
  options?: HttpHandlerOptions,
413
420
  ): Effect.Effect<
414
421
  CancelExportTaskCommandOutput,
415
- SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
422
+ | Cause.TimeoutException
423
+ | SdkError
424
+ | InvalidOperationError
425
+ | InvalidParameterError
426
+ | ResourceNotFoundError
427
+ | ServiceUnavailableError
416
428
  >;
417
429
 
418
430
  /**
@@ -423,6 +435,7 @@ interface CloudWatchLogsService$ {
423
435
  options?: HttpHandlerOptions,
424
436
  ): Effect.Effect<
425
437
  CreateDeliveryCommandOutput,
438
+ | Cause.TimeoutException
426
439
  | SdkError
427
440
  | AccessDeniedError
428
441
  | ConflictError
@@ -441,6 +454,7 @@ interface CloudWatchLogsService$ {
441
454
  options?: HttpHandlerOptions,
442
455
  ): Effect.Effect<
443
456
  CreateExportTaskCommandOutput,
457
+ | Cause.TimeoutException
444
458
  | SdkError
445
459
  | InvalidParameterError
446
460
  | LimitExceededError
@@ -458,6 +472,7 @@ interface CloudWatchLogsService$ {
458
472
  options?: HttpHandlerOptions,
459
473
  ): Effect.Effect<
460
474
  CreateLogAnomalyDetectorCommandOutput,
475
+ | Cause.TimeoutException
461
476
  | SdkError
462
477
  | InvalidParameterError
463
478
  | LimitExceededError
@@ -474,6 +489,7 @@ interface CloudWatchLogsService$ {
474
489
  options?: HttpHandlerOptions,
475
490
  ): Effect.Effect<
476
491
  CreateLogGroupCommandOutput,
492
+ | Cause.TimeoutException
477
493
  | SdkError
478
494
  | InvalidParameterError
479
495
  | LimitExceededError
@@ -490,7 +506,12 @@ interface CloudWatchLogsService$ {
490
506
  options?: HttpHandlerOptions,
491
507
  ): Effect.Effect<
492
508
  CreateLogStreamCommandOutput,
493
- SdkError | InvalidParameterError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError
509
+ | Cause.TimeoutException
510
+ | SdkError
511
+ | InvalidParameterError
512
+ | ResourceAlreadyExistsError
513
+ | ResourceNotFoundError
514
+ | ServiceUnavailableError
494
515
  >;
495
516
 
496
517
  /**
@@ -501,7 +522,12 @@ interface CloudWatchLogsService$ {
501
522
  options?: HttpHandlerOptions,
502
523
  ): Effect.Effect<
503
524
  DeleteAccountPolicyCommandOutput,
504
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
525
+ | Cause.TimeoutException
526
+ | SdkError
527
+ | InvalidParameterError
528
+ | OperationAbortedError
529
+ | ResourceNotFoundError
530
+ | ServiceUnavailableError
505
531
  >;
506
532
 
507
533
  /**
@@ -512,7 +538,12 @@ interface CloudWatchLogsService$ {
512
538
  options?: HttpHandlerOptions,
513
539
  ): Effect.Effect<
514
540
  DeleteDataProtectionPolicyCommandOutput,
515
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
541
+ | Cause.TimeoutException
542
+ | SdkError
543
+ | InvalidParameterError
544
+ | OperationAbortedError
545
+ | ResourceNotFoundError
546
+ | ServiceUnavailableError
516
547
  >;
517
548
 
518
549
  /**
@@ -523,6 +554,7 @@ interface CloudWatchLogsService$ {
523
554
  options?: HttpHandlerOptions,
524
555
  ): Effect.Effect<
525
556
  DeleteDeliveryCommandOutput,
557
+ | Cause.TimeoutException
526
558
  | SdkError
527
559
  | ConflictError
528
560
  | ResourceNotFoundError
@@ -540,6 +572,7 @@ interface CloudWatchLogsService$ {
540
572
  options?: HttpHandlerOptions,
541
573
  ): Effect.Effect<
542
574
  DeleteDeliveryDestinationCommandOutput,
575
+ | Cause.TimeoutException
543
576
  | SdkError
544
577
  | ConflictError
545
578
  | ResourceNotFoundError
@@ -557,7 +590,12 @@ interface CloudWatchLogsService$ {
557
590
  options?: HttpHandlerOptions,
558
591
  ): Effect.Effect<
559
592
  DeleteDeliveryDestinationPolicyCommandOutput,
560
- SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
593
+ | Cause.TimeoutException
594
+ | SdkError
595
+ | ConflictError
596
+ | ResourceNotFoundError
597
+ | ServiceUnavailableError
598
+ | ValidationError
561
599
  >;
562
600
 
563
601
  /**
@@ -568,6 +606,7 @@ interface CloudWatchLogsService$ {
568
606
  options?: HttpHandlerOptions,
569
607
  ): Effect.Effect<
570
608
  DeleteDeliverySourceCommandOutput,
609
+ | Cause.TimeoutException
571
610
  | SdkError
572
611
  | ConflictError
573
612
  | ResourceNotFoundError
@@ -585,7 +624,12 @@ interface CloudWatchLogsService$ {
585
624
  options?: HttpHandlerOptions,
586
625
  ): Effect.Effect<
587
626
  DeleteDestinationCommandOutput,
588
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
627
+ | Cause.TimeoutException
628
+ | SdkError
629
+ | InvalidParameterError
630
+ | OperationAbortedError
631
+ | ResourceNotFoundError
632
+ | ServiceUnavailableError
589
633
  >;
590
634
 
591
635
  /**
@@ -596,6 +640,7 @@ interface CloudWatchLogsService$ {
596
640
  options?: HttpHandlerOptions,
597
641
  ): Effect.Effect<
598
642
  DeleteIndexPolicyCommandOutput,
643
+ | Cause.TimeoutException
599
644
  | SdkError
600
645
  | InvalidParameterError
601
646
  | LimitExceededError
@@ -612,7 +657,12 @@ interface CloudWatchLogsService$ {
612
657
  options?: HttpHandlerOptions,
613
658
  ): Effect.Effect<
614
659
  DeleteIntegrationCommandOutput,
615
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
660
+ | Cause.TimeoutException
661
+ | SdkError
662
+ | InvalidParameterError
663
+ | ResourceNotFoundError
664
+ | ServiceUnavailableError
665
+ | ValidationError
616
666
  >;
617
667
 
618
668
  /**
@@ -623,7 +673,12 @@ interface CloudWatchLogsService$ {
623
673
  options?: HttpHandlerOptions,
624
674
  ): Effect.Effect<
625
675
  DeleteLogAnomalyDetectorCommandOutput,
626
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
676
+ | Cause.TimeoutException
677
+ | SdkError
678
+ | InvalidParameterError
679
+ | OperationAbortedError
680
+ | ResourceNotFoundError
681
+ | ServiceUnavailableError
627
682
  >;
628
683
 
629
684
  /**
@@ -634,7 +689,12 @@ interface CloudWatchLogsService$ {
634
689
  options?: HttpHandlerOptions,
635
690
  ): Effect.Effect<
636
691
  DeleteLogGroupCommandOutput,
637
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
692
+ | Cause.TimeoutException
693
+ | SdkError
694
+ | InvalidParameterError
695
+ | OperationAbortedError
696
+ | ResourceNotFoundError
697
+ | ServiceUnavailableError
638
698
  >;
639
699
 
640
700
  /**
@@ -645,7 +705,12 @@ interface CloudWatchLogsService$ {
645
705
  options?: HttpHandlerOptions,
646
706
  ): Effect.Effect<
647
707
  DeleteLogStreamCommandOutput,
648
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
708
+ | Cause.TimeoutException
709
+ | SdkError
710
+ | InvalidParameterError
711
+ | OperationAbortedError
712
+ | ResourceNotFoundError
713
+ | ServiceUnavailableError
649
714
  >;
650
715
 
651
716
  /**
@@ -656,7 +721,12 @@ interface CloudWatchLogsService$ {
656
721
  options?: HttpHandlerOptions,
657
722
  ): Effect.Effect<
658
723
  DeleteMetricFilterCommandOutput,
659
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
724
+ | Cause.TimeoutException
725
+ | SdkError
726
+ | InvalidParameterError
727
+ | OperationAbortedError
728
+ | ResourceNotFoundError
729
+ | ServiceUnavailableError
660
730
  >;
661
731
 
662
732
  /**
@@ -667,7 +737,7 @@ interface CloudWatchLogsService$ {
667
737
  options?: HttpHandlerOptions,
668
738
  ): Effect.Effect<
669
739
  DeleteQueryDefinitionCommandOutput,
670
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
740
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
671
741
  >;
672
742
 
673
743
  /**
@@ -678,7 +748,7 @@ interface CloudWatchLogsService$ {
678
748
  options?: HttpHandlerOptions,
679
749
  ): Effect.Effect<
680
750
  DeleteResourcePolicyCommandOutput,
681
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
751
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
682
752
  >;
683
753
 
684
754
  /**
@@ -689,7 +759,12 @@ interface CloudWatchLogsService$ {
689
759
  options?: HttpHandlerOptions,
690
760
  ): Effect.Effect<
691
761
  DeleteRetentionPolicyCommandOutput,
692
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
762
+ | Cause.TimeoutException
763
+ | SdkError
764
+ | InvalidParameterError
765
+ | OperationAbortedError
766
+ | ResourceNotFoundError
767
+ | ServiceUnavailableError
693
768
  >;
694
769
 
695
770
  /**
@@ -700,7 +775,12 @@ interface CloudWatchLogsService$ {
700
775
  options?: HttpHandlerOptions,
701
776
  ): Effect.Effect<
702
777
  DeleteSubscriptionFilterCommandOutput,
703
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
778
+ | Cause.TimeoutException
779
+ | SdkError
780
+ | InvalidParameterError
781
+ | OperationAbortedError
782
+ | ResourceNotFoundError
783
+ | ServiceUnavailableError
704
784
  >;
705
785
 
706
786
  /**
@@ -711,6 +791,7 @@ interface CloudWatchLogsService$ {
711
791
  options?: HttpHandlerOptions,
712
792
  ): Effect.Effect<
713
793
  DeleteTransformerCommandOutput,
794
+ | Cause.TimeoutException
714
795
  | SdkError
715
796
  | InvalidOperationError
716
797
  | InvalidParameterError
@@ -727,7 +808,12 @@ interface CloudWatchLogsService$ {
727
808
  options?: HttpHandlerOptions,
728
809
  ): Effect.Effect<
729
810
  DescribeAccountPoliciesCommandOutput,
730
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
811
+ | Cause.TimeoutException
812
+ | SdkError
813
+ | InvalidParameterError
814
+ | OperationAbortedError
815
+ | ResourceNotFoundError
816
+ | ServiceUnavailableError
731
817
  >;
732
818
 
733
819
  /**
@@ -738,7 +824,12 @@ interface CloudWatchLogsService$ {
738
824
  options?: HttpHandlerOptions,
739
825
  ): Effect.Effect<
740
826
  DescribeConfigurationTemplatesCommandOutput,
741
- SdkError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError
827
+ | Cause.TimeoutException
828
+ | SdkError
829
+ | ResourceNotFoundError
830
+ | ServiceUnavailableError
831
+ | ThrottlingError
832
+ | ValidationError
742
833
  >;
743
834
 
744
835
  /**
@@ -749,7 +840,12 @@ interface CloudWatchLogsService$ {
749
840
  options?: HttpHandlerOptions,
750
841
  ): Effect.Effect<
751
842
  DescribeDeliveriesCommandOutput,
752
- SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError
843
+ | Cause.TimeoutException
844
+ | SdkError
845
+ | ServiceQuotaExceededError
846
+ | ServiceUnavailableError
847
+ | ThrottlingError
848
+ | ValidationError
753
849
  >;
754
850
 
755
851
  /**
@@ -760,7 +856,12 @@ interface CloudWatchLogsService$ {
760
856
  options?: HttpHandlerOptions,
761
857
  ): Effect.Effect<
762
858
  DescribeDeliveryDestinationsCommandOutput,
763
- SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError
859
+ | Cause.TimeoutException
860
+ | SdkError
861
+ | ServiceQuotaExceededError
862
+ | ServiceUnavailableError
863
+ | ThrottlingError
864
+ | ValidationError
764
865
  >;
765
866
 
766
867
  /**
@@ -771,7 +872,12 @@ interface CloudWatchLogsService$ {
771
872
  options?: HttpHandlerOptions,
772
873
  ): Effect.Effect<
773
874
  DescribeDeliverySourcesCommandOutput,
774
- SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError
875
+ | Cause.TimeoutException
876
+ | SdkError
877
+ | ServiceQuotaExceededError
878
+ | ServiceUnavailableError
879
+ | ThrottlingError
880
+ | ValidationError
775
881
  >;
776
882
 
777
883
  /**
@@ -782,7 +888,7 @@ interface CloudWatchLogsService$ {
782
888
  options?: HttpHandlerOptions,
783
889
  ): Effect.Effect<
784
890
  DescribeDestinationsCommandOutput,
785
- SdkError | InvalidParameterError | ServiceUnavailableError
891
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
786
892
  >;
787
893
 
788
894
  /**
@@ -793,7 +899,7 @@ interface CloudWatchLogsService$ {
793
899
  options?: HttpHandlerOptions,
794
900
  ): Effect.Effect<
795
901
  DescribeExportTasksCommandOutput,
796
- SdkError | InvalidParameterError | ServiceUnavailableError
902
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
797
903
  >;
798
904
 
799
905
  /**
@@ -804,6 +910,7 @@ interface CloudWatchLogsService$ {
804
910
  options?: HttpHandlerOptions,
805
911
  ): Effect.Effect<
806
912
  DescribeFieldIndexesCommandOutput,
913
+ | Cause.TimeoutException
807
914
  | SdkError
808
915
  | InvalidParameterError
809
916
  | LimitExceededError
@@ -820,6 +927,7 @@ interface CloudWatchLogsService$ {
820
927
  options?: HttpHandlerOptions,
821
928
  ): Effect.Effect<
822
929
  DescribeIndexPoliciesCommandOutput,
930
+ | Cause.TimeoutException
823
931
  | SdkError
824
932
  | InvalidParameterError
825
933
  | LimitExceededError
@@ -836,7 +944,7 @@ interface CloudWatchLogsService$ {
836
944
  options?: HttpHandlerOptions,
837
945
  ): Effect.Effect<
838
946
  DescribeLogGroupsCommandOutput,
839
- SdkError | InvalidParameterError | ServiceUnavailableError
947
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
840
948
  >;
841
949
 
842
950
  /**
@@ -847,7 +955,7 @@ interface CloudWatchLogsService$ {
847
955
  options?: HttpHandlerOptions,
848
956
  ): Effect.Effect<
849
957
  DescribeLogStreamsCommandOutput,
850
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
958
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
851
959
  >;
852
960
 
853
961
  /**
@@ -858,7 +966,7 @@ interface CloudWatchLogsService$ {
858
966
  options?: HttpHandlerOptions,
859
967
  ): Effect.Effect<
860
968
  DescribeMetricFiltersCommandOutput,
861
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
969
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
862
970
  >;
863
971
 
864
972
  /**
@@ -869,7 +977,7 @@ interface CloudWatchLogsService$ {
869
977
  options?: HttpHandlerOptions,
870
978
  ): Effect.Effect<
871
979
  DescribeQueriesCommandOutput,
872
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
980
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
873
981
  >;
874
982
 
875
983
  /**
@@ -880,7 +988,7 @@ interface CloudWatchLogsService$ {
880
988
  options?: HttpHandlerOptions,
881
989
  ): Effect.Effect<
882
990
  DescribeQueryDefinitionsCommandOutput,
883
- SdkError | InvalidParameterError | ServiceUnavailableError
991
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
884
992
  >;
885
993
 
886
994
  /**
@@ -891,7 +999,7 @@ interface CloudWatchLogsService$ {
891
999
  options?: HttpHandlerOptions,
892
1000
  ): Effect.Effect<
893
1001
  DescribeResourcePoliciesCommandOutput,
894
- SdkError | InvalidParameterError | ServiceUnavailableError
1002
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
895
1003
  >;
896
1004
 
897
1005
  /**
@@ -902,7 +1010,7 @@ interface CloudWatchLogsService$ {
902
1010
  options?: HttpHandlerOptions,
903
1011
  ): Effect.Effect<
904
1012
  DescribeSubscriptionFiltersCommandOutput,
905
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1013
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
906
1014
  >;
907
1015
 
908
1016
  /**
@@ -913,7 +1021,12 @@ interface CloudWatchLogsService$ {
913
1021
  options?: HttpHandlerOptions,
914
1022
  ): Effect.Effect<
915
1023
  DisassociateKmsKeyCommandOutput,
916
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1024
+ | Cause.TimeoutException
1025
+ | SdkError
1026
+ | InvalidParameterError
1027
+ | OperationAbortedError
1028
+ | ResourceNotFoundError
1029
+ | ServiceUnavailableError
917
1030
  >;
918
1031
 
919
1032
  /**
@@ -924,7 +1037,7 @@ interface CloudWatchLogsService$ {
924
1037
  options?: HttpHandlerOptions,
925
1038
  ): Effect.Effect<
926
1039
  FilterLogEventsCommandOutput,
927
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1040
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
928
1041
  >;
929
1042
 
930
1043
  /**
@@ -935,7 +1048,12 @@ interface CloudWatchLogsService$ {
935
1048
  options?: HttpHandlerOptions,
936
1049
  ): Effect.Effect<
937
1050
  GetDataProtectionPolicyCommandOutput,
938
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1051
+ | Cause.TimeoutException
1052
+ | SdkError
1053
+ | InvalidParameterError
1054
+ | OperationAbortedError
1055
+ | ResourceNotFoundError
1056
+ | ServiceUnavailableError
939
1057
  >;
940
1058
 
941
1059
  /**
@@ -946,6 +1064,7 @@ interface CloudWatchLogsService$ {
946
1064
  options?: HttpHandlerOptions,
947
1065
  ): Effect.Effect<
948
1066
  GetDeliveryCommandOutput,
1067
+ | Cause.TimeoutException
949
1068
  | SdkError
950
1069
  | ResourceNotFoundError
951
1070
  | ServiceQuotaExceededError
@@ -962,6 +1081,7 @@ interface CloudWatchLogsService$ {
962
1081
  options?: HttpHandlerOptions,
963
1082
  ): Effect.Effect<
964
1083
  GetDeliveryDestinationCommandOutput,
1084
+ | Cause.TimeoutException
965
1085
  | SdkError
966
1086
  | ResourceNotFoundError
967
1087
  | ServiceQuotaExceededError
@@ -978,7 +1098,7 @@ interface CloudWatchLogsService$ {
978
1098
  options?: HttpHandlerOptions,
979
1099
  ): Effect.Effect<
980
1100
  GetDeliveryDestinationPolicyCommandOutput,
981
- SdkError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
1101
+ Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
982
1102
  >;
983
1103
 
984
1104
  /**
@@ -989,6 +1109,7 @@ interface CloudWatchLogsService$ {
989
1109
  options?: HttpHandlerOptions,
990
1110
  ): Effect.Effect<
991
1111
  GetDeliverySourceCommandOutput,
1112
+ | Cause.TimeoutException
992
1113
  | SdkError
993
1114
  | ResourceNotFoundError
994
1115
  | ServiceQuotaExceededError
@@ -1005,7 +1126,7 @@ interface CloudWatchLogsService$ {
1005
1126
  options?: HttpHandlerOptions,
1006
1127
  ): Effect.Effect<
1007
1128
  GetIntegrationCommandOutput,
1008
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1129
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1009
1130
  >;
1010
1131
 
1011
1132
  /**
@@ -1016,7 +1137,12 @@ interface CloudWatchLogsService$ {
1016
1137
  options?: HttpHandlerOptions,
1017
1138
  ): Effect.Effect<
1018
1139
  GetLogAnomalyDetectorCommandOutput,
1019
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1140
+ | Cause.TimeoutException
1141
+ | SdkError
1142
+ | InvalidParameterError
1143
+ | OperationAbortedError
1144
+ | ResourceNotFoundError
1145
+ | ServiceUnavailableError
1020
1146
  >;
1021
1147
 
1022
1148
  /**
@@ -1027,7 +1153,7 @@ interface CloudWatchLogsService$ {
1027
1153
  options?: HttpHandlerOptions,
1028
1154
  ): Effect.Effect<
1029
1155
  GetLogEventsCommandOutput,
1030
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1156
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1031
1157
  >;
1032
1158
 
1033
1159
  /**
@@ -1038,7 +1164,12 @@ interface CloudWatchLogsService$ {
1038
1164
  options?: HttpHandlerOptions,
1039
1165
  ): Effect.Effect<
1040
1166
  GetLogGroupFieldsCommandOutput,
1041
- SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError
1167
+ | Cause.TimeoutException
1168
+ | SdkError
1169
+ | InvalidParameterError
1170
+ | LimitExceededError
1171
+ | ResourceNotFoundError
1172
+ | ServiceUnavailableError
1042
1173
  >;
1043
1174
 
1044
1175
  /**
@@ -1049,7 +1180,12 @@ interface CloudWatchLogsService$ {
1049
1180
  options?: HttpHandlerOptions,
1050
1181
  ): Effect.Effect<
1051
1182
  GetLogRecordCommandOutput,
1052
- SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError
1183
+ | Cause.TimeoutException
1184
+ | SdkError
1185
+ | InvalidParameterError
1186
+ | LimitExceededError
1187
+ | ResourceNotFoundError
1188
+ | ServiceUnavailableError
1053
1189
  >;
1054
1190
 
1055
1191
  /**
@@ -1060,7 +1196,7 @@ interface CloudWatchLogsService$ {
1060
1196
  options?: HttpHandlerOptions,
1061
1197
  ): Effect.Effect<
1062
1198
  GetQueryResultsCommandOutput,
1063
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1199
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1064
1200
  >;
1065
1201
 
1066
1202
  /**
@@ -1071,7 +1207,12 @@ interface CloudWatchLogsService$ {
1071
1207
  options?: HttpHandlerOptions,
1072
1208
  ): Effect.Effect<
1073
1209
  GetTransformerCommandOutput,
1074
- SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1210
+ | Cause.TimeoutException
1211
+ | SdkError
1212
+ | InvalidOperationError
1213
+ | InvalidParameterError
1214
+ | ResourceNotFoundError
1215
+ | ServiceUnavailableError
1075
1216
  >;
1076
1217
 
1077
1218
  /**
@@ -1082,7 +1223,12 @@ interface CloudWatchLogsService$ {
1082
1223
  options?: HttpHandlerOptions,
1083
1224
  ): Effect.Effect<
1084
1225
  ListAnomaliesCommandOutput,
1085
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1226
+ | Cause.TimeoutException
1227
+ | SdkError
1228
+ | InvalidParameterError
1229
+ | OperationAbortedError
1230
+ | ResourceNotFoundError
1231
+ | ServiceUnavailableError
1086
1232
  >;
1087
1233
 
1088
1234
  /**
@@ -1093,7 +1239,7 @@ interface CloudWatchLogsService$ {
1093
1239
  options?: HttpHandlerOptions,
1094
1240
  ): Effect.Effect<
1095
1241
  ListIntegrationsCommandOutput,
1096
- SdkError | InvalidParameterError | ServiceUnavailableError
1242
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
1097
1243
  >;
1098
1244
 
1099
1245
  /**
@@ -1104,7 +1250,12 @@ interface CloudWatchLogsService$ {
1104
1250
  options?: HttpHandlerOptions,
1105
1251
  ): Effect.Effect<
1106
1252
  ListLogAnomalyDetectorsCommandOutput,
1107
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1253
+ | Cause.TimeoutException
1254
+ | SdkError
1255
+ | InvalidParameterError
1256
+ | OperationAbortedError
1257
+ | ResourceNotFoundError
1258
+ | ServiceUnavailableError
1108
1259
  >;
1109
1260
 
1110
1261
  /**
@@ -1115,7 +1266,12 @@ interface CloudWatchLogsService$ {
1115
1266
  options?: HttpHandlerOptions,
1116
1267
  ): Effect.Effect<
1117
1268
  ListLogGroupsForQueryCommandOutput,
1118
- SdkError | AccessDeniedError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1269
+ | Cause.TimeoutException
1270
+ | SdkError
1271
+ | AccessDeniedError
1272
+ | InvalidParameterError
1273
+ | ResourceNotFoundError
1274
+ | ServiceUnavailableError
1119
1275
  >;
1120
1276
 
1121
1277
  /**
@@ -1126,7 +1282,7 @@ interface CloudWatchLogsService$ {
1126
1282
  options?: HttpHandlerOptions,
1127
1283
  ): Effect.Effect<
1128
1284
  ListTagsForResourceCommandOutput,
1129
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1285
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1130
1286
  >;
1131
1287
 
1132
1288
  /**
@@ -1137,7 +1293,7 @@ interface CloudWatchLogsService$ {
1137
1293
  options?: HttpHandlerOptions,
1138
1294
  ): Effect.Effect<
1139
1295
  ListTagsLogGroupCommandOutput,
1140
- SdkError | ResourceNotFoundError | ServiceUnavailableError
1296
+ Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceUnavailableError
1141
1297
  >;
1142
1298
 
1143
1299
  /**
@@ -1148,7 +1304,12 @@ interface CloudWatchLogsService$ {
1148
1304
  options?: HttpHandlerOptions,
1149
1305
  ): Effect.Effect<
1150
1306
  PutAccountPolicyCommandOutput,
1151
- SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ServiceUnavailableError
1307
+ | Cause.TimeoutException
1308
+ | SdkError
1309
+ | InvalidParameterError
1310
+ | LimitExceededError
1311
+ | OperationAbortedError
1312
+ | ServiceUnavailableError
1152
1313
  >;
1153
1314
 
1154
1315
  /**
@@ -1159,6 +1320,7 @@ interface CloudWatchLogsService$ {
1159
1320
  options?: HttpHandlerOptions,
1160
1321
  ): Effect.Effect<
1161
1322
  PutDataProtectionPolicyCommandOutput,
1323
+ | Cause.TimeoutException
1162
1324
  | SdkError
1163
1325
  | InvalidParameterError
1164
1326
  | LimitExceededError
@@ -1175,6 +1337,7 @@ interface CloudWatchLogsService$ {
1175
1337
  options?: HttpHandlerOptions,
1176
1338
  ): Effect.Effect<
1177
1339
  PutDeliveryDestinationCommandOutput,
1340
+ | Cause.TimeoutException
1178
1341
  | SdkError
1179
1342
  | ConflictError
1180
1343
  | ResourceNotFoundError
@@ -1192,7 +1355,12 @@ interface CloudWatchLogsService$ {
1192
1355
  options?: HttpHandlerOptions,
1193
1356
  ): Effect.Effect<
1194
1357
  PutDeliveryDestinationPolicyCommandOutput,
1195
- SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError
1358
+ | Cause.TimeoutException
1359
+ | SdkError
1360
+ | ConflictError
1361
+ | ResourceNotFoundError
1362
+ | ServiceUnavailableError
1363
+ | ValidationError
1196
1364
  >;
1197
1365
 
1198
1366
  /**
@@ -1203,6 +1371,7 @@ interface CloudWatchLogsService$ {
1203
1371
  options?: HttpHandlerOptions,
1204
1372
  ): Effect.Effect<
1205
1373
  PutDeliverySourceCommandOutput,
1374
+ | Cause.TimeoutException
1206
1375
  | SdkError
1207
1376
  | ConflictError
1208
1377
  | ResourceNotFoundError
@@ -1220,7 +1389,7 @@ interface CloudWatchLogsService$ {
1220
1389
  options?: HttpHandlerOptions,
1221
1390
  ): Effect.Effect<
1222
1391
  PutDestinationCommandOutput,
1223
- SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError
1392
+ Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError
1224
1393
  >;
1225
1394
 
1226
1395
  /**
@@ -1231,7 +1400,7 @@ interface CloudWatchLogsService$ {
1231
1400
  options?: HttpHandlerOptions,
1232
1401
  ): Effect.Effect<
1233
1402
  PutDestinationPolicyCommandOutput,
1234
- SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError
1403
+ Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError
1235
1404
  >;
1236
1405
 
1237
1406
  /**
@@ -1242,6 +1411,7 @@ interface CloudWatchLogsService$ {
1242
1411
  options?: HttpHandlerOptions,
1243
1412
  ): Effect.Effect<
1244
1413
  PutIndexPolicyCommandOutput,
1414
+ | Cause.TimeoutException
1245
1415
  | SdkError
1246
1416
  | InvalidParameterError
1247
1417
  | LimitExceededError
@@ -1258,7 +1428,12 @@ interface CloudWatchLogsService$ {
1258
1428
  options?: HttpHandlerOptions,
1259
1429
  ): Effect.Effect<
1260
1430
  PutIntegrationCommandOutput,
1261
- SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError | ValidationError
1431
+ | Cause.TimeoutException
1432
+ | SdkError
1433
+ | InvalidParameterError
1434
+ | LimitExceededError
1435
+ | ServiceUnavailableError
1436
+ | ValidationError
1262
1437
  >;
1263
1438
 
1264
1439
  /**
@@ -1269,6 +1444,7 @@ interface CloudWatchLogsService$ {
1269
1444
  options?: HttpHandlerOptions,
1270
1445
  ): Effect.Effect<
1271
1446
  PutLogEventsCommandOutput,
1447
+ | Cause.TimeoutException
1272
1448
  | SdkError
1273
1449
  | DataAlreadyAcceptedError
1274
1450
  | InvalidParameterError
@@ -1286,6 +1462,7 @@ interface CloudWatchLogsService$ {
1286
1462
  options?: HttpHandlerOptions,
1287
1463
  ): Effect.Effect<
1288
1464
  PutMetricFilterCommandOutput,
1465
+ | Cause.TimeoutException
1289
1466
  | SdkError
1290
1467
  | InvalidOperationError
1291
1468
  | InvalidParameterError
@@ -1303,7 +1480,12 @@ interface CloudWatchLogsService$ {
1303
1480
  options?: HttpHandlerOptions,
1304
1481
  ): Effect.Effect<
1305
1482
  PutQueryDefinitionCommandOutput,
1306
- SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError
1483
+ | Cause.TimeoutException
1484
+ | SdkError
1485
+ | InvalidParameterError
1486
+ | LimitExceededError
1487
+ | ResourceNotFoundError
1488
+ | ServiceUnavailableError
1307
1489
  >;
1308
1490
 
1309
1491
  /**
@@ -1314,7 +1496,7 @@ interface CloudWatchLogsService$ {
1314
1496
  options?: HttpHandlerOptions,
1315
1497
  ): Effect.Effect<
1316
1498
  PutResourcePolicyCommandOutput,
1317
- SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError
1499
+ Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError
1318
1500
  >;
1319
1501
 
1320
1502
  /**
@@ -1325,7 +1507,12 @@ interface CloudWatchLogsService$ {
1325
1507
  options?: HttpHandlerOptions,
1326
1508
  ): Effect.Effect<
1327
1509
  PutRetentionPolicyCommandOutput,
1328
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1510
+ | Cause.TimeoutException
1511
+ | SdkError
1512
+ | InvalidParameterError
1513
+ | OperationAbortedError
1514
+ | ResourceNotFoundError
1515
+ | ServiceUnavailableError
1329
1516
  >;
1330
1517
 
1331
1518
  /**
@@ -1336,6 +1523,7 @@ interface CloudWatchLogsService$ {
1336
1523
  options?: HttpHandlerOptions,
1337
1524
  ): Effect.Effect<
1338
1525
  PutSubscriptionFilterCommandOutput,
1526
+ | Cause.TimeoutException
1339
1527
  | SdkError
1340
1528
  | InvalidOperationError
1341
1529
  | InvalidParameterError
@@ -1353,6 +1541,7 @@ interface CloudWatchLogsService$ {
1353
1541
  options?: HttpHandlerOptions,
1354
1542
  ): Effect.Effect<
1355
1543
  PutTransformerCommandOutput,
1544
+ | Cause.TimeoutException
1356
1545
  | SdkError
1357
1546
  | InvalidOperationError
1358
1547
  | InvalidParameterError
@@ -1370,6 +1559,7 @@ interface CloudWatchLogsService$ {
1370
1559
  options?: HttpHandlerOptions,
1371
1560
  ): Effect.Effect<
1372
1561
  StartLiveTailCommandOutput,
1562
+ | Cause.TimeoutException
1373
1563
  | SdkError
1374
1564
  | AccessDeniedError
1375
1565
  | InvalidOperationError
@@ -1386,6 +1576,7 @@ interface CloudWatchLogsService$ {
1386
1576
  options?: HttpHandlerOptions,
1387
1577
  ): Effect.Effect<
1388
1578
  StartQueryCommandOutput,
1579
+ | Cause.TimeoutException
1389
1580
  | SdkError
1390
1581
  | InvalidParameterError
1391
1582
  | LimitExceededError
@@ -1402,7 +1593,7 @@ interface CloudWatchLogsService$ {
1402
1593
  options?: HttpHandlerOptions,
1403
1594
  ): Effect.Effect<
1404
1595
  StopQueryCommandOutput,
1405
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1596
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1406
1597
  >;
1407
1598
 
1408
1599
  /**
@@ -1413,7 +1604,7 @@ interface CloudWatchLogsService$ {
1413
1604
  options?: HttpHandlerOptions,
1414
1605
  ): Effect.Effect<
1415
1606
  TagLogGroupCommandOutput,
1416
- SdkError | InvalidParameterError | ResourceNotFoundError
1607
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError
1417
1608
  >;
1418
1609
 
1419
1610
  /**
@@ -1424,7 +1615,12 @@ interface CloudWatchLogsService$ {
1424
1615
  options?: HttpHandlerOptions,
1425
1616
  ): Effect.Effect<
1426
1617
  TagResourceCommandOutput,
1427
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | TooManyTagsError
1618
+ | Cause.TimeoutException
1619
+ | SdkError
1620
+ | InvalidParameterError
1621
+ | ResourceNotFoundError
1622
+ | ServiceUnavailableError
1623
+ | TooManyTagsError
1428
1624
  >;
1429
1625
 
1430
1626
  /**
@@ -1435,7 +1631,7 @@ interface CloudWatchLogsService$ {
1435
1631
  options?: HttpHandlerOptions,
1436
1632
  ): Effect.Effect<
1437
1633
  TestMetricFilterCommandOutput,
1438
- SdkError | InvalidParameterError | ServiceUnavailableError
1634
+ Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError
1439
1635
  >;
1440
1636
 
1441
1637
  /**
@@ -1446,7 +1642,7 @@ interface CloudWatchLogsService$ {
1446
1642
  options?: HttpHandlerOptions,
1447
1643
  ): Effect.Effect<
1448
1644
  TestTransformerCommandOutput,
1449
- SdkError | InvalidOperationError | InvalidParameterError | ServiceUnavailableError
1645
+ Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | ServiceUnavailableError
1450
1646
  >;
1451
1647
 
1452
1648
  /**
@@ -1457,7 +1653,7 @@ interface CloudWatchLogsService$ {
1457
1653
  options?: HttpHandlerOptions,
1458
1654
  ): Effect.Effect<
1459
1655
  UntagLogGroupCommandOutput,
1460
- SdkError | ResourceNotFoundError
1656
+ Cause.TimeoutException | SdkError | ResourceNotFoundError
1461
1657
  >;
1462
1658
 
1463
1659
  /**
@@ -1468,7 +1664,7 @@ interface CloudWatchLogsService$ {
1468
1664
  options?: HttpHandlerOptions,
1469
1665
  ): Effect.Effect<
1470
1666
  UntagResourceCommandOutput,
1471
- SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1667
+ Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError
1472
1668
  >;
1473
1669
 
1474
1670
  /**
@@ -1479,7 +1675,12 @@ interface CloudWatchLogsService$ {
1479
1675
  options?: HttpHandlerOptions,
1480
1676
  ): Effect.Effect<
1481
1677
  UpdateAnomalyCommandOutput,
1482
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1678
+ | Cause.TimeoutException
1679
+ | SdkError
1680
+ | InvalidParameterError
1681
+ | OperationAbortedError
1682
+ | ResourceNotFoundError
1683
+ | ServiceUnavailableError
1483
1684
  >;
1484
1685
 
1485
1686
  /**
@@ -1490,6 +1691,7 @@ interface CloudWatchLogsService$ {
1490
1691
  options?: HttpHandlerOptions,
1491
1692
  ): Effect.Effect<
1492
1693
  UpdateDeliveryConfigurationCommandOutput,
1694
+ | Cause.TimeoutException
1493
1695
  | SdkError
1494
1696
  | AccessDeniedError
1495
1697
  | ConflictError
@@ -1507,7 +1709,12 @@ interface CloudWatchLogsService$ {
1507
1709
  options?: HttpHandlerOptions,
1508
1710
  ): Effect.Effect<
1509
1711
  UpdateLogAnomalyDetectorCommandOutput,
1510
- SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError
1712
+ | Cause.TimeoutException
1713
+ | SdkError
1714
+ | InvalidParameterError
1715
+ | OperationAbortedError
1716
+ | ResourceNotFoundError
1717
+ | ServiceUnavailableError
1511
1718
  >;
1512
1719
  }
1513
1720
 
@@ -1518,7 +1725,7 @@ interface CloudWatchLogsService$ {
1518
1725
  export const makeCloudWatchLogsService = Effect.gen(function*() {
1519
1726
  const client = yield* Instance.CloudWatchLogsClientInstance;
1520
1727
 
1521
- return Service.fromClientAndCommands<CloudWatchLogsService$>(
1728
+ return yield* Service.fromClientAndCommands<CloudWatchLogsService$>(
1522
1729
  client,
1523
1730
  commands,
1524
1731
  {