@effect-aws/client-ses 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/SESService.d.ts +75 -74
- package/dist/cjs/SESService.d.ts.map +1 -1
- package/dist/cjs/SESService.js +1 -1
- package/dist/cjs/SESService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/SESService.d.ts +75 -74
- package/dist/dts/SESService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/SESService.js +1 -1
- package/dist/esm/SESService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/SESService.ts +91 -62
package/src/Errors.ts
CHANGED
|
@@ -35,7 +35,6 @@ import type {
|
|
|
35
35
|
TrackingOptionsDoesNotExistException,
|
|
36
36
|
} from "@aws-sdk/client-ses";
|
|
37
37
|
import type { TaggedException } from "@effect-aws/commons";
|
|
38
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
39
38
|
|
|
40
39
|
export const AllServiceErrors = [
|
|
41
40
|
"AccountSendingPausedException",
|
|
@@ -114,6 +113,4 @@ export type RuleSetDoesNotExistError = TaggedException<RuleSetDoesNotExistExcept
|
|
|
114
113
|
export type TemplateDoesNotExistError = TaggedException<TemplateDoesNotExistException>;
|
|
115
114
|
export type TrackingOptionsAlreadyExistsError = TaggedException<TrackingOptionsAlreadyExistsException>;
|
|
116
115
|
export type TrackingOptionsDoesNotExistError = TaggedException<TrackingOptionsDoesNotExistException>;
|
|
117
|
-
|
|
118
|
-
export type SdkError = CommonSdkError;
|
|
119
|
-
export const SdkError = CommonSdkError;
|
|
116
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
package/src/SESService.ts
CHANGED
|
@@ -218,8 +218,9 @@ import {
|
|
|
218
218
|
type VerifyEmailIdentityCommandInput,
|
|
219
219
|
type VerifyEmailIdentityCommandOutput,
|
|
220
220
|
} from "@aws-sdk/client-ses";
|
|
221
|
-
import type { HttpHandlerOptions,
|
|
221
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
222
222
|
import { Service } from "@effect-aws/commons";
|
|
223
|
+
import type { Cause } from "effect";
|
|
223
224
|
import { Effect, Layer } from "effect";
|
|
224
225
|
import type {
|
|
225
226
|
AccountSendingPausedError,
|
|
@@ -253,6 +254,7 @@ import type {
|
|
|
253
254
|
ProductionAccessNotGrantedError,
|
|
254
255
|
RuleDoesNotExistError,
|
|
255
256
|
RuleSetDoesNotExistError,
|
|
257
|
+
SdkError,
|
|
256
258
|
TemplateDoesNotExistError,
|
|
257
259
|
TrackingOptionsAlreadyExistsError,
|
|
258
260
|
TrackingOptionsDoesNotExistError,
|
|
@@ -346,7 +348,7 @@ interface SESService$ {
|
|
|
346
348
|
options?: HttpHandlerOptions,
|
|
347
349
|
): Effect.Effect<
|
|
348
350
|
CloneReceiptRuleSetCommandOutput,
|
|
349
|
-
SdkError | AlreadyExistsError | LimitExceededError | RuleSetDoesNotExistError
|
|
351
|
+
Cause.TimeoutException | SdkError | AlreadyExistsError | LimitExceededError | RuleSetDoesNotExistError
|
|
350
352
|
>;
|
|
351
353
|
|
|
352
354
|
/**
|
|
@@ -357,7 +359,11 @@ interface SESService$ {
|
|
|
357
359
|
options?: HttpHandlerOptions,
|
|
358
360
|
): Effect.Effect<
|
|
359
361
|
CreateConfigurationSetCommandOutput,
|
|
360
|
-
|
|
362
|
+
| Cause.TimeoutException
|
|
363
|
+
| SdkError
|
|
364
|
+
| ConfigurationSetAlreadyExistsError
|
|
365
|
+
| InvalidConfigurationSetError
|
|
366
|
+
| LimitExceededError
|
|
361
367
|
>;
|
|
362
368
|
|
|
363
369
|
/**
|
|
@@ -368,6 +374,7 @@ interface SESService$ {
|
|
|
368
374
|
options?: HttpHandlerOptions,
|
|
369
375
|
): Effect.Effect<
|
|
370
376
|
CreateConfigurationSetEventDestinationCommandOutput,
|
|
377
|
+
| Cause.TimeoutException
|
|
371
378
|
| SdkError
|
|
372
379
|
| ConfigurationSetDoesNotExistError
|
|
373
380
|
| EventDestinationAlreadyExistsError
|
|
@@ -385,7 +392,11 @@ interface SESService$ {
|
|
|
385
392
|
options?: HttpHandlerOptions,
|
|
386
393
|
): Effect.Effect<
|
|
387
394
|
CreateConfigurationSetTrackingOptionsCommandOutput,
|
|
388
|
-
|
|
395
|
+
| Cause.TimeoutException
|
|
396
|
+
| SdkError
|
|
397
|
+
| ConfigurationSetDoesNotExistError
|
|
398
|
+
| InvalidTrackingOptionsError
|
|
399
|
+
| TrackingOptionsAlreadyExistsError
|
|
389
400
|
>;
|
|
390
401
|
|
|
391
402
|
/**
|
|
@@ -396,6 +407,7 @@ interface SESService$ {
|
|
|
396
407
|
options?: HttpHandlerOptions,
|
|
397
408
|
): Effect.Effect<
|
|
398
409
|
CreateCustomVerificationEmailTemplateCommandOutput,
|
|
410
|
+
| Cause.TimeoutException
|
|
399
411
|
| SdkError
|
|
400
412
|
| CustomVerificationEmailInvalidContentError
|
|
401
413
|
| CustomVerificationEmailTemplateAlreadyExistsError
|
|
@@ -411,7 +423,7 @@ interface SESService$ {
|
|
|
411
423
|
options?: HttpHandlerOptions,
|
|
412
424
|
): Effect.Effect<
|
|
413
425
|
CreateReceiptFilterCommandOutput,
|
|
414
|
-
SdkError | AlreadyExistsError | LimitExceededError
|
|
426
|
+
Cause.TimeoutException | SdkError | AlreadyExistsError | LimitExceededError
|
|
415
427
|
>;
|
|
416
428
|
|
|
417
429
|
/**
|
|
@@ -422,6 +434,7 @@ interface SESService$ {
|
|
|
422
434
|
options?: HttpHandlerOptions,
|
|
423
435
|
): Effect.Effect<
|
|
424
436
|
CreateReceiptRuleCommandOutput,
|
|
437
|
+
| Cause.TimeoutException
|
|
425
438
|
| SdkError
|
|
426
439
|
| AlreadyExistsError
|
|
427
440
|
| InvalidLambdaFunctionError
|
|
@@ -440,7 +453,7 @@ interface SESService$ {
|
|
|
440
453
|
options?: HttpHandlerOptions,
|
|
441
454
|
): Effect.Effect<
|
|
442
455
|
CreateReceiptRuleSetCommandOutput,
|
|
443
|
-
SdkError | AlreadyExistsError | LimitExceededError
|
|
456
|
+
Cause.TimeoutException | SdkError | AlreadyExistsError | LimitExceededError
|
|
444
457
|
>;
|
|
445
458
|
|
|
446
459
|
/**
|
|
@@ -451,7 +464,7 @@ interface SESService$ {
|
|
|
451
464
|
options?: HttpHandlerOptions,
|
|
452
465
|
): Effect.Effect<
|
|
453
466
|
CreateTemplateCommandOutput,
|
|
454
|
-
SdkError | AlreadyExistsError | InvalidTemplateError | LimitExceededError
|
|
467
|
+
Cause.TimeoutException | SdkError | AlreadyExistsError | InvalidTemplateError | LimitExceededError
|
|
455
468
|
>;
|
|
456
469
|
|
|
457
470
|
/**
|
|
@@ -462,7 +475,7 @@ interface SESService$ {
|
|
|
462
475
|
options?: HttpHandlerOptions,
|
|
463
476
|
): Effect.Effect<
|
|
464
477
|
DeleteConfigurationSetCommandOutput,
|
|
465
|
-
SdkError | ConfigurationSetDoesNotExistError
|
|
478
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError
|
|
466
479
|
>;
|
|
467
480
|
|
|
468
481
|
/**
|
|
@@ -473,7 +486,7 @@ interface SESService$ {
|
|
|
473
486
|
options?: HttpHandlerOptions,
|
|
474
487
|
): Effect.Effect<
|
|
475
488
|
DeleteConfigurationSetEventDestinationCommandOutput,
|
|
476
|
-
SdkError | ConfigurationSetDoesNotExistError | EventDestinationDoesNotExistError
|
|
489
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError | EventDestinationDoesNotExistError
|
|
477
490
|
>;
|
|
478
491
|
|
|
479
492
|
/**
|
|
@@ -484,7 +497,7 @@ interface SESService$ {
|
|
|
484
497
|
options?: HttpHandlerOptions,
|
|
485
498
|
): Effect.Effect<
|
|
486
499
|
DeleteConfigurationSetTrackingOptionsCommandOutput,
|
|
487
|
-
SdkError | ConfigurationSetDoesNotExistError | TrackingOptionsDoesNotExistError
|
|
500
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError | TrackingOptionsDoesNotExistError
|
|
488
501
|
>;
|
|
489
502
|
|
|
490
503
|
/**
|
|
@@ -495,7 +508,7 @@ interface SESService$ {
|
|
|
495
508
|
options?: HttpHandlerOptions,
|
|
496
509
|
): Effect.Effect<
|
|
497
510
|
DeleteCustomVerificationEmailTemplateCommandOutput,
|
|
498
|
-
SdkError
|
|
511
|
+
Cause.TimeoutException | SdkError
|
|
499
512
|
>;
|
|
500
513
|
|
|
501
514
|
/**
|
|
@@ -506,7 +519,7 @@ interface SESService$ {
|
|
|
506
519
|
options?: HttpHandlerOptions,
|
|
507
520
|
): Effect.Effect<
|
|
508
521
|
DeleteIdentityCommandOutput,
|
|
509
|
-
SdkError
|
|
522
|
+
Cause.TimeoutException | SdkError
|
|
510
523
|
>;
|
|
511
524
|
|
|
512
525
|
/**
|
|
@@ -517,7 +530,7 @@ interface SESService$ {
|
|
|
517
530
|
options?: HttpHandlerOptions,
|
|
518
531
|
): Effect.Effect<
|
|
519
532
|
DeleteIdentityPolicyCommandOutput,
|
|
520
|
-
SdkError
|
|
533
|
+
Cause.TimeoutException | SdkError
|
|
521
534
|
>;
|
|
522
535
|
|
|
523
536
|
/**
|
|
@@ -528,7 +541,7 @@ interface SESService$ {
|
|
|
528
541
|
options?: HttpHandlerOptions,
|
|
529
542
|
): Effect.Effect<
|
|
530
543
|
DeleteReceiptFilterCommandOutput,
|
|
531
|
-
SdkError
|
|
544
|
+
Cause.TimeoutException | SdkError
|
|
532
545
|
>;
|
|
533
546
|
|
|
534
547
|
/**
|
|
@@ -539,7 +552,7 @@ interface SESService$ {
|
|
|
539
552
|
options?: HttpHandlerOptions,
|
|
540
553
|
): Effect.Effect<
|
|
541
554
|
DeleteReceiptRuleCommandOutput,
|
|
542
|
-
SdkError | RuleSetDoesNotExistError
|
|
555
|
+
Cause.TimeoutException | SdkError | RuleSetDoesNotExistError
|
|
543
556
|
>;
|
|
544
557
|
|
|
545
558
|
/**
|
|
@@ -550,7 +563,7 @@ interface SESService$ {
|
|
|
550
563
|
options?: HttpHandlerOptions,
|
|
551
564
|
): Effect.Effect<
|
|
552
565
|
DeleteReceiptRuleSetCommandOutput,
|
|
553
|
-
SdkError | CannotDeleteError
|
|
566
|
+
Cause.TimeoutException | SdkError | CannotDeleteError
|
|
554
567
|
>;
|
|
555
568
|
|
|
556
569
|
/**
|
|
@@ -561,7 +574,7 @@ interface SESService$ {
|
|
|
561
574
|
options?: HttpHandlerOptions,
|
|
562
575
|
): Effect.Effect<
|
|
563
576
|
DeleteTemplateCommandOutput,
|
|
564
|
-
SdkError
|
|
577
|
+
Cause.TimeoutException | SdkError
|
|
565
578
|
>;
|
|
566
579
|
|
|
567
580
|
/**
|
|
@@ -572,7 +585,7 @@ interface SESService$ {
|
|
|
572
585
|
options?: HttpHandlerOptions,
|
|
573
586
|
): Effect.Effect<
|
|
574
587
|
DeleteVerifiedEmailAddressCommandOutput,
|
|
575
|
-
SdkError
|
|
588
|
+
Cause.TimeoutException | SdkError
|
|
576
589
|
>;
|
|
577
590
|
|
|
578
591
|
/**
|
|
@@ -583,7 +596,7 @@ interface SESService$ {
|
|
|
583
596
|
options?: HttpHandlerOptions,
|
|
584
597
|
): Effect.Effect<
|
|
585
598
|
DescribeActiveReceiptRuleSetCommandOutput,
|
|
586
|
-
SdkError
|
|
599
|
+
Cause.TimeoutException | SdkError
|
|
587
600
|
>;
|
|
588
601
|
|
|
589
602
|
/**
|
|
@@ -594,7 +607,7 @@ interface SESService$ {
|
|
|
594
607
|
options?: HttpHandlerOptions,
|
|
595
608
|
): Effect.Effect<
|
|
596
609
|
DescribeConfigurationSetCommandOutput,
|
|
597
|
-
SdkError | ConfigurationSetDoesNotExistError
|
|
610
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError
|
|
598
611
|
>;
|
|
599
612
|
|
|
600
613
|
/**
|
|
@@ -605,7 +618,7 @@ interface SESService$ {
|
|
|
605
618
|
options?: HttpHandlerOptions,
|
|
606
619
|
): Effect.Effect<
|
|
607
620
|
DescribeReceiptRuleCommandOutput,
|
|
608
|
-
SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
|
|
621
|
+
Cause.TimeoutException | SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
|
|
609
622
|
>;
|
|
610
623
|
|
|
611
624
|
/**
|
|
@@ -616,7 +629,7 @@ interface SESService$ {
|
|
|
616
629
|
options?: HttpHandlerOptions,
|
|
617
630
|
): Effect.Effect<
|
|
618
631
|
DescribeReceiptRuleSetCommandOutput,
|
|
619
|
-
SdkError | RuleSetDoesNotExistError
|
|
632
|
+
Cause.TimeoutException | SdkError | RuleSetDoesNotExistError
|
|
620
633
|
>;
|
|
621
634
|
|
|
622
635
|
/**
|
|
@@ -627,7 +640,7 @@ interface SESService$ {
|
|
|
627
640
|
options?: HttpHandlerOptions,
|
|
628
641
|
): Effect.Effect<
|
|
629
642
|
GetAccountSendingEnabledCommandOutput,
|
|
630
|
-
SdkError
|
|
643
|
+
Cause.TimeoutException | SdkError
|
|
631
644
|
>;
|
|
632
645
|
|
|
633
646
|
/**
|
|
@@ -638,7 +651,7 @@ interface SESService$ {
|
|
|
638
651
|
options?: HttpHandlerOptions,
|
|
639
652
|
): Effect.Effect<
|
|
640
653
|
GetCustomVerificationEmailTemplateCommandOutput,
|
|
641
|
-
SdkError | CustomVerificationEmailTemplateDoesNotExistError
|
|
654
|
+
Cause.TimeoutException | SdkError | CustomVerificationEmailTemplateDoesNotExistError
|
|
642
655
|
>;
|
|
643
656
|
|
|
644
657
|
/**
|
|
@@ -649,7 +662,7 @@ interface SESService$ {
|
|
|
649
662
|
options?: HttpHandlerOptions,
|
|
650
663
|
): Effect.Effect<
|
|
651
664
|
GetIdentityDkimAttributesCommandOutput,
|
|
652
|
-
SdkError
|
|
665
|
+
Cause.TimeoutException | SdkError
|
|
653
666
|
>;
|
|
654
667
|
|
|
655
668
|
/**
|
|
@@ -660,7 +673,7 @@ interface SESService$ {
|
|
|
660
673
|
options?: HttpHandlerOptions,
|
|
661
674
|
): Effect.Effect<
|
|
662
675
|
GetIdentityMailFromDomainAttributesCommandOutput,
|
|
663
|
-
SdkError
|
|
676
|
+
Cause.TimeoutException | SdkError
|
|
664
677
|
>;
|
|
665
678
|
|
|
666
679
|
/**
|
|
@@ -671,7 +684,7 @@ interface SESService$ {
|
|
|
671
684
|
options?: HttpHandlerOptions,
|
|
672
685
|
): Effect.Effect<
|
|
673
686
|
GetIdentityNotificationAttributesCommandOutput,
|
|
674
|
-
SdkError
|
|
687
|
+
Cause.TimeoutException | SdkError
|
|
675
688
|
>;
|
|
676
689
|
|
|
677
690
|
/**
|
|
@@ -682,7 +695,7 @@ interface SESService$ {
|
|
|
682
695
|
options?: HttpHandlerOptions,
|
|
683
696
|
): Effect.Effect<
|
|
684
697
|
GetIdentityPoliciesCommandOutput,
|
|
685
|
-
SdkError
|
|
698
|
+
Cause.TimeoutException | SdkError
|
|
686
699
|
>;
|
|
687
700
|
|
|
688
701
|
/**
|
|
@@ -693,7 +706,7 @@ interface SESService$ {
|
|
|
693
706
|
options?: HttpHandlerOptions,
|
|
694
707
|
): Effect.Effect<
|
|
695
708
|
GetIdentityVerificationAttributesCommandOutput,
|
|
696
|
-
SdkError
|
|
709
|
+
Cause.TimeoutException | SdkError
|
|
697
710
|
>;
|
|
698
711
|
|
|
699
712
|
/**
|
|
@@ -704,7 +717,7 @@ interface SESService$ {
|
|
|
704
717
|
options?: HttpHandlerOptions,
|
|
705
718
|
): Effect.Effect<
|
|
706
719
|
GetSendQuotaCommandOutput,
|
|
707
|
-
SdkError
|
|
720
|
+
Cause.TimeoutException | SdkError
|
|
708
721
|
>;
|
|
709
722
|
|
|
710
723
|
/**
|
|
@@ -715,7 +728,7 @@ interface SESService$ {
|
|
|
715
728
|
options?: HttpHandlerOptions,
|
|
716
729
|
): Effect.Effect<
|
|
717
730
|
GetSendStatisticsCommandOutput,
|
|
718
|
-
SdkError
|
|
731
|
+
Cause.TimeoutException | SdkError
|
|
719
732
|
>;
|
|
720
733
|
|
|
721
734
|
/**
|
|
@@ -726,7 +739,7 @@ interface SESService$ {
|
|
|
726
739
|
options?: HttpHandlerOptions,
|
|
727
740
|
): Effect.Effect<
|
|
728
741
|
GetTemplateCommandOutput,
|
|
729
|
-
SdkError | TemplateDoesNotExistError
|
|
742
|
+
Cause.TimeoutException | SdkError | TemplateDoesNotExistError
|
|
730
743
|
>;
|
|
731
744
|
|
|
732
745
|
/**
|
|
@@ -737,7 +750,7 @@ interface SESService$ {
|
|
|
737
750
|
options?: HttpHandlerOptions,
|
|
738
751
|
): Effect.Effect<
|
|
739
752
|
ListConfigurationSetsCommandOutput,
|
|
740
|
-
SdkError
|
|
753
|
+
Cause.TimeoutException | SdkError
|
|
741
754
|
>;
|
|
742
755
|
|
|
743
756
|
/**
|
|
@@ -748,7 +761,7 @@ interface SESService$ {
|
|
|
748
761
|
options?: HttpHandlerOptions,
|
|
749
762
|
): Effect.Effect<
|
|
750
763
|
ListCustomVerificationEmailTemplatesCommandOutput,
|
|
751
|
-
SdkError
|
|
764
|
+
Cause.TimeoutException | SdkError
|
|
752
765
|
>;
|
|
753
766
|
|
|
754
767
|
/**
|
|
@@ -759,7 +772,7 @@ interface SESService$ {
|
|
|
759
772
|
options?: HttpHandlerOptions,
|
|
760
773
|
): Effect.Effect<
|
|
761
774
|
ListIdentitiesCommandOutput,
|
|
762
|
-
SdkError
|
|
775
|
+
Cause.TimeoutException | SdkError
|
|
763
776
|
>;
|
|
764
777
|
|
|
765
778
|
/**
|
|
@@ -770,7 +783,7 @@ interface SESService$ {
|
|
|
770
783
|
options?: HttpHandlerOptions,
|
|
771
784
|
): Effect.Effect<
|
|
772
785
|
ListIdentityPoliciesCommandOutput,
|
|
773
|
-
SdkError
|
|
786
|
+
Cause.TimeoutException | SdkError
|
|
774
787
|
>;
|
|
775
788
|
|
|
776
789
|
/**
|
|
@@ -781,7 +794,7 @@ interface SESService$ {
|
|
|
781
794
|
options?: HttpHandlerOptions,
|
|
782
795
|
): Effect.Effect<
|
|
783
796
|
ListReceiptFiltersCommandOutput,
|
|
784
|
-
SdkError
|
|
797
|
+
Cause.TimeoutException | SdkError
|
|
785
798
|
>;
|
|
786
799
|
|
|
787
800
|
/**
|
|
@@ -792,7 +805,7 @@ interface SESService$ {
|
|
|
792
805
|
options?: HttpHandlerOptions,
|
|
793
806
|
): Effect.Effect<
|
|
794
807
|
ListReceiptRuleSetsCommandOutput,
|
|
795
|
-
SdkError
|
|
808
|
+
Cause.TimeoutException | SdkError
|
|
796
809
|
>;
|
|
797
810
|
|
|
798
811
|
/**
|
|
@@ -803,7 +816,7 @@ interface SESService$ {
|
|
|
803
816
|
options?: HttpHandlerOptions,
|
|
804
817
|
): Effect.Effect<
|
|
805
818
|
ListTemplatesCommandOutput,
|
|
806
|
-
SdkError
|
|
819
|
+
Cause.TimeoutException | SdkError
|
|
807
820
|
>;
|
|
808
821
|
|
|
809
822
|
/**
|
|
@@ -814,7 +827,7 @@ interface SESService$ {
|
|
|
814
827
|
options?: HttpHandlerOptions,
|
|
815
828
|
): Effect.Effect<
|
|
816
829
|
ListVerifiedEmailAddressesCommandOutput,
|
|
817
|
-
SdkError
|
|
830
|
+
Cause.TimeoutException | SdkError
|
|
818
831
|
>;
|
|
819
832
|
|
|
820
833
|
/**
|
|
@@ -825,7 +838,7 @@ interface SESService$ {
|
|
|
825
838
|
options?: HttpHandlerOptions,
|
|
826
839
|
): Effect.Effect<
|
|
827
840
|
PutConfigurationSetDeliveryOptionsCommandOutput,
|
|
828
|
-
SdkError | ConfigurationSetDoesNotExistError | InvalidDeliveryOptionsError
|
|
841
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError | InvalidDeliveryOptionsError
|
|
829
842
|
>;
|
|
830
843
|
|
|
831
844
|
/**
|
|
@@ -836,7 +849,7 @@ interface SESService$ {
|
|
|
836
849
|
options?: HttpHandlerOptions,
|
|
837
850
|
): Effect.Effect<
|
|
838
851
|
PutIdentityPolicyCommandOutput,
|
|
839
|
-
SdkError | InvalidPolicyError
|
|
852
|
+
Cause.TimeoutException | SdkError | InvalidPolicyError
|
|
840
853
|
>;
|
|
841
854
|
|
|
842
855
|
/**
|
|
@@ -847,7 +860,7 @@ interface SESService$ {
|
|
|
847
860
|
options?: HttpHandlerOptions,
|
|
848
861
|
): Effect.Effect<
|
|
849
862
|
ReorderReceiptRuleSetCommandOutput,
|
|
850
|
-
SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
|
|
863
|
+
Cause.TimeoutException | SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
|
|
851
864
|
>;
|
|
852
865
|
|
|
853
866
|
/**
|
|
@@ -858,7 +871,7 @@ interface SESService$ {
|
|
|
858
871
|
options?: HttpHandlerOptions,
|
|
859
872
|
): Effect.Effect<
|
|
860
873
|
SendBounceCommandOutput,
|
|
861
|
-
SdkError | MessageRejectedError
|
|
874
|
+
Cause.TimeoutException | SdkError | MessageRejectedError
|
|
862
875
|
>;
|
|
863
876
|
|
|
864
877
|
/**
|
|
@@ -869,6 +882,7 @@ interface SESService$ {
|
|
|
869
882
|
options?: HttpHandlerOptions,
|
|
870
883
|
): Effect.Effect<
|
|
871
884
|
SendBulkTemplatedEmailCommandOutput,
|
|
885
|
+
| Cause.TimeoutException
|
|
872
886
|
| SdkError
|
|
873
887
|
| AccountSendingPausedError
|
|
874
888
|
| ConfigurationSetDoesNotExistError
|
|
@@ -886,6 +900,7 @@ interface SESService$ {
|
|
|
886
900
|
options?: HttpHandlerOptions,
|
|
887
901
|
): Effect.Effect<
|
|
888
902
|
SendCustomVerificationEmailCommandOutput,
|
|
903
|
+
| Cause.TimeoutException
|
|
889
904
|
| SdkError
|
|
890
905
|
| ConfigurationSetDoesNotExistError
|
|
891
906
|
| CustomVerificationEmailTemplateDoesNotExistError
|
|
@@ -902,6 +917,7 @@ interface SESService$ {
|
|
|
902
917
|
options?: HttpHandlerOptions,
|
|
903
918
|
): Effect.Effect<
|
|
904
919
|
SendEmailCommandOutput,
|
|
920
|
+
| Cause.TimeoutException
|
|
905
921
|
| SdkError
|
|
906
922
|
| AccountSendingPausedError
|
|
907
923
|
| ConfigurationSetDoesNotExistError
|
|
@@ -918,6 +934,7 @@ interface SESService$ {
|
|
|
918
934
|
options?: HttpHandlerOptions,
|
|
919
935
|
): Effect.Effect<
|
|
920
936
|
SendRawEmailCommandOutput,
|
|
937
|
+
| Cause.TimeoutException
|
|
921
938
|
| SdkError
|
|
922
939
|
| AccountSendingPausedError
|
|
923
940
|
| ConfigurationSetDoesNotExistError
|
|
@@ -934,6 +951,7 @@ interface SESService$ {
|
|
|
934
951
|
options?: HttpHandlerOptions,
|
|
935
952
|
): Effect.Effect<
|
|
936
953
|
SendTemplatedEmailCommandOutput,
|
|
954
|
+
| Cause.TimeoutException
|
|
937
955
|
| SdkError
|
|
938
956
|
| AccountSendingPausedError
|
|
939
957
|
| ConfigurationSetDoesNotExistError
|
|
@@ -951,7 +969,7 @@ interface SESService$ {
|
|
|
951
969
|
options?: HttpHandlerOptions,
|
|
952
970
|
): Effect.Effect<
|
|
953
971
|
SetActiveReceiptRuleSetCommandOutput,
|
|
954
|
-
SdkError | RuleSetDoesNotExistError
|
|
972
|
+
Cause.TimeoutException | SdkError | RuleSetDoesNotExistError
|
|
955
973
|
>;
|
|
956
974
|
|
|
957
975
|
/**
|
|
@@ -962,7 +980,7 @@ interface SESService$ {
|
|
|
962
980
|
options?: HttpHandlerOptions,
|
|
963
981
|
): Effect.Effect<
|
|
964
982
|
SetIdentityDkimEnabledCommandOutput,
|
|
965
|
-
SdkError
|
|
983
|
+
Cause.TimeoutException | SdkError
|
|
966
984
|
>;
|
|
967
985
|
|
|
968
986
|
/**
|
|
@@ -973,7 +991,7 @@ interface SESService$ {
|
|
|
973
991
|
options?: HttpHandlerOptions,
|
|
974
992
|
): Effect.Effect<
|
|
975
993
|
SetIdentityFeedbackForwardingEnabledCommandOutput,
|
|
976
|
-
SdkError
|
|
994
|
+
Cause.TimeoutException | SdkError
|
|
977
995
|
>;
|
|
978
996
|
|
|
979
997
|
/**
|
|
@@ -984,7 +1002,7 @@ interface SESService$ {
|
|
|
984
1002
|
options?: HttpHandlerOptions,
|
|
985
1003
|
): Effect.Effect<
|
|
986
1004
|
SetIdentityHeadersInNotificationsEnabledCommandOutput,
|
|
987
|
-
SdkError
|
|
1005
|
+
Cause.TimeoutException | SdkError
|
|
988
1006
|
>;
|
|
989
1007
|
|
|
990
1008
|
/**
|
|
@@ -995,7 +1013,7 @@ interface SESService$ {
|
|
|
995
1013
|
options?: HttpHandlerOptions,
|
|
996
1014
|
): Effect.Effect<
|
|
997
1015
|
SetIdentityMailFromDomainCommandOutput,
|
|
998
|
-
SdkError
|
|
1016
|
+
Cause.TimeoutException | SdkError
|
|
999
1017
|
>;
|
|
1000
1018
|
|
|
1001
1019
|
/**
|
|
@@ -1006,7 +1024,7 @@ interface SESService$ {
|
|
|
1006
1024
|
options?: HttpHandlerOptions,
|
|
1007
1025
|
): Effect.Effect<
|
|
1008
1026
|
SetIdentityNotificationTopicCommandOutput,
|
|
1009
|
-
SdkError
|
|
1027
|
+
Cause.TimeoutException | SdkError
|
|
1010
1028
|
>;
|
|
1011
1029
|
|
|
1012
1030
|
/**
|
|
@@ -1017,7 +1035,7 @@ interface SESService$ {
|
|
|
1017
1035
|
options?: HttpHandlerOptions,
|
|
1018
1036
|
): Effect.Effect<
|
|
1019
1037
|
SetReceiptRulePositionCommandOutput,
|
|
1020
|
-
SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
|
|
1038
|
+
Cause.TimeoutException | SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
|
|
1021
1039
|
>;
|
|
1022
1040
|
|
|
1023
1041
|
/**
|
|
@@ -1028,7 +1046,11 @@ interface SESService$ {
|
|
|
1028
1046
|
options?: HttpHandlerOptions,
|
|
1029
1047
|
): Effect.Effect<
|
|
1030
1048
|
TestRenderTemplateCommandOutput,
|
|
1031
|
-
|
|
1049
|
+
| Cause.TimeoutException
|
|
1050
|
+
| SdkError
|
|
1051
|
+
| InvalidRenderingParameterError
|
|
1052
|
+
| MissingRenderingAttributeError
|
|
1053
|
+
| TemplateDoesNotExistError
|
|
1032
1054
|
>;
|
|
1033
1055
|
|
|
1034
1056
|
/**
|
|
@@ -1039,7 +1061,7 @@ interface SESService$ {
|
|
|
1039
1061
|
options?: HttpHandlerOptions,
|
|
1040
1062
|
): Effect.Effect<
|
|
1041
1063
|
UpdateAccountSendingEnabledCommandOutput,
|
|
1042
|
-
SdkError
|
|
1064
|
+
Cause.TimeoutException | SdkError
|
|
1043
1065
|
>;
|
|
1044
1066
|
|
|
1045
1067
|
/**
|
|
@@ -1050,6 +1072,7 @@ interface SESService$ {
|
|
|
1050
1072
|
options?: HttpHandlerOptions,
|
|
1051
1073
|
): Effect.Effect<
|
|
1052
1074
|
UpdateConfigurationSetEventDestinationCommandOutput,
|
|
1075
|
+
| Cause.TimeoutException
|
|
1053
1076
|
| SdkError
|
|
1054
1077
|
| ConfigurationSetDoesNotExistError
|
|
1055
1078
|
| EventDestinationDoesNotExistError
|
|
@@ -1066,7 +1089,7 @@ interface SESService$ {
|
|
|
1066
1089
|
options?: HttpHandlerOptions,
|
|
1067
1090
|
): Effect.Effect<
|
|
1068
1091
|
UpdateConfigurationSetReputationMetricsEnabledCommandOutput,
|
|
1069
|
-
SdkError | ConfigurationSetDoesNotExistError
|
|
1092
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError
|
|
1070
1093
|
>;
|
|
1071
1094
|
|
|
1072
1095
|
/**
|
|
@@ -1077,7 +1100,7 @@ interface SESService$ {
|
|
|
1077
1100
|
options?: HttpHandlerOptions,
|
|
1078
1101
|
): Effect.Effect<
|
|
1079
1102
|
UpdateConfigurationSetSendingEnabledCommandOutput,
|
|
1080
|
-
SdkError | ConfigurationSetDoesNotExistError
|
|
1103
|
+
Cause.TimeoutException | SdkError | ConfigurationSetDoesNotExistError
|
|
1081
1104
|
>;
|
|
1082
1105
|
|
|
1083
1106
|
/**
|
|
@@ -1088,7 +1111,11 @@ interface SESService$ {
|
|
|
1088
1111
|
options?: HttpHandlerOptions,
|
|
1089
1112
|
): Effect.Effect<
|
|
1090
1113
|
UpdateConfigurationSetTrackingOptionsCommandOutput,
|
|
1091
|
-
|
|
1114
|
+
| Cause.TimeoutException
|
|
1115
|
+
| SdkError
|
|
1116
|
+
| ConfigurationSetDoesNotExistError
|
|
1117
|
+
| InvalidTrackingOptionsError
|
|
1118
|
+
| TrackingOptionsDoesNotExistError
|
|
1092
1119
|
>;
|
|
1093
1120
|
|
|
1094
1121
|
/**
|
|
@@ -1099,6 +1126,7 @@ interface SESService$ {
|
|
|
1099
1126
|
options?: HttpHandlerOptions,
|
|
1100
1127
|
): Effect.Effect<
|
|
1101
1128
|
UpdateCustomVerificationEmailTemplateCommandOutput,
|
|
1129
|
+
| Cause.TimeoutException
|
|
1102
1130
|
| SdkError
|
|
1103
1131
|
| CustomVerificationEmailInvalidContentError
|
|
1104
1132
|
| CustomVerificationEmailTemplateDoesNotExistError
|
|
@@ -1113,6 +1141,7 @@ interface SESService$ {
|
|
|
1113
1141
|
options?: HttpHandlerOptions,
|
|
1114
1142
|
): Effect.Effect<
|
|
1115
1143
|
UpdateReceiptRuleCommandOutput,
|
|
1144
|
+
| Cause.TimeoutException
|
|
1116
1145
|
| SdkError
|
|
1117
1146
|
| InvalidLambdaFunctionError
|
|
1118
1147
|
| InvalidS3ConfigurationError
|
|
@@ -1130,7 +1159,7 @@ interface SESService$ {
|
|
|
1130
1159
|
options?: HttpHandlerOptions,
|
|
1131
1160
|
): Effect.Effect<
|
|
1132
1161
|
UpdateTemplateCommandOutput,
|
|
1133
|
-
SdkError | InvalidTemplateError | TemplateDoesNotExistError
|
|
1162
|
+
Cause.TimeoutException | SdkError | InvalidTemplateError | TemplateDoesNotExistError
|
|
1134
1163
|
>;
|
|
1135
1164
|
|
|
1136
1165
|
/**
|
|
@@ -1141,7 +1170,7 @@ interface SESService$ {
|
|
|
1141
1170
|
options?: HttpHandlerOptions,
|
|
1142
1171
|
): Effect.Effect<
|
|
1143
1172
|
VerifyDomainDkimCommandOutput,
|
|
1144
|
-
SdkError
|
|
1173
|
+
Cause.TimeoutException | SdkError
|
|
1145
1174
|
>;
|
|
1146
1175
|
|
|
1147
1176
|
/**
|
|
@@ -1152,7 +1181,7 @@ interface SESService$ {
|
|
|
1152
1181
|
options?: HttpHandlerOptions,
|
|
1153
1182
|
): Effect.Effect<
|
|
1154
1183
|
VerifyDomainIdentityCommandOutput,
|
|
1155
|
-
SdkError
|
|
1184
|
+
Cause.TimeoutException | SdkError
|
|
1156
1185
|
>;
|
|
1157
1186
|
|
|
1158
1187
|
/**
|
|
@@ -1163,7 +1192,7 @@ interface SESService$ {
|
|
|
1163
1192
|
options?: HttpHandlerOptions,
|
|
1164
1193
|
): Effect.Effect<
|
|
1165
1194
|
VerifyEmailAddressCommandOutput,
|
|
1166
|
-
SdkError
|
|
1195
|
+
Cause.TimeoutException | SdkError
|
|
1167
1196
|
>;
|
|
1168
1197
|
|
|
1169
1198
|
/**
|
|
@@ -1174,7 +1203,7 @@ interface SESService$ {
|
|
|
1174
1203
|
options?: HttpHandlerOptions,
|
|
1175
1204
|
): Effect.Effect<
|
|
1176
1205
|
VerifyEmailIdentityCommandOutput,
|
|
1177
|
-
SdkError
|
|
1206
|
+
Cause.TimeoutException | SdkError
|
|
1178
1207
|
>;
|
|
1179
1208
|
}
|
|
1180
1209
|
|
|
@@ -1185,7 +1214,7 @@ interface SESService$ {
|
|
|
1185
1214
|
export const makeSESService = Effect.gen(function*() {
|
|
1186
1215
|
const client = yield* Instance.SESClientInstance;
|
|
1187
1216
|
|
|
1188
|
-
return Service.fromClientAndCommands<SESService$>(
|
|
1217
|
+
return yield* Service.fromClientAndCommands<SESService$>(
|
|
1189
1218
|
client,
|
|
1190
1219
|
commands,
|
|
1191
1220
|
{
|