@effect-aws/client-opensearch 1.10.7 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/OpenSearchClientInstance.d.ts +2 -2
- package/dist/dts/OpenSearchClientInstance.d.ts.map +1 -1
- package/dist/dts/OpenSearchService.d.ts +84 -86
- package/dist/dts/OpenSearchService.d.ts.map +1 -1
- package/dist/dts/OpenSearchServiceConfig.d.ts.map +1 -1
- package/dist/esm/OpenSearchClientInstance.js +3 -3
- package/dist/esm/OpenSearchClientInstance.js.map +1 -1
- package/dist/esm/OpenSearchService.js +2 -2
- package/dist/esm/OpenSearchService.js.map +1 -1
- package/dist/esm/OpenSearchServiceConfig.js +5 -6
- package/dist/esm/OpenSearchServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/OpenSearchClientInstance.ts +4 -4
- package/src/OpenSearchService.ts +85 -85
- package/src/OpenSearchServiceConfig.ts +6 -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
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
255
255
|
import { Service } from "@effect-aws/commons";
|
|
256
256
|
import type { Cause } from "effect";
|
|
257
|
-
import { Effect, Layer } from "effect";
|
|
257
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
258
258
|
import type {
|
|
259
259
|
AccessDeniedError,
|
|
260
260
|
BaseError,
|
|
@@ -372,7 +372,7 @@ interface OpenSearchService$ {
|
|
|
372
372
|
options?: HttpHandlerOptions,
|
|
373
373
|
): Effect.Effect<
|
|
374
374
|
AcceptInboundConnectionCommandOutput,
|
|
375
|
-
Cause.
|
|
375
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | LimitExceededError | ResourceNotFoundError
|
|
376
376
|
>;
|
|
377
377
|
|
|
378
378
|
/**
|
|
@@ -383,7 +383,7 @@ interface OpenSearchService$ {
|
|
|
383
383
|
options?: HttpHandlerOptions,
|
|
384
384
|
): Effect.Effect<
|
|
385
385
|
AddDataSourceCommandOutput,
|
|
386
|
-
| Cause.
|
|
386
|
+
| Cause.TimeoutError
|
|
387
387
|
| SdkError
|
|
388
388
|
| BaseError
|
|
389
389
|
| DependencyFailureError
|
|
@@ -402,7 +402,7 @@ interface OpenSearchService$ {
|
|
|
402
402
|
options?: HttpHandlerOptions,
|
|
403
403
|
): Effect.Effect<
|
|
404
404
|
AddDirectQueryDataSourceCommandOutput,
|
|
405
|
-
| Cause.
|
|
405
|
+
| Cause.TimeoutError
|
|
406
406
|
| SdkError
|
|
407
407
|
| BaseError
|
|
408
408
|
| DisabledOperationError
|
|
@@ -420,7 +420,7 @@ interface OpenSearchService$ {
|
|
|
420
420
|
options?: HttpHandlerOptions,
|
|
421
421
|
): Effect.Effect<
|
|
422
422
|
AddTagsCommandOutput,
|
|
423
|
-
Cause.
|
|
423
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | LimitExceededError | ValidationError
|
|
424
424
|
>;
|
|
425
425
|
|
|
426
426
|
/**
|
|
@@ -431,7 +431,7 @@ interface OpenSearchService$ {
|
|
|
431
431
|
options?: HttpHandlerOptions,
|
|
432
432
|
): Effect.Effect<
|
|
433
433
|
AssociatePackageCommandOutput,
|
|
434
|
-
| Cause.
|
|
434
|
+
| Cause.TimeoutError
|
|
435
435
|
| SdkError
|
|
436
436
|
| AccessDeniedError
|
|
437
437
|
| BaseError
|
|
@@ -449,7 +449,7 @@ interface OpenSearchService$ {
|
|
|
449
449
|
options?: HttpHandlerOptions,
|
|
450
450
|
): Effect.Effect<
|
|
451
451
|
AssociatePackagesCommandOutput,
|
|
452
|
-
| Cause.
|
|
452
|
+
| Cause.TimeoutError
|
|
453
453
|
| SdkError
|
|
454
454
|
| BaseError
|
|
455
455
|
| ConflictError
|
|
@@ -467,7 +467,7 @@ interface OpenSearchService$ {
|
|
|
467
467
|
options?: HttpHandlerOptions,
|
|
468
468
|
): Effect.Effect<
|
|
469
469
|
AuthorizeVpcEndpointAccessCommandOutput,
|
|
470
|
-
| Cause.
|
|
470
|
+
| Cause.TimeoutError
|
|
471
471
|
| SdkError
|
|
472
472
|
| BaseError
|
|
473
473
|
| DisabledOperationError
|
|
@@ -485,7 +485,7 @@ interface OpenSearchService$ {
|
|
|
485
485
|
options?: HttpHandlerOptions,
|
|
486
486
|
): Effect.Effect<
|
|
487
487
|
CancelDomainConfigChangeCommandOutput,
|
|
488
|
-
| Cause.
|
|
488
|
+
| Cause.TimeoutError
|
|
489
489
|
| SdkError
|
|
490
490
|
| BaseError
|
|
491
491
|
| DisabledOperationError
|
|
@@ -502,7 +502,7 @@ interface OpenSearchService$ {
|
|
|
502
502
|
options?: HttpHandlerOptions,
|
|
503
503
|
): Effect.Effect<
|
|
504
504
|
CancelServiceSoftwareUpdateCommandOutput,
|
|
505
|
-
Cause.
|
|
505
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
506
506
|
>;
|
|
507
507
|
|
|
508
508
|
/**
|
|
@@ -513,7 +513,7 @@ interface OpenSearchService$ {
|
|
|
513
513
|
options?: HttpHandlerOptions,
|
|
514
514
|
): Effect.Effect<
|
|
515
515
|
CreateApplicationCommandOutput,
|
|
516
|
-
| Cause.
|
|
516
|
+
| Cause.TimeoutError
|
|
517
517
|
| SdkError
|
|
518
518
|
| AccessDeniedError
|
|
519
519
|
| BaseError
|
|
@@ -531,7 +531,7 @@ interface OpenSearchService$ {
|
|
|
531
531
|
options?: HttpHandlerOptions,
|
|
532
532
|
): Effect.Effect<
|
|
533
533
|
CreateDomainCommandOutput,
|
|
534
|
-
| Cause.
|
|
534
|
+
| Cause.TimeoutError
|
|
535
535
|
| SdkError
|
|
536
536
|
| BaseError
|
|
537
537
|
| DisabledOperationError
|
|
@@ -550,7 +550,7 @@ interface OpenSearchService$ {
|
|
|
550
550
|
options?: HttpHandlerOptions,
|
|
551
551
|
): Effect.Effect<
|
|
552
552
|
CreateIndexCommandOutput,
|
|
553
|
-
| Cause.
|
|
553
|
+
| Cause.TimeoutError
|
|
554
554
|
| SdkError
|
|
555
555
|
| AccessDeniedError
|
|
556
556
|
| DependencyFailureError
|
|
@@ -570,7 +570,7 @@ interface OpenSearchService$ {
|
|
|
570
570
|
options?: HttpHandlerOptions,
|
|
571
571
|
): Effect.Effect<
|
|
572
572
|
CreateOutboundConnectionCommandOutput,
|
|
573
|
-
| Cause.
|
|
573
|
+
| Cause.TimeoutError
|
|
574
574
|
| SdkError
|
|
575
575
|
| DisabledOperationError
|
|
576
576
|
| InternalError
|
|
@@ -586,7 +586,7 @@ interface OpenSearchService$ {
|
|
|
586
586
|
options?: HttpHandlerOptions,
|
|
587
587
|
): Effect.Effect<
|
|
588
588
|
CreatePackageCommandOutput,
|
|
589
|
-
| Cause.
|
|
589
|
+
| Cause.TimeoutError
|
|
590
590
|
| SdkError
|
|
591
591
|
| AccessDeniedError
|
|
592
592
|
| BaseError
|
|
@@ -605,7 +605,7 @@ interface OpenSearchService$ {
|
|
|
605
605
|
options?: HttpHandlerOptions,
|
|
606
606
|
): Effect.Effect<
|
|
607
607
|
CreateVpcEndpointCommandOutput,
|
|
608
|
-
| Cause.
|
|
608
|
+
| Cause.TimeoutError
|
|
609
609
|
| SdkError
|
|
610
610
|
| BaseError
|
|
611
611
|
| ConflictError
|
|
@@ -623,7 +623,7 @@ interface OpenSearchService$ {
|
|
|
623
623
|
options?: HttpHandlerOptions,
|
|
624
624
|
): Effect.Effect<
|
|
625
625
|
DeleteApplicationCommandOutput,
|
|
626
|
-
| Cause.
|
|
626
|
+
| Cause.TimeoutError
|
|
627
627
|
| SdkError
|
|
628
628
|
| AccessDeniedError
|
|
629
629
|
| BaseError
|
|
@@ -642,7 +642,7 @@ interface OpenSearchService$ {
|
|
|
642
642
|
options?: HttpHandlerOptions,
|
|
643
643
|
): Effect.Effect<
|
|
644
644
|
DeleteDataSourceCommandOutput,
|
|
645
|
-
| Cause.
|
|
645
|
+
| Cause.TimeoutError
|
|
646
646
|
| SdkError
|
|
647
647
|
| BaseError
|
|
648
648
|
| DependencyFailureError
|
|
@@ -660,7 +660,7 @@ interface OpenSearchService$ {
|
|
|
660
660
|
options?: HttpHandlerOptions,
|
|
661
661
|
): Effect.Effect<
|
|
662
662
|
DeleteDirectQueryDataSourceCommandOutput,
|
|
663
|
-
| Cause.
|
|
663
|
+
| Cause.TimeoutError
|
|
664
664
|
| SdkError
|
|
665
665
|
| BaseError
|
|
666
666
|
| DisabledOperationError
|
|
@@ -677,7 +677,7 @@ interface OpenSearchService$ {
|
|
|
677
677
|
options?: HttpHandlerOptions,
|
|
678
678
|
): Effect.Effect<
|
|
679
679
|
DeleteDomainCommandOutput,
|
|
680
|
-
Cause.
|
|
680
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
681
681
|
>;
|
|
682
682
|
|
|
683
683
|
/**
|
|
@@ -688,7 +688,7 @@ interface OpenSearchService$ {
|
|
|
688
688
|
options?: HttpHandlerOptions,
|
|
689
689
|
): Effect.Effect<
|
|
690
690
|
DeleteInboundConnectionCommandOutput,
|
|
691
|
-
Cause.
|
|
691
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
692
692
|
>;
|
|
693
693
|
|
|
694
694
|
/**
|
|
@@ -699,7 +699,7 @@ interface OpenSearchService$ {
|
|
|
699
699
|
options?: HttpHandlerOptions,
|
|
700
700
|
): Effect.Effect<
|
|
701
701
|
DeleteIndexCommandOutput,
|
|
702
|
-
| Cause.
|
|
702
|
+
| Cause.TimeoutError
|
|
703
703
|
| SdkError
|
|
704
704
|
| AccessDeniedError
|
|
705
705
|
| DependencyFailureError
|
|
@@ -718,7 +718,7 @@ interface OpenSearchService$ {
|
|
|
718
718
|
options?: HttpHandlerOptions,
|
|
719
719
|
): Effect.Effect<
|
|
720
720
|
DeleteOutboundConnectionCommandOutput,
|
|
721
|
-
Cause.
|
|
721
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
722
722
|
>;
|
|
723
723
|
|
|
724
724
|
/**
|
|
@@ -729,7 +729,7 @@ interface OpenSearchService$ {
|
|
|
729
729
|
options?: HttpHandlerOptions,
|
|
730
730
|
): Effect.Effect<
|
|
731
731
|
DeletePackageCommandOutput,
|
|
732
|
-
| Cause.
|
|
732
|
+
| Cause.TimeoutError
|
|
733
733
|
| SdkError
|
|
734
734
|
| AccessDeniedError
|
|
735
735
|
| BaseError
|
|
@@ -747,7 +747,7 @@ interface OpenSearchService$ {
|
|
|
747
747
|
options?: HttpHandlerOptions,
|
|
748
748
|
): Effect.Effect<
|
|
749
749
|
DeleteVpcEndpointCommandOutput,
|
|
750
|
-
Cause.
|
|
750
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
751
751
|
>;
|
|
752
752
|
|
|
753
753
|
/**
|
|
@@ -758,7 +758,7 @@ interface OpenSearchService$ {
|
|
|
758
758
|
options?: HttpHandlerOptions,
|
|
759
759
|
): Effect.Effect<
|
|
760
760
|
DescribeDomainCommandOutput,
|
|
761
|
-
Cause.
|
|
761
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
762
762
|
>;
|
|
763
763
|
|
|
764
764
|
/**
|
|
@@ -769,7 +769,7 @@ interface OpenSearchService$ {
|
|
|
769
769
|
options?: HttpHandlerOptions,
|
|
770
770
|
): Effect.Effect<
|
|
771
771
|
DescribeDomainAutoTunesCommandOutput,
|
|
772
|
-
Cause.
|
|
772
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
773
773
|
>;
|
|
774
774
|
|
|
775
775
|
/**
|
|
@@ -780,7 +780,7 @@ interface OpenSearchService$ {
|
|
|
780
780
|
options?: HttpHandlerOptions,
|
|
781
781
|
): Effect.Effect<
|
|
782
782
|
DescribeDomainChangeProgressCommandOutput,
|
|
783
|
-
Cause.
|
|
783
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
784
784
|
>;
|
|
785
785
|
|
|
786
786
|
/**
|
|
@@ -791,7 +791,7 @@ interface OpenSearchService$ {
|
|
|
791
791
|
options?: HttpHandlerOptions,
|
|
792
792
|
): Effect.Effect<
|
|
793
793
|
DescribeDomainConfigCommandOutput,
|
|
794
|
-
Cause.
|
|
794
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
795
795
|
>;
|
|
796
796
|
|
|
797
797
|
/**
|
|
@@ -802,7 +802,7 @@ interface OpenSearchService$ {
|
|
|
802
802
|
options?: HttpHandlerOptions,
|
|
803
803
|
): Effect.Effect<
|
|
804
804
|
DescribeDomainHealthCommandOutput,
|
|
805
|
-
| Cause.
|
|
805
|
+
| Cause.TimeoutError
|
|
806
806
|
| SdkError
|
|
807
807
|
| BaseError
|
|
808
808
|
| DisabledOperationError
|
|
@@ -819,7 +819,7 @@ interface OpenSearchService$ {
|
|
|
819
819
|
options?: HttpHandlerOptions,
|
|
820
820
|
): Effect.Effect<
|
|
821
821
|
DescribeDomainNodesCommandOutput,
|
|
822
|
-
| Cause.
|
|
822
|
+
| Cause.TimeoutError
|
|
823
823
|
| SdkError
|
|
824
824
|
| BaseError
|
|
825
825
|
| DependencyFailureError
|
|
@@ -837,7 +837,7 @@ interface OpenSearchService$ {
|
|
|
837
837
|
options?: HttpHandlerOptions,
|
|
838
838
|
): Effect.Effect<
|
|
839
839
|
DescribeDomainsCommandOutput,
|
|
840
|
-
Cause.
|
|
840
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ValidationError
|
|
841
841
|
>;
|
|
842
842
|
|
|
843
843
|
/**
|
|
@@ -848,7 +848,7 @@ interface OpenSearchService$ {
|
|
|
848
848
|
options?: HttpHandlerOptions,
|
|
849
849
|
): Effect.Effect<
|
|
850
850
|
DescribeDryRunProgressCommandOutput,
|
|
851
|
-
| Cause.
|
|
851
|
+
| Cause.TimeoutError
|
|
852
852
|
| SdkError
|
|
853
853
|
| BaseError
|
|
854
854
|
| DisabledOperationError
|
|
@@ -865,7 +865,7 @@ interface OpenSearchService$ {
|
|
|
865
865
|
options?: HttpHandlerOptions,
|
|
866
866
|
): Effect.Effect<
|
|
867
867
|
DescribeInboundConnectionsCommandOutput,
|
|
868
|
-
Cause.
|
|
868
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
869
869
|
>;
|
|
870
870
|
|
|
871
871
|
/**
|
|
@@ -876,7 +876,7 @@ interface OpenSearchService$ {
|
|
|
876
876
|
options?: HttpHandlerOptions,
|
|
877
877
|
): Effect.Effect<
|
|
878
878
|
DescribeInstanceTypeLimitsCommandOutput,
|
|
879
|
-
| Cause.
|
|
879
|
+
| Cause.TimeoutError
|
|
880
880
|
| SdkError
|
|
881
881
|
| BaseError
|
|
882
882
|
| InternalError
|
|
@@ -894,7 +894,7 @@ interface OpenSearchService$ {
|
|
|
894
894
|
options?: HttpHandlerOptions,
|
|
895
895
|
): Effect.Effect<
|
|
896
896
|
DescribeOutboundConnectionsCommandOutput,
|
|
897
|
-
Cause.
|
|
897
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
898
898
|
>;
|
|
899
899
|
|
|
900
900
|
/**
|
|
@@ -905,7 +905,7 @@ interface OpenSearchService$ {
|
|
|
905
905
|
options?: HttpHandlerOptions,
|
|
906
906
|
): Effect.Effect<
|
|
907
907
|
DescribePackagesCommandOutput,
|
|
908
|
-
| Cause.
|
|
908
|
+
| Cause.TimeoutError
|
|
909
909
|
| SdkError
|
|
910
910
|
| AccessDeniedError
|
|
911
911
|
| BaseError
|
|
@@ -922,7 +922,7 @@ interface OpenSearchService$ {
|
|
|
922
922
|
options?: HttpHandlerOptions,
|
|
923
923
|
): Effect.Effect<
|
|
924
924
|
DescribeReservedInstanceOfferingsCommandOutput,
|
|
925
|
-
Cause.
|
|
925
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
926
926
|
>;
|
|
927
927
|
|
|
928
928
|
/**
|
|
@@ -933,7 +933,7 @@ interface OpenSearchService$ {
|
|
|
933
933
|
options?: HttpHandlerOptions,
|
|
934
934
|
): Effect.Effect<
|
|
935
935
|
DescribeReservedInstancesCommandOutput,
|
|
936
|
-
Cause.
|
|
936
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
937
937
|
>;
|
|
938
938
|
|
|
939
939
|
/**
|
|
@@ -944,7 +944,7 @@ interface OpenSearchService$ {
|
|
|
944
944
|
options?: HttpHandlerOptions,
|
|
945
945
|
): Effect.Effect<
|
|
946
946
|
DescribeVpcEndpointsCommandOutput,
|
|
947
|
-
Cause.
|
|
947
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ValidationError
|
|
948
948
|
>;
|
|
949
949
|
|
|
950
950
|
/**
|
|
@@ -955,7 +955,7 @@ interface OpenSearchService$ {
|
|
|
955
955
|
options?: HttpHandlerOptions,
|
|
956
956
|
): Effect.Effect<
|
|
957
957
|
DissociatePackageCommandOutput,
|
|
958
|
-
| Cause.
|
|
958
|
+
| Cause.TimeoutError
|
|
959
959
|
| SdkError
|
|
960
960
|
| AccessDeniedError
|
|
961
961
|
| BaseError
|
|
@@ -973,7 +973,7 @@ interface OpenSearchService$ {
|
|
|
973
973
|
options?: HttpHandlerOptions,
|
|
974
974
|
): Effect.Effect<
|
|
975
975
|
DissociatePackagesCommandOutput,
|
|
976
|
-
| Cause.
|
|
976
|
+
| Cause.TimeoutError
|
|
977
977
|
| SdkError
|
|
978
978
|
| BaseError
|
|
979
979
|
| ConflictError
|
|
@@ -991,7 +991,7 @@ interface OpenSearchService$ {
|
|
|
991
991
|
options?: HttpHandlerOptions,
|
|
992
992
|
): Effect.Effect<
|
|
993
993
|
GetApplicationCommandOutput,
|
|
994
|
-
| Cause.
|
|
994
|
+
| Cause.TimeoutError
|
|
995
995
|
| SdkError
|
|
996
996
|
| AccessDeniedError
|
|
997
997
|
| BaseError
|
|
@@ -1009,7 +1009,7 @@ interface OpenSearchService$ {
|
|
|
1009
1009
|
options?: HttpHandlerOptions,
|
|
1010
1010
|
): Effect.Effect<
|
|
1011
1011
|
GetCompatibleVersionsCommandOutput,
|
|
1012
|
-
| Cause.
|
|
1012
|
+
| Cause.TimeoutError
|
|
1013
1013
|
| SdkError
|
|
1014
1014
|
| BaseError
|
|
1015
1015
|
| DisabledOperationError
|
|
@@ -1026,7 +1026,7 @@ interface OpenSearchService$ {
|
|
|
1026
1026
|
options?: HttpHandlerOptions,
|
|
1027
1027
|
): Effect.Effect<
|
|
1028
1028
|
GetDataSourceCommandOutput,
|
|
1029
|
-
| Cause.
|
|
1029
|
+
| Cause.TimeoutError
|
|
1030
1030
|
| SdkError
|
|
1031
1031
|
| BaseError
|
|
1032
1032
|
| DependencyFailureError
|
|
@@ -1044,7 +1044,7 @@ interface OpenSearchService$ {
|
|
|
1044
1044
|
options?: HttpHandlerOptions,
|
|
1045
1045
|
): Effect.Effect<
|
|
1046
1046
|
GetDefaultApplicationSettingCommandOutput,
|
|
1047
|
-
Cause.
|
|
1047
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalError | ResourceNotFoundError | ValidationError
|
|
1048
1048
|
>;
|
|
1049
1049
|
|
|
1050
1050
|
/**
|
|
@@ -1055,7 +1055,7 @@ interface OpenSearchService$ {
|
|
|
1055
1055
|
options?: HttpHandlerOptions,
|
|
1056
1056
|
): Effect.Effect<
|
|
1057
1057
|
GetDirectQueryDataSourceCommandOutput,
|
|
1058
|
-
| Cause.
|
|
1058
|
+
| Cause.TimeoutError
|
|
1059
1059
|
| SdkError
|
|
1060
1060
|
| BaseError
|
|
1061
1061
|
| DisabledOperationError
|
|
@@ -1072,7 +1072,7 @@ interface OpenSearchService$ {
|
|
|
1072
1072
|
options?: HttpHandlerOptions,
|
|
1073
1073
|
): Effect.Effect<
|
|
1074
1074
|
GetDomainMaintenanceStatusCommandOutput,
|
|
1075
|
-
| Cause.
|
|
1075
|
+
| Cause.TimeoutError
|
|
1076
1076
|
| SdkError
|
|
1077
1077
|
| BaseError
|
|
1078
1078
|
| DisabledOperationError
|
|
@@ -1089,7 +1089,7 @@ interface OpenSearchService$ {
|
|
|
1089
1089
|
options?: HttpHandlerOptions,
|
|
1090
1090
|
): Effect.Effect<
|
|
1091
1091
|
GetIndexCommandOutput,
|
|
1092
|
-
| Cause.
|
|
1092
|
+
| Cause.TimeoutError
|
|
1093
1093
|
| SdkError
|
|
1094
1094
|
| AccessDeniedError
|
|
1095
1095
|
| DependencyFailureError
|
|
@@ -1108,7 +1108,7 @@ interface OpenSearchService$ {
|
|
|
1108
1108
|
options?: HttpHandlerOptions,
|
|
1109
1109
|
): Effect.Effect<
|
|
1110
1110
|
GetPackageVersionHistoryCommandOutput,
|
|
1111
|
-
| Cause.
|
|
1111
|
+
| Cause.TimeoutError
|
|
1112
1112
|
| SdkError
|
|
1113
1113
|
| AccessDeniedError
|
|
1114
1114
|
| BaseError
|
|
@@ -1125,7 +1125,7 @@ interface OpenSearchService$ {
|
|
|
1125
1125
|
options?: HttpHandlerOptions,
|
|
1126
1126
|
): Effect.Effect<
|
|
1127
1127
|
GetUpgradeHistoryCommandOutput,
|
|
1128
|
-
| Cause.
|
|
1128
|
+
| Cause.TimeoutError
|
|
1129
1129
|
| SdkError
|
|
1130
1130
|
| BaseError
|
|
1131
1131
|
| DisabledOperationError
|
|
@@ -1142,7 +1142,7 @@ interface OpenSearchService$ {
|
|
|
1142
1142
|
options?: HttpHandlerOptions,
|
|
1143
1143
|
): Effect.Effect<
|
|
1144
1144
|
GetUpgradeStatusCommandOutput,
|
|
1145
|
-
| Cause.
|
|
1145
|
+
| Cause.TimeoutError
|
|
1146
1146
|
| SdkError
|
|
1147
1147
|
| BaseError
|
|
1148
1148
|
| DisabledOperationError
|
|
@@ -1159,7 +1159,7 @@ interface OpenSearchService$ {
|
|
|
1159
1159
|
options?: HttpHandlerOptions,
|
|
1160
1160
|
): Effect.Effect<
|
|
1161
1161
|
ListApplicationsCommandOutput,
|
|
1162
|
-
| Cause.
|
|
1162
|
+
| Cause.TimeoutError
|
|
1163
1163
|
| SdkError
|
|
1164
1164
|
| AccessDeniedError
|
|
1165
1165
|
| BaseError
|
|
@@ -1177,7 +1177,7 @@ interface OpenSearchService$ {
|
|
|
1177
1177
|
options?: HttpHandlerOptions,
|
|
1178
1178
|
): Effect.Effect<
|
|
1179
1179
|
ListDataSourcesCommandOutput,
|
|
1180
|
-
| Cause.
|
|
1180
|
+
| Cause.TimeoutError
|
|
1181
1181
|
| SdkError
|
|
1182
1182
|
| BaseError
|
|
1183
1183
|
| DependencyFailureError
|
|
@@ -1195,7 +1195,7 @@ interface OpenSearchService$ {
|
|
|
1195
1195
|
options?: HttpHandlerOptions,
|
|
1196
1196
|
): Effect.Effect<
|
|
1197
1197
|
ListDirectQueryDataSourcesCommandOutput,
|
|
1198
|
-
| Cause.
|
|
1198
|
+
| Cause.TimeoutError
|
|
1199
1199
|
| SdkError
|
|
1200
1200
|
| BaseError
|
|
1201
1201
|
| DisabledOperationError
|
|
@@ -1212,7 +1212,7 @@ interface OpenSearchService$ {
|
|
|
1212
1212
|
options?: HttpHandlerOptions,
|
|
1213
1213
|
): Effect.Effect<
|
|
1214
1214
|
ListDomainMaintenancesCommandOutput,
|
|
1215
|
-
| Cause.
|
|
1215
|
+
| Cause.TimeoutError
|
|
1216
1216
|
| SdkError
|
|
1217
1217
|
| BaseError
|
|
1218
1218
|
| DisabledOperationError
|
|
@@ -1229,7 +1229,7 @@ interface OpenSearchService$ {
|
|
|
1229
1229
|
options?: HttpHandlerOptions,
|
|
1230
1230
|
): Effect.Effect<
|
|
1231
1231
|
ListDomainNamesCommandOutput,
|
|
1232
|
-
Cause.
|
|
1232
|
+
Cause.TimeoutError | SdkError | BaseError | ValidationError
|
|
1233
1233
|
>;
|
|
1234
1234
|
|
|
1235
1235
|
/**
|
|
@@ -1240,7 +1240,7 @@ interface OpenSearchService$ {
|
|
|
1240
1240
|
options?: HttpHandlerOptions,
|
|
1241
1241
|
): Effect.Effect<
|
|
1242
1242
|
ListDomainsForPackageCommandOutput,
|
|
1243
|
-
| Cause.
|
|
1243
|
+
| Cause.TimeoutError
|
|
1244
1244
|
| SdkError
|
|
1245
1245
|
| AccessDeniedError
|
|
1246
1246
|
| BaseError
|
|
@@ -1257,7 +1257,7 @@ interface OpenSearchService$ {
|
|
|
1257
1257
|
options?: HttpHandlerOptions,
|
|
1258
1258
|
): Effect.Effect<
|
|
1259
1259
|
ListInstanceTypeDetailsCommandOutput,
|
|
1260
|
-
Cause.
|
|
1260
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1261
1261
|
>;
|
|
1262
1262
|
|
|
1263
1263
|
/**
|
|
@@ -1268,7 +1268,7 @@ interface OpenSearchService$ {
|
|
|
1268
1268
|
options?: HttpHandlerOptions,
|
|
1269
1269
|
): Effect.Effect<
|
|
1270
1270
|
ListPackagesForDomainCommandOutput,
|
|
1271
|
-
| Cause.
|
|
1271
|
+
| Cause.TimeoutError
|
|
1272
1272
|
| SdkError
|
|
1273
1273
|
| AccessDeniedError
|
|
1274
1274
|
| BaseError
|
|
@@ -1285,7 +1285,7 @@ interface OpenSearchService$ {
|
|
|
1285
1285
|
options?: HttpHandlerOptions,
|
|
1286
1286
|
): Effect.Effect<
|
|
1287
1287
|
ListScheduledActionsCommandOutput,
|
|
1288
|
-
| Cause.
|
|
1288
|
+
| Cause.TimeoutError
|
|
1289
1289
|
| SdkError
|
|
1290
1290
|
| BaseError
|
|
1291
1291
|
| InternalError
|
|
@@ -1302,7 +1302,7 @@ interface OpenSearchService$ {
|
|
|
1302
1302
|
options?: HttpHandlerOptions,
|
|
1303
1303
|
): Effect.Effect<
|
|
1304
1304
|
ListTagsCommandOutput,
|
|
1305
|
-
Cause.
|
|
1305
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1306
1306
|
>;
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
@@ -1313,7 +1313,7 @@ interface OpenSearchService$ {
|
|
|
1313
1313
|
options?: HttpHandlerOptions,
|
|
1314
1314
|
): Effect.Effect<
|
|
1315
1315
|
ListVersionsCommandOutput,
|
|
1316
|
-
Cause.
|
|
1316
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1317
1317
|
>;
|
|
1318
1318
|
|
|
1319
1319
|
/**
|
|
@@ -1324,7 +1324,7 @@ interface OpenSearchService$ {
|
|
|
1324
1324
|
options?: HttpHandlerOptions,
|
|
1325
1325
|
): Effect.Effect<
|
|
1326
1326
|
ListVpcEndpointAccessCommandOutput,
|
|
1327
|
-
Cause.
|
|
1327
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1328
1328
|
>;
|
|
1329
1329
|
|
|
1330
1330
|
/**
|
|
@@ -1335,7 +1335,7 @@ interface OpenSearchService$ {
|
|
|
1335
1335
|
options?: HttpHandlerOptions,
|
|
1336
1336
|
): Effect.Effect<
|
|
1337
1337
|
ListVpcEndpointsCommandOutput,
|
|
1338
|
-
Cause.
|
|
1338
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError
|
|
1339
1339
|
>;
|
|
1340
1340
|
|
|
1341
1341
|
/**
|
|
@@ -1346,7 +1346,7 @@ interface OpenSearchService$ {
|
|
|
1346
1346
|
options?: HttpHandlerOptions,
|
|
1347
1347
|
): Effect.Effect<
|
|
1348
1348
|
ListVpcEndpointsForDomainCommandOutput,
|
|
1349
|
-
Cause.
|
|
1349
|
+
Cause.TimeoutError | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1350
1350
|
>;
|
|
1351
1351
|
|
|
1352
1352
|
/**
|
|
@@ -1357,7 +1357,7 @@ interface OpenSearchService$ {
|
|
|
1357
1357
|
options?: HttpHandlerOptions,
|
|
1358
1358
|
): Effect.Effect<
|
|
1359
1359
|
PurchaseReservedInstanceOfferingCommandOutput,
|
|
1360
|
-
| Cause.
|
|
1360
|
+
| Cause.TimeoutError
|
|
1361
1361
|
| SdkError
|
|
1362
1362
|
| DisabledOperationError
|
|
1363
1363
|
| InternalError
|
|
@@ -1375,7 +1375,7 @@ interface OpenSearchService$ {
|
|
|
1375
1375
|
options?: HttpHandlerOptions,
|
|
1376
1376
|
): Effect.Effect<
|
|
1377
1377
|
PutDefaultApplicationSettingCommandOutput,
|
|
1378
|
-
Cause.
|
|
1378
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalError | ResourceNotFoundError | ValidationError
|
|
1379
1379
|
>;
|
|
1380
1380
|
|
|
1381
1381
|
/**
|
|
@@ -1386,7 +1386,7 @@ interface OpenSearchService$ {
|
|
|
1386
1386
|
options?: HttpHandlerOptions,
|
|
1387
1387
|
): Effect.Effect<
|
|
1388
1388
|
RejectInboundConnectionCommandOutput,
|
|
1389
|
-
Cause.
|
|
1389
|
+
Cause.TimeoutError | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
1390
1390
|
>;
|
|
1391
1391
|
|
|
1392
1392
|
/**
|
|
@@ -1397,7 +1397,7 @@ interface OpenSearchService$ {
|
|
|
1397
1397
|
options?: HttpHandlerOptions,
|
|
1398
1398
|
): Effect.Effect<
|
|
1399
1399
|
RemoveTagsCommandOutput,
|
|
1400
|
-
Cause.
|
|
1400
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ValidationError
|
|
1401
1401
|
>;
|
|
1402
1402
|
|
|
1403
1403
|
/**
|
|
@@ -1408,7 +1408,7 @@ interface OpenSearchService$ {
|
|
|
1408
1408
|
options?: HttpHandlerOptions,
|
|
1409
1409
|
): Effect.Effect<
|
|
1410
1410
|
RevokeVpcEndpointAccessCommandOutput,
|
|
1411
|
-
| Cause.
|
|
1411
|
+
| Cause.TimeoutError
|
|
1412
1412
|
| SdkError
|
|
1413
1413
|
| BaseError
|
|
1414
1414
|
| DisabledOperationError
|
|
@@ -1425,7 +1425,7 @@ interface OpenSearchService$ {
|
|
|
1425
1425
|
options?: HttpHandlerOptions,
|
|
1426
1426
|
): Effect.Effect<
|
|
1427
1427
|
StartDomainMaintenanceCommandOutput,
|
|
1428
|
-
| Cause.
|
|
1428
|
+
| Cause.TimeoutError
|
|
1429
1429
|
| SdkError
|
|
1430
1430
|
| BaseError
|
|
1431
1431
|
| DisabledOperationError
|
|
@@ -1442,7 +1442,7 @@ interface OpenSearchService$ {
|
|
|
1442
1442
|
options?: HttpHandlerOptions,
|
|
1443
1443
|
): Effect.Effect<
|
|
1444
1444
|
StartServiceSoftwareUpdateCommandOutput,
|
|
1445
|
-
Cause.
|
|
1445
|
+
Cause.TimeoutError | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1446
1446
|
>;
|
|
1447
1447
|
|
|
1448
1448
|
/**
|
|
@@ -1453,7 +1453,7 @@ interface OpenSearchService$ {
|
|
|
1453
1453
|
options?: HttpHandlerOptions,
|
|
1454
1454
|
): Effect.Effect<
|
|
1455
1455
|
UpdateApplicationCommandOutput,
|
|
1456
|
-
| Cause.
|
|
1456
|
+
| Cause.TimeoutError
|
|
1457
1457
|
| SdkError
|
|
1458
1458
|
| AccessDeniedError
|
|
1459
1459
|
| BaseError
|
|
@@ -1472,7 +1472,7 @@ interface OpenSearchService$ {
|
|
|
1472
1472
|
options?: HttpHandlerOptions,
|
|
1473
1473
|
): Effect.Effect<
|
|
1474
1474
|
UpdateDataSourceCommandOutput,
|
|
1475
|
-
| Cause.
|
|
1475
|
+
| Cause.TimeoutError
|
|
1476
1476
|
| SdkError
|
|
1477
1477
|
| BaseError
|
|
1478
1478
|
| DependencyFailureError
|
|
@@ -1490,7 +1490,7 @@ interface OpenSearchService$ {
|
|
|
1490
1490
|
options?: HttpHandlerOptions,
|
|
1491
1491
|
): Effect.Effect<
|
|
1492
1492
|
UpdateDirectQueryDataSourceCommandOutput,
|
|
1493
|
-
| Cause.
|
|
1493
|
+
| Cause.TimeoutError
|
|
1494
1494
|
| SdkError
|
|
1495
1495
|
| BaseError
|
|
1496
1496
|
| DisabledOperationError
|
|
@@ -1507,7 +1507,7 @@ interface OpenSearchService$ {
|
|
|
1507
1507
|
options?: HttpHandlerOptions,
|
|
1508
1508
|
): Effect.Effect<
|
|
1509
1509
|
UpdateDomainConfigCommandOutput,
|
|
1510
|
-
| Cause.
|
|
1510
|
+
| Cause.TimeoutError
|
|
1511
1511
|
| SdkError
|
|
1512
1512
|
| BaseError
|
|
1513
1513
|
| InternalError
|
|
@@ -1525,7 +1525,7 @@ interface OpenSearchService$ {
|
|
|
1525
1525
|
options?: HttpHandlerOptions,
|
|
1526
1526
|
): Effect.Effect<
|
|
1527
1527
|
UpdateIndexCommandOutput,
|
|
1528
|
-
| Cause.
|
|
1528
|
+
| Cause.TimeoutError
|
|
1529
1529
|
| SdkError
|
|
1530
1530
|
| AccessDeniedError
|
|
1531
1531
|
| DependencyFailureError
|
|
@@ -1544,7 +1544,7 @@ interface OpenSearchService$ {
|
|
|
1544
1544
|
options?: HttpHandlerOptions,
|
|
1545
1545
|
): Effect.Effect<
|
|
1546
1546
|
UpdatePackageCommandOutput,
|
|
1547
|
-
| Cause.
|
|
1547
|
+
| Cause.TimeoutError
|
|
1548
1548
|
| SdkError
|
|
1549
1549
|
| AccessDeniedError
|
|
1550
1550
|
| BaseError
|
|
@@ -1562,7 +1562,7 @@ interface OpenSearchService$ {
|
|
|
1562
1562
|
options?: HttpHandlerOptions,
|
|
1563
1563
|
): Effect.Effect<
|
|
1564
1564
|
UpdatePackageScopeCommandOutput,
|
|
1565
|
-
| Cause.
|
|
1565
|
+
| Cause.TimeoutError
|
|
1566
1566
|
| SdkError
|
|
1567
1567
|
| BaseError
|
|
1568
1568
|
| DisabledOperationError
|
|
@@ -1579,7 +1579,7 @@ interface OpenSearchService$ {
|
|
|
1579
1579
|
options?: HttpHandlerOptions,
|
|
1580
1580
|
): Effect.Effect<
|
|
1581
1581
|
UpdateScheduledActionCommandOutput,
|
|
1582
|
-
| Cause.
|
|
1582
|
+
| Cause.TimeoutError
|
|
1583
1583
|
| SdkError
|
|
1584
1584
|
| BaseError
|
|
1585
1585
|
| ConflictError
|
|
@@ -1598,7 +1598,7 @@ interface OpenSearchService$ {
|
|
|
1598
1598
|
options?: HttpHandlerOptions,
|
|
1599
1599
|
): Effect.Effect<
|
|
1600
1600
|
UpdateVpcEndpointCommandOutput,
|
|
1601
|
-
| Cause.
|
|
1601
|
+
| Cause.TimeoutError
|
|
1602
1602
|
| SdkError
|
|
1603
1603
|
| BaseError
|
|
1604
1604
|
| ConflictError
|
|
@@ -1616,7 +1616,7 @@ interface OpenSearchService$ {
|
|
|
1616
1616
|
options?: HttpHandlerOptions,
|
|
1617
1617
|
): Effect.Effect<
|
|
1618
1618
|
UpgradeDomainCommandOutput,
|
|
1619
|
-
| Cause.
|
|
1619
|
+
| Cause.TimeoutError
|
|
1620
1620
|
| SdkError
|
|
1621
1621
|
| BaseError
|
|
1622
1622
|
| DisabledOperationError
|
|
@@ -1648,10 +1648,10 @@ export const makeOpenSearchService = Effect.gen(function*() {
|
|
|
1648
1648
|
* @since 1.0.0
|
|
1649
1649
|
* @category models
|
|
1650
1650
|
*/
|
|
1651
|
-
export class OpenSearchService extends
|
|
1651
|
+
export class OpenSearchService extends ServiceMap.Service<
|
|
1652
1652
|
OpenSearchService,
|
|
1653
1653
|
OpenSearchService$
|
|
1654
|
-
>() {
|
|
1654
|
+
>()("@effect-aws/client-opensearch/OpenSearchService") {
|
|
1655
1655
|
static readonly defaultLayer = Layer.effect(this, makeOpenSearchService).pipe(Layer.provide(Instance.layer));
|
|
1656
1656
|
static readonly layer = (config: OpenSearchService.Config) =>
|
|
1657
1657
|
Layer.effect(this, makeOpenSearchService).pipe(
|