@effect-aws/client-opensearch 1.10.9 → 2.0.0-beta.1
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/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/OpenSearchClientInstance.d.ts +4 -2
- package/dist/dts/OpenSearchClientInstance.d.ts.map +1 -1
- package/dist/dts/OpenSearchService.d.ts +87 -87
- package/dist/dts/OpenSearchService.d.ts.map +1 -1
- package/dist/dts/OpenSearchServiceConfig.d.ts +2 -1
- package/dist/dts/OpenSearchServiceConfig.d.ts.map +1 -1
- package/dist/esm/OpenSearchClientInstance.js +5 -3
- package/dist/esm/OpenSearchClientInstance.js.map +1 -1
- package/dist/esm/OpenSearchService.js +4 -2
- package/dist/esm/OpenSearchService.js.map +1 -1
- package/dist/esm/OpenSearchServiceConfig.js +7 -6
- package/dist/esm/OpenSearchServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/OpenSearchClientInstance.ts +6 -4
- package/src/OpenSearchService.ts +88 -86
- package/src/OpenSearchServiceConfig.ts +8 -7
- package/dist/cjs/Errors.d.ts +0 -21
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -20
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/OpenSearchClientInstance.d.ts +0 -24
- package/dist/cjs/OpenSearchClientInstance.d.ts.map +0 -1
- package/dist/cjs/OpenSearchClientInstance.js +0 -50
- package/dist/cjs/OpenSearchClientInstance.js.map +0 -1
- package/dist/cjs/OpenSearchService.d.ts +0 -374
- package/dist/cjs/OpenSearchService.d.ts.map +0 -1
- package/dist/cjs/OpenSearchService.js +0 -141
- package/dist/cjs/OpenSearchService.js.map +0 -1
- package/dist/cjs/OpenSearchServiceConfig.d.ts +0 -25
- package/dist/cjs/OpenSearchServiceConfig.d.ts.map +0 -1
- package/dist/cjs/OpenSearchServiceConfig.js +0 -35
- package/dist/cjs/OpenSearchServiceConfig.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/src/OpenSearchService.ts
CHANGED
|
@@ -253,8 +253,10 @@ import {
|
|
|
253
253
|
} from "@aws-sdk/client-opensearch";
|
|
254
254
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
255
255
|
import { Service } from "@effect-aws/commons";
|
|
256
|
-
import type
|
|
257
|
-
import
|
|
256
|
+
import type * as Cause from "effect/Cause";
|
|
257
|
+
import * as Effect from "effect/Effect";
|
|
258
|
+
import * as Layer from "effect/Layer";
|
|
259
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
258
260
|
import type {
|
|
259
261
|
AccessDeniedError,
|
|
260
262
|
BaseError,
|
|
@@ -372,7 +374,7 @@ interface OpenSearchService$ {
|
|
|
372
374
|
options?: HttpHandlerOptions,
|
|
373
375
|
): Effect.Effect<
|
|
374
376
|
AcceptInboundConnectionCommandOutput,
|
|
375
|
-
Cause.
|
|
377
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | LimitExceededError | ResourceNotFoundError
|
|
376
378
|
>;
|
|
377
379
|
|
|
378
380
|
/**
|
|
@@ -383,7 +385,7 @@ interface OpenSearchService$ {
|
|
|
383
385
|
options?: HttpHandlerOptions,
|
|
384
386
|
): Effect.Effect<
|
|
385
387
|
AddDataSourceCommandOutput,
|
|
386
|
-
| Cause.
|
|
388
|
+
| Cause.TimeoutError
|
|
387
389
|
| SdkError
|
|
388
390
|
| BaseError
|
|
389
391
|
| DependencyFailureError
|
|
@@ -402,7 +404,7 @@ interface OpenSearchService$ {
|
|
|
402
404
|
options?: HttpHandlerOptions,
|
|
403
405
|
): Effect.Effect<
|
|
404
406
|
AddDirectQueryDataSourceCommandOutput,
|
|
405
|
-
| Cause.
|
|
407
|
+
| Cause.TimeoutError
|
|
406
408
|
| SdkError
|
|
407
409
|
| BaseError
|
|
408
410
|
| DisabledOperationError
|
|
@@ -420,7 +422,7 @@ interface OpenSearchService$ {
|
|
|
420
422
|
options?: HttpHandlerOptions,
|
|
421
423
|
): Effect.Effect<
|
|
422
424
|
AddTagsCommandOutput,
|
|
423
|
-
Cause.
|
|
425
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | LimitExceededError | ValidationError
|
|
424
426
|
>;
|
|
425
427
|
|
|
426
428
|
/**
|
|
@@ -431,7 +433,7 @@ interface OpenSearchService$ {
|
|
|
431
433
|
options?: HttpHandlerOptions,
|
|
432
434
|
): Effect.Effect<
|
|
433
435
|
AssociatePackageCommandOutput,
|
|
434
|
-
| Cause.
|
|
436
|
+
| Cause.TimeoutError
|
|
435
437
|
| SdkError
|
|
436
438
|
| AccessDeniedError
|
|
437
439
|
| BaseError
|
|
@@ -449,7 +451,7 @@ interface OpenSearchService$ {
|
|
|
449
451
|
options?: HttpHandlerOptions,
|
|
450
452
|
): Effect.Effect<
|
|
451
453
|
AssociatePackagesCommandOutput,
|
|
452
|
-
| Cause.
|
|
454
|
+
| Cause.TimeoutError
|
|
453
455
|
| SdkError
|
|
454
456
|
| BaseError
|
|
455
457
|
| ConflictError
|
|
@@ -467,7 +469,7 @@ interface OpenSearchService$ {
|
|
|
467
469
|
options?: HttpHandlerOptions,
|
|
468
470
|
): Effect.Effect<
|
|
469
471
|
AuthorizeVpcEndpointAccessCommandOutput,
|
|
470
|
-
| Cause.
|
|
472
|
+
| Cause.TimeoutError
|
|
471
473
|
| SdkError
|
|
472
474
|
| BaseError
|
|
473
475
|
| DisabledOperationError
|
|
@@ -485,7 +487,7 @@ interface OpenSearchService$ {
|
|
|
485
487
|
options?: HttpHandlerOptions,
|
|
486
488
|
): Effect.Effect<
|
|
487
489
|
CancelDomainConfigChangeCommandOutput,
|
|
488
|
-
| Cause.
|
|
490
|
+
| Cause.TimeoutError
|
|
489
491
|
| SdkError
|
|
490
492
|
| BaseError
|
|
491
493
|
| DisabledOperationError
|
|
@@ -502,7 +504,7 @@ interface OpenSearchService$ {
|
|
|
502
504
|
options?: HttpHandlerOptions,
|
|
503
505
|
): Effect.Effect<
|
|
504
506
|
CancelServiceSoftwareUpdateCommandOutput,
|
|
505
|
-
Cause.
|
|
507
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
506
508
|
>;
|
|
507
509
|
|
|
508
510
|
/**
|
|
@@ -513,7 +515,7 @@ interface OpenSearchService$ {
|
|
|
513
515
|
options?: HttpHandlerOptions,
|
|
514
516
|
): Effect.Effect<
|
|
515
517
|
CreateApplicationCommandOutput,
|
|
516
|
-
| Cause.
|
|
518
|
+
| Cause.TimeoutError
|
|
517
519
|
| SdkError
|
|
518
520
|
| AccessDeniedError
|
|
519
521
|
| BaseError
|
|
@@ -531,7 +533,7 @@ interface OpenSearchService$ {
|
|
|
531
533
|
options?: HttpHandlerOptions,
|
|
532
534
|
): Effect.Effect<
|
|
533
535
|
CreateDomainCommandOutput,
|
|
534
|
-
| Cause.
|
|
536
|
+
| Cause.TimeoutError
|
|
535
537
|
| SdkError
|
|
536
538
|
| BaseError
|
|
537
539
|
| DisabledOperationError
|
|
@@ -550,7 +552,7 @@ interface OpenSearchService$ {
|
|
|
550
552
|
options?: HttpHandlerOptions,
|
|
551
553
|
): Effect.Effect<
|
|
552
554
|
CreateIndexCommandOutput,
|
|
553
|
-
| Cause.
|
|
555
|
+
| Cause.TimeoutError
|
|
554
556
|
| SdkError
|
|
555
557
|
| AccessDeniedError
|
|
556
558
|
| DependencyFailureError
|
|
@@ -570,7 +572,7 @@ interface OpenSearchService$ {
|
|
|
570
572
|
options?: HttpHandlerOptions,
|
|
571
573
|
): Effect.Effect<
|
|
572
574
|
CreateOutboundConnectionCommandOutput,
|
|
573
|
-
| Cause.
|
|
575
|
+
| Cause.TimeoutError
|
|
574
576
|
| SdkError
|
|
575
577
|
| DisabledOperationError
|
|
576
578
|
| InternalError
|
|
@@ -586,7 +588,7 @@ interface OpenSearchService$ {
|
|
|
586
588
|
options?: HttpHandlerOptions,
|
|
587
589
|
): Effect.Effect<
|
|
588
590
|
CreatePackageCommandOutput,
|
|
589
|
-
| Cause.
|
|
591
|
+
| Cause.TimeoutError
|
|
590
592
|
| SdkError
|
|
591
593
|
| AccessDeniedError
|
|
592
594
|
| BaseError
|
|
@@ -605,7 +607,7 @@ interface OpenSearchService$ {
|
|
|
605
607
|
options?: HttpHandlerOptions,
|
|
606
608
|
): Effect.Effect<
|
|
607
609
|
CreateVpcEndpointCommandOutput,
|
|
608
|
-
| Cause.
|
|
610
|
+
| Cause.TimeoutError
|
|
609
611
|
| SdkError
|
|
610
612
|
| BaseError
|
|
611
613
|
| ConflictError
|
|
@@ -623,7 +625,7 @@ interface OpenSearchService$ {
|
|
|
623
625
|
options?: HttpHandlerOptions,
|
|
624
626
|
): Effect.Effect<
|
|
625
627
|
DeleteApplicationCommandOutput,
|
|
626
|
-
| Cause.
|
|
628
|
+
| Cause.TimeoutError
|
|
627
629
|
| SdkError
|
|
628
630
|
| AccessDeniedError
|
|
629
631
|
| BaseError
|
|
@@ -642,7 +644,7 @@ interface OpenSearchService$ {
|
|
|
642
644
|
options?: HttpHandlerOptions,
|
|
643
645
|
): Effect.Effect<
|
|
644
646
|
DeleteDataSourceCommandOutput,
|
|
645
|
-
| Cause.
|
|
647
|
+
| Cause.TimeoutError
|
|
646
648
|
| SdkError
|
|
647
649
|
| BaseError
|
|
648
650
|
| DependencyFailureError
|
|
@@ -660,7 +662,7 @@ interface OpenSearchService$ {
|
|
|
660
662
|
options?: HttpHandlerOptions,
|
|
661
663
|
): Effect.Effect<
|
|
662
664
|
DeleteDirectQueryDataSourceCommandOutput,
|
|
663
|
-
| Cause.
|
|
665
|
+
| Cause.TimeoutError
|
|
664
666
|
| SdkError
|
|
665
667
|
| BaseError
|
|
666
668
|
| DisabledOperationError
|
|
@@ -677,7 +679,7 @@ interface OpenSearchService$ {
|
|
|
677
679
|
options?: HttpHandlerOptions,
|
|
678
680
|
): Effect.Effect<
|
|
679
681
|
DeleteDomainCommandOutput,
|
|
680
|
-
Cause.
|
|
682
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
681
683
|
>;
|
|
682
684
|
|
|
683
685
|
/**
|
|
@@ -688,7 +690,7 @@ interface OpenSearchService$ {
|
|
|
688
690
|
options?: HttpHandlerOptions,
|
|
689
691
|
): Effect.Effect<
|
|
690
692
|
DeleteInboundConnectionCommandOutput,
|
|
691
|
-
Cause.
|
|
693
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
692
694
|
>;
|
|
693
695
|
|
|
694
696
|
/**
|
|
@@ -699,7 +701,7 @@ interface OpenSearchService$ {
|
|
|
699
701
|
options?: HttpHandlerOptions,
|
|
700
702
|
): Effect.Effect<
|
|
701
703
|
DeleteIndexCommandOutput,
|
|
702
|
-
| Cause.
|
|
704
|
+
| Cause.TimeoutError
|
|
703
705
|
| SdkError
|
|
704
706
|
| AccessDeniedError
|
|
705
707
|
| DependencyFailureError
|
|
@@ -718,7 +720,7 @@ interface OpenSearchService$ {
|
|
|
718
720
|
options?: HttpHandlerOptions,
|
|
719
721
|
): Effect.Effect<
|
|
720
722
|
DeleteOutboundConnectionCommandOutput,
|
|
721
|
-
Cause.
|
|
723
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
722
724
|
>;
|
|
723
725
|
|
|
724
726
|
/**
|
|
@@ -729,7 +731,7 @@ interface OpenSearchService$ {
|
|
|
729
731
|
options?: HttpHandlerOptions,
|
|
730
732
|
): Effect.Effect<
|
|
731
733
|
DeletePackageCommandOutput,
|
|
732
|
-
| Cause.
|
|
734
|
+
| Cause.TimeoutError
|
|
733
735
|
| SdkError
|
|
734
736
|
| AccessDeniedError
|
|
735
737
|
| BaseError
|
|
@@ -747,7 +749,7 @@ interface OpenSearchService$ {
|
|
|
747
749
|
options?: HttpHandlerOptions,
|
|
748
750
|
): Effect.Effect<
|
|
749
751
|
DeleteVpcEndpointCommandOutput,
|
|
750
|
-
Cause.
|
|
752
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
751
753
|
>;
|
|
752
754
|
|
|
753
755
|
/**
|
|
@@ -758,7 +760,7 @@ interface OpenSearchService$ {
|
|
|
758
760
|
options?: HttpHandlerOptions,
|
|
759
761
|
): Effect.Effect<
|
|
760
762
|
DescribeDomainCommandOutput,
|
|
761
|
-
Cause.
|
|
763
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
762
764
|
>;
|
|
763
765
|
|
|
764
766
|
/**
|
|
@@ -769,7 +771,7 @@ interface OpenSearchService$ {
|
|
|
769
771
|
options?: HttpHandlerOptions,
|
|
770
772
|
): Effect.Effect<
|
|
771
773
|
DescribeDomainAutoTunesCommandOutput,
|
|
772
|
-
Cause.
|
|
774
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
773
775
|
>;
|
|
774
776
|
|
|
775
777
|
/**
|
|
@@ -780,7 +782,7 @@ interface OpenSearchService$ {
|
|
|
780
782
|
options?: HttpHandlerOptions,
|
|
781
783
|
): Effect.Effect<
|
|
782
784
|
DescribeDomainChangeProgressCommandOutput,
|
|
783
|
-
Cause.
|
|
785
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
784
786
|
>;
|
|
785
787
|
|
|
786
788
|
/**
|
|
@@ -791,7 +793,7 @@ interface OpenSearchService$ {
|
|
|
791
793
|
options?: HttpHandlerOptions,
|
|
792
794
|
): Effect.Effect<
|
|
793
795
|
DescribeDomainConfigCommandOutput,
|
|
794
|
-
Cause.
|
|
796
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
795
797
|
>;
|
|
796
798
|
|
|
797
799
|
/**
|
|
@@ -802,7 +804,7 @@ interface OpenSearchService$ {
|
|
|
802
804
|
options?: HttpHandlerOptions,
|
|
803
805
|
): Effect.Effect<
|
|
804
806
|
DescribeDomainHealthCommandOutput,
|
|
805
|
-
| Cause.
|
|
807
|
+
| Cause.TimeoutError
|
|
806
808
|
| SdkError
|
|
807
809
|
| BaseError
|
|
808
810
|
| DisabledOperationError
|
|
@@ -819,7 +821,7 @@ interface OpenSearchService$ {
|
|
|
819
821
|
options?: HttpHandlerOptions,
|
|
820
822
|
): Effect.Effect<
|
|
821
823
|
DescribeDomainNodesCommandOutput,
|
|
822
|
-
| Cause.
|
|
824
|
+
| Cause.TimeoutError
|
|
823
825
|
| SdkError
|
|
824
826
|
| BaseError
|
|
825
827
|
| DependencyFailureError
|
|
@@ -837,7 +839,7 @@ interface OpenSearchService$ {
|
|
|
837
839
|
options?: HttpHandlerOptions,
|
|
838
840
|
): Effect.Effect<
|
|
839
841
|
DescribeDomainsCommandOutput,
|
|
840
|
-
Cause.
|
|
842
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ValidationError
|
|
841
843
|
>;
|
|
842
844
|
|
|
843
845
|
/**
|
|
@@ -848,7 +850,7 @@ interface OpenSearchService$ {
|
|
|
848
850
|
options?: HttpHandlerOptions,
|
|
849
851
|
): Effect.Effect<
|
|
850
852
|
DescribeDryRunProgressCommandOutput,
|
|
851
|
-
| Cause.
|
|
853
|
+
| Cause.TimeoutError
|
|
852
854
|
| SdkError
|
|
853
855
|
| BaseError
|
|
854
856
|
| DisabledOperationError
|
|
@@ -865,7 +867,7 @@ interface OpenSearchService$ {
|
|
|
865
867
|
options?: HttpHandlerOptions,
|
|
866
868
|
): Effect.Effect<
|
|
867
869
|
DescribeInboundConnectionsCommandOutput,
|
|
868
|
-
Cause.
|
|
870
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
869
871
|
>;
|
|
870
872
|
|
|
871
873
|
/**
|
|
@@ -876,7 +878,7 @@ interface OpenSearchService$ {
|
|
|
876
878
|
options?: HttpHandlerOptions,
|
|
877
879
|
): Effect.Effect<
|
|
878
880
|
DescribeInstanceTypeLimitsCommandOutput,
|
|
879
|
-
| Cause.
|
|
881
|
+
| Cause.TimeoutError
|
|
880
882
|
| SdkError
|
|
881
883
|
| BaseError
|
|
882
884
|
| InternalError
|
|
@@ -894,7 +896,7 @@ interface OpenSearchService$ {
|
|
|
894
896
|
options?: HttpHandlerOptions,
|
|
895
897
|
): Effect.Effect<
|
|
896
898
|
DescribeOutboundConnectionsCommandOutput,
|
|
897
|
-
Cause.
|
|
899
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
898
900
|
>;
|
|
899
901
|
|
|
900
902
|
/**
|
|
@@ -905,7 +907,7 @@ interface OpenSearchService$ {
|
|
|
905
907
|
options?: HttpHandlerOptions,
|
|
906
908
|
): Effect.Effect<
|
|
907
909
|
DescribePackagesCommandOutput,
|
|
908
|
-
| Cause.
|
|
910
|
+
| Cause.TimeoutError
|
|
909
911
|
| SdkError
|
|
910
912
|
| AccessDeniedError
|
|
911
913
|
| BaseError
|
|
@@ -922,7 +924,7 @@ interface OpenSearchService$ {
|
|
|
922
924
|
options?: HttpHandlerOptions,
|
|
923
925
|
): Effect.Effect<
|
|
924
926
|
DescribeReservedInstanceOfferingsCommandOutput,
|
|
925
|
-
Cause.
|
|
927
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
926
928
|
>;
|
|
927
929
|
|
|
928
930
|
/**
|
|
@@ -933,7 +935,7 @@ interface OpenSearchService$ {
|
|
|
933
935
|
options?: HttpHandlerOptions,
|
|
934
936
|
): Effect.Effect<
|
|
935
937
|
DescribeReservedInstancesCommandOutput,
|
|
936
|
-
Cause.
|
|
938
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
937
939
|
>;
|
|
938
940
|
|
|
939
941
|
/**
|
|
@@ -944,7 +946,7 @@ interface OpenSearchService$ {
|
|
|
944
946
|
options?: HttpHandlerOptions,
|
|
945
947
|
): Effect.Effect<
|
|
946
948
|
DescribeVpcEndpointsCommandOutput,
|
|
947
|
-
Cause.
|
|
949
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ValidationError
|
|
948
950
|
>;
|
|
949
951
|
|
|
950
952
|
/**
|
|
@@ -955,7 +957,7 @@ interface OpenSearchService$ {
|
|
|
955
957
|
options?: HttpHandlerOptions,
|
|
956
958
|
): Effect.Effect<
|
|
957
959
|
DissociatePackageCommandOutput,
|
|
958
|
-
| Cause.
|
|
960
|
+
| Cause.TimeoutError
|
|
959
961
|
| SdkError
|
|
960
962
|
| AccessDeniedError
|
|
961
963
|
| BaseError
|
|
@@ -973,7 +975,7 @@ interface OpenSearchService$ {
|
|
|
973
975
|
options?: HttpHandlerOptions,
|
|
974
976
|
): Effect.Effect<
|
|
975
977
|
DissociatePackagesCommandOutput,
|
|
976
|
-
| Cause.
|
|
978
|
+
| Cause.TimeoutError
|
|
977
979
|
| SdkError
|
|
978
980
|
| BaseError
|
|
979
981
|
| ConflictError
|
|
@@ -991,7 +993,7 @@ interface OpenSearchService$ {
|
|
|
991
993
|
options?: HttpHandlerOptions,
|
|
992
994
|
): Effect.Effect<
|
|
993
995
|
GetApplicationCommandOutput,
|
|
994
|
-
| Cause.
|
|
996
|
+
| Cause.TimeoutError
|
|
995
997
|
| SdkError
|
|
996
998
|
| AccessDeniedError
|
|
997
999
|
| BaseError
|
|
@@ -1009,7 +1011,7 @@ interface OpenSearchService$ {
|
|
|
1009
1011
|
options?: HttpHandlerOptions,
|
|
1010
1012
|
): Effect.Effect<
|
|
1011
1013
|
GetCompatibleVersionsCommandOutput,
|
|
1012
|
-
| Cause.
|
|
1014
|
+
| Cause.TimeoutError
|
|
1013
1015
|
| SdkError
|
|
1014
1016
|
| BaseError
|
|
1015
1017
|
| DisabledOperationError
|
|
@@ -1026,7 +1028,7 @@ interface OpenSearchService$ {
|
|
|
1026
1028
|
options?: HttpHandlerOptions,
|
|
1027
1029
|
): Effect.Effect<
|
|
1028
1030
|
GetDataSourceCommandOutput,
|
|
1029
|
-
| Cause.
|
|
1031
|
+
| Cause.TimeoutError
|
|
1030
1032
|
| SdkError
|
|
1031
1033
|
| BaseError
|
|
1032
1034
|
| DependencyFailureError
|
|
@@ -1044,7 +1046,7 @@ interface OpenSearchService$ {
|
|
|
1044
1046
|
options?: HttpHandlerOptions,
|
|
1045
1047
|
): Effect.Effect<
|
|
1046
1048
|
GetDefaultApplicationSettingCommandOutput,
|
|
1047
|
-
Cause.
|
|
1049
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalError | ResourceNotFoundError | ValidationError
|
|
1048
1050
|
>;
|
|
1049
1051
|
|
|
1050
1052
|
/**
|
|
@@ -1055,7 +1057,7 @@ interface OpenSearchService$ {
|
|
|
1055
1057
|
options?: HttpHandlerOptions,
|
|
1056
1058
|
): Effect.Effect<
|
|
1057
1059
|
GetDirectQueryDataSourceCommandOutput,
|
|
1058
|
-
| Cause.
|
|
1060
|
+
| Cause.TimeoutError
|
|
1059
1061
|
| SdkError
|
|
1060
1062
|
| BaseError
|
|
1061
1063
|
| DisabledOperationError
|
|
@@ -1072,7 +1074,7 @@ interface OpenSearchService$ {
|
|
|
1072
1074
|
options?: HttpHandlerOptions,
|
|
1073
1075
|
): Effect.Effect<
|
|
1074
1076
|
GetDomainMaintenanceStatusCommandOutput,
|
|
1075
|
-
| Cause.
|
|
1077
|
+
| Cause.TimeoutError
|
|
1076
1078
|
| SdkError
|
|
1077
1079
|
| BaseError
|
|
1078
1080
|
| DisabledOperationError
|
|
@@ -1089,7 +1091,7 @@ interface OpenSearchService$ {
|
|
|
1089
1091
|
options?: HttpHandlerOptions,
|
|
1090
1092
|
): Effect.Effect<
|
|
1091
1093
|
GetIndexCommandOutput,
|
|
1092
|
-
| Cause.
|
|
1094
|
+
| Cause.TimeoutError
|
|
1093
1095
|
| SdkError
|
|
1094
1096
|
| AccessDeniedError
|
|
1095
1097
|
| DependencyFailureError
|
|
@@ -1108,7 +1110,7 @@ interface OpenSearchService$ {
|
|
|
1108
1110
|
options?: HttpHandlerOptions,
|
|
1109
1111
|
): Effect.Effect<
|
|
1110
1112
|
GetPackageVersionHistoryCommandOutput,
|
|
1111
|
-
| Cause.
|
|
1113
|
+
| Cause.TimeoutError
|
|
1112
1114
|
| SdkError
|
|
1113
1115
|
| AccessDeniedError
|
|
1114
1116
|
| BaseError
|
|
@@ -1125,7 +1127,7 @@ interface OpenSearchService$ {
|
|
|
1125
1127
|
options?: HttpHandlerOptions,
|
|
1126
1128
|
): Effect.Effect<
|
|
1127
1129
|
GetUpgradeHistoryCommandOutput,
|
|
1128
|
-
| Cause.
|
|
1130
|
+
| Cause.TimeoutError
|
|
1129
1131
|
| SdkError
|
|
1130
1132
|
| BaseError
|
|
1131
1133
|
| DisabledOperationError
|
|
@@ -1142,7 +1144,7 @@ interface OpenSearchService$ {
|
|
|
1142
1144
|
options?: HttpHandlerOptions,
|
|
1143
1145
|
): Effect.Effect<
|
|
1144
1146
|
GetUpgradeStatusCommandOutput,
|
|
1145
|
-
| Cause.
|
|
1147
|
+
| Cause.TimeoutError
|
|
1146
1148
|
| SdkError
|
|
1147
1149
|
| BaseError
|
|
1148
1150
|
| DisabledOperationError
|
|
@@ -1159,7 +1161,7 @@ interface OpenSearchService$ {
|
|
|
1159
1161
|
options?: HttpHandlerOptions,
|
|
1160
1162
|
): Effect.Effect<
|
|
1161
1163
|
ListApplicationsCommandOutput,
|
|
1162
|
-
| Cause.
|
|
1164
|
+
| Cause.TimeoutError
|
|
1163
1165
|
| SdkError
|
|
1164
1166
|
| AccessDeniedError
|
|
1165
1167
|
| BaseError
|
|
@@ -1177,7 +1179,7 @@ interface OpenSearchService$ {
|
|
|
1177
1179
|
options?: HttpHandlerOptions,
|
|
1178
1180
|
): Effect.Effect<
|
|
1179
1181
|
ListDataSourcesCommandOutput,
|
|
1180
|
-
| Cause.
|
|
1182
|
+
| Cause.TimeoutError
|
|
1181
1183
|
| SdkError
|
|
1182
1184
|
| BaseError
|
|
1183
1185
|
| DependencyFailureError
|
|
@@ -1195,7 +1197,7 @@ interface OpenSearchService$ {
|
|
|
1195
1197
|
options?: HttpHandlerOptions,
|
|
1196
1198
|
): Effect.Effect<
|
|
1197
1199
|
ListDirectQueryDataSourcesCommandOutput,
|
|
1198
|
-
| Cause.
|
|
1200
|
+
| Cause.TimeoutError
|
|
1199
1201
|
| SdkError
|
|
1200
1202
|
| BaseError
|
|
1201
1203
|
| DisabledOperationError
|
|
@@ -1212,7 +1214,7 @@ interface OpenSearchService$ {
|
|
|
1212
1214
|
options?: HttpHandlerOptions,
|
|
1213
1215
|
): Effect.Effect<
|
|
1214
1216
|
ListDomainMaintenancesCommandOutput,
|
|
1215
|
-
| Cause.
|
|
1217
|
+
| Cause.TimeoutError
|
|
1216
1218
|
| SdkError
|
|
1217
1219
|
| BaseError
|
|
1218
1220
|
| DisabledOperationError
|
|
@@ -1229,7 +1231,7 @@ interface OpenSearchService$ {
|
|
|
1229
1231
|
options?: HttpHandlerOptions,
|
|
1230
1232
|
): Effect.Effect<
|
|
1231
1233
|
ListDomainNamesCommandOutput,
|
|
1232
|
-
Cause.
|
|
1234
|
+
Cause.TimeoutError | SdkError | BaseError | ValidationError
|
|
1233
1235
|
>;
|
|
1234
1236
|
|
|
1235
1237
|
/**
|
|
@@ -1240,7 +1242,7 @@ interface OpenSearchService$ {
|
|
|
1240
1242
|
options?: HttpHandlerOptions,
|
|
1241
1243
|
): Effect.Effect<
|
|
1242
1244
|
ListDomainsForPackageCommandOutput,
|
|
1243
|
-
| Cause.
|
|
1245
|
+
| Cause.TimeoutError
|
|
1244
1246
|
| SdkError
|
|
1245
1247
|
| AccessDeniedError
|
|
1246
1248
|
| BaseError
|
|
@@ -1257,7 +1259,7 @@ interface OpenSearchService$ {
|
|
|
1257
1259
|
options?: HttpHandlerOptions,
|
|
1258
1260
|
): Effect.Effect<
|
|
1259
1261
|
ListInstanceTypeDetailsCommandOutput,
|
|
1260
|
-
Cause.
|
|
1262
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1261
1263
|
>;
|
|
1262
1264
|
|
|
1263
1265
|
/**
|
|
@@ -1268,7 +1270,7 @@ interface OpenSearchService$ {
|
|
|
1268
1270
|
options?: HttpHandlerOptions,
|
|
1269
1271
|
): Effect.Effect<
|
|
1270
1272
|
ListPackagesForDomainCommandOutput,
|
|
1271
|
-
| Cause.
|
|
1273
|
+
| Cause.TimeoutError
|
|
1272
1274
|
| SdkError
|
|
1273
1275
|
| AccessDeniedError
|
|
1274
1276
|
| BaseError
|
|
@@ -1285,7 +1287,7 @@ interface OpenSearchService$ {
|
|
|
1285
1287
|
options?: HttpHandlerOptions,
|
|
1286
1288
|
): Effect.Effect<
|
|
1287
1289
|
ListScheduledActionsCommandOutput,
|
|
1288
|
-
| Cause.
|
|
1290
|
+
| Cause.TimeoutError
|
|
1289
1291
|
| SdkError
|
|
1290
1292
|
| BaseError
|
|
1291
1293
|
| InternalError
|
|
@@ -1302,7 +1304,7 @@ interface OpenSearchService$ {
|
|
|
1302
1304
|
options?: HttpHandlerOptions,
|
|
1303
1305
|
): Effect.Effect<
|
|
1304
1306
|
ListTagsCommandOutput,
|
|
1305
|
-
Cause.
|
|
1307
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1306
1308
|
>;
|
|
1307
1309
|
|
|
1308
1310
|
/**
|
|
@@ -1313,7 +1315,7 @@ interface OpenSearchService$ {
|
|
|
1313
1315
|
options?: HttpHandlerOptions,
|
|
1314
1316
|
): Effect.Effect<
|
|
1315
1317
|
ListVersionsCommandOutput,
|
|
1316
|
-
Cause.
|
|
1318
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1317
1319
|
>;
|
|
1318
1320
|
|
|
1319
1321
|
/**
|
|
@@ -1324,7 +1326,7 @@ interface OpenSearchService$ {
|
|
|
1324
1326
|
options?: HttpHandlerOptions,
|
|
1325
1327
|
): Effect.Effect<
|
|
1326
1328
|
ListVpcEndpointAccessCommandOutput,
|
|
1327
|
-
Cause.
|
|
1329
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1328
1330
|
>;
|
|
1329
1331
|
|
|
1330
1332
|
/**
|
|
@@ -1335,7 +1337,7 @@ interface OpenSearchService$ {
|
|
|
1335
1337
|
options?: HttpHandlerOptions,
|
|
1336
1338
|
): Effect.Effect<
|
|
1337
1339
|
ListVpcEndpointsCommandOutput,
|
|
1338
|
-
Cause.
|
|
1340
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError
|
|
1339
1341
|
>;
|
|
1340
1342
|
|
|
1341
1343
|
/**
|
|
@@ -1346,7 +1348,7 @@ interface OpenSearchService$ {
|
|
|
1346
1348
|
options?: HttpHandlerOptions,
|
|
1347
1349
|
): Effect.Effect<
|
|
1348
1350
|
ListVpcEndpointsForDomainCommandOutput,
|
|
1349
|
-
Cause.
|
|
1351
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1350
1352
|
>;
|
|
1351
1353
|
|
|
1352
1354
|
/**
|
|
@@ -1357,7 +1359,7 @@ interface OpenSearchService$ {
|
|
|
1357
1359
|
options?: HttpHandlerOptions,
|
|
1358
1360
|
): Effect.Effect<
|
|
1359
1361
|
PurchaseReservedInstanceOfferingCommandOutput,
|
|
1360
|
-
| Cause.
|
|
1362
|
+
| Cause.TimeoutError
|
|
1361
1363
|
| SdkError
|
|
1362
1364
|
| DisabledOperationError
|
|
1363
1365
|
| InternalError
|
|
@@ -1375,7 +1377,7 @@ interface OpenSearchService$ {
|
|
|
1375
1377
|
options?: HttpHandlerOptions,
|
|
1376
1378
|
): Effect.Effect<
|
|
1377
1379
|
PutDefaultApplicationSettingCommandOutput,
|
|
1378
|
-
Cause.
|
|
1380
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalError | ResourceNotFoundError | ValidationError
|
|
1379
1381
|
>;
|
|
1380
1382
|
|
|
1381
1383
|
/**
|
|
@@ -1386,7 +1388,7 @@ interface OpenSearchService$ {
|
|
|
1386
1388
|
options?: HttpHandlerOptions,
|
|
1387
1389
|
): Effect.Effect<
|
|
1388
1390
|
RejectInboundConnectionCommandOutput,
|
|
1389
|
-
Cause.
|
|
1391
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
1390
1392
|
>;
|
|
1391
1393
|
|
|
1392
1394
|
/**
|
|
@@ -1397,7 +1399,7 @@ interface OpenSearchService$ {
|
|
|
1397
1399
|
options?: HttpHandlerOptions,
|
|
1398
1400
|
): Effect.Effect<
|
|
1399
1401
|
RemoveTagsCommandOutput,
|
|
1400
|
-
Cause.
|
|
1402
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ValidationError
|
|
1401
1403
|
>;
|
|
1402
1404
|
|
|
1403
1405
|
/**
|
|
@@ -1408,7 +1410,7 @@ interface OpenSearchService$ {
|
|
|
1408
1410
|
options?: HttpHandlerOptions,
|
|
1409
1411
|
): Effect.Effect<
|
|
1410
1412
|
RevokeVpcEndpointAccessCommandOutput,
|
|
1411
|
-
| Cause.
|
|
1413
|
+
| Cause.TimeoutError
|
|
1412
1414
|
| SdkError
|
|
1413
1415
|
| BaseError
|
|
1414
1416
|
| DisabledOperationError
|
|
@@ -1425,7 +1427,7 @@ interface OpenSearchService$ {
|
|
|
1425
1427
|
options?: HttpHandlerOptions,
|
|
1426
1428
|
): Effect.Effect<
|
|
1427
1429
|
StartDomainMaintenanceCommandOutput,
|
|
1428
|
-
| Cause.
|
|
1430
|
+
| Cause.TimeoutError
|
|
1429
1431
|
| SdkError
|
|
1430
1432
|
| BaseError
|
|
1431
1433
|
| DisabledOperationError
|
|
@@ -1442,7 +1444,7 @@ interface OpenSearchService$ {
|
|
|
1442
1444
|
options?: HttpHandlerOptions,
|
|
1443
1445
|
): Effect.Effect<
|
|
1444
1446
|
StartServiceSoftwareUpdateCommandOutput,
|
|
1445
|
-
Cause.
|
|
1447
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1446
1448
|
>;
|
|
1447
1449
|
|
|
1448
1450
|
/**
|
|
@@ -1453,7 +1455,7 @@ interface OpenSearchService$ {
|
|
|
1453
1455
|
options?: HttpHandlerOptions,
|
|
1454
1456
|
): Effect.Effect<
|
|
1455
1457
|
UpdateApplicationCommandOutput,
|
|
1456
|
-
| Cause.
|
|
1458
|
+
| Cause.TimeoutError
|
|
1457
1459
|
| SdkError
|
|
1458
1460
|
| AccessDeniedError
|
|
1459
1461
|
| BaseError
|
|
@@ -1472,7 +1474,7 @@ interface OpenSearchService$ {
|
|
|
1472
1474
|
options?: HttpHandlerOptions,
|
|
1473
1475
|
): Effect.Effect<
|
|
1474
1476
|
UpdateDataSourceCommandOutput,
|
|
1475
|
-
| Cause.
|
|
1477
|
+
| Cause.TimeoutError
|
|
1476
1478
|
| SdkError
|
|
1477
1479
|
| BaseError
|
|
1478
1480
|
| DependencyFailureError
|
|
@@ -1490,7 +1492,7 @@ interface OpenSearchService$ {
|
|
|
1490
1492
|
options?: HttpHandlerOptions,
|
|
1491
1493
|
): Effect.Effect<
|
|
1492
1494
|
UpdateDirectQueryDataSourceCommandOutput,
|
|
1493
|
-
| Cause.
|
|
1495
|
+
| Cause.TimeoutError
|
|
1494
1496
|
| SdkError
|
|
1495
1497
|
| BaseError
|
|
1496
1498
|
| DisabledOperationError
|
|
@@ -1507,7 +1509,7 @@ interface OpenSearchService$ {
|
|
|
1507
1509
|
options?: HttpHandlerOptions,
|
|
1508
1510
|
): Effect.Effect<
|
|
1509
1511
|
UpdateDomainConfigCommandOutput,
|
|
1510
|
-
| Cause.
|
|
1512
|
+
| Cause.TimeoutError
|
|
1511
1513
|
| SdkError
|
|
1512
1514
|
| BaseError
|
|
1513
1515
|
| InternalError
|
|
@@ -1525,7 +1527,7 @@ interface OpenSearchService$ {
|
|
|
1525
1527
|
options?: HttpHandlerOptions,
|
|
1526
1528
|
): Effect.Effect<
|
|
1527
1529
|
UpdateIndexCommandOutput,
|
|
1528
|
-
| Cause.
|
|
1530
|
+
| Cause.TimeoutError
|
|
1529
1531
|
| SdkError
|
|
1530
1532
|
| AccessDeniedError
|
|
1531
1533
|
| DependencyFailureError
|
|
@@ -1544,7 +1546,7 @@ interface OpenSearchService$ {
|
|
|
1544
1546
|
options?: HttpHandlerOptions,
|
|
1545
1547
|
): Effect.Effect<
|
|
1546
1548
|
UpdatePackageCommandOutput,
|
|
1547
|
-
| Cause.
|
|
1549
|
+
| Cause.TimeoutError
|
|
1548
1550
|
| SdkError
|
|
1549
1551
|
| AccessDeniedError
|
|
1550
1552
|
| BaseError
|
|
@@ -1562,7 +1564,7 @@ interface OpenSearchService$ {
|
|
|
1562
1564
|
options?: HttpHandlerOptions,
|
|
1563
1565
|
): Effect.Effect<
|
|
1564
1566
|
UpdatePackageScopeCommandOutput,
|
|
1565
|
-
| Cause.
|
|
1567
|
+
| Cause.TimeoutError
|
|
1566
1568
|
| SdkError
|
|
1567
1569
|
| BaseError
|
|
1568
1570
|
| DisabledOperationError
|
|
@@ -1579,7 +1581,7 @@ interface OpenSearchService$ {
|
|
|
1579
1581
|
options?: HttpHandlerOptions,
|
|
1580
1582
|
): Effect.Effect<
|
|
1581
1583
|
UpdateScheduledActionCommandOutput,
|
|
1582
|
-
| Cause.
|
|
1584
|
+
| Cause.TimeoutError
|
|
1583
1585
|
| SdkError
|
|
1584
1586
|
| BaseError
|
|
1585
1587
|
| ConflictError
|
|
@@ -1598,7 +1600,7 @@ interface OpenSearchService$ {
|
|
|
1598
1600
|
options?: HttpHandlerOptions,
|
|
1599
1601
|
): Effect.Effect<
|
|
1600
1602
|
UpdateVpcEndpointCommandOutput,
|
|
1601
|
-
| Cause.
|
|
1603
|
+
| Cause.TimeoutError
|
|
1602
1604
|
| SdkError
|
|
1603
1605
|
| BaseError
|
|
1604
1606
|
| ConflictError
|
|
@@ -1616,7 +1618,7 @@ interface OpenSearchService$ {
|
|
|
1616
1618
|
options?: HttpHandlerOptions,
|
|
1617
1619
|
): Effect.Effect<
|
|
1618
1620
|
UpgradeDomainCommandOutput,
|
|
1619
|
-
| Cause.
|
|
1621
|
+
| Cause.TimeoutError
|
|
1620
1622
|
| SdkError
|
|
1621
1623
|
| BaseError
|
|
1622
1624
|
| DisabledOperationError
|
|
@@ -1648,10 +1650,10 @@ export const makeOpenSearchService = Effect.gen(function*() {
|
|
|
1648
1650
|
* @since 1.0.0
|
|
1649
1651
|
* @category models
|
|
1650
1652
|
*/
|
|
1651
|
-
export class OpenSearchService extends
|
|
1653
|
+
export class OpenSearchService extends ServiceMap.Service<
|
|
1652
1654
|
OpenSearchService,
|
|
1653
1655
|
OpenSearchService$
|
|
1654
|
-
>() {
|
|
1656
|
+
>()("@effect-aws/client-opensearch/OpenSearchService") {
|
|
1655
1657
|
static readonly defaultLayer = Layer.effect(this, makeOpenSearchService).pipe(Layer.provide(Instance.layer));
|
|
1656
1658
|
static readonly layer = (config: OpenSearchService.Config) =>
|
|
1657
1659
|
Layer.effect(this, makeOpenSearchService).pipe(
|