@effect-aws/client-sns 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/SNSService.d.ts +46 -45
- package/dist/cjs/SNSService.d.ts.map +1 -1
- package/dist/cjs/SNSService.js +1 -1
- package/dist/cjs/SNSService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/SNSService.d.ts +46 -45
- package/dist/dts/SNSService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/SNSService.js +1 -1
- package/dist/esm/SNSService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/SNSService.ts +95 -32
package/src/SNSService.ts
CHANGED
|
@@ -131,8 +131,9 @@ import {
|
|
|
131
131
|
type VerifySMSSandboxPhoneNumberCommandInput,
|
|
132
132
|
type VerifySMSSandboxPhoneNumberCommandOutput,
|
|
133
133
|
} from "@aws-sdk/client-sns";
|
|
134
|
-
import type { HttpHandlerOptions,
|
|
134
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
135
135
|
import { Service } from "@effect-aws/commons";
|
|
136
|
+
import type { Cause } from "effect";
|
|
136
137
|
import { Effect, Layer } from "effect";
|
|
137
138
|
import type {
|
|
138
139
|
AuthorizationError,
|
|
@@ -159,6 +160,7 @@ import type {
|
|
|
159
160
|
PlatformApplicationDisabledError,
|
|
160
161
|
ReplayLimitExceededError,
|
|
161
162
|
ResourceNotFoundError,
|
|
163
|
+
SdkError,
|
|
162
164
|
StaleTagError,
|
|
163
165
|
SubscriptionLimitExceededError,
|
|
164
166
|
TagLimitExceededError,
|
|
@@ -230,7 +232,7 @@ interface SNSService$ {
|
|
|
230
232
|
options?: HttpHandlerOptions,
|
|
231
233
|
): Effect.Effect<
|
|
232
234
|
AddPermissionCommandOutput,
|
|
233
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
235
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
234
236
|
>;
|
|
235
237
|
|
|
236
238
|
/**
|
|
@@ -241,7 +243,7 @@ interface SNSService$ {
|
|
|
241
243
|
options?: HttpHandlerOptions,
|
|
242
244
|
): Effect.Effect<
|
|
243
245
|
CheckIfPhoneNumberIsOptedOutCommandOutput,
|
|
244
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
246
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
245
247
|
>;
|
|
246
248
|
|
|
247
249
|
/**
|
|
@@ -252,6 +254,7 @@ interface SNSService$ {
|
|
|
252
254
|
options?: HttpHandlerOptions,
|
|
253
255
|
): Effect.Effect<
|
|
254
256
|
ConfirmSubscriptionCommandOutput,
|
|
257
|
+
| Cause.TimeoutException
|
|
255
258
|
| SdkError
|
|
256
259
|
| AuthorizationError
|
|
257
260
|
| FilterPolicyLimitExceededError
|
|
@@ -270,7 +273,7 @@ interface SNSService$ {
|
|
|
270
273
|
options?: HttpHandlerOptions,
|
|
271
274
|
): Effect.Effect<
|
|
272
275
|
CreatePlatformApplicationCommandOutput,
|
|
273
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
276
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
274
277
|
>;
|
|
275
278
|
|
|
276
279
|
/**
|
|
@@ -281,7 +284,7 @@ interface SNSService$ {
|
|
|
281
284
|
options?: HttpHandlerOptions,
|
|
282
285
|
): Effect.Effect<
|
|
283
286
|
CreatePlatformEndpointCommandOutput,
|
|
284
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
287
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
285
288
|
>;
|
|
286
289
|
|
|
287
290
|
/**
|
|
@@ -292,7 +295,14 @@ interface SNSService$ {
|
|
|
292
295
|
options?: HttpHandlerOptions,
|
|
293
296
|
): Effect.Effect<
|
|
294
297
|
CreateSMSSandboxPhoneNumberCommandOutput,
|
|
295
|
-
|
|
298
|
+
| Cause.TimeoutException
|
|
299
|
+
| SdkError
|
|
300
|
+
| AuthorizationError
|
|
301
|
+
| InternalError
|
|
302
|
+
| InvalidParameterError
|
|
303
|
+
| OptedOutError
|
|
304
|
+
| ThrottledError
|
|
305
|
+
| UserError
|
|
296
306
|
>;
|
|
297
307
|
|
|
298
308
|
/**
|
|
@@ -303,6 +313,7 @@ interface SNSService$ {
|
|
|
303
313
|
options?: HttpHandlerOptions,
|
|
304
314
|
): Effect.Effect<
|
|
305
315
|
CreateTopicCommandOutput,
|
|
316
|
+
| Cause.TimeoutException
|
|
306
317
|
| SdkError
|
|
307
318
|
| AuthorizationError
|
|
308
319
|
| ConcurrentAccessError
|
|
@@ -323,7 +334,7 @@ interface SNSService$ {
|
|
|
323
334
|
options?: HttpHandlerOptions,
|
|
324
335
|
): Effect.Effect<
|
|
325
336
|
DeleteEndpointCommandOutput,
|
|
326
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
337
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
327
338
|
>;
|
|
328
339
|
|
|
329
340
|
/**
|
|
@@ -334,7 +345,7 @@ interface SNSService$ {
|
|
|
334
345
|
options?: HttpHandlerOptions,
|
|
335
346
|
): Effect.Effect<
|
|
336
347
|
DeletePlatformApplicationCommandOutput,
|
|
337
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
348
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
338
349
|
>;
|
|
339
350
|
|
|
340
351
|
/**
|
|
@@ -345,6 +356,7 @@ interface SNSService$ {
|
|
|
345
356
|
options?: HttpHandlerOptions,
|
|
346
357
|
): Effect.Effect<
|
|
347
358
|
DeleteSMSSandboxPhoneNumberCommandOutput,
|
|
359
|
+
| Cause.TimeoutException
|
|
348
360
|
| SdkError
|
|
349
361
|
| AuthorizationError
|
|
350
362
|
| InternalError
|
|
@@ -362,6 +374,7 @@ interface SNSService$ {
|
|
|
362
374
|
options?: HttpHandlerOptions,
|
|
363
375
|
): Effect.Effect<
|
|
364
376
|
DeleteTopicCommandOutput,
|
|
377
|
+
| Cause.TimeoutException
|
|
365
378
|
| SdkError
|
|
366
379
|
| AuthorizationError
|
|
367
380
|
| ConcurrentAccessError
|
|
@@ -381,7 +394,13 @@ interface SNSService$ {
|
|
|
381
394
|
options?: HttpHandlerOptions,
|
|
382
395
|
): Effect.Effect<
|
|
383
396
|
GetDataProtectionPolicyCommandOutput,
|
|
384
|
-
|
|
397
|
+
| Cause.TimeoutException
|
|
398
|
+
| SdkError
|
|
399
|
+
| AuthorizationError
|
|
400
|
+
| InternalError
|
|
401
|
+
| InvalidParameterError
|
|
402
|
+
| InvalidSecurityError
|
|
403
|
+
| NotFoundError
|
|
385
404
|
>;
|
|
386
405
|
|
|
387
406
|
/**
|
|
@@ -392,7 +411,7 @@ interface SNSService$ {
|
|
|
392
411
|
options?: HttpHandlerOptions,
|
|
393
412
|
): Effect.Effect<
|
|
394
413
|
GetEndpointAttributesCommandOutput,
|
|
395
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
414
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
396
415
|
>;
|
|
397
416
|
|
|
398
417
|
/**
|
|
@@ -403,7 +422,7 @@ interface SNSService$ {
|
|
|
403
422
|
options?: HttpHandlerOptions,
|
|
404
423
|
): Effect.Effect<
|
|
405
424
|
GetPlatformApplicationAttributesCommandOutput,
|
|
406
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
425
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
407
426
|
>;
|
|
408
427
|
|
|
409
428
|
/**
|
|
@@ -414,7 +433,7 @@ interface SNSService$ {
|
|
|
414
433
|
options?: HttpHandlerOptions,
|
|
415
434
|
): Effect.Effect<
|
|
416
435
|
GetSMSAttributesCommandOutput,
|
|
417
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
436
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
418
437
|
>;
|
|
419
438
|
|
|
420
439
|
/**
|
|
@@ -425,7 +444,7 @@ interface SNSService$ {
|
|
|
425
444
|
options?: HttpHandlerOptions,
|
|
426
445
|
): Effect.Effect<
|
|
427
446
|
GetSMSSandboxAccountStatusCommandOutput,
|
|
428
|
-
SdkError | AuthorizationError | InternalError | ThrottledError
|
|
447
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | ThrottledError
|
|
429
448
|
>;
|
|
430
449
|
|
|
431
450
|
/**
|
|
@@ -436,7 +455,7 @@ interface SNSService$ {
|
|
|
436
455
|
options?: HttpHandlerOptions,
|
|
437
456
|
): Effect.Effect<
|
|
438
457
|
GetSubscriptionAttributesCommandOutput,
|
|
439
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
458
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
440
459
|
>;
|
|
441
460
|
|
|
442
461
|
/**
|
|
@@ -447,7 +466,13 @@ interface SNSService$ {
|
|
|
447
466
|
options?: HttpHandlerOptions,
|
|
448
467
|
): Effect.Effect<
|
|
449
468
|
GetTopicAttributesCommandOutput,
|
|
450
|
-
|
|
469
|
+
| Cause.TimeoutException
|
|
470
|
+
| SdkError
|
|
471
|
+
| AuthorizationError
|
|
472
|
+
| InternalError
|
|
473
|
+
| InvalidParameterError
|
|
474
|
+
| InvalidSecurityError
|
|
475
|
+
| NotFoundError
|
|
451
476
|
>;
|
|
452
477
|
|
|
453
478
|
/**
|
|
@@ -458,7 +483,7 @@ interface SNSService$ {
|
|
|
458
483
|
options?: HttpHandlerOptions,
|
|
459
484
|
): Effect.Effect<
|
|
460
485
|
ListEndpointsByPlatformApplicationCommandOutput,
|
|
461
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
486
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
462
487
|
>;
|
|
463
488
|
|
|
464
489
|
/**
|
|
@@ -469,7 +494,13 @@ interface SNSService$ {
|
|
|
469
494
|
options?: HttpHandlerOptions,
|
|
470
495
|
): Effect.Effect<
|
|
471
496
|
ListOriginationNumbersCommandOutput,
|
|
472
|
-
|
|
497
|
+
| Cause.TimeoutException
|
|
498
|
+
| SdkError
|
|
499
|
+
| AuthorizationError
|
|
500
|
+
| InternalError
|
|
501
|
+
| InvalidParameterError
|
|
502
|
+
| ThrottledError
|
|
503
|
+
| ValidationError
|
|
473
504
|
>;
|
|
474
505
|
|
|
475
506
|
/**
|
|
@@ -480,7 +511,7 @@ interface SNSService$ {
|
|
|
480
511
|
options?: HttpHandlerOptions,
|
|
481
512
|
): Effect.Effect<
|
|
482
513
|
ListPhoneNumbersOptedOutCommandOutput,
|
|
483
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
514
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
484
515
|
>;
|
|
485
516
|
|
|
486
517
|
/**
|
|
@@ -491,7 +522,7 @@ interface SNSService$ {
|
|
|
491
522
|
options?: HttpHandlerOptions,
|
|
492
523
|
): Effect.Effect<
|
|
493
524
|
ListPlatformApplicationsCommandOutput,
|
|
494
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
525
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
495
526
|
>;
|
|
496
527
|
|
|
497
528
|
/**
|
|
@@ -502,7 +533,13 @@ interface SNSService$ {
|
|
|
502
533
|
options?: HttpHandlerOptions,
|
|
503
534
|
): Effect.Effect<
|
|
504
535
|
ListSMSSandboxPhoneNumbersCommandOutput,
|
|
505
|
-
|
|
536
|
+
| Cause.TimeoutException
|
|
537
|
+
| SdkError
|
|
538
|
+
| AuthorizationError
|
|
539
|
+
| InternalError
|
|
540
|
+
| InvalidParameterError
|
|
541
|
+
| ResourceNotFoundError
|
|
542
|
+
| ThrottledError
|
|
506
543
|
>;
|
|
507
544
|
|
|
508
545
|
/**
|
|
@@ -513,7 +550,7 @@ interface SNSService$ {
|
|
|
513
550
|
options?: HttpHandlerOptions,
|
|
514
551
|
): Effect.Effect<
|
|
515
552
|
ListSubscriptionsCommandOutput,
|
|
516
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
553
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
517
554
|
>;
|
|
518
555
|
|
|
519
556
|
/**
|
|
@@ -524,7 +561,7 @@ interface SNSService$ {
|
|
|
524
561
|
options?: HttpHandlerOptions,
|
|
525
562
|
): Effect.Effect<
|
|
526
563
|
ListSubscriptionsByTopicCommandOutput,
|
|
527
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
564
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
528
565
|
>;
|
|
529
566
|
|
|
530
567
|
/**
|
|
@@ -535,6 +572,7 @@ interface SNSService$ {
|
|
|
535
572
|
options?: HttpHandlerOptions,
|
|
536
573
|
): Effect.Effect<
|
|
537
574
|
ListTagsForResourceCommandOutput,
|
|
575
|
+
| Cause.TimeoutException
|
|
538
576
|
| SdkError
|
|
539
577
|
| AuthorizationError
|
|
540
578
|
| ConcurrentAccessError
|
|
@@ -551,7 +589,7 @@ interface SNSService$ {
|
|
|
551
589
|
options?: HttpHandlerOptions,
|
|
552
590
|
): Effect.Effect<
|
|
553
591
|
ListTopicsCommandOutput,
|
|
554
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
592
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError
|
|
555
593
|
>;
|
|
556
594
|
|
|
557
595
|
/**
|
|
@@ -562,7 +600,7 @@ interface SNSService$ {
|
|
|
562
600
|
options?: HttpHandlerOptions,
|
|
563
601
|
): Effect.Effect<
|
|
564
602
|
OptInPhoneNumberCommandOutput,
|
|
565
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
603
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
566
604
|
>;
|
|
567
605
|
|
|
568
606
|
/**
|
|
@@ -573,6 +611,7 @@ interface SNSService$ {
|
|
|
573
611
|
options?: HttpHandlerOptions,
|
|
574
612
|
): Effect.Effect<
|
|
575
613
|
PublishCommandOutput,
|
|
614
|
+
| Cause.TimeoutException
|
|
576
615
|
| SdkError
|
|
577
616
|
| AuthorizationError
|
|
578
617
|
| EndpointDisabledError
|
|
@@ -599,6 +638,7 @@ interface SNSService$ {
|
|
|
599
638
|
options?: HttpHandlerOptions,
|
|
600
639
|
): Effect.Effect<
|
|
601
640
|
PublishBatchCommandOutput,
|
|
641
|
+
| Cause.TimeoutException
|
|
602
642
|
| SdkError
|
|
603
643
|
| AuthorizationError
|
|
604
644
|
| BatchEntryIdsNotDistinctError
|
|
@@ -630,7 +670,13 @@ interface SNSService$ {
|
|
|
630
670
|
options?: HttpHandlerOptions,
|
|
631
671
|
): Effect.Effect<
|
|
632
672
|
PutDataProtectionPolicyCommandOutput,
|
|
633
|
-
|
|
673
|
+
| Cause.TimeoutException
|
|
674
|
+
| SdkError
|
|
675
|
+
| AuthorizationError
|
|
676
|
+
| InternalError
|
|
677
|
+
| InvalidParameterError
|
|
678
|
+
| InvalidSecurityError
|
|
679
|
+
| NotFoundError
|
|
634
680
|
>;
|
|
635
681
|
|
|
636
682
|
/**
|
|
@@ -641,7 +687,7 @@ interface SNSService$ {
|
|
|
641
687
|
options?: HttpHandlerOptions,
|
|
642
688
|
): Effect.Effect<
|
|
643
689
|
RemovePermissionCommandOutput,
|
|
644
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
690
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
645
691
|
>;
|
|
646
692
|
|
|
647
693
|
/**
|
|
@@ -652,7 +698,7 @@ interface SNSService$ {
|
|
|
652
698
|
options?: HttpHandlerOptions,
|
|
653
699
|
): Effect.Effect<
|
|
654
700
|
SetEndpointAttributesCommandOutput,
|
|
655
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
701
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
656
702
|
>;
|
|
657
703
|
|
|
658
704
|
/**
|
|
@@ -663,7 +709,7 @@ interface SNSService$ {
|
|
|
663
709
|
options?: HttpHandlerOptions,
|
|
664
710
|
): Effect.Effect<
|
|
665
711
|
SetPlatformApplicationAttributesCommandOutput,
|
|
666
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
712
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | NotFoundError
|
|
667
713
|
>;
|
|
668
714
|
|
|
669
715
|
/**
|
|
@@ -674,7 +720,7 @@ interface SNSService$ {
|
|
|
674
720
|
options?: HttpHandlerOptions,
|
|
675
721
|
): Effect.Effect<
|
|
676
722
|
SetSMSAttributesCommandOutput,
|
|
677
|
-
SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
723
|
+
Cause.TimeoutException | SdkError | AuthorizationError | InternalError | InvalidParameterError | ThrottledError
|
|
678
724
|
>;
|
|
679
725
|
|
|
680
726
|
/**
|
|
@@ -685,6 +731,7 @@ interface SNSService$ {
|
|
|
685
731
|
options?: HttpHandlerOptions,
|
|
686
732
|
): Effect.Effect<
|
|
687
733
|
SetSubscriptionAttributesCommandOutput,
|
|
734
|
+
| Cause.TimeoutException
|
|
688
735
|
| SdkError
|
|
689
736
|
| AuthorizationError
|
|
690
737
|
| FilterPolicyLimitExceededError
|
|
@@ -702,7 +749,13 @@ interface SNSService$ {
|
|
|
702
749
|
options?: HttpHandlerOptions,
|
|
703
750
|
): Effect.Effect<
|
|
704
751
|
SetTopicAttributesCommandOutput,
|
|
705
|
-
|
|
752
|
+
| Cause.TimeoutException
|
|
753
|
+
| SdkError
|
|
754
|
+
| AuthorizationError
|
|
755
|
+
| InternalError
|
|
756
|
+
| InvalidParameterError
|
|
757
|
+
| InvalidSecurityError
|
|
758
|
+
| NotFoundError
|
|
706
759
|
>;
|
|
707
760
|
|
|
708
761
|
/**
|
|
@@ -713,6 +766,7 @@ interface SNSService$ {
|
|
|
713
766
|
options?: HttpHandlerOptions,
|
|
714
767
|
): Effect.Effect<
|
|
715
768
|
SubscribeCommandOutput,
|
|
769
|
+
| Cause.TimeoutException
|
|
716
770
|
| SdkError
|
|
717
771
|
| AuthorizationError
|
|
718
772
|
| FilterPolicyLimitExceededError
|
|
@@ -732,6 +786,7 @@ interface SNSService$ {
|
|
|
732
786
|
options?: HttpHandlerOptions,
|
|
733
787
|
): Effect.Effect<
|
|
734
788
|
TagResourceCommandOutput,
|
|
789
|
+
| Cause.TimeoutException
|
|
735
790
|
| SdkError
|
|
736
791
|
| AuthorizationError
|
|
737
792
|
| ConcurrentAccessError
|
|
@@ -750,7 +805,13 @@ interface SNSService$ {
|
|
|
750
805
|
options?: HttpHandlerOptions,
|
|
751
806
|
): Effect.Effect<
|
|
752
807
|
UnsubscribeCommandOutput,
|
|
753
|
-
|
|
808
|
+
| Cause.TimeoutException
|
|
809
|
+
| SdkError
|
|
810
|
+
| AuthorizationError
|
|
811
|
+
| InternalError
|
|
812
|
+
| InvalidParameterError
|
|
813
|
+
| InvalidSecurityError
|
|
814
|
+
| NotFoundError
|
|
754
815
|
>;
|
|
755
816
|
|
|
756
817
|
/**
|
|
@@ -761,6 +822,7 @@ interface SNSService$ {
|
|
|
761
822
|
options?: HttpHandlerOptions,
|
|
762
823
|
): Effect.Effect<
|
|
763
824
|
UntagResourceCommandOutput,
|
|
825
|
+
| Cause.TimeoutException
|
|
764
826
|
| SdkError
|
|
765
827
|
| AuthorizationError
|
|
766
828
|
| ConcurrentAccessError
|
|
@@ -779,6 +841,7 @@ interface SNSService$ {
|
|
|
779
841
|
options?: HttpHandlerOptions,
|
|
780
842
|
): Effect.Effect<
|
|
781
843
|
VerifySMSSandboxPhoneNumberCommandOutput,
|
|
844
|
+
| Cause.TimeoutException
|
|
782
845
|
| SdkError
|
|
783
846
|
| AuthorizationError
|
|
784
847
|
| InternalError
|
|
@@ -796,7 +859,7 @@ interface SNSService$ {
|
|
|
796
859
|
export const makeSNSService = Effect.gen(function*() {
|
|
797
860
|
const client = yield* Instance.SNSClientInstance;
|
|
798
861
|
|
|
799
|
-
return Service.fromClientAndCommands<SNSService$>(
|
|
862
|
+
return yield* Service.fromClientAndCommands<SNSService$>(
|
|
800
863
|
client,
|
|
801
864
|
commands,
|
|
802
865
|
{
|