@effect-aws/client-ses 1.0.0 → 1.9.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.
Files changed (68) hide show
  1. package/Errors/package.json +6 -0
  2. package/SESClientInstance/package.json +6 -0
  3. package/SESService/package.json +6 -0
  4. package/SESServiceConfig/package.json +6 -0
  5. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  6. package/dist/cjs/Errors.d.ts.map +1 -0
  7. package/dist/cjs/Errors.js +42 -0
  8. package/dist/cjs/Errors.js.map +1 -0
  9. package/dist/cjs/SESClientInstance.d.ts +24 -0
  10. package/dist/cjs/SESClientInstance.d.ts.map +1 -0
  11. package/dist/cjs/SESClientInstance.js +50 -0
  12. package/dist/cjs/SESClientInstance.js.map +1 -0
  13. package/{lib → dist/cjs}/SESService.d.ts +16 -38
  14. package/dist/cjs/SESService.d.ts.map +1 -0
  15. package/dist/cjs/SESService.js +127 -0
  16. package/dist/cjs/SESService.js.map +1 -0
  17. package/dist/cjs/SESServiceConfig.d.ts +25 -0
  18. package/dist/cjs/SESServiceConfig.d.ts.map +1 -0
  19. package/dist/cjs/SESServiceConfig.js +35 -0
  20. package/dist/cjs/SESServiceConfig.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/Errors.d.ts +41 -0
  26. package/dist/dts/Errors.d.ts.map +1 -0
  27. package/dist/dts/SESClientInstance.d.ts +24 -0
  28. package/dist/dts/SESClientInstance.d.ts.map +1 -0
  29. package/dist/dts/SESService.d.ts +398 -0
  30. package/dist/dts/SESService.d.ts.map +1 -0
  31. package/dist/dts/SESServiceConfig.d.ts +25 -0
  32. package/dist/dts/SESServiceConfig.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/Errors.js +39 -0
  36. package/dist/esm/Errors.js.map +1 -0
  37. package/dist/esm/SESClientInstance.js +23 -0
  38. package/dist/esm/SESClientInstance.js.map +1 -0
  39. package/dist/esm/SESService.js +100 -0
  40. package/dist/esm/SESService.js.map +1 -0
  41. package/dist/esm/SESServiceConfig.js +31 -0
  42. package/dist/esm/SESServiceConfig.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/Errors.ts +119 -0
  48. package/src/SESClientInstance.ts +33 -0
  49. package/src/SESService.ts +1228 -0
  50. package/src/SESServiceConfig.ts +51 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -7
  53. package/docgen.json +0 -8
  54. package/lib/Errors.js +0 -42
  55. package/lib/SESClientInstance.d.ts +0 -31
  56. package/lib/SESClientInstance.js +0 -57
  57. package/lib/SESClientInstanceConfig.d.ts +0 -23
  58. package/lib/SESClientInstanceConfig.js +0 -44
  59. package/lib/SESService.js +0 -159
  60. package/lib/esm/Errors.js +0 -39
  61. package/lib/esm/SESClientInstance.js +0 -30
  62. package/lib/esm/SESClientInstanceConfig.js +0 -40
  63. package/lib/esm/SESService.js +0 -155
  64. package/lib/esm/index.js +0 -5
  65. package/lib/index.d.ts +0 -4
  66. package/lib/index.js +0 -21
  67. package/project.json +0 -77
  68. package/vitest.config.ts +0 -3
@@ -0,0 +1,1228 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import {
5
+ CloneReceiptRuleSetCommand,
6
+ type CloneReceiptRuleSetCommandInput,
7
+ type CloneReceiptRuleSetCommandOutput,
8
+ CreateConfigurationSetCommand,
9
+ type CreateConfigurationSetCommandInput,
10
+ type CreateConfigurationSetCommandOutput,
11
+ CreateConfigurationSetEventDestinationCommand,
12
+ type CreateConfigurationSetEventDestinationCommandInput,
13
+ type CreateConfigurationSetEventDestinationCommandOutput,
14
+ CreateConfigurationSetTrackingOptionsCommand,
15
+ type CreateConfigurationSetTrackingOptionsCommandInput,
16
+ type CreateConfigurationSetTrackingOptionsCommandOutput,
17
+ CreateCustomVerificationEmailTemplateCommand,
18
+ type CreateCustomVerificationEmailTemplateCommandInput,
19
+ type CreateCustomVerificationEmailTemplateCommandOutput,
20
+ CreateReceiptFilterCommand,
21
+ type CreateReceiptFilterCommandInput,
22
+ type CreateReceiptFilterCommandOutput,
23
+ CreateReceiptRuleCommand,
24
+ type CreateReceiptRuleCommandInput,
25
+ type CreateReceiptRuleCommandOutput,
26
+ CreateReceiptRuleSetCommand,
27
+ type CreateReceiptRuleSetCommandInput,
28
+ type CreateReceiptRuleSetCommandOutput,
29
+ CreateTemplateCommand,
30
+ type CreateTemplateCommandInput,
31
+ type CreateTemplateCommandOutput,
32
+ DeleteConfigurationSetCommand,
33
+ type DeleteConfigurationSetCommandInput,
34
+ type DeleteConfigurationSetCommandOutput,
35
+ DeleteConfigurationSetEventDestinationCommand,
36
+ type DeleteConfigurationSetEventDestinationCommandInput,
37
+ type DeleteConfigurationSetEventDestinationCommandOutput,
38
+ DeleteConfigurationSetTrackingOptionsCommand,
39
+ type DeleteConfigurationSetTrackingOptionsCommandInput,
40
+ type DeleteConfigurationSetTrackingOptionsCommandOutput,
41
+ DeleteCustomVerificationEmailTemplateCommand,
42
+ type DeleteCustomVerificationEmailTemplateCommandInput,
43
+ type DeleteCustomVerificationEmailTemplateCommandOutput,
44
+ DeleteIdentityCommand,
45
+ type DeleteIdentityCommandInput,
46
+ type DeleteIdentityCommandOutput,
47
+ DeleteIdentityPolicyCommand,
48
+ type DeleteIdentityPolicyCommandInput,
49
+ type DeleteIdentityPolicyCommandOutput,
50
+ DeleteReceiptFilterCommand,
51
+ type DeleteReceiptFilterCommandInput,
52
+ type DeleteReceiptFilterCommandOutput,
53
+ DeleteReceiptRuleCommand,
54
+ type DeleteReceiptRuleCommandInput,
55
+ type DeleteReceiptRuleCommandOutput,
56
+ DeleteReceiptRuleSetCommand,
57
+ type DeleteReceiptRuleSetCommandInput,
58
+ type DeleteReceiptRuleSetCommandOutput,
59
+ DeleteTemplateCommand,
60
+ type DeleteTemplateCommandInput,
61
+ type DeleteTemplateCommandOutput,
62
+ DeleteVerifiedEmailAddressCommand,
63
+ type DeleteVerifiedEmailAddressCommandInput,
64
+ type DeleteVerifiedEmailAddressCommandOutput,
65
+ DescribeActiveReceiptRuleSetCommand,
66
+ type DescribeActiveReceiptRuleSetCommandInput,
67
+ type DescribeActiveReceiptRuleSetCommandOutput,
68
+ DescribeConfigurationSetCommand,
69
+ type DescribeConfigurationSetCommandInput,
70
+ type DescribeConfigurationSetCommandOutput,
71
+ DescribeReceiptRuleCommand,
72
+ type DescribeReceiptRuleCommandInput,
73
+ type DescribeReceiptRuleCommandOutput,
74
+ DescribeReceiptRuleSetCommand,
75
+ type DescribeReceiptRuleSetCommandInput,
76
+ type DescribeReceiptRuleSetCommandOutput,
77
+ GetAccountSendingEnabledCommand,
78
+ type GetAccountSendingEnabledCommandInput,
79
+ type GetAccountSendingEnabledCommandOutput,
80
+ GetCustomVerificationEmailTemplateCommand,
81
+ type GetCustomVerificationEmailTemplateCommandInput,
82
+ type GetCustomVerificationEmailTemplateCommandOutput,
83
+ GetIdentityDkimAttributesCommand,
84
+ type GetIdentityDkimAttributesCommandInput,
85
+ type GetIdentityDkimAttributesCommandOutput,
86
+ GetIdentityMailFromDomainAttributesCommand,
87
+ type GetIdentityMailFromDomainAttributesCommandInput,
88
+ type GetIdentityMailFromDomainAttributesCommandOutput,
89
+ GetIdentityNotificationAttributesCommand,
90
+ type GetIdentityNotificationAttributesCommandInput,
91
+ type GetIdentityNotificationAttributesCommandOutput,
92
+ GetIdentityPoliciesCommand,
93
+ type GetIdentityPoliciesCommandInput,
94
+ type GetIdentityPoliciesCommandOutput,
95
+ GetIdentityVerificationAttributesCommand,
96
+ type GetIdentityVerificationAttributesCommandInput,
97
+ type GetIdentityVerificationAttributesCommandOutput,
98
+ GetSendQuotaCommand,
99
+ type GetSendQuotaCommandInput,
100
+ type GetSendQuotaCommandOutput,
101
+ GetSendStatisticsCommand,
102
+ type GetSendStatisticsCommandInput,
103
+ type GetSendStatisticsCommandOutput,
104
+ GetTemplateCommand,
105
+ type GetTemplateCommandInput,
106
+ type GetTemplateCommandOutput,
107
+ ListConfigurationSetsCommand,
108
+ type ListConfigurationSetsCommandInput,
109
+ type ListConfigurationSetsCommandOutput,
110
+ ListCustomVerificationEmailTemplatesCommand,
111
+ type ListCustomVerificationEmailTemplatesCommandInput,
112
+ type ListCustomVerificationEmailTemplatesCommandOutput,
113
+ ListIdentitiesCommand,
114
+ type ListIdentitiesCommandInput,
115
+ type ListIdentitiesCommandOutput,
116
+ ListIdentityPoliciesCommand,
117
+ type ListIdentityPoliciesCommandInput,
118
+ type ListIdentityPoliciesCommandOutput,
119
+ ListReceiptFiltersCommand,
120
+ type ListReceiptFiltersCommandInput,
121
+ type ListReceiptFiltersCommandOutput,
122
+ ListReceiptRuleSetsCommand,
123
+ type ListReceiptRuleSetsCommandInput,
124
+ type ListReceiptRuleSetsCommandOutput,
125
+ ListTemplatesCommand,
126
+ type ListTemplatesCommandInput,
127
+ type ListTemplatesCommandOutput,
128
+ ListVerifiedEmailAddressesCommand,
129
+ type ListVerifiedEmailAddressesCommandInput,
130
+ type ListVerifiedEmailAddressesCommandOutput,
131
+ PutConfigurationSetDeliveryOptionsCommand,
132
+ type PutConfigurationSetDeliveryOptionsCommandInput,
133
+ type PutConfigurationSetDeliveryOptionsCommandOutput,
134
+ PutIdentityPolicyCommand,
135
+ type PutIdentityPolicyCommandInput,
136
+ type PutIdentityPolicyCommandOutput,
137
+ ReorderReceiptRuleSetCommand,
138
+ type ReorderReceiptRuleSetCommandInput,
139
+ type ReorderReceiptRuleSetCommandOutput,
140
+ SendBounceCommand,
141
+ type SendBounceCommandInput,
142
+ type SendBounceCommandOutput,
143
+ SendBulkTemplatedEmailCommand,
144
+ type SendBulkTemplatedEmailCommandInput,
145
+ type SendBulkTemplatedEmailCommandOutput,
146
+ SendCustomVerificationEmailCommand,
147
+ type SendCustomVerificationEmailCommandInput,
148
+ type SendCustomVerificationEmailCommandOutput,
149
+ SendEmailCommand,
150
+ type SendEmailCommandInput,
151
+ type SendEmailCommandOutput,
152
+ SendRawEmailCommand,
153
+ type SendRawEmailCommandInput,
154
+ type SendRawEmailCommandOutput,
155
+ SendTemplatedEmailCommand,
156
+ type SendTemplatedEmailCommandInput,
157
+ type SendTemplatedEmailCommandOutput,
158
+ type SESClient,
159
+ type SESClientConfig,
160
+ SetActiveReceiptRuleSetCommand,
161
+ type SetActiveReceiptRuleSetCommandInput,
162
+ type SetActiveReceiptRuleSetCommandOutput,
163
+ SetIdentityDkimEnabledCommand,
164
+ type SetIdentityDkimEnabledCommandInput,
165
+ type SetIdentityDkimEnabledCommandOutput,
166
+ SetIdentityFeedbackForwardingEnabledCommand,
167
+ type SetIdentityFeedbackForwardingEnabledCommandInput,
168
+ type SetIdentityFeedbackForwardingEnabledCommandOutput,
169
+ SetIdentityHeadersInNotificationsEnabledCommand,
170
+ type SetIdentityHeadersInNotificationsEnabledCommandInput,
171
+ type SetIdentityHeadersInNotificationsEnabledCommandOutput,
172
+ SetIdentityMailFromDomainCommand,
173
+ type SetIdentityMailFromDomainCommandInput,
174
+ type SetIdentityMailFromDomainCommandOutput,
175
+ SetIdentityNotificationTopicCommand,
176
+ type SetIdentityNotificationTopicCommandInput,
177
+ type SetIdentityNotificationTopicCommandOutput,
178
+ SetReceiptRulePositionCommand,
179
+ type SetReceiptRulePositionCommandInput,
180
+ type SetReceiptRulePositionCommandOutput,
181
+ TestRenderTemplateCommand,
182
+ type TestRenderTemplateCommandInput,
183
+ type TestRenderTemplateCommandOutput,
184
+ UpdateAccountSendingEnabledCommand,
185
+ type UpdateAccountSendingEnabledCommandInput,
186
+ type UpdateAccountSendingEnabledCommandOutput,
187
+ UpdateConfigurationSetEventDestinationCommand,
188
+ type UpdateConfigurationSetEventDestinationCommandInput,
189
+ type UpdateConfigurationSetEventDestinationCommandOutput,
190
+ UpdateConfigurationSetReputationMetricsEnabledCommand,
191
+ type UpdateConfigurationSetReputationMetricsEnabledCommandInput,
192
+ type UpdateConfigurationSetReputationMetricsEnabledCommandOutput,
193
+ UpdateConfigurationSetSendingEnabledCommand,
194
+ type UpdateConfigurationSetSendingEnabledCommandInput,
195
+ type UpdateConfigurationSetSendingEnabledCommandOutput,
196
+ UpdateConfigurationSetTrackingOptionsCommand,
197
+ type UpdateConfigurationSetTrackingOptionsCommandInput,
198
+ type UpdateConfigurationSetTrackingOptionsCommandOutput,
199
+ UpdateCustomVerificationEmailTemplateCommand,
200
+ type UpdateCustomVerificationEmailTemplateCommandInput,
201
+ type UpdateCustomVerificationEmailTemplateCommandOutput,
202
+ UpdateReceiptRuleCommand,
203
+ type UpdateReceiptRuleCommandInput,
204
+ type UpdateReceiptRuleCommandOutput,
205
+ UpdateTemplateCommand,
206
+ type UpdateTemplateCommandInput,
207
+ type UpdateTemplateCommandOutput,
208
+ VerifyDomainDkimCommand,
209
+ type VerifyDomainDkimCommandInput,
210
+ type VerifyDomainDkimCommandOutput,
211
+ VerifyDomainIdentityCommand,
212
+ type VerifyDomainIdentityCommandInput,
213
+ type VerifyDomainIdentityCommandOutput,
214
+ VerifyEmailAddressCommand,
215
+ type VerifyEmailAddressCommandInput,
216
+ type VerifyEmailAddressCommandOutput,
217
+ VerifyEmailIdentityCommand,
218
+ type VerifyEmailIdentityCommandInput,
219
+ type VerifyEmailIdentityCommandOutput,
220
+ } from "@aws-sdk/client-ses";
221
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
222
+ import { Service } from "@effect-aws/commons";
223
+ import { Effect, Layer } from "effect";
224
+ import type {
225
+ AccountSendingPausedError,
226
+ AlreadyExistsError,
227
+ CannotDeleteError,
228
+ ConfigurationSetAlreadyExistsError,
229
+ ConfigurationSetDoesNotExistError,
230
+ ConfigurationSetSendingPausedError,
231
+ CustomVerificationEmailInvalidContentError,
232
+ CustomVerificationEmailTemplateAlreadyExistsError,
233
+ CustomVerificationEmailTemplateDoesNotExistError,
234
+ EventDestinationAlreadyExistsError,
235
+ EventDestinationDoesNotExistError,
236
+ FromEmailAddressNotVerifiedError,
237
+ InvalidCloudWatchDestinationError,
238
+ InvalidConfigurationSetError,
239
+ InvalidDeliveryOptionsError,
240
+ InvalidFirehoseDestinationError,
241
+ InvalidLambdaFunctionError,
242
+ InvalidPolicyError,
243
+ InvalidRenderingParameterError,
244
+ InvalidS3ConfigurationError,
245
+ InvalidSNSDestinationError,
246
+ InvalidSnsTopicError,
247
+ InvalidTemplateError,
248
+ InvalidTrackingOptionsError,
249
+ LimitExceededError,
250
+ MailFromDomainNotVerifiedError,
251
+ MessageRejectedError,
252
+ MissingRenderingAttributeError,
253
+ ProductionAccessNotGrantedError,
254
+ RuleDoesNotExistError,
255
+ RuleSetDoesNotExistError,
256
+ TemplateDoesNotExistError,
257
+ TrackingOptionsAlreadyExistsError,
258
+ TrackingOptionsDoesNotExistError,
259
+ } from "./Errors.js";
260
+ import { AllServiceErrors } from "./Errors.js";
261
+ import * as Instance from "./SESClientInstance.js";
262
+ import * as SESServiceConfig from "./SESServiceConfig.js";
263
+
264
+ const commands = {
265
+ CloneReceiptRuleSetCommand,
266
+ CreateConfigurationSetCommand,
267
+ CreateConfigurationSetEventDestinationCommand,
268
+ CreateConfigurationSetTrackingOptionsCommand,
269
+ CreateCustomVerificationEmailTemplateCommand,
270
+ CreateReceiptFilterCommand,
271
+ CreateReceiptRuleCommand,
272
+ CreateReceiptRuleSetCommand,
273
+ CreateTemplateCommand,
274
+ DeleteConfigurationSetCommand,
275
+ DeleteConfigurationSetEventDestinationCommand,
276
+ DeleteConfigurationSetTrackingOptionsCommand,
277
+ DeleteCustomVerificationEmailTemplateCommand,
278
+ DeleteIdentityCommand,
279
+ DeleteIdentityPolicyCommand,
280
+ DeleteReceiptFilterCommand,
281
+ DeleteReceiptRuleCommand,
282
+ DeleteReceiptRuleSetCommand,
283
+ DeleteTemplateCommand,
284
+ DeleteVerifiedEmailAddressCommand,
285
+ DescribeActiveReceiptRuleSetCommand,
286
+ DescribeConfigurationSetCommand,
287
+ DescribeReceiptRuleCommand,
288
+ DescribeReceiptRuleSetCommand,
289
+ GetAccountSendingEnabledCommand,
290
+ GetCustomVerificationEmailTemplateCommand,
291
+ GetIdentityDkimAttributesCommand,
292
+ GetIdentityMailFromDomainAttributesCommand,
293
+ GetIdentityNotificationAttributesCommand,
294
+ GetIdentityPoliciesCommand,
295
+ GetIdentityVerificationAttributesCommand,
296
+ GetSendQuotaCommand,
297
+ GetSendStatisticsCommand,
298
+ GetTemplateCommand,
299
+ ListConfigurationSetsCommand,
300
+ ListCustomVerificationEmailTemplatesCommand,
301
+ ListIdentitiesCommand,
302
+ ListIdentityPoliciesCommand,
303
+ ListReceiptFiltersCommand,
304
+ ListReceiptRuleSetsCommand,
305
+ ListTemplatesCommand,
306
+ ListVerifiedEmailAddressesCommand,
307
+ PutConfigurationSetDeliveryOptionsCommand,
308
+ PutIdentityPolicyCommand,
309
+ ReorderReceiptRuleSetCommand,
310
+ SendBounceCommand,
311
+ SendBulkTemplatedEmailCommand,
312
+ SendCustomVerificationEmailCommand,
313
+ SendEmailCommand,
314
+ SendRawEmailCommand,
315
+ SendTemplatedEmailCommand,
316
+ SetActiveReceiptRuleSetCommand,
317
+ SetIdentityDkimEnabledCommand,
318
+ SetIdentityFeedbackForwardingEnabledCommand,
319
+ SetIdentityHeadersInNotificationsEnabledCommand,
320
+ SetIdentityMailFromDomainCommand,
321
+ SetIdentityNotificationTopicCommand,
322
+ SetReceiptRulePositionCommand,
323
+ TestRenderTemplateCommand,
324
+ UpdateAccountSendingEnabledCommand,
325
+ UpdateConfigurationSetEventDestinationCommand,
326
+ UpdateConfigurationSetReputationMetricsEnabledCommand,
327
+ UpdateConfigurationSetSendingEnabledCommand,
328
+ UpdateConfigurationSetTrackingOptionsCommand,
329
+ UpdateCustomVerificationEmailTemplateCommand,
330
+ UpdateReceiptRuleCommand,
331
+ UpdateTemplateCommand,
332
+ VerifyDomainDkimCommand,
333
+ VerifyDomainIdentityCommand,
334
+ VerifyEmailAddressCommand,
335
+ VerifyEmailIdentityCommand,
336
+ };
337
+
338
+ interface SESService$ {
339
+ readonly _: unique symbol;
340
+
341
+ /**
342
+ * @see {@link CloneReceiptRuleSetCommand}
343
+ */
344
+ cloneReceiptRuleSet(
345
+ args: CloneReceiptRuleSetCommandInput,
346
+ options?: HttpHandlerOptions,
347
+ ): Effect.Effect<
348
+ CloneReceiptRuleSetCommandOutput,
349
+ SdkError | AlreadyExistsError | LimitExceededError | RuleSetDoesNotExistError
350
+ >;
351
+
352
+ /**
353
+ * @see {@link CreateConfigurationSetCommand}
354
+ */
355
+ createConfigurationSet(
356
+ args: CreateConfigurationSetCommandInput,
357
+ options?: HttpHandlerOptions,
358
+ ): Effect.Effect<
359
+ CreateConfigurationSetCommandOutput,
360
+ SdkError | ConfigurationSetAlreadyExistsError | InvalidConfigurationSetError | LimitExceededError
361
+ >;
362
+
363
+ /**
364
+ * @see {@link CreateConfigurationSetEventDestinationCommand}
365
+ */
366
+ createConfigurationSetEventDestination(
367
+ args: CreateConfigurationSetEventDestinationCommandInput,
368
+ options?: HttpHandlerOptions,
369
+ ): Effect.Effect<
370
+ CreateConfigurationSetEventDestinationCommandOutput,
371
+ | SdkError
372
+ | ConfigurationSetDoesNotExistError
373
+ | EventDestinationAlreadyExistsError
374
+ | InvalidCloudWatchDestinationError
375
+ | InvalidFirehoseDestinationError
376
+ | InvalidSNSDestinationError
377
+ | LimitExceededError
378
+ >;
379
+
380
+ /**
381
+ * @see {@link CreateConfigurationSetTrackingOptionsCommand}
382
+ */
383
+ createConfigurationSetTrackingOptions(
384
+ args: CreateConfigurationSetTrackingOptionsCommandInput,
385
+ options?: HttpHandlerOptions,
386
+ ): Effect.Effect<
387
+ CreateConfigurationSetTrackingOptionsCommandOutput,
388
+ SdkError | ConfigurationSetDoesNotExistError | InvalidTrackingOptionsError | TrackingOptionsAlreadyExistsError
389
+ >;
390
+
391
+ /**
392
+ * @see {@link CreateCustomVerificationEmailTemplateCommand}
393
+ */
394
+ createCustomVerificationEmailTemplate(
395
+ args: CreateCustomVerificationEmailTemplateCommandInput,
396
+ options?: HttpHandlerOptions,
397
+ ): Effect.Effect<
398
+ CreateCustomVerificationEmailTemplateCommandOutput,
399
+ | SdkError
400
+ | CustomVerificationEmailInvalidContentError
401
+ | CustomVerificationEmailTemplateAlreadyExistsError
402
+ | FromEmailAddressNotVerifiedError
403
+ | LimitExceededError
404
+ >;
405
+
406
+ /**
407
+ * @see {@link CreateReceiptFilterCommand}
408
+ */
409
+ createReceiptFilter(
410
+ args: CreateReceiptFilterCommandInput,
411
+ options?: HttpHandlerOptions,
412
+ ): Effect.Effect<
413
+ CreateReceiptFilterCommandOutput,
414
+ SdkError | AlreadyExistsError | LimitExceededError
415
+ >;
416
+
417
+ /**
418
+ * @see {@link CreateReceiptRuleCommand}
419
+ */
420
+ createReceiptRule(
421
+ args: CreateReceiptRuleCommandInput,
422
+ options?: HttpHandlerOptions,
423
+ ): Effect.Effect<
424
+ CreateReceiptRuleCommandOutput,
425
+ | SdkError
426
+ | AlreadyExistsError
427
+ | InvalidLambdaFunctionError
428
+ | InvalidS3ConfigurationError
429
+ | InvalidSnsTopicError
430
+ | LimitExceededError
431
+ | RuleDoesNotExistError
432
+ | RuleSetDoesNotExistError
433
+ >;
434
+
435
+ /**
436
+ * @see {@link CreateReceiptRuleSetCommand}
437
+ */
438
+ createReceiptRuleSet(
439
+ args: CreateReceiptRuleSetCommandInput,
440
+ options?: HttpHandlerOptions,
441
+ ): Effect.Effect<
442
+ CreateReceiptRuleSetCommandOutput,
443
+ SdkError | AlreadyExistsError | LimitExceededError
444
+ >;
445
+
446
+ /**
447
+ * @see {@link CreateTemplateCommand}
448
+ */
449
+ createTemplate(
450
+ args: CreateTemplateCommandInput,
451
+ options?: HttpHandlerOptions,
452
+ ): Effect.Effect<
453
+ CreateTemplateCommandOutput,
454
+ SdkError | AlreadyExistsError | InvalidTemplateError | LimitExceededError
455
+ >;
456
+
457
+ /**
458
+ * @see {@link DeleteConfigurationSetCommand}
459
+ */
460
+ deleteConfigurationSet(
461
+ args: DeleteConfigurationSetCommandInput,
462
+ options?: HttpHandlerOptions,
463
+ ): Effect.Effect<
464
+ DeleteConfigurationSetCommandOutput,
465
+ SdkError | ConfigurationSetDoesNotExistError
466
+ >;
467
+
468
+ /**
469
+ * @see {@link DeleteConfigurationSetEventDestinationCommand}
470
+ */
471
+ deleteConfigurationSetEventDestination(
472
+ args: DeleteConfigurationSetEventDestinationCommandInput,
473
+ options?: HttpHandlerOptions,
474
+ ): Effect.Effect<
475
+ DeleteConfigurationSetEventDestinationCommandOutput,
476
+ SdkError | ConfigurationSetDoesNotExistError | EventDestinationDoesNotExistError
477
+ >;
478
+
479
+ /**
480
+ * @see {@link DeleteConfigurationSetTrackingOptionsCommand}
481
+ */
482
+ deleteConfigurationSetTrackingOptions(
483
+ args: DeleteConfigurationSetTrackingOptionsCommandInput,
484
+ options?: HttpHandlerOptions,
485
+ ): Effect.Effect<
486
+ DeleteConfigurationSetTrackingOptionsCommandOutput,
487
+ SdkError | ConfigurationSetDoesNotExistError | TrackingOptionsDoesNotExistError
488
+ >;
489
+
490
+ /**
491
+ * @see {@link DeleteCustomVerificationEmailTemplateCommand}
492
+ */
493
+ deleteCustomVerificationEmailTemplate(
494
+ args: DeleteCustomVerificationEmailTemplateCommandInput,
495
+ options?: HttpHandlerOptions,
496
+ ): Effect.Effect<
497
+ DeleteCustomVerificationEmailTemplateCommandOutput,
498
+ SdkError
499
+ >;
500
+
501
+ /**
502
+ * @see {@link DeleteIdentityCommand}
503
+ */
504
+ deleteIdentity(
505
+ args: DeleteIdentityCommandInput,
506
+ options?: HttpHandlerOptions,
507
+ ): Effect.Effect<
508
+ DeleteIdentityCommandOutput,
509
+ SdkError
510
+ >;
511
+
512
+ /**
513
+ * @see {@link DeleteIdentityPolicyCommand}
514
+ */
515
+ deleteIdentityPolicy(
516
+ args: DeleteIdentityPolicyCommandInput,
517
+ options?: HttpHandlerOptions,
518
+ ): Effect.Effect<
519
+ DeleteIdentityPolicyCommandOutput,
520
+ SdkError
521
+ >;
522
+
523
+ /**
524
+ * @see {@link DeleteReceiptFilterCommand}
525
+ */
526
+ deleteReceiptFilter(
527
+ args: DeleteReceiptFilterCommandInput,
528
+ options?: HttpHandlerOptions,
529
+ ): Effect.Effect<
530
+ DeleteReceiptFilterCommandOutput,
531
+ SdkError
532
+ >;
533
+
534
+ /**
535
+ * @see {@link DeleteReceiptRuleCommand}
536
+ */
537
+ deleteReceiptRule(
538
+ args: DeleteReceiptRuleCommandInput,
539
+ options?: HttpHandlerOptions,
540
+ ): Effect.Effect<
541
+ DeleteReceiptRuleCommandOutput,
542
+ SdkError | RuleSetDoesNotExistError
543
+ >;
544
+
545
+ /**
546
+ * @see {@link DeleteReceiptRuleSetCommand}
547
+ */
548
+ deleteReceiptRuleSet(
549
+ args: DeleteReceiptRuleSetCommandInput,
550
+ options?: HttpHandlerOptions,
551
+ ): Effect.Effect<
552
+ DeleteReceiptRuleSetCommandOutput,
553
+ SdkError | CannotDeleteError
554
+ >;
555
+
556
+ /**
557
+ * @see {@link DeleteTemplateCommand}
558
+ */
559
+ deleteTemplate(
560
+ args: DeleteTemplateCommandInput,
561
+ options?: HttpHandlerOptions,
562
+ ): Effect.Effect<
563
+ DeleteTemplateCommandOutput,
564
+ SdkError
565
+ >;
566
+
567
+ /**
568
+ * @see {@link DeleteVerifiedEmailAddressCommand}
569
+ */
570
+ deleteVerifiedEmailAddress(
571
+ args: DeleteVerifiedEmailAddressCommandInput,
572
+ options?: HttpHandlerOptions,
573
+ ): Effect.Effect<
574
+ DeleteVerifiedEmailAddressCommandOutput,
575
+ SdkError
576
+ >;
577
+
578
+ /**
579
+ * @see {@link DescribeActiveReceiptRuleSetCommand}
580
+ */
581
+ describeActiveReceiptRuleSet(
582
+ args: DescribeActiveReceiptRuleSetCommandInput,
583
+ options?: HttpHandlerOptions,
584
+ ): Effect.Effect<
585
+ DescribeActiveReceiptRuleSetCommandOutput,
586
+ SdkError
587
+ >;
588
+
589
+ /**
590
+ * @see {@link DescribeConfigurationSetCommand}
591
+ */
592
+ describeConfigurationSet(
593
+ args: DescribeConfigurationSetCommandInput,
594
+ options?: HttpHandlerOptions,
595
+ ): Effect.Effect<
596
+ DescribeConfigurationSetCommandOutput,
597
+ SdkError | ConfigurationSetDoesNotExistError
598
+ >;
599
+
600
+ /**
601
+ * @see {@link DescribeReceiptRuleCommand}
602
+ */
603
+ describeReceiptRule(
604
+ args: DescribeReceiptRuleCommandInput,
605
+ options?: HttpHandlerOptions,
606
+ ): Effect.Effect<
607
+ DescribeReceiptRuleCommandOutput,
608
+ SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
609
+ >;
610
+
611
+ /**
612
+ * @see {@link DescribeReceiptRuleSetCommand}
613
+ */
614
+ describeReceiptRuleSet(
615
+ args: DescribeReceiptRuleSetCommandInput,
616
+ options?: HttpHandlerOptions,
617
+ ): Effect.Effect<
618
+ DescribeReceiptRuleSetCommandOutput,
619
+ SdkError | RuleSetDoesNotExistError
620
+ >;
621
+
622
+ /**
623
+ * @see {@link GetAccountSendingEnabledCommand}
624
+ */
625
+ getAccountSendingEnabled(
626
+ args: GetAccountSendingEnabledCommandInput,
627
+ options?: HttpHandlerOptions,
628
+ ): Effect.Effect<
629
+ GetAccountSendingEnabledCommandOutput,
630
+ SdkError
631
+ >;
632
+
633
+ /**
634
+ * @see {@link GetCustomVerificationEmailTemplateCommand}
635
+ */
636
+ getCustomVerificationEmailTemplate(
637
+ args: GetCustomVerificationEmailTemplateCommandInput,
638
+ options?: HttpHandlerOptions,
639
+ ): Effect.Effect<
640
+ GetCustomVerificationEmailTemplateCommandOutput,
641
+ SdkError | CustomVerificationEmailTemplateDoesNotExistError
642
+ >;
643
+
644
+ /**
645
+ * @see {@link GetIdentityDkimAttributesCommand}
646
+ */
647
+ getIdentityDkimAttributes(
648
+ args: GetIdentityDkimAttributesCommandInput,
649
+ options?: HttpHandlerOptions,
650
+ ): Effect.Effect<
651
+ GetIdentityDkimAttributesCommandOutput,
652
+ SdkError
653
+ >;
654
+
655
+ /**
656
+ * @see {@link GetIdentityMailFromDomainAttributesCommand}
657
+ */
658
+ getIdentityMailFromDomainAttributes(
659
+ args: GetIdentityMailFromDomainAttributesCommandInput,
660
+ options?: HttpHandlerOptions,
661
+ ): Effect.Effect<
662
+ GetIdentityMailFromDomainAttributesCommandOutput,
663
+ SdkError
664
+ >;
665
+
666
+ /**
667
+ * @see {@link GetIdentityNotificationAttributesCommand}
668
+ */
669
+ getIdentityNotificationAttributes(
670
+ args: GetIdentityNotificationAttributesCommandInput,
671
+ options?: HttpHandlerOptions,
672
+ ): Effect.Effect<
673
+ GetIdentityNotificationAttributesCommandOutput,
674
+ SdkError
675
+ >;
676
+
677
+ /**
678
+ * @see {@link GetIdentityPoliciesCommand}
679
+ */
680
+ getIdentityPolicies(
681
+ args: GetIdentityPoliciesCommandInput,
682
+ options?: HttpHandlerOptions,
683
+ ): Effect.Effect<
684
+ GetIdentityPoliciesCommandOutput,
685
+ SdkError
686
+ >;
687
+
688
+ /**
689
+ * @see {@link GetIdentityVerificationAttributesCommand}
690
+ */
691
+ getIdentityVerificationAttributes(
692
+ args: GetIdentityVerificationAttributesCommandInput,
693
+ options?: HttpHandlerOptions,
694
+ ): Effect.Effect<
695
+ GetIdentityVerificationAttributesCommandOutput,
696
+ SdkError
697
+ >;
698
+
699
+ /**
700
+ * @see {@link GetSendQuotaCommand}
701
+ */
702
+ getSendQuota(
703
+ args: GetSendQuotaCommandInput,
704
+ options?: HttpHandlerOptions,
705
+ ): Effect.Effect<
706
+ GetSendQuotaCommandOutput,
707
+ SdkError
708
+ >;
709
+
710
+ /**
711
+ * @see {@link GetSendStatisticsCommand}
712
+ */
713
+ getSendStatistics(
714
+ args: GetSendStatisticsCommandInput,
715
+ options?: HttpHandlerOptions,
716
+ ): Effect.Effect<
717
+ GetSendStatisticsCommandOutput,
718
+ SdkError
719
+ >;
720
+
721
+ /**
722
+ * @see {@link GetTemplateCommand}
723
+ */
724
+ getTemplate(
725
+ args: GetTemplateCommandInput,
726
+ options?: HttpHandlerOptions,
727
+ ): Effect.Effect<
728
+ GetTemplateCommandOutput,
729
+ SdkError | TemplateDoesNotExistError
730
+ >;
731
+
732
+ /**
733
+ * @see {@link ListConfigurationSetsCommand}
734
+ */
735
+ listConfigurationSets(
736
+ args: ListConfigurationSetsCommandInput,
737
+ options?: HttpHandlerOptions,
738
+ ): Effect.Effect<
739
+ ListConfigurationSetsCommandOutput,
740
+ SdkError
741
+ >;
742
+
743
+ /**
744
+ * @see {@link ListCustomVerificationEmailTemplatesCommand}
745
+ */
746
+ listCustomVerificationEmailTemplates(
747
+ args: ListCustomVerificationEmailTemplatesCommandInput,
748
+ options?: HttpHandlerOptions,
749
+ ): Effect.Effect<
750
+ ListCustomVerificationEmailTemplatesCommandOutput,
751
+ SdkError
752
+ >;
753
+
754
+ /**
755
+ * @see {@link ListIdentitiesCommand}
756
+ */
757
+ listIdentities(
758
+ args: ListIdentitiesCommandInput,
759
+ options?: HttpHandlerOptions,
760
+ ): Effect.Effect<
761
+ ListIdentitiesCommandOutput,
762
+ SdkError
763
+ >;
764
+
765
+ /**
766
+ * @see {@link ListIdentityPoliciesCommand}
767
+ */
768
+ listIdentityPolicies(
769
+ args: ListIdentityPoliciesCommandInput,
770
+ options?: HttpHandlerOptions,
771
+ ): Effect.Effect<
772
+ ListIdentityPoliciesCommandOutput,
773
+ SdkError
774
+ >;
775
+
776
+ /**
777
+ * @see {@link ListReceiptFiltersCommand}
778
+ */
779
+ listReceiptFilters(
780
+ args: ListReceiptFiltersCommandInput,
781
+ options?: HttpHandlerOptions,
782
+ ): Effect.Effect<
783
+ ListReceiptFiltersCommandOutput,
784
+ SdkError
785
+ >;
786
+
787
+ /**
788
+ * @see {@link ListReceiptRuleSetsCommand}
789
+ */
790
+ listReceiptRuleSets(
791
+ args: ListReceiptRuleSetsCommandInput,
792
+ options?: HttpHandlerOptions,
793
+ ): Effect.Effect<
794
+ ListReceiptRuleSetsCommandOutput,
795
+ SdkError
796
+ >;
797
+
798
+ /**
799
+ * @see {@link ListTemplatesCommand}
800
+ */
801
+ listTemplates(
802
+ args: ListTemplatesCommandInput,
803
+ options?: HttpHandlerOptions,
804
+ ): Effect.Effect<
805
+ ListTemplatesCommandOutput,
806
+ SdkError
807
+ >;
808
+
809
+ /**
810
+ * @see {@link ListVerifiedEmailAddressesCommand}
811
+ */
812
+ listVerifiedEmailAddresses(
813
+ args: ListVerifiedEmailAddressesCommandInput,
814
+ options?: HttpHandlerOptions,
815
+ ): Effect.Effect<
816
+ ListVerifiedEmailAddressesCommandOutput,
817
+ SdkError
818
+ >;
819
+
820
+ /**
821
+ * @see {@link PutConfigurationSetDeliveryOptionsCommand}
822
+ */
823
+ putConfigurationSetDeliveryOptions(
824
+ args: PutConfigurationSetDeliveryOptionsCommandInput,
825
+ options?: HttpHandlerOptions,
826
+ ): Effect.Effect<
827
+ PutConfigurationSetDeliveryOptionsCommandOutput,
828
+ SdkError | ConfigurationSetDoesNotExistError | InvalidDeliveryOptionsError
829
+ >;
830
+
831
+ /**
832
+ * @see {@link PutIdentityPolicyCommand}
833
+ */
834
+ putIdentityPolicy(
835
+ args: PutIdentityPolicyCommandInput,
836
+ options?: HttpHandlerOptions,
837
+ ): Effect.Effect<
838
+ PutIdentityPolicyCommandOutput,
839
+ SdkError | InvalidPolicyError
840
+ >;
841
+
842
+ /**
843
+ * @see {@link ReorderReceiptRuleSetCommand}
844
+ */
845
+ reorderReceiptRuleSet(
846
+ args: ReorderReceiptRuleSetCommandInput,
847
+ options?: HttpHandlerOptions,
848
+ ): Effect.Effect<
849
+ ReorderReceiptRuleSetCommandOutput,
850
+ SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
851
+ >;
852
+
853
+ /**
854
+ * @see {@link SendBounceCommand}
855
+ */
856
+ sendBounce(
857
+ args: SendBounceCommandInput,
858
+ options?: HttpHandlerOptions,
859
+ ): Effect.Effect<
860
+ SendBounceCommandOutput,
861
+ SdkError | MessageRejectedError
862
+ >;
863
+
864
+ /**
865
+ * @see {@link SendBulkTemplatedEmailCommand}
866
+ */
867
+ sendBulkTemplatedEmail(
868
+ args: SendBulkTemplatedEmailCommandInput,
869
+ options?: HttpHandlerOptions,
870
+ ): Effect.Effect<
871
+ SendBulkTemplatedEmailCommandOutput,
872
+ | SdkError
873
+ | AccountSendingPausedError
874
+ | ConfigurationSetDoesNotExistError
875
+ | ConfigurationSetSendingPausedError
876
+ | MailFromDomainNotVerifiedError
877
+ | MessageRejectedError
878
+ | TemplateDoesNotExistError
879
+ >;
880
+
881
+ /**
882
+ * @see {@link SendCustomVerificationEmailCommand}
883
+ */
884
+ sendCustomVerificationEmail(
885
+ args: SendCustomVerificationEmailCommandInput,
886
+ options?: HttpHandlerOptions,
887
+ ): Effect.Effect<
888
+ SendCustomVerificationEmailCommandOutput,
889
+ | SdkError
890
+ | ConfigurationSetDoesNotExistError
891
+ | CustomVerificationEmailTemplateDoesNotExistError
892
+ | FromEmailAddressNotVerifiedError
893
+ | MessageRejectedError
894
+ | ProductionAccessNotGrantedError
895
+ >;
896
+
897
+ /**
898
+ * @see {@link SendEmailCommand}
899
+ */
900
+ sendEmail(
901
+ args: SendEmailCommandInput,
902
+ options?: HttpHandlerOptions,
903
+ ): Effect.Effect<
904
+ SendEmailCommandOutput,
905
+ | SdkError
906
+ | AccountSendingPausedError
907
+ | ConfigurationSetDoesNotExistError
908
+ | ConfigurationSetSendingPausedError
909
+ | MailFromDomainNotVerifiedError
910
+ | MessageRejectedError
911
+ >;
912
+
913
+ /**
914
+ * @see {@link SendRawEmailCommand}
915
+ */
916
+ sendRawEmail(
917
+ args: SendRawEmailCommandInput,
918
+ options?: HttpHandlerOptions,
919
+ ): Effect.Effect<
920
+ SendRawEmailCommandOutput,
921
+ | SdkError
922
+ | AccountSendingPausedError
923
+ | ConfigurationSetDoesNotExistError
924
+ | ConfigurationSetSendingPausedError
925
+ | MailFromDomainNotVerifiedError
926
+ | MessageRejectedError
927
+ >;
928
+
929
+ /**
930
+ * @see {@link SendTemplatedEmailCommand}
931
+ */
932
+ sendTemplatedEmail(
933
+ args: SendTemplatedEmailCommandInput,
934
+ options?: HttpHandlerOptions,
935
+ ): Effect.Effect<
936
+ SendTemplatedEmailCommandOutput,
937
+ | SdkError
938
+ | AccountSendingPausedError
939
+ | ConfigurationSetDoesNotExistError
940
+ | ConfigurationSetSendingPausedError
941
+ | MailFromDomainNotVerifiedError
942
+ | MessageRejectedError
943
+ | TemplateDoesNotExistError
944
+ >;
945
+
946
+ /**
947
+ * @see {@link SetActiveReceiptRuleSetCommand}
948
+ */
949
+ setActiveReceiptRuleSet(
950
+ args: SetActiveReceiptRuleSetCommandInput,
951
+ options?: HttpHandlerOptions,
952
+ ): Effect.Effect<
953
+ SetActiveReceiptRuleSetCommandOutput,
954
+ SdkError | RuleSetDoesNotExistError
955
+ >;
956
+
957
+ /**
958
+ * @see {@link SetIdentityDkimEnabledCommand}
959
+ */
960
+ setIdentityDkimEnabled(
961
+ args: SetIdentityDkimEnabledCommandInput,
962
+ options?: HttpHandlerOptions,
963
+ ): Effect.Effect<
964
+ SetIdentityDkimEnabledCommandOutput,
965
+ SdkError
966
+ >;
967
+
968
+ /**
969
+ * @see {@link SetIdentityFeedbackForwardingEnabledCommand}
970
+ */
971
+ setIdentityFeedbackForwardingEnabled(
972
+ args: SetIdentityFeedbackForwardingEnabledCommandInput,
973
+ options?: HttpHandlerOptions,
974
+ ): Effect.Effect<
975
+ SetIdentityFeedbackForwardingEnabledCommandOutput,
976
+ SdkError
977
+ >;
978
+
979
+ /**
980
+ * @see {@link SetIdentityHeadersInNotificationsEnabledCommand}
981
+ */
982
+ setIdentityHeadersInNotificationsEnabled(
983
+ args: SetIdentityHeadersInNotificationsEnabledCommandInput,
984
+ options?: HttpHandlerOptions,
985
+ ): Effect.Effect<
986
+ SetIdentityHeadersInNotificationsEnabledCommandOutput,
987
+ SdkError
988
+ >;
989
+
990
+ /**
991
+ * @see {@link SetIdentityMailFromDomainCommand}
992
+ */
993
+ setIdentityMailFromDomain(
994
+ args: SetIdentityMailFromDomainCommandInput,
995
+ options?: HttpHandlerOptions,
996
+ ): Effect.Effect<
997
+ SetIdentityMailFromDomainCommandOutput,
998
+ SdkError
999
+ >;
1000
+
1001
+ /**
1002
+ * @see {@link SetIdentityNotificationTopicCommand}
1003
+ */
1004
+ setIdentityNotificationTopic(
1005
+ args: SetIdentityNotificationTopicCommandInput,
1006
+ options?: HttpHandlerOptions,
1007
+ ): Effect.Effect<
1008
+ SetIdentityNotificationTopicCommandOutput,
1009
+ SdkError
1010
+ >;
1011
+
1012
+ /**
1013
+ * @see {@link SetReceiptRulePositionCommand}
1014
+ */
1015
+ setReceiptRulePosition(
1016
+ args: SetReceiptRulePositionCommandInput,
1017
+ options?: HttpHandlerOptions,
1018
+ ): Effect.Effect<
1019
+ SetReceiptRulePositionCommandOutput,
1020
+ SdkError | RuleDoesNotExistError | RuleSetDoesNotExistError
1021
+ >;
1022
+
1023
+ /**
1024
+ * @see {@link TestRenderTemplateCommand}
1025
+ */
1026
+ testRenderTemplate(
1027
+ args: TestRenderTemplateCommandInput,
1028
+ options?: HttpHandlerOptions,
1029
+ ): Effect.Effect<
1030
+ TestRenderTemplateCommandOutput,
1031
+ SdkError | InvalidRenderingParameterError | MissingRenderingAttributeError | TemplateDoesNotExistError
1032
+ >;
1033
+
1034
+ /**
1035
+ * @see {@link UpdateAccountSendingEnabledCommand}
1036
+ */
1037
+ updateAccountSendingEnabled(
1038
+ args: UpdateAccountSendingEnabledCommandInput,
1039
+ options?: HttpHandlerOptions,
1040
+ ): Effect.Effect<
1041
+ UpdateAccountSendingEnabledCommandOutput,
1042
+ SdkError
1043
+ >;
1044
+
1045
+ /**
1046
+ * @see {@link UpdateConfigurationSetEventDestinationCommand}
1047
+ */
1048
+ updateConfigurationSetEventDestination(
1049
+ args: UpdateConfigurationSetEventDestinationCommandInput,
1050
+ options?: HttpHandlerOptions,
1051
+ ): Effect.Effect<
1052
+ UpdateConfigurationSetEventDestinationCommandOutput,
1053
+ | SdkError
1054
+ | ConfigurationSetDoesNotExistError
1055
+ | EventDestinationDoesNotExistError
1056
+ | InvalidCloudWatchDestinationError
1057
+ | InvalidFirehoseDestinationError
1058
+ | InvalidSNSDestinationError
1059
+ >;
1060
+
1061
+ /**
1062
+ * @see {@link UpdateConfigurationSetReputationMetricsEnabledCommand}
1063
+ */
1064
+ updateConfigurationSetReputationMetricsEnabled(
1065
+ args: UpdateConfigurationSetReputationMetricsEnabledCommandInput,
1066
+ options?: HttpHandlerOptions,
1067
+ ): Effect.Effect<
1068
+ UpdateConfigurationSetReputationMetricsEnabledCommandOutput,
1069
+ SdkError | ConfigurationSetDoesNotExistError
1070
+ >;
1071
+
1072
+ /**
1073
+ * @see {@link UpdateConfigurationSetSendingEnabledCommand}
1074
+ */
1075
+ updateConfigurationSetSendingEnabled(
1076
+ args: UpdateConfigurationSetSendingEnabledCommandInput,
1077
+ options?: HttpHandlerOptions,
1078
+ ): Effect.Effect<
1079
+ UpdateConfigurationSetSendingEnabledCommandOutput,
1080
+ SdkError | ConfigurationSetDoesNotExistError
1081
+ >;
1082
+
1083
+ /**
1084
+ * @see {@link UpdateConfigurationSetTrackingOptionsCommand}
1085
+ */
1086
+ updateConfigurationSetTrackingOptions(
1087
+ args: UpdateConfigurationSetTrackingOptionsCommandInput,
1088
+ options?: HttpHandlerOptions,
1089
+ ): Effect.Effect<
1090
+ UpdateConfigurationSetTrackingOptionsCommandOutput,
1091
+ SdkError | ConfigurationSetDoesNotExistError | InvalidTrackingOptionsError | TrackingOptionsDoesNotExistError
1092
+ >;
1093
+
1094
+ /**
1095
+ * @see {@link UpdateCustomVerificationEmailTemplateCommand}
1096
+ */
1097
+ updateCustomVerificationEmailTemplate(
1098
+ args: UpdateCustomVerificationEmailTemplateCommandInput,
1099
+ options?: HttpHandlerOptions,
1100
+ ): Effect.Effect<
1101
+ UpdateCustomVerificationEmailTemplateCommandOutput,
1102
+ | SdkError
1103
+ | CustomVerificationEmailInvalidContentError
1104
+ | CustomVerificationEmailTemplateDoesNotExistError
1105
+ | FromEmailAddressNotVerifiedError
1106
+ >;
1107
+
1108
+ /**
1109
+ * @see {@link UpdateReceiptRuleCommand}
1110
+ */
1111
+ updateReceiptRule(
1112
+ args: UpdateReceiptRuleCommandInput,
1113
+ options?: HttpHandlerOptions,
1114
+ ): Effect.Effect<
1115
+ UpdateReceiptRuleCommandOutput,
1116
+ | SdkError
1117
+ | InvalidLambdaFunctionError
1118
+ | InvalidS3ConfigurationError
1119
+ | InvalidSnsTopicError
1120
+ | LimitExceededError
1121
+ | RuleDoesNotExistError
1122
+ | RuleSetDoesNotExistError
1123
+ >;
1124
+
1125
+ /**
1126
+ * @see {@link UpdateTemplateCommand}
1127
+ */
1128
+ updateTemplate(
1129
+ args: UpdateTemplateCommandInput,
1130
+ options?: HttpHandlerOptions,
1131
+ ): Effect.Effect<
1132
+ UpdateTemplateCommandOutput,
1133
+ SdkError | InvalidTemplateError | TemplateDoesNotExistError
1134
+ >;
1135
+
1136
+ /**
1137
+ * @see {@link VerifyDomainDkimCommand}
1138
+ */
1139
+ verifyDomainDkim(
1140
+ args: VerifyDomainDkimCommandInput,
1141
+ options?: HttpHandlerOptions,
1142
+ ): Effect.Effect<
1143
+ VerifyDomainDkimCommandOutput,
1144
+ SdkError
1145
+ >;
1146
+
1147
+ /**
1148
+ * @see {@link VerifyDomainIdentityCommand}
1149
+ */
1150
+ verifyDomainIdentity(
1151
+ args: VerifyDomainIdentityCommandInput,
1152
+ options?: HttpHandlerOptions,
1153
+ ): Effect.Effect<
1154
+ VerifyDomainIdentityCommandOutput,
1155
+ SdkError
1156
+ >;
1157
+
1158
+ /**
1159
+ * @see {@link VerifyEmailAddressCommand}
1160
+ */
1161
+ verifyEmailAddress(
1162
+ args: VerifyEmailAddressCommandInput,
1163
+ options?: HttpHandlerOptions,
1164
+ ): Effect.Effect<
1165
+ VerifyEmailAddressCommandOutput,
1166
+ SdkError
1167
+ >;
1168
+
1169
+ /**
1170
+ * @see {@link VerifyEmailIdentityCommand}
1171
+ */
1172
+ verifyEmailIdentity(
1173
+ args: VerifyEmailIdentityCommandInput,
1174
+ options?: HttpHandlerOptions,
1175
+ ): Effect.Effect<
1176
+ VerifyEmailIdentityCommandOutput,
1177
+ SdkError
1178
+ >;
1179
+ }
1180
+
1181
+ /**
1182
+ * @since 1.0.0
1183
+ * @category constructors
1184
+ */
1185
+ export const makeSESService = Effect.gen(function*() {
1186
+ const client = yield* Instance.SESClientInstance;
1187
+
1188
+ return Service.fromClientAndCommands<SESService$>(client, commands, AllServiceErrors);
1189
+ });
1190
+
1191
+ /**
1192
+ * @since 1.0.0
1193
+ * @category models
1194
+ */
1195
+ export class SESService extends Effect.Tag("@effect-aws/client-ses/SESService")<
1196
+ SESService,
1197
+ SESService$
1198
+ >() {
1199
+ static readonly defaultLayer = Layer.effect(this, makeSESService).pipe(Layer.provide(Instance.layer));
1200
+ static readonly layer = (config: SESService.Config) =>
1201
+ Layer.effect(this, makeSESService).pipe(
1202
+ Layer.provide(Instance.layer),
1203
+ Layer.provide(SESServiceConfig.setSESServiceConfig(config)),
1204
+ );
1205
+ static readonly baseLayer = (
1206
+ evaluate: (defaultConfig: SESClientConfig) => SESClient,
1207
+ ) =>
1208
+ Layer.effect(this, makeSESService).pipe(
1209
+ Layer.provide(
1210
+ Layer.effect(
1211
+ Instance.SESClientInstance,
1212
+ Effect.map(SESServiceConfig.toSESClientConfig, evaluate),
1213
+ ),
1214
+ ),
1215
+ );
1216
+ }
1217
+
1218
+ /**
1219
+ * @since 1.0.0
1220
+ */
1221
+ export declare namespace SESService {
1222
+ /**
1223
+ * @since 1.0.0
1224
+ */
1225
+ export interface Config extends Omit<SESClientConfig, "logger"> {
1226
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
1227
+ }
1228
+ }