@effect-aws/client-opensearch 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.
- package/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/OpenSearchService.d.ts +80 -79
- package/dist/cjs/OpenSearchService.d.ts.map +1 -1
- package/dist/cjs/OpenSearchService.js +1 -1
- package/dist/cjs/OpenSearchService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/OpenSearchService.d.ts +80 -79
- package/dist/dts/OpenSearchService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/OpenSearchService.js +1 -1
- package/dist/esm/OpenSearchService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/OpenSearchService.ts +240 -55
package/src/OpenSearchService.ts
CHANGED
|
@@ -233,8 +233,9 @@ import {
|
|
|
233
233
|
type UpgradeDomainCommandInput,
|
|
234
234
|
type UpgradeDomainCommandOutput,
|
|
235
235
|
} from "@aws-sdk/client-opensearch";
|
|
236
|
-
import type { HttpHandlerOptions,
|
|
236
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
237
237
|
import { Service } from "@effect-aws/commons";
|
|
238
|
+
import type { Cause } from "effect";
|
|
238
239
|
import { Effect, Layer } from "effect";
|
|
239
240
|
import type {
|
|
240
241
|
AccessDeniedError,
|
|
@@ -248,6 +249,7 @@ import type {
|
|
|
248
249
|
LimitExceededError,
|
|
249
250
|
ResourceAlreadyExistsError,
|
|
250
251
|
ResourceNotFoundError,
|
|
252
|
+
SdkError,
|
|
251
253
|
SlotNotAvailableError,
|
|
252
254
|
ValidationError,
|
|
253
255
|
} from "./Errors.js";
|
|
@@ -345,7 +347,7 @@ interface OpenSearchService$ {
|
|
|
345
347
|
options?: HttpHandlerOptions,
|
|
346
348
|
): Effect.Effect<
|
|
347
349
|
AcceptInboundConnectionCommandOutput,
|
|
348
|
-
SdkError | DisabledOperationError | LimitExceededError | ResourceNotFoundError
|
|
350
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | LimitExceededError | ResourceNotFoundError
|
|
349
351
|
>;
|
|
350
352
|
|
|
351
353
|
/**
|
|
@@ -356,6 +358,7 @@ interface OpenSearchService$ {
|
|
|
356
358
|
options?: HttpHandlerOptions,
|
|
357
359
|
): Effect.Effect<
|
|
358
360
|
AddDataSourceCommandOutput,
|
|
361
|
+
| Cause.TimeoutException
|
|
359
362
|
| SdkError
|
|
360
363
|
| BaseError
|
|
361
364
|
| DependencyFailureError
|
|
@@ -374,6 +377,7 @@ interface OpenSearchService$ {
|
|
|
374
377
|
options?: HttpHandlerOptions,
|
|
375
378
|
): Effect.Effect<
|
|
376
379
|
AddDirectQueryDataSourceCommandOutput,
|
|
380
|
+
| Cause.TimeoutException
|
|
377
381
|
| SdkError
|
|
378
382
|
| BaseError
|
|
379
383
|
| DisabledOperationError
|
|
@@ -391,7 +395,7 @@ interface OpenSearchService$ {
|
|
|
391
395
|
options?: HttpHandlerOptions,
|
|
392
396
|
): Effect.Effect<
|
|
393
397
|
AddTagsCommandOutput,
|
|
394
|
-
SdkError | BaseError | InternalError | LimitExceededError | ValidationError
|
|
398
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | LimitExceededError | ValidationError
|
|
395
399
|
>;
|
|
396
400
|
|
|
397
401
|
/**
|
|
@@ -402,7 +406,14 @@ interface OpenSearchService$ {
|
|
|
402
406
|
options?: HttpHandlerOptions,
|
|
403
407
|
): Effect.Effect<
|
|
404
408
|
AssociatePackageCommandOutput,
|
|
405
|
-
|
|
409
|
+
| Cause.TimeoutException
|
|
410
|
+
| SdkError
|
|
411
|
+
| AccessDeniedError
|
|
412
|
+
| BaseError
|
|
413
|
+
| ConflictError
|
|
414
|
+
| InternalError
|
|
415
|
+
| ResourceNotFoundError
|
|
416
|
+
| ValidationError
|
|
406
417
|
>;
|
|
407
418
|
|
|
408
419
|
/**
|
|
@@ -413,6 +424,7 @@ interface OpenSearchService$ {
|
|
|
413
424
|
options?: HttpHandlerOptions,
|
|
414
425
|
): Effect.Effect<
|
|
415
426
|
AssociatePackagesCommandOutput,
|
|
427
|
+
| Cause.TimeoutException
|
|
416
428
|
| SdkError
|
|
417
429
|
| BaseError
|
|
418
430
|
| ConflictError
|
|
@@ -430,6 +442,7 @@ interface OpenSearchService$ {
|
|
|
430
442
|
options?: HttpHandlerOptions,
|
|
431
443
|
): Effect.Effect<
|
|
432
444
|
AuthorizeVpcEndpointAccessCommandOutput,
|
|
445
|
+
| Cause.TimeoutException
|
|
433
446
|
| SdkError
|
|
434
447
|
| BaseError
|
|
435
448
|
| DisabledOperationError
|
|
@@ -447,7 +460,13 @@ interface OpenSearchService$ {
|
|
|
447
460
|
options?: HttpHandlerOptions,
|
|
448
461
|
): Effect.Effect<
|
|
449
462
|
CancelDomainConfigChangeCommandOutput,
|
|
450
|
-
|
|
463
|
+
| Cause.TimeoutException
|
|
464
|
+
| SdkError
|
|
465
|
+
| BaseError
|
|
466
|
+
| DisabledOperationError
|
|
467
|
+
| InternalError
|
|
468
|
+
| ResourceNotFoundError
|
|
469
|
+
| ValidationError
|
|
451
470
|
>;
|
|
452
471
|
|
|
453
472
|
/**
|
|
@@ -458,7 +477,7 @@ interface OpenSearchService$ {
|
|
|
458
477
|
options?: HttpHandlerOptions,
|
|
459
478
|
): Effect.Effect<
|
|
460
479
|
CancelServiceSoftwareUpdateCommandOutput,
|
|
461
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
480
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
462
481
|
>;
|
|
463
482
|
|
|
464
483
|
/**
|
|
@@ -469,7 +488,14 @@ interface OpenSearchService$ {
|
|
|
469
488
|
options?: HttpHandlerOptions,
|
|
470
489
|
): Effect.Effect<
|
|
471
490
|
CreateApplicationCommandOutput,
|
|
472
|
-
|
|
491
|
+
| Cause.TimeoutException
|
|
492
|
+
| SdkError
|
|
493
|
+
| AccessDeniedError
|
|
494
|
+
| BaseError
|
|
495
|
+
| ConflictError
|
|
496
|
+
| DisabledOperationError
|
|
497
|
+
| InternalError
|
|
498
|
+
| ValidationError
|
|
473
499
|
>;
|
|
474
500
|
|
|
475
501
|
/**
|
|
@@ -480,6 +506,7 @@ interface OpenSearchService$ {
|
|
|
480
506
|
options?: HttpHandlerOptions,
|
|
481
507
|
): Effect.Effect<
|
|
482
508
|
CreateDomainCommandOutput,
|
|
509
|
+
| Cause.TimeoutException
|
|
483
510
|
| SdkError
|
|
484
511
|
| BaseError
|
|
485
512
|
| DisabledOperationError
|
|
@@ -498,7 +525,12 @@ interface OpenSearchService$ {
|
|
|
498
525
|
options?: HttpHandlerOptions,
|
|
499
526
|
): Effect.Effect<
|
|
500
527
|
CreateOutboundConnectionCommandOutput,
|
|
501
|
-
|
|
528
|
+
| Cause.TimeoutException
|
|
529
|
+
| SdkError
|
|
530
|
+
| DisabledOperationError
|
|
531
|
+
| InternalError
|
|
532
|
+
| LimitExceededError
|
|
533
|
+
| ResourceAlreadyExistsError
|
|
502
534
|
>;
|
|
503
535
|
|
|
504
536
|
/**
|
|
@@ -509,6 +541,7 @@ interface OpenSearchService$ {
|
|
|
509
541
|
options?: HttpHandlerOptions,
|
|
510
542
|
): Effect.Effect<
|
|
511
543
|
CreatePackageCommandOutput,
|
|
544
|
+
| Cause.TimeoutException
|
|
512
545
|
| SdkError
|
|
513
546
|
| AccessDeniedError
|
|
514
547
|
| BaseError
|
|
@@ -527,7 +560,14 @@ interface OpenSearchService$ {
|
|
|
527
560
|
options?: HttpHandlerOptions,
|
|
528
561
|
): Effect.Effect<
|
|
529
562
|
CreateVpcEndpointCommandOutput,
|
|
530
|
-
|
|
563
|
+
| Cause.TimeoutException
|
|
564
|
+
| SdkError
|
|
565
|
+
| BaseError
|
|
566
|
+
| ConflictError
|
|
567
|
+
| DisabledOperationError
|
|
568
|
+
| InternalError
|
|
569
|
+
| LimitExceededError
|
|
570
|
+
| ValidationError
|
|
531
571
|
>;
|
|
532
572
|
|
|
533
573
|
/**
|
|
@@ -538,6 +578,7 @@ interface OpenSearchService$ {
|
|
|
538
578
|
options?: HttpHandlerOptions,
|
|
539
579
|
): Effect.Effect<
|
|
540
580
|
DeleteApplicationCommandOutput,
|
|
581
|
+
| Cause.TimeoutException
|
|
541
582
|
| SdkError
|
|
542
583
|
| AccessDeniedError
|
|
543
584
|
| BaseError
|
|
@@ -556,6 +597,7 @@ interface OpenSearchService$ {
|
|
|
556
597
|
options?: HttpHandlerOptions,
|
|
557
598
|
): Effect.Effect<
|
|
558
599
|
DeleteDataSourceCommandOutput,
|
|
600
|
+
| Cause.TimeoutException
|
|
559
601
|
| SdkError
|
|
560
602
|
| BaseError
|
|
561
603
|
| DependencyFailureError
|
|
@@ -573,7 +615,13 @@ interface OpenSearchService$ {
|
|
|
573
615
|
options?: HttpHandlerOptions,
|
|
574
616
|
): Effect.Effect<
|
|
575
617
|
DeleteDirectQueryDataSourceCommandOutput,
|
|
576
|
-
|
|
618
|
+
| Cause.TimeoutException
|
|
619
|
+
| SdkError
|
|
620
|
+
| BaseError
|
|
621
|
+
| DisabledOperationError
|
|
622
|
+
| InternalError
|
|
623
|
+
| ResourceNotFoundError
|
|
624
|
+
| ValidationError
|
|
577
625
|
>;
|
|
578
626
|
|
|
579
627
|
/**
|
|
@@ -584,7 +632,7 @@ interface OpenSearchService$ {
|
|
|
584
632
|
options?: HttpHandlerOptions,
|
|
585
633
|
): Effect.Effect<
|
|
586
634
|
DeleteDomainCommandOutput,
|
|
587
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
635
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
588
636
|
>;
|
|
589
637
|
|
|
590
638
|
/**
|
|
@@ -595,7 +643,7 @@ interface OpenSearchService$ {
|
|
|
595
643
|
options?: HttpHandlerOptions,
|
|
596
644
|
): Effect.Effect<
|
|
597
645
|
DeleteInboundConnectionCommandOutput,
|
|
598
|
-
SdkError | DisabledOperationError | ResourceNotFoundError
|
|
646
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
599
647
|
>;
|
|
600
648
|
|
|
601
649
|
/**
|
|
@@ -606,7 +654,7 @@ interface OpenSearchService$ {
|
|
|
606
654
|
options?: HttpHandlerOptions,
|
|
607
655
|
): Effect.Effect<
|
|
608
656
|
DeleteOutboundConnectionCommandOutput,
|
|
609
|
-
SdkError | DisabledOperationError | ResourceNotFoundError
|
|
657
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
610
658
|
>;
|
|
611
659
|
|
|
612
660
|
/**
|
|
@@ -617,7 +665,14 @@ interface OpenSearchService$ {
|
|
|
617
665
|
options?: HttpHandlerOptions,
|
|
618
666
|
): Effect.Effect<
|
|
619
667
|
DeletePackageCommandOutput,
|
|
620
|
-
|
|
668
|
+
| Cause.TimeoutException
|
|
669
|
+
| SdkError
|
|
670
|
+
| AccessDeniedError
|
|
671
|
+
| BaseError
|
|
672
|
+
| ConflictError
|
|
673
|
+
| InternalError
|
|
674
|
+
| ResourceNotFoundError
|
|
675
|
+
| ValidationError
|
|
621
676
|
>;
|
|
622
677
|
|
|
623
678
|
/**
|
|
@@ -628,7 +683,7 @@ interface OpenSearchService$ {
|
|
|
628
683
|
options?: HttpHandlerOptions,
|
|
629
684
|
): Effect.Effect<
|
|
630
685
|
DeleteVpcEndpointCommandOutput,
|
|
631
|
-
SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
686
|
+
Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
632
687
|
>;
|
|
633
688
|
|
|
634
689
|
/**
|
|
@@ -639,7 +694,7 @@ interface OpenSearchService$ {
|
|
|
639
694
|
options?: HttpHandlerOptions,
|
|
640
695
|
): Effect.Effect<
|
|
641
696
|
DescribeDomainCommandOutput,
|
|
642
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
697
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
643
698
|
>;
|
|
644
699
|
|
|
645
700
|
/**
|
|
@@ -650,7 +705,7 @@ interface OpenSearchService$ {
|
|
|
650
705
|
options?: HttpHandlerOptions,
|
|
651
706
|
): Effect.Effect<
|
|
652
707
|
DescribeDomainAutoTunesCommandOutput,
|
|
653
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
708
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
654
709
|
>;
|
|
655
710
|
|
|
656
711
|
/**
|
|
@@ -661,7 +716,7 @@ interface OpenSearchService$ {
|
|
|
661
716
|
options?: HttpHandlerOptions,
|
|
662
717
|
): Effect.Effect<
|
|
663
718
|
DescribeDomainChangeProgressCommandOutput,
|
|
664
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
719
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
665
720
|
>;
|
|
666
721
|
|
|
667
722
|
/**
|
|
@@ -672,7 +727,7 @@ interface OpenSearchService$ {
|
|
|
672
727
|
options?: HttpHandlerOptions,
|
|
673
728
|
): Effect.Effect<
|
|
674
729
|
DescribeDomainConfigCommandOutput,
|
|
675
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
730
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
676
731
|
>;
|
|
677
732
|
|
|
678
733
|
/**
|
|
@@ -683,7 +738,13 @@ interface OpenSearchService$ {
|
|
|
683
738
|
options?: HttpHandlerOptions,
|
|
684
739
|
): Effect.Effect<
|
|
685
740
|
DescribeDomainHealthCommandOutput,
|
|
686
|
-
|
|
741
|
+
| Cause.TimeoutException
|
|
742
|
+
| SdkError
|
|
743
|
+
| BaseError
|
|
744
|
+
| DisabledOperationError
|
|
745
|
+
| InternalError
|
|
746
|
+
| ResourceNotFoundError
|
|
747
|
+
| ValidationError
|
|
687
748
|
>;
|
|
688
749
|
|
|
689
750
|
/**
|
|
@@ -694,6 +755,7 @@ interface OpenSearchService$ {
|
|
|
694
755
|
options?: HttpHandlerOptions,
|
|
695
756
|
): Effect.Effect<
|
|
696
757
|
DescribeDomainNodesCommandOutput,
|
|
758
|
+
| Cause.TimeoutException
|
|
697
759
|
| SdkError
|
|
698
760
|
| BaseError
|
|
699
761
|
| DependencyFailureError
|
|
@@ -711,7 +773,7 @@ interface OpenSearchService$ {
|
|
|
711
773
|
options?: HttpHandlerOptions,
|
|
712
774
|
): Effect.Effect<
|
|
713
775
|
DescribeDomainsCommandOutput,
|
|
714
|
-
SdkError | BaseError | InternalError | ValidationError
|
|
776
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ValidationError
|
|
715
777
|
>;
|
|
716
778
|
|
|
717
779
|
/**
|
|
@@ -722,7 +784,13 @@ interface OpenSearchService$ {
|
|
|
722
784
|
options?: HttpHandlerOptions,
|
|
723
785
|
): Effect.Effect<
|
|
724
786
|
DescribeDryRunProgressCommandOutput,
|
|
725
|
-
|
|
787
|
+
| Cause.TimeoutException
|
|
788
|
+
| SdkError
|
|
789
|
+
| BaseError
|
|
790
|
+
| DisabledOperationError
|
|
791
|
+
| InternalError
|
|
792
|
+
| ResourceNotFoundError
|
|
793
|
+
| ValidationError
|
|
726
794
|
>;
|
|
727
795
|
|
|
728
796
|
/**
|
|
@@ -733,7 +801,7 @@ interface OpenSearchService$ {
|
|
|
733
801
|
options?: HttpHandlerOptions,
|
|
734
802
|
): Effect.Effect<
|
|
735
803
|
DescribeInboundConnectionsCommandOutput,
|
|
736
|
-
SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
804
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
737
805
|
>;
|
|
738
806
|
|
|
739
807
|
/**
|
|
@@ -744,6 +812,7 @@ interface OpenSearchService$ {
|
|
|
744
812
|
options?: HttpHandlerOptions,
|
|
745
813
|
): Effect.Effect<
|
|
746
814
|
DescribeInstanceTypeLimitsCommandOutput,
|
|
815
|
+
| Cause.TimeoutException
|
|
747
816
|
| SdkError
|
|
748
817
|
| BaseError
|
|
749
818
|
| InternalError
|
|
@@ -761,7 +830,7 @@ interface OpenSearchService$ {
|
|
|
761
830
|
options?: HttpHandlerOptions,
|
|
762
831
|
): Effect.Effect<
|
|
763
832
|
DescribeOutboundConnectionsCommandOutput,
|
|
764
|
-
SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
833
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | InvalidPaginationTokenError
|
|
765
834
|
>;
|
|
766
835
|
|
|
767
836
|
/**
|
|
@@ -772,7 +841,13 @@ interface OpenSearchService$ {
|
|
|
772
841
|
options?: HttpHandlerOptions,
|
|
773
842
|
): Effect.Effect<
|
|
774
843
|
DescribePackagesCommandOutput,
|
|
775
|
-
|
|
844
|
+
| Cause.TimeoutException
|
|
845
|
+
| SdkError
|
|
846
|
+
| AccessDeniedError
|
|
847
|
+
| BaseError
|
|
848
|
+
| InternalError
|
|
849
|
+
| ResourceNotFoundError
|
|
850
|
+
| ValidationError
|
|
776
851
|
>;
|
|
777
852
|
|
|
778
853
|
/**
|
|
@@ -783,7 +858,7 @@ interface OpenSearchService$ {
|
|
|
783
858
|
options?: HttpHandlerOptions,
|
|
784
859
|
): Effect.Effect<
|
|
785
860
|
DescribeReservedInstanceOfferingsCommandOutput,
|
|
786
|
-
SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
861
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
787
862
|
>;
|
|
788
863
|
|
|
789
864
|
/**
|
|
@@ -794,7 +869,7 @@ interface OpenSearchService$ {
|
|
|
794
869
|
options?: HttpHandlerOptions,
|
|
795
870
|
): Effect.Effect<
|
|
796
871
|
DescribeReservedInstancesCommandOutput,
|
|
797
|
-
SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
872
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | InternalError | ResourceNotFoundError | ValidationError
|
|
798
873
|
>;
|
|
799
874
|
|
|
800
875
|
/**
|
|
@@ -805,7 +880,7 @@ interface OpenSearchService$ {
|
|
|
805
880
|
options?: HttpHandlerOptions,
|
|
806
881
|
): Effect.Effect<
|
|
807
882
|
DescribeVpcEndpointsCommandOutput,
|
|
808
|
-
SdkError | BaseError | DisabledOperationError | InternalError | ValidationError
|
|
883
|
+
Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | ValidationError
|
|
809
884
|
>;
|
|
810
885
|
|
|
811
886
|
/**
|
|
@@ -816,7 +891,14 @@ interface OpenSearchService$ {
|
|
|
816
891
|
options?: HttpHandlerOptions,
|
|
817
892
|
): Effect.Effect<
|
|
818
893
|
DissociatePackageCommandOutput,
|
|
819
|
-
|
|
894
|
+
| Cause.TimeoutException
|
|
895
|
+
| SdkError
|
|
896
|
+
| AccessDeniedError
|
|
897
|
+
| BaseError
|
|
898
|
+
| ConflictError
|
|
899
|
+
| InternalError
|
|
900
|
+
| ResourceNotFoundError
|
|
901
|
+
| ValidationError
|
|
820
902
|
>;
|
|
821
903
|
|
|
822
904
|
/**
|
|
@@ -827,6 +909,7 @@ interface OpenSearchService$ {
|
|
|
827
909
|
options?: HttpHandlerOptions,
|
|
828
910
|
): Effect.Effect<
|
|
829
911
|
DissociatePackagesCommandOutput,
|
|
912
|
+
| Cause.TimeoutException
|
|
830
913
|
| SdkError
|
|
831
914
|
| BaseError
|
|
832
915
|
| ConflictError
|
|
@@ -844,6 +927,7 @@ interface OpenSearchService$ {
|
|
|
844
927
|
options?: HttpHandlerOptions,
|
|
845
928
|
): Effect.Effect<
|
|
846
929
|
GetApplicationCommandOutput,
|
|
930
|
+
| Cause.TimeoutException
|
|
847
931
|
| SdkError
|
|
848
932
|
| AccessDeniedError
|
|
849
933
|
| BaseError
|
|
@@ -861,7 +945,13 @@ interface OpenSearchService$ {
|
|
|
861
945
|
options?: HttpHandlerOptions,
|
|
862
946
|
): Effect.Effect<
|
|
863
947
|
GetCompatibleVersionsCommandOutput,
|
|
864
|
-
|
|
948
|
+
| Cause.TimeoutException
|
|
949
|
+
| SdkError
|
|
950
|
+
| BaseError
|
|
951
|
+
| DisabledOperationError
|
|
952
|
+
| InternalError
|
|
953
|
+
| ResourceNotFoundError
|
|
954
|
+
| ValidationError
|
|
865
955
|
>;
|
|
866
956
|
|
|
867
957
|
/**
|
|
@@ -872,6 +962,7 @@ interface OpenSearchService$ {
|
|
|
872
962
|
options?: HttpHandlerOptions,
|
|
873
963
|
): Effect.Effect<
|
|
874
964
|
GetDataSourceCommandOutput,
|
|
965
|
+
| Cause.TimeoutException
|
|
875
966
|
| SdkError
|
|
876
967
|
| BaseError
|
|
877
968
|
| DependencyFailureError
|
|
@@ -889,7 +980,13 @@ interface OpenSearchService$ {
|
|
|
889
980
|
options?: HttpHandlerOptions,
|
|
890
981
|
): Effect.Effect<
|
|
891
982
|
GetDirectQueryDataSourceCommandOutput,
|
|
892
|
-
|
|
983
|
+
| Cause.TimeoutException
|
|
984
|
+
| SdkError
|
|
985
|
+
| BaseError
|
|
986
|
+
| DisabledOperationError
|
|
987
|
+
| InternalError
|
|
988
|
+
| ResourceNotFoundError
|
|
989
|
+
| ValidationError
|
|
893
990
|
>;
|
|
894
991
|
|
|
895
992
|
/**
|
|
@@ -900,7 +997,13 @@ interface OpenSearchService$ {
|
|
|
900
997
|
options?: HttpHandlerOptions,
|
|
901
998
|
): Effect.Effect<
|
|
902
999
|
GetDomainMaintenanceStatusCommandOutput,
|
|
903
|
-
|
|
1000
|
+
| Cause.TimeoutException
|
|
1001
|
+
| SdkError
|
|
1002
|
+
| BaseError
|
|
1003
|
+
| DisabledOperationError
|
|
1004
|
+
| InternalError
|
|
1005
|
+
| ResourceNotFoundError
|
|
1006
|
+
| ValidationError
|
|
904
1007
|
>;
|
|
905
1008
|
|
|
906
1009
|
/**
|
|
@@ -911,7 +1014,13 @@ interface OpenSearchService$ {
|
|
|
911
1014
|
options?: HttpHandlerOptions,
|
|
912
1015
|
): Effect.Effect<
|
|
913
1016
|
GetPackageVersionHistoryCommandOutput,
|
|
914
|
-
|
|
1017
|
+
| Cause.TimeoutException
|
|
1018
|
+
| SdkError
|
|
1019
|
+
| AccessDeniedError
|
|
1020
|
+
| BaseError
|
|
1021
|
+
| InternalError
|
|
1022
|
+
| ResourceNotFoundError
|
|
1023
|
+
| ValidationError
|
|
915
1024
|
>;
|
|
916
1025
|
|
|
917
1026
|
/**
|
|
@@ -922,7 +1031,13 @@ interface OpenSearchService$ {
|
|
|
922
1031
|
options?: HttpHandlerOptions,
|
|
923
1032
|
): Effect.Effect<
|
|
924
1033
|
GetUpgradeHistoryCommandOutput,
|
|
925
|
-
|
|
1034
|
+
| Cause.TimeoutException
|
|
1035
|
+
| SdkError
|
|
1036
|
+
| BaseError
|
|
1037
|
+
| DisabledOperationError
|
|
1038
|
+
| InternalError
|
|
1039
|
+
| ResourceNotFoundError
|
|
1040
|
+
| ValidationError
|
|
926
1041
|
>;
|
|
927
1042
|
|
|
928
1043
|
/**
|
|
@@ -933,7 +1048,13 @@ interface OpenSearchService$ {
|
|
|
933
1048
|
options?: HttpHandlerOptions,
|
|
934
1049
|
): Effect.Effect<
|
|
935
1050
|
GetUpgradeStatusCommandOutput,
|
|
936
|
-
|
|
1051
|
+
| Cause.TimeoutException
|
|
1052
|
+
| SdkError
|
|
1053
|
+
| BaseError
|
|
1054
|
+
| DisabledOperationError
|
|
1055
|
+
| InternalError
|
|
1056
|
+
| ResourceNotFoundError
|
|
1057
|
+
| ValidationError
|
|
937
1058
|
>;
|
|
938
1059
|
|
|
939
1060
|
/**
|
|
@@ -944,6 +1065,7 @@ interface OpenSearchService$ {
|
|
|
944
1065
|
options?: HttpHandlerOptions,
|
|
945
1066
|
): Effect.Effect<
|
|
946
1067
|
ListApplicationsCommandOutput,
|
|
1068
|
+
| Cause.TimeoutException
|
|
947
1069
|
| SdkError
|
|
948
1070
|
| AccessDeniedError
|
|
949
1071
|
| BaseError
|
|
@@ -961,6 +1083,7 @@ interface OpenSearchService$ {
|
|
|
961
1083
|
options?: HttpHandlerOptions,
|
|
962
1084
|
): Effect.Effect<
|
|
963
1085
|
ListDataSourcesCommandOutput,
|
|
1086
|
+
| Cause.TimeoutException
|
|
964
1087
|
| SdkError
|
|
965
1088
|
| BaseError
|
|
966
1089
|
| DependencyFailureError
|
|
@@ -978,7 +1101,13 @@ interface OpenSearchService$ {
|
|
|
978
1101
|
options?: HttpHandlerOptions,
|
|
979
1102
|
): Effect.Effect<
|
|
980
1103
|
ListDirectQueryDataSourcesCommandOutput,
|
|
981
|
-
|
|
1104
|
+
| Cause.TimeoutException
|
|
1105
|
+
| SdkError
|
|
1106
|
+
| BaseError
|
|
1107
|
+
| DisabledOperationError
|
|
1108
|
+
| InternalError
|
|
1109
|
+
| ResourceNotFoundError
|
|
1110
|
+
| ValidationError
|
|
982
1111
|
>;
|
|
983
1112
|
|
|
984
1113
|
/**
|
|
@@ -989,7 +1118,13 @@ interface OpenSearchService$ {
|
|
|
989
1118
|
options?: HttpHandlerOptions,
|
|
990
1119
|
): Effect.Effect<
|
|
991
1120
|
ListDomainMaintenancesCommandOutput,
|
|
992
|
-
|
|
1121
|
+
| Cause.TimeoutException
|
|
1122
|
+
| SdkError
|
|
1123
|
+
| BaseError
|
|
1124
|
+
| DisabledOperationError
|
|
1125
|
+
| InternalError
|
|
1126
|
+
| ResourceNotFoundError
|
|
1127
|
+
| ValidationError
|
|
993
1128
|
>;
|
|
994
1129
|
|
|
995
1130
|
/**
|
|
@@ -1000,7 +1135,7 @@ interface OpenSearchService$ {
|
|
|
1000
1135
|
options?: HttpHandlerOptions,
|
|
1001
1136
|
): Effect.Effect<
|
|
1002
1137
|
ListDomainNamesCommandOutput,
|
|
1003
|
-
SdkError | BaseError | ValidationError
|
|
1138
|
+
Cause.TimeoutException | SdkError | BaseError | ValidationError
|
|
1004
1139
|
>;
|
|
1005
1140
|
|
|
1006
1141
|
/**
|
|
@@ -1011,7 +1146,13 @@ interface OpenSearchService$ {
|
|
|
1011
1146
|
options?: HttpHandlerOptions,
|
|
1012
1147
|
): Effect.Effect<
|
|
1013
1148
|
ListDomainsForPackageCommandOutput,
|
|
1014
|
-
|
|
1149
|
+
| Cause.TimeoutException
|
|
1150
|
+
| SdkError
|
|
1151
|
+
| AccessDeniedError
|
|
1152
|
+
| BaseError
|
|
1153
|
+
| InternalError
|
|
1154
|
+
| ResourceNotFoundError
|
|
1155
|
+
| ValidationError
|
|
1015
1156
|
>;
|
|
1016
1157
|
|
|
1017
1158
|
/**
|
|
@@ -1022,7 +1163,7 @@ interface OpenSearchService$ {
|
|
|
1022
1163
|
options?: HttpHandlerOptions,
|
|
1023
1164
|
): Effect.Effect<
|
|
1024
1165
|
ListInstanceTypeDetailsCommandOutput,
|
|
1025
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1166
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1026
1167
|
>;
|
|
1027
1168
|
|
|
1028
1169
|
/**
|
|
@@ -1033,7 +1174,13 @@ interface OpenSearchService$ {
|
|
|
1033
1174
|
options?: HttpHandlerOptions,
|
|
1034
1175
|
): Effect.Effect<
|
|
1035
1176
|
ListPackagesForDomainCommandOutput,
|
|
1036
|
-
|
|
1177
|
+
| Cause.TimeoutException
|
|
1178
|
+
| SdkError
|
|
1179
|
+
| AccessDeniedError
|
|
1180
|
+
| BaseError
|
|
1181
|
+
| InternalError
|
|
1182
|
+
| ResourceNotFoundError
|
|
1183
|
+
| ValidationError
|
|
1037
1184
|
>;
|
|
1038
1185
|
|
|
1039
1186
|
/**
|
|
@@ -1044,7 +1191,13 @@ interface OpenSearchService$ {
|
|
|
1044
1191
|
options?: HttpHandlerOptions,
|
|
1045
1192
|
): Effect.Effect<
|
|
1046
1193
|
ListScheduledActionsCommandOutput,
|
|
1047
|
-
|
|
1194
|
+
| Cause.TimeoutException
|
|
1195
|
+
| SdkError
|
|
1196
|
+
| BaseError
|
|
1197
|
+
| InternalError
|
|
1198
|
+
| InvalidPaginationTokenError
|
|
1199
|
+
| ResourceNotFoundError
|
|
1200
|
+
| ValidationError
|
|
1048
1201
|
>;
|
|
1049
1202
|
|
|
1050
1203
|
/**
|
|
@@ -1055,7 +1208,7 @@ interface OpenSearchService$ {
|
|
|
1055
1208
|
options?: HttpHandlerOptions,
|
|
1056
1209
|
): Effect.Effect<
|
|
1057
1210
|
ListTagsCommandOutput,
|
|
1058
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1211
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1059
1212
|
>;
|
|
1060
1213
|
|
|
1061
1214
|
/**
|
|
@@ -1066,7 +1219,7 @@ interface OpenSearchService$ {
|
|
|
1066
1219
|
options?: HttpHandlerOptions,
|
|
1067
1220
|
): Effect.Effect<
|
|
1068
1221
|
ListVersionsCommandOutput,
|
|
1069
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1222
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1070
1223
|
>;
|
|
1071
1224
|
|
|
1072
1225
|
/**
|
|
@@ -1077,7 +1230,7 @@ interface OpenSearchService$ {
|
|
|
1077
1230
|
options?: HttpHandlerOptions,
|
|
1078
1231
|
): Effect.Effect<
|
|
1079
1232
|
ListVpcEndpointAccessCommandOutput,
|
|
1080
|
-
SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1233
|
+
Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1081
1234
|
>;
|
|
1082
1235
|
|
|
1083
1236
|
/**
|
|
@@ -1088,7 +1241,7 @@ interface OpenSearchService$ {
|
|
|
1088
1241
|
options?: HttpHandlerOptions,
|
|
1089
1242
|
): Effect.Effect<
|
|
1090
1243
|
ListVpcEndpointsCommandOutput,
|
|
1091
|
-
SdkError | BaseError | DisabledOperationError | InternalError
|
|
1244
|
+
Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError
|
|
1092
1245
|
>;
|
|
1093
1246
|
|
|
1094
1247
|
/**
|
|
@@ -1099,7 +1252,7 @@ interface OpenSearchService$ {
|
|
|
1099
1252
|
options?: HttpHandlerOptions,
|
|
1100
1253
|
): Effect.Effect<
|
|
1101
1254
|
ListVpcEndpointsForDomainCommandOutput,
|
|
1102
|
-
SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1255
|
+
Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | ResourceNotFoundError
|
|
1103
1256
|
>;
|
|
1104
1257
|
|
|
1105
1258
|
/**
|
|
@@ -1110,6 +1263,7 @@ interface OpenSearchService$ {
|
|
|
1110
1263
|
options?: HttpHandlerOptions,
|
|
1111
1264
|
): Effect.Effect<
|
|
1112
1265
|
PurchaseReservedInstanceOfferingCommandOutput,
|
|
1266
|
+
| Cause.TimeoutException
|
|
1113
1267
|
| SdkError
|
|
1114
1268
|
| DisabledOperationError
|
|
1115
1269
|
| InternalError
|
|
@@ -1127,7 +1281,7 @@ interface OpenSearchService$ {
|
|
|
1127
1281
|
options?: HttpHandlerOptions,
|
|
1128
1282
|
): Effect.Effect<
|
|
1129
1283
|
RejectInboundConnectionCommandOutput,
|
|
1130
|
-
SdkError | DisabledOperationError | ResourceNotFoundError
|
|
1284
|
+
Cause.TimeoutException | SdkError | DisabledOperationError | ResourceNotFoundError
|
|
1131
1285
|
>;
|
|
1132
1286
|
|
|
1133
1287
|
/**
|
|
@@ -1138,7 +1292,7 @@ interface OpenSearchService$ {
|
|
|
1138
1292
|
options?: HttpHandlerOptions,
|
|
1139
1293
|
): Effect.Effect<
|
|
1140
1294
|
RemoveTagsCommandOutput,
|
|
1141
|
-
SdkError | BaseError | InternalError | ValidationError
|
|
1295
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ValidationError
|
|
1142
1296
|
>;
|
|
1143
1297
|
|
|
1144
1298
|
/**
|
|
@@ -1149,7 +1303,13 @@ interface OpenSearchService$ {
|
|
|
1149
1303
|
options?: HttpHandlerOptions,
|
|
1150
1304
|
): Effect.Effect<
|
|
1151
1305
|
RevokeVpcEndpointAccessCommandOutput,
|
|
1152
|
-
|
|
1306
|
+
| Cause.TimeoutException
|
|
1307
|
+
| SdkError
|
|
1308
|
+
| BaseError
|
|
1309
|
+
| DisabledOperationError
|
|
1310
|
+
| InternalError
|
|
1311
|
+
| ResourceNotFoundError
|
|
1312
|
+
| ValidationError
|
|
1153
1313
|
>;
|
|
1154
1314
|
|
|
1155
1315
|
/**
|
|
@@ -1160,7 +1320,13 @@ interface OpenSearchService$ {
|
|
|
1160
1320
|
options?: HttpHandlerOptions,
|
|
1161
1321
|
): Effect.Effect<
|
|
1162
1322
|
StartDomainMaintenanceCommandOutput,
|
|
1163
|
-
|
|
1323
|
+
| Cause.TimeoutException
|
|
1324
|
+
| SdkError
|
|
1325
|
+
| BaseError
|
|
1326
|
+
| DisabledOperationError
|
|
1327
|
+
| InternalError
|
|
1328
|
+
| ResourceNotFoundError
|
|
1329
|
+
| ValidationError
|
|
1164
1330
|
>;
|
|
1165
1331
|
|
|
1166
1332
|
/**
|
|
@@ -1171,7 +1337,7 @@ interface OpenSearchService$ {
|
|
|
1171
1337
|
options?: HttpHandlerOptions,
|
|
1172
1338
|
): Effect.Effect<
|
|
1173
1339
|
StartServiceSoftwareUpdateCommandOutput,
|
|
1174
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1340
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
1175
1341
|
>;
|
|
1176
1342
|
|
|
1177
1343
|
/**
|
|
@@ -1182,6 +1348,7 @@ interface OpenSearchService$ {
|
|
|
1182
1348
|
options?: HttpHandlerOptions,
|
|
1183
1349
|
): Effect.Effect<
|
|
1184
1350
|
UpdateApplicationCommandOutput,
|
|
1351
|
+
| Cause.TimeoutException
|
|
1185
1352
|
| SdkError
|
|
1186
1353
|
| AccessDeniedError
|
|
1187
1354
|
| BaseError
|
|
@@ -1200,6 +1367,7 @@ interface OpenSearchService$ {
|
|
|
1200
1367
|
options?: HttpHandlerOptions,
|
|
1201
1368
|
): Effect.Effect<
|
|
1202
1369
|
UpdateDataSourceCommandOutput,
|
|
1370
|
+
| Cause.TimeoutException
|
|
1203
1371
|
| SdkError
|
|
1204
1372
|
| BaseError
|
|
1205
1373
|
| DependencyFailureError
|
|
@@ -1217,7 +1385,13 @@ interface OpenSearchService$ {
|
|
|
1217
1385
|
options?: HttpHandlerOptions,
|
|
1218
1386
|
): Effect.Effect<
|
|
1219
1387
|
UpdateDirectQueryDataSourceCommandOutput,
|
|
1220
|
-
|
|
1388
|
+
| Cause.TimeoutException
|
|
1389
|
+
| SdkError
|
|
1390
|
+
| BaseError
|
|
1391
|
+
| DisabledOperationError
|
|
1392
|
+
| InternalError
|
|
1393
|
+
| ResourceNotFoundError
|
|
1394
|
+
| ValidationError
|
|
1221
1395
|
>;
|
|
1222
1396
|
|
|
1223
1397
|
/**
|
|
@@ -1228,6 +1402,7 @@ interface OpenSearchService$ {
|
|
|
1228
1402
|
options?: HttpHandlerOptions,
|
|
1229
1403
|
): Effect.Effect<
|
|
1230
1404
|
UpdateDomainConfigCommandOutput,
|
|
1405
|
+
| Cause.TimeoutException
|
|
1231
1406
|
| SdkError
|
|
1232
1407
|
| BaseError
|
|
1233
1408
|
| InternalError
|
|
@@ -1245,6 +1420,7 @@ interface OpenSearchService$ {
|
|
|
1245
1420
|
options?: HttpHandlerOptions,
|
|
1246
1421
|
): Effect.Effect<
|
|
1247
1422
|
UpdatePackageCommandOutput,
|
|
1423
|
+
| Cause.TimeoutException
|
|
1248
1424
|
| SdkError
|
|
1249
1425
|
| AccessDeniedError
|
|
1250
1426
|
| BaseError
|
|
@@ -1262,7 +1438,13 @@ interface OpenSearchService$ {
|
|
|
1262
1438
|
options?: HttpHandlerOptions,
|
|
1263
1439
|
): Effect.Effect<
|
|
1264
1440
|
UpdatePackageScopeCommandOutput,
|
|
1265
|
-
|
|
1441
|
+
| Cause.TimeoutException
|
|
1442
|
+
| SdkError
|
|
1443
|
+
| BaseError
|
|
1444
|
+
| DisabledOperationError
|
|
1445
|
+
| InternalError
|
|
1446
|
+
| ResourceNotFoundError
|
|
1447
|
+
| ValidationError
|
|
1266
1448
|
>;
|
|
1267
1449
|
|
|
1268
1450
|
/**
|
|
@@ -1273,6 +1455,7 @@ interface OpenSearchService$ {
|
|
|
1273
1455
|
options?: HttpHandlerOptions,
|
|
1274
1456
|
): Effect.Effect<
|
|
1275
1457
|
UpdateScheduledActionCommandOutput,
|
|
1458
|
+
| Cause.TimeoutException
|
|
1276
1459
|
| SdkError
|
|
1277
1460
|
| BaseError
|
|
1278
1461
|
| ConflictError
|
|
@@ -1291,6 +1474,7 @@ interface OpenSearchService$ {
|
|
|
1291
1474
|
options?: HttpHandlerOptions,
|
|
1292
1475
|
): Effect.Effect<
|
|
1293
1476
|
UpdateVpcEndpointCommandOutput,
|
|
1477
|
+
| Cause.TimeoutException
|
|
1294
1478
|
| SdkError
|
|
1295
1479
|
| BaseError
|
|
1296
1480
|
| ConflictError
|
|
@@ -1308,6 +1492,7 @@ interface OpenSearchService$ {
|
|
|
1308
1492
|
options?: HttpHandlerOptions,
|
|
1309
1493
|
): Effect.Effect<
|
|
1310
1494
|
UpgradeDomainCommandOutput,
|
|
1495
|
+
| Cause.TimeoutException
|
|
1311
1496
|
| SdkError
|
|
1312
1497
|
| BaseError
|
|
1313
1498
|
| DisabledOperationError
|
|
@@ -1325,7 +1510,7 @@ interface OpenSearchService$ {
|
|
|
1325
1510
|
export const makeOpenSearchService = Effect.gen(function*() {
|
|
1326
1511
|
const client = yield* Instance.OpenSearchClientInstance;
|
|
1327
1512
|
|
|
1328
|
-
return Service.fromClientAndCommands<OpenSearchService$>(
|
|
1513
|
+
return yield* Service.fromClientAndCommands<OpenSearchService$>(
|
|
1329
1514
|
client,
|
|
1330
1515
|
commands,
|
|
1331
1516
|
{
|