@effect-aws/client-ses 1.1.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.
- package/Errors/package.json +6 -0
- package/SESClientInstance/package.json +6 -0
- package/SESService/package.json +6 -0
- package/SESServiceConfig/package.json +6 -0
- package/{lib → dist/cjs}/Errors.d.ts +6 -11
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +42 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/SESClientInstance.d.ts +24 -0
- package/dist/cjs/SESClientInstance.d.ts.map +1 -0
- package/dist/cjs/SESClientInstance.js +50 -0
- package/dist/cjs/SESClientInstance.js.map +1 -0
- package/{lib → dist/cjs}/SESService.d.ts +16 -38
- package/dist/cjs/SESService.d.ts.map +1 -0
- package/dist/cjs/SESService.js +127 -0
- package/dist/cjs/SESService.js.map +1 -0
- package/dist/cjs/SESServiceConfig.d.ts +25 -0
- package/dist/cjs/SESServiceConfig.d.ts.map +1 -0
- package/dist/cjs/SESServiceConfig.js +35 -0
- package/dist/cjs/SESServiceConfig.js.map +1 -0
- package/dist/cjs/index.d.ts +39 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/Errors.d.ts +41 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/SESClientInstance.d.ts +24 -0
- package/dist/dts/SESClientInstance.d.ts.map +1 -0
- package/dist/dts/SESService.d.ts +398 -0
- package/dist/dts/SESService.d.ts.map +1 -0
- package/dist/dts/SESServiceConfig.d.ts +25 -0
- package/dist/dts/SESServiceConfig.d.ts.map +1 -0
- package/dist/dts/index.d.ts +39 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/Errors.js +39 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/SESClientInstance.js +23 -0
- package/dist/esm/SESClientInstance.js.map +1 -0
- package/dist/esm/SESService.js +100 -0
- package/dist/esm/SESService.js.map +1 -0
- package/dist/esm/SESServiceConfig.js +31 -0
- package/dist/esm/SESServiceConfig.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +60 -43
- package/src/Errors.ts +119 -0
- package/src/SESClientInstance.ts +33 -0
- package/src/SESService.ts +1228 -0
- package/src/SESServiceConfig.ts +51 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -13
- package/docgen.json +0 -8
- package/lib/Errors.js +0 -42
- package/lib/SESClientInstance.d.ts +0 -31
- package/lib/SESClientInstance.js +0 -57
- package/lib/SESClientInstanceConfig.d.ts +0 -23
- package/lib/SESClientInstanceConfig.js +0 -44
- package/lib/SESService.js +0 -159
- package/lib/esm/Errors.js +0 -39
- package/lib/esm/SESClientInstance.js +0 -30
- package/lib/esm/SESClientInstanceConfig.js +0 -40
- package/lib/esm/SESService.js +0 -155
- package/lib/esm/index.js +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -21
- package/project.json +0 -77
- package/vitest.config.ts +0 -3
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import type { AccountSendingPausedException, AlreadyExistsException, CannotDeleteException, ConfigurationSetAlreadyExistsException, ConfigurationSetDoesNotExistException, ConfigurationSetSendingPausedException, CustomVerificationEmailInvalidContentException, CustomVerificationEmailTemplateAlreadyExistsException, CustomVerificationEmailTemplateDoesNotExistException, EventDestinationAlreadyExistsException, EventDestinationDoesNotExistException, FromEmailAddressNotVerifiedException, InvalidCloudWatchDestinationException, InvalidConfigurationSetException, InvalidDeliveryOptionsException, InvalidFirehoseDestinationException, InvalidLambdaFunctionException, InvalidPolicyException, InvalidRenderingParameterException, InvalidS3ConfigurationException, InvalidSNSDestinationException, InvalidSnsTopicException, InvalidTemplateException, InvalidTrackingOptionsException, LimitExceededException, MailFromDomainNotVerifiedException, MessageRejected, MissingRenderingAttributeException, ProductionAccessNotGrantedException, RuleDoesNotExistException, RuleSetDoesNotExistException, TemplateDoesNotExistException, TrackingOptionsAlreadyExistsException, TrackingOptionsDoesNotExistException } from "@aws-sdk/client-ses";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
name: string;
|
|
6
|
-
}> = T & {
|
|
7
|
-
readonly _tag: T["name"];
|
|
8
|
-
};
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
+
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
|
+
export declare const AllServiceErrors: readonly ["AccountSendingPausedException", "AlreadyExistsException", "CannotDeleteException", "ConfigurationSetAlreadyExistsException", "ConfigurationSetDoesNotExistException", "ConfigurationSetSendingPausedException", "CustomVerificationEmailInvalidContentException", "CustomVerificationEmailTemplateAlreadyExistsException", "CustomVerificationEmailTemplateDoesNotExistException", "EventDestinationAlreadyExistsException", "EventDestinationDoesNotExistException", "FromEmailAddressNotVerifiedException", "InvalidCloudWatchDestinationException", "InvalidConfigurationSetException", "InvalidDeliveryOptionsException", "InvalidFirehoseDestinationException", "InvalidLambdaFunctionException", "InvalidPolicyException", "InvalidRenderingParameterException", "InvalidS3ConfigurationException", "InvalidSNSDestinationException", "InvalidSnsTopicException", "InvalidTemplateException", "InvalidTrackingOptionsException", "LimitExceededException", "MailFromDomainNotVerifiedException", "MessageRejected", "MissingRenderingAttributeException", "ProductionAccessNotGrantedException", "RuleDoesNotExistException", "RuleSetDoesNotExistException", "TemplateDoesNotExistException", "TrackingOptionsAlreadyExistsException", "TrackingOptionsDoesNotExistException"];
|
|
9
5
|
export type AccountSendingPausedError = TaggedException<AccountSendingPausedException>;
|
|
10
6
|
export type AlreadyExistsError = TaggedException<AlreadyExistsException>;
|
|
11
7
|
export type CannotDeleteError = TaggedException<CannotDeleteException>;
|
|
@@ -40,7 +36,6 @@ export type RuleSetDoesNotExistError = TaggedException<RuleSetDoesNotExistExcept
|
|
|
40
36
|
export type TemplateDoesNotExistError = TaggedException<TemplateDoesNotExistException>;
|
|
41
37
|
export type TrackingOptionsAlreadyExistsError = TaggedException<TrackingOptionsAlreadyExistsException>;
|
|
42
38
|
export type TrackingOptionsDoesNotExistError = TaggedException<TrackingOptionsDoesNotExistException>;
|
|
43
|
-
export type SdkError =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
|
|
39
|
+
export type SdkError = CommonSdkError;
|
|
40
|
+
export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
|
|
41
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,EACrB,sCAAsC,EACtC,qCAAqC,EACrC,sCAAsC,EACtC,8CAA8C,EAC9C,qDAAqD,EACrD,oDAAoD,EACpD,sCAAsC,EACtC,qCAAqC,EACrC,oCAAoC,EACpC,qCAAqC,EACrC,gCAAgC,EAChC,+BAA+B,EAC/B,mCAAmC,EACnC,8BAA8B,EAC9B,sBAAsB,EACtB,kCAAkC,EAClC,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,EAC/B,sBAAsB,EACtB,kCAAkC,EAClC,eAAe,EACf,kCAAkC,EAClC,mCAAmC,EACnC,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,EAC7B,qCAAqC,EACrC,oCAAoC,EACrC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,kuCAmCnB,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,eA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G,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AACzF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,8BAA8B,GAAG,eAAe,CAAC,kCAAkC,CAAC,CAAC;AACjG,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,eAAe,CAAC,CAAC;AACpE,MAAM,MAAM,8BAA8B,GAAG,eAAe,CAAC,kCAAkC,CAAC,CAAC;AACjG,MAAM,MAAM,+BAA+B,GAAG,eAAe,CAAC,mCAAmC,CAAC,CAAC;AACnG,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC,qCAAqC,CAAC,CAAC;AACvG,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC,oCAAoC,CAAC,CAAC;AAErG,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SdkError = exports.AllServiceErrors = void 0;
|
|
4
|
+
const commons_1 = require("@effect-aws/commons");
|
|
5
|
+
exports.AllServiceErrors = [
|
|
6
|
+
"AccountSendingPausedException",
|
|
7
|
+
"AlreadyExistsException",
|
|
8
|
+
"CannotDeleteException",
|
|
9
|
+
"ConfigurationSetAlreadyExistsException",
|
|
10
|
+
"ConfigurationSetDoesNotExistException",
|
|
11
|
+
"ConfigurationSetSendingPausedException",
|
|
12
|
+
"CustomVerificationEmailInvalidContentException",
|
|
13
|
+
"CustomVerificationEmailTemplateAlreadyExistsException",
|
|
14
|
+
"CustomVerificationEmailTemplateDoesNotExistException",
|
|
15
|
+
"EventDestinationAlreadyExistsException",
|
|
16
|
+
"EventDestinationDoesNotExistException",
|
|
17
|
+
"FromEmailAddressNotVerifiedException",
|
|
18
|
+
"InvalidCloudWatchDestinationException",
|
|
19
|
+
"InvalidConfigurationSetException",
|
|
20
|
+
"InvalidDeliveryOptionsException",
|
|
21
|
+
"InvalidFirehoseDestinationException",
|
|
22
|
+
"InvalidLambdaFunctionException",
|
|
23
|
+
"InvalidPolicyException",
|
|
24
|
+
"InvalidRenderingParameterException",
|
|
25
|
+
"InvalidS3ConfigurationException",
|
|
26
|
+
"InvalidSNSDestinationException",
|
|
27
|
+
"InvalidSnsTopicException",
|
|
28
|
+
"InvalidTemplateException",
|
|
29
|
+
"InvalidTrackingOptionsException",
|
|
30
|
+
"LimitExceededException",
|
|
31
|
+
"MailFromDomainNotVerifiedException",
|
|
32
|
+
"MessageRejected",
|
|
33
|
+
"MissingRenderingAttributeException",
|
|
34
|
+
"ProductionAccessNotGrantedException",
|
|
35
|
+
"RuleDoesNotExistException",
|
|
36
|
+
"RuleSetDoesNotExistException",
|
|
37
|
+
"TemplateDoesNotExistException",
|
|
38
|
+
"TrackingOptionsAlreadyExistsException",
|
|
39
|
+
"TrackingOptionsDoesNotExistException",
|
|
40
|
+
];
|
|
41
|
+
exports.SdkError = commons_1.SdkError;
|
|
42
|
+
//# sourceMappingURL=Errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAqCA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,+BAA+B;IAC/B,wBAAwB;IACxB,uBAAuB;IACvB,wCAAwC;IACxC,uCAAuC;IACvC,wCAAwC;IACxC,gDAAgD;IAChD,uDAAuD;IACvD,sDAAsD;IACtD,wCAAwC;IACxC,uCAAuC;IACvC,sCAAsC;IACtC,uCAAuC;IACvC,kCAAkC;IAClC,iCAAiC;IACjC,qCAAqC;IACrC,gCAAgC;IAChC,wBAAwB;IACxB,oCAAoC;IACpC,iCAAiC;IACjC,gCAAgC;IAChC,0BAA0B;IAC1B,0BAA0B;IAC1B,iCAAiC;IACjC,wBAAwB;IACxB,oCAAoC;IACpC,iBAAiB;IACjB,oCAAoC;IACpC,qCAAqC;IACrC,2BAA2B;IAC3B,8BAA8B;IAC9B,+BAA+B;IAC/B,uCAAuC;IACvC,sCAAsC;CAC9B,CAAC;AA4CE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { SESClient } from "@aws-sdk/client-ses";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
6
|
+
declare const SESClientInstance_base: Context.TagClass<SESClientInstance, "@effect-aws/client-ses/SESClientInstance", SESClient>;
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category tags
|
|
10
|
+
*/
|
|
11
|
+
export declare class SESClientInstance extends SESClientInstance_base {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category constructors
|
|
16
|
+
*/
|
|
17
|
+
export declare const make: Effect.Effect<SESClient, never, import("effect/Scope").Scope>;
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category layers
|
|
21
|
+
*/
|
|
22
|
+
export declare const layer: Layer.Layer<SESClientInstance, never, never>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=SESClientInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SESClientInstance.d.ts","sourceRoot":"","sources":["../../src/SESClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEN;CAAG;AAEpC;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.layer = exports.make = exports.SESClientInstance = void 0;
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
const client_ses_1 = require("@aws-sdk/client-ses");
|
|
31
|
+
const effect_1 = require("effect");
|
|
32
|
+
const SESServiceConfig = __importStar(require("./SESServiceConfig.js"));
|
|
33
|
+
/**
|
|
34
|
+
* @since 1.0.0
|
|
35
|
+
* @category tags
|
|
36
|
+
*/
|
|
37
|
+
class SESClientInstance extends effect_1.Context.Tag("@effect-aws/client-ses/SESClientInstance")() {
|
|
38
|
+
}
|
|
39
|
+
exports.SESClientInstance = SESClientInstance;
|
|
40
|
+
/**
|
|
41
|
+
* @since 1.0.0
|
|
42
|
+
* @category constructors
|
|
43
|
+
*/
|
|
44
|
+
exports.make = effect_1.Effect.flatMap(SESServiceConfig.toSESClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_ses_1.SESClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
|
|
45
|
+
/**
|
|
46
|
+
* @since 1.0.0
|
|
47
|
+
* @category layers
|
|
48
|
+
*/
|
|
49
|
+
exports.layer = effect_1.Layer.scoped(SESClientInstance, exports.make);
|
|
50
|
+
//# sourceMappingURL=SESClientInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SESClientInstance.js","sourceRoot":"","sources":["../../src/SESClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oDAAgD;AAChD,mCAAgD;AAChD,wEAA0D;AAE1D;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,gBAAO,CAAC,GAAG,CAChD,0CAA0C,CAC3C,EAAgC;CAAG;AAFpC,8CAEoC;AAEpC;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,gBAAgB,CAAC,iBAAiB,EAClC,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,sBAAS,CAAC,MAAM,CAAC,CAAC,EACxC,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,YAAI,CAAC,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type
|
|
4
|
+
import { type CloneReceiptRuleSetCommandInput, type CloneReceiptRuleSetCommandOutput, type CreateConfigurationSetCommandInput, type CreateConfigurationSetCommandOutput, type CreateConfigurationSetEventDestinationCommandInput, type CreateConfigurationSetEventDestinationCommandOutput, type CreateConfigurationSetTrackingOptionsCommandInput, type CreateConfigurationSetTrackingOptionsCommandOutput, type CreateCustomVerificationEmailTemplateCommandInput, type CreateCustomVerificationEmailTemplateCommandOutput, type CreateReceiptFilterCommandInput, type CreateReceiptFilterCommandOutput, type CreateReceiptRuleCommandInput, type CreateReceiptRuleCommandOutput, type CreateReceiptRuleSetCommandInput, type CreateReceiptRuleSetCommandOutput, type CreateTemplateCommandInput, type CreateTemplateCommandOutput, type DeleteConfigurationSetCommandInput, type DeleteConfigurationSetCommandOutput, type DeleteConfigurationSetEventDestinationCommandInput, type DeleteConfigurationSetEventDestinationCommandOutput, type DeleteConfigurationSetTrackingOptionsCommandInput, type DeleteConfigurationSetTrackingOptionsCommandOutput, type DeleteCustomVerificationEmailTemplateCommandInput, type DeleteCustomVerificationEmailTemplateCommandOutput, type DeleteIdentityCommandInput, type DeleteIdentityCommandOutput, type DeleteIdentityPolicyCommandInput, type DeleteIdentityPolicyCommandOutput, type DeleteReceiptFilterCommandInput, type DeleteReceiptFilterCommandOutput, type DeleteReceiptRuleCommandInput, type DeleteReceiptRuleCommandOutput, type DeleteReceiptRuleSetCommandInput, type DeleteReceiptRuleSetCommandOutput, type DeleteTemplateCommandInput, type DeleteTemplateCommandOutput, type DeleteVerifiedEmailAddressCommandInput, type DeleteVerifiedEmailAddressCommandOutput, type DescribeActiveReceiptRuleSetCommandInput, type DescribeActiveReceiptRuleSetCommandOutput, type DescribeConfigurationSetCommandInput, type DescribeConfigurationSetCommandOutput, type DescribeReceiptRuleCommandInput, type DescribeReceiptRuleCommandOutput, type DescribeReceiptRuleSetCommandInput, type DescribeReceiptRuleSetCommandOutput, type GetAccountSendingEnabledCommandInput, type GetAccountSendingEnabledCommandOutput, type GetCustomVerificationEmailTemplateCommandInput, type GetCustomVerificationEmailTemplateCommandOutput, type GetIdentityDkimAttributesCommandInput, type GetIdentityDkimAttributesCommandOutput, type GetIdentityMailFromDomainAttributesCommandInput, type GetIdentityMailFromDomainAttributesCommandOutput, type GetIdentityNotificationAttributesCommandInput, type GetIdentityNotificationAttributesCommandOutput, type GetIdentityPoliciesCommandInput, type GetIdentityPoliciesCommandOutput, type GetIdentityVerificationAttributesCommandInput, type GetIdentityVerificationAttributesCommandOutput, type GetSendQuotaCommandInput, type GetSendQuotaCommandOutput, type GetSendStatisticsCommandInput, type GetSendStatisticsCommandOutput, type GetTemplateCommandInput, type GetTemplateCommandOutput, type ListConfigurationSetsCommandInput, type ListConfigurationSetsCommandOutput, type ListCustomVerificationEmailTemplatesCommandInput, type ListCustomVerificationEmailTemplatesCommandOutput, type ListIdentitiesCommandInput, type ListIdentitiesCommandOutput, type ListIdentityPoliciesCommandInput, type ListIdentityPoliciesCommandOutput, type ListReceiptFiltersCommandInput, type ListReceiptFiltersCommandOutput, type ListReceiptRuleSetsCommandInput, type ListReceiptRuleSetsCommandOutput, type ListTemplatesCommandInput, type ListTemplatesCommandOutput, type ListVerifiedEmailAddressesCommandInput, type ListVerifiedEmailAddressesCommandOutput, type PutConfigurationSetDeliveryOptionsCommandInput, type PutConfigurationSetDeliveryOptionsCommandOutput, type PutIdentityPolicyCommandInput, type PutIdentityPolicyCommandOutput, type ReorderReceiptRuleSetCommandInput, type ReorderReceiptRuleSetCommandOutput, type SendBounceCommandInput, type SendBounceCommandOutput, type SendBulkTemplatedEmailCommandInput, type SendBulkTemplatedEmailCommandOutput, type SendCustomVerificationEmailCommandInput, type SendCustomVerificationEmailCommandOutput, type SendEmailCommandInput, type SendEmailCommandOutput, type SendRawEmailCommandInput, type SendRawEmailCommandOutput, type SendTemplatedEmailCommandInput, type SendTemplatedEmailCommandOutput, type SESClient, type SESClientConfig, type SetActiveReceiptRuleSetCommandInput, type SetActiveReceiptRuleSetCommandOutput, type SetIdentityDkimEnabledCommandInput, type SetIdentityDkimEnabledCommandOutput, type SetIdentityFeedbackForwardingEnabledCommandInput, type SetIdentityFeedbackForwardingEnabledCommandOutput, type SetIdentityHeadersInNotificationsEnabledCommandInput, type SetIdentityHeadersInNotificationsEnabledCommandOutput, type SetIdentityMailFromDomainCommandInput, type SetIdentityMailFromDomainCommandOutput, type SetIdentityNotificationTopicCommandInput, type SetIdentityNotificationTopicCommandOutput, type SetReceiptRulePositionCommandInput, type SetReceiptRulePositionCommandOutput, type TestRenderTemplateCommandInput, type TestRenderTemplateCommandOutput, type UpdateAccountSendingEnabledCommandInput, type UpdateAccountSendingEnabledCommandOutput, type UpdateConfigurationSetEventDestinationCommandInput, type UpdateConfigurationSetEventDestinationCommandOutput, type UpdateConfigurationSetReputationMetricsEnabledCommandInput, type UpdateConfigurationSetReputationMetricsEnabledCommandOutput, type UpdateConfigurationSetSendingEnabledCommandInput, type UpdateConfigurationSetSendingEnabledCommandOutput, type UpdateConfigurationSetTrackingOptionsCommandInput, type UpdateConfigurationSetTrackingOptionsCommandOutput, type UpdateCustomVerificationEmailTemplateCommandInput, type UpdateCustomVerificationEmailTemplateCommandOutput, type UpdateReceiptRuleCommandInput, type UpdateReceiptRuleCommandOutput, type UpdateTemplateCommandInput, type UpdateTemplateCommandOutput, type VerifyDomainDkimCommandInput, type VerifyDomainDkimCommandOutput, type VerifyDomainIdentityCommandInput, type VerifyDomainIdentityCommandOutput, type VerifyEmailAddressCommandInput, type VerifyEmailAddressCommandOutput, type VerifyEmailIdentityCommandInput, type VerifyEmailIdentityCommandOutput } from "@aws-sdk/client-ses";
|
|
5
|
+
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
5
6
|
import { Effect, Layer } from "effect";
|
|
6
|
-
import { AccountSendingPausedError, AlreadyExistsError, CannotDeleteError, ConfigurationSetAlreadyExistsError, ConfigurationSetDoesNotExistError, ConfigurationSetSendingPausedError, CustomVerificationEmailInvalidContentError, CustomVerificationEmailTemplateAlreadyExistsError, CustomVerificationEmailTemplateDoesNotExistError, EventDestinationAlreadyExistsError, EventDestinationDoesNotExistError, FromEmailAddressNotVerifiedError, InvalidCloudWatchDestinationError, InvalidConfigurationSetError, InvalidDeliveryOptionsError, InvalidFirehoseDestinationError, InvalidLambdaFunctionError, InvalidPolicyError, InvalidRenderingParameterError, InvalidS3ConfigurationError, InvalidSNSDestinationError, InvalidSnsTopicError, InvalidTemplateError, InvalidTrackingOptionsError, LimitExceededError, MailFromDomainNotVerifiedError, MessageRejectedError, MissingRenderingAttributeError, ProductionAccessNotGrantedError, RuleDoesNotExistError, RuleSetDoesNotExistError, TemplateDoesNotExistError, TrackingOptionsAlreadyExistsError, TrackingOptionsDoesNotExistError
|
|
7
|
-
import
|
|
8
|
-
import { SESClientInstanceConfig } from "./SESClientInstanceConfig";
|
|
9
|
-
/**
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
export interface HttpHandlerOptions {
|
|
13
|
-
/**
|
|
14
|
-
* The maximum time in milliseconds that the connection phase of a request
|
|
15
|
-
* may take before the connection attempt is abandoned.
|
|
16
|
-
*/
|
|
17
|
-
requestTimeout?: number;
|
|
18
|
-
}
|
|
7
|
+
import type { AccountSendingPausedError, AlreadyExistsError, CannotDeleteError, ConfigurationSetAlreadyExistsError, ConfigurationSetDoesNotExistError, ConfigurationSetSendingPausedError, CustomVerificationEmailInvalidContentError, CustomVerificationEmailTemplateAlreadyExistsError, CustomVerificationEmailTemplateDoesNotExistError, EventDestinationAlreadyExistsError, EventDestinationDoesNotExistError, FromEmailAddressNotVerifiedError, InvalidCloudWatchDestinationError, InvalidConfigurationSetError, InvalidDeliveryOptionsError, InvalidFirehoseDestinationError, InvalidLambdaFunctionError, InvalidPolicyError, InvalidRenderingParameterError, InvalidS3ConfigurationError, InvalidSNSDestinationError, InvalidSnsTopicError, InvalidTemplateError, InvalidTrackingOptionsError, LimitExceededError, MailFromDomainNotVerifiedError, MessageRejectedError, MissingRenderingAttributeError, ProductionAccessNotGrantedError, RuleDoesNotExistError, RuleSetDoesNotExistError, TemplateDoesNotExistError, TrackingOptionsAlreadyExistsError, TrackingOptionsDoesNotExistError } from "./Errors.js";
|
|
8
|
+
import * as Instance from "./SESClientInstance.js";
|
|
19
9
|
interface SESService$ {
|
|
20
10
|
readonly _: unique symbol;
|
|
21
11
|
/**
|
|
@@ -307,7 +297,7 @@ interface SESService$ {
|
|
|
307
297
|
* @since 1.0.0
|
|
308
298
|
* @category constructors
|
|
309
299
|
*/
|
|
310
|
-
export declare const makeSESService: Effect.Effect<SESService$, never, SESClientInstance>;
|
|
300
|
+
export declare const makeSESService: Effect.Effect<SESService$, never, Instance.SESClientInstance>;
|
|
311
301
|
declare const SESService_base: import("effect/Context").TagClass<SESService, "@effect-aws/client-ses/SESService", SESService$> & {
|
|
312
302
|
readonly _: Effect.Effect<SESService$["_"], never, SESService>;
|
|
313
303
|
cloneReceiptRuleSet: (args: CloneReceiptRuleSetCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CloneReceiptRuleSetCommandOutput, AlreadyExistsError | LimitExceededError | RuleSetDoesNotExistError | SdkError, SESService>;
|
|
@@ -382,7 +372,7 @@ declare const SESService_base: import("effect/Context").TagClass<SESService, "@e
|
|
|
382
372
|
verifyEmailAddress: (args: VerifyEmailAddressCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<VerifyEmailAddressCommandOutput, SdkError, SESService>;
|
|
383
373
|
verifyEmailIdentity: (args: VerifyEmailIdentityCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<VerifyEmailIdentityCommandOutput, SdkError, SESService>;
|
|
384
374
|
} & {
|
|
385
|
-
use: <X>(body: (_: SESService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E,
|
|
375
|
+
use: <X>(body: (_: SESService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, SESService | R> : Effect.Effect<X, never, SESService>;
|
|
386
376
|
};
|
|
387
377
|
/**
|
|
388
378
|
* @since 1.0.0
|
|
@@ -390,31 +380,19 @@ declare const SESService_base: import("effect/Context").TagClass<SESService, "@e
|
|
|
390
380
|
*/
|
|
391
381
|
export declare class SESService extends SESService_base {
|
|
392
382
|
static readonly defaultLayer: Layer.Layer<SESService, never, never>;
|
|
393
|
-
static readonly layer: (config:
|
|
383
|
+
static readonly layer: (config: SESService.Config) => Layer.Layer<SESService, never, never>;
|
|
394
384
|
static readonly baseLayer: (evaluate: (defaultConfig: SESClientConfig) => SESClient) => Layer.Layer<SESService, never, never>;
|
|
395
385
|
}
|
|
396
386
|
/**
|
|
397
387
|
* @since 1.0.0
|
|
398
|
-
* @category models
|
|
399
|
-
* @alias SESService
|
|
400
|
-
*/
|
|
401
|
-
export declare const SES: typeof SESService;
|
|
402
|
-
/**
|
|
403
|
-
* @since 1.0.0
|
|
404
|
-
* @category layers
|
|
405
|
-
* @deprecated use SES.baseLayer instead
|
|
406
388
|
*/
|
|
407
|
-
export declare
|
|
408
|
-
/**
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
* @since 1.0.0
|
|
416
|
-
* @category layers
|
|
417
|
-
* @deprecated use SES.defaultLayer instead
|
|
418
|
-
*/
|
|
419
|
-
export declare const DefaultSESServiceLayer: Layer.Layer<SESService, never, never>;
|
|
389
|
+
export declare namespace SESService {
|
|
390
|
+
/**
|
|
391
|
+
* @since 1.0.0
|
|
392
|
+
*/
|
|
393
|
+
interface Config extends Omit<SESClientConfig, "logger"> {
|
|
394
|
+
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
420
397
|
export {};
|
|
398
|
+
//# sourceMappingURL=SESService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SESService.d.ts","sourceRoot":"","sources":["../../src/SESService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,kDAAkD,EACvD,KAAK,mDAAmD,EAExD,KAAK,iDAAiD,EACtD,KAAK,kDAAkD,EAEvD,KAAK,iDAAiD,EACtD,KAAK,kDAAkD,EAEvD,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,kDAAkD,EACvD,KAAK,mDAAmD,EAExD,KAAK,iDAAiD,EACtD,KAAK,kDAAkD,EAEvD,KAAK,iDAAiD,EACtD,KAAK,kDAAkD,EAEvD,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,+BAA+B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= (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.SESService = exports.makeSESService = void 0;
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
const client_ses_1 = require("@aws-sdk/client-ses");
|
|
31
|
+
const commons_1 = require("@effect-aws/commons");
|
|
32
|
+
const effect_1 = require("effect");
|
|
33
|
+
const Errors_js_1 = require("./Errors.js");
|
|
34
|
+
const Instance = __importStar(require("./SESClientInstance.js"));
|
|
35
|
+
const SESServiceConfig = __importStar(require("./SESServiceConfig.js"));
|
|
36
|
+
const commands = {
|
|
37
|
+
CloneReceiptRuleSetCommand: client_ses_1.CloneReceiptRuleSetCommand,
|
|
38
|
+
CreateConfigurationSetCommand: client_ses_1.CreateConfigurationSetCommand,
|
|
39
|
+
CreateConfigurationSetEventDestinationCommand: client_ses_1.CreateConfigurationSetEventDestinationCommand,
|
|
40
|
+
CreateConfigurationSetTrackingOptionsCommand: client_ses_1.CreateConfigurationSetTrackingOptionsCommand,
|
|
41
|
+
CreateCustomVerificationEmailTemplateCommand: client_ses_1.CreateCustomVerificationEmailTemplateCommand,
|
|
42
|
+
CreateReceiptFilterCommand: client_ses_1.CreateReceiptFilterCommand,
|
|
43
|
+
CreateReceiptRuleCommand: client_ses_1.CreateReceiptRuleCommand,
|
|
44
|
+
CreateReceiptRuleSetCommand: client_ses_1.CreateReceiptRuleSetCommand,
|
|
45
|
+
CreateTemplateCommand: client_ses_1.CreateTemplateCommand,
|
|
46
|
+
DeleteConfigurationSetCommand: client_ses_1.DeleteConfigurationSetCommand,
|
|
47
|
+
DeleteConfigurationSetEventDestinationCommand: client_ses_1.DeleteConfigurationSetEventDestinationCommand,
|
|
48
|
+
DeleteConfigurationSetTrackingOptionsCommand: client_ses_1.DeleteConfigurationSetTrackingOptionsCommand,
|
|
49
|
+
DeleteCustomVerificationEmailTemplateCommand: client_ses_1.DeleteCustomVerificationEmailTemplateCommand,
|
|
50
|
+
DeleteIdentityCommand: client_ses_1.DeleteIdentityCommand,
|
|
51
|
+
DeleteIdentityPolicyCommand: client_ses_1.DeleteIdentityPolicyCommand,
|
|
52
|
+
DeleteReceiptFilterCommand: client_ses_1.DeleteReceiptFilterCommand,
|
|
53
|
+
DeleteReceiptRuleCommand: client_ses_1.DeleteReceiptRuleCommand,
|
|
54
|
+
DeleteReceiptRuleSetCommand: client_ses_1.DeleteReceiptRuleSetCommand,
|
|
55
|
+
DeleteTemplateCommand: client_ses_1.DeleteTemplateCommand,
|
|
56
|
+
DeleteVerifiedEmailAddressCommand: client_ses_1.DeleteVerifiedEmailAddressCommand,
|
|
57
|
+
DescribeActiveReceiptRuleSetCommand: client_ses_1.DescribeActiveReceiptRuleSetCommand,
|
|
58
|
+
DescribeConfigurationSetCommand: client_ses_1.DescribeConfigurationSetCommand,
|
|
59
|
+
DescribeReceiptRuleCommand: client_ses_1.DescribeReceiptRuleCommand,
|
|
60
|
+
DescribeReceiptRuleSetCommand: client_ses_1.DescribeReceiptRuleSetCommand,
|
|
61
|
+
GetAccountSendingEnabledCommand: client_ses_1.GetAccountSendingEnabledCommand,
|
|
62
|
+
GetCustomVerificationEmailTemplateCommand: client_ses_1.GetCustomVerificationEmailTemplateCommand,
|
|
63
|
+
GetIdentityDkimAttributesCommand: client_ses_1.GetIdentityDkimAttributesCommand,
|
|
64
|
+
GetIdentityMailFromDomainAttributesCommand: client_ses_1.GetIdentityMailFromDomainAttributesCommand,
|
|
65
|
+
GetIdentityNotificationAttributesCommand: client_ses_1.GetIdentityNotificationAttributesCommand,
|
|
66
|
+
GetIdentityPoliciesCommand: client_ses_1.GetIdentityPoliciesCommand,
|
|
67
|
+
GetIdentityVerificationAttributesCommand: client_ses_1.GetIdentityVerificationAttributesCommand,
|
|
68
|
+
GetSendQuotaCommand: client_ses_1.GetSendQuotaCommand,
|
|
69
|
+
GetSendStatisticsCommand: client_ses_1.GetSendStatisticsCommand,
|
|
70
|
+
GetTemplateCommand: client_ses_1.GetTemplateCommand,
|
|
71
|
+
ListConfigurationSetsCommand: client_ses_1.ListConfigurationSetsCommand,
|
|
72
|
+
ListCustomVerificationEmailTemplatesCommand: client_ses_1.ListCustomVerificationEmailTemplatesCommand,
|
|
73
|
+
ListIdentitiesCommand: client_ses_1.ListIdentitiesCommand,
|
|
74
|
+
ListIdentityPoliciesCommand: client_ses_1.ListIdentityPoliciesCommand,
|
|
75
|
+
ListReceiptFiltersCommand: client_ses_1.ListReceiptFiltersCommand,
|
|
76
|
+
ListReceiptRuleSetsCommand: client_ses_1.ListReceiptRuleSetsCommand,
|
|
77
|
+
ListTemplatesCommand: client_ses_1.ListTemplatesCommand,
|
|
78
|
+
ListVerifiedEmailAddressesCommand: client_ses_1.ListVerifiedEmailAddressesCommand,
|
|
79
|
+
PutConfigurationSetDeliveryOptionsCommand: client_ses_1.PutConfigurationSetDeliveryOptionsCommand,
|
|
80
|
+
PutIdentityPolicyCommand: client_ses_1.PutIdentityPolicyCommand,
|
|
81
|
+
ReorderReceiptRuleSetCommand: client_ses_1.ReorderReceiptRuleSetCommand,
|
|
82
|
+
SendBounceCommand: client_ses_1.SendBounceCommand,
|
|
83
|
+
SendBulkTemplatedEmailCommand: client_ses_1.SendBulkTemplatedEmailCommand,
|
|
84
|
+
SendCustomVerificationEmailCommand: client_ses_1.SendCustomVerificationEmailCommand,
|
|
85
|
+
SendEmailCommand: client_ses_1.SendEmailCommand,
|
|
86
|
+
SendRawEmailCommand: client_ses_1.SendRawEmailCommand,
|
|
87
|
+
SendTemplatedEmailCommand: client_ses_1.SendTemplatedEmailCommand,
|
|
88
|
+
SetActiveReceiptRuleSetCommand: client_ses_1.SetActiveReceiptRuleSetCommand,
|
|
89
|
+
SetIdentityDkimEnabledCommand: client_ses_1.SetIdentityDkimEnabledCommand,
|
|
90
|
+
SetIdentityFeedbackForwardingEnabledCommand: client_ses_1.SetIdentityFeedbackForwardingEnabledCommand,
|
|
91
|
+
SetIdentityHeadersInNotificationsEnabledCommand: client_ses_1.SetIdentityHeadersInNotificationsEnabledCommand,
|
|
92
|
+
SetIdentityMailFromDomainCommand: client_ses_1.SetIdentityMailFromDomainCommand,
|
|
93
|
+
SetIdentityNotificationTopicCommand: client_ses_1.SetIdentityNotificationTopicCommand,
|
|
94
|
+
SetReceiptRulePositionCommand: client_ses_1.SetReceiptRulePositionCommand,
|
|
95
|
+
TestRenderTemplateCommand: client_ses_1.TestRenderTemplateCommand,
|
|
96
|
+
UpdateAccountSendingEnabledCommand: client_ses_1.UpdateAccountSendingEnabledCommand,
|
|
97
|
+
UpdateConfigurationSetEventDestinationCommand: client_ses_1.UpdateConfigurationSetEventDestinationCommand,
|
|
98
|
+
UpdateConfigurationSetReputationMetricsEnabledCommand: client_ses_1.UpdateConfigurationSetReputationMetricsEnabledCommand,
|
|
99
|
+
UpdateConfigurationSetSendingEnabledCommand: client_ses_1.UpdateConfigurationSetSendingEnabledCommand,
|
|
100
|
+
UpdateConfigurationSetTrackingOptionsCommand: client_ses_1.UpdateConfigurationSetTrackingOptionsCommand,
|
|
101
|
+
UpdateCustomVerificationEmailTemplateCommand: client_ses_1.UpdateCustomVerificationEmailTemplateCommand,
|
|
102
|
+
UpdateReceiptRuleCommand: client_ses_1.UpdateReceiptRuleCommand,
|
|
103
|
+
UpdateTemplateCommand: client_ses_1.UpdateTemplateCommand,
|
|
104
|
+
VerifyDomainDkimCommand: client_ses_1.VerifyDomainDkimCommand,
|
|
105
|
+
VerifyDomainIdentityCommand: client_ses_1.VerifyDomainIdentityCommand,
|
|
106
|
+
VerifyEmailAddressCommand: client_ses_1.VerifyEmailAddressCommand,
|
|
107
|
+
VerifyEmailIdentityCommand: client_ses_1.VerifyEmailIdentityCommand,
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @since 1.0.0
|
|
111
|
+
* @category constructors
|
|
112
|
+
*/
|
|
113
|
+
exports.makeSESService = effect_1.Effect.gen(function* () {
|
|
114
|
+
const client = yield* Instance.SESClientInstance;
|
|
115
|
+
return commons_1.Service.fromClientAndCommands(client, commands, Errors_js_1.AllServiceErrors);
|
|
116
|
+
});
|
|
117
|
+
/**
|
|
118
|
+
* @since 1.0.0
|
|
119
|
+
* @category models
|
|
120
|
+
*/
|
|
121
|
+
class SESService extends effect_1.Effect.Tag("@effect-aws/client-ses/SESService")() {
|
|
122
|
+
static defaultLayer = effect_1.Layer.effect(this, exports.makeSESService).pipe(effect_1.Layer.provide(Instance.layer));
|
|
123
|
+
static layer = (config) => effect_1.Layer.effect(this, exports.makeSESService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(SESServiceConfig.setSESServiceConfig(config)));
|
|
124
|
+
static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeSESService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.SESClientInstance, effect_1.Effect.map(SESServiceConfig.toSESClientConfig, evaluate))));
|
|
125
|
+
}
|
|
126
|
+
exports.SESService = SESService;
|
|
127
|
+
//# sourceMappingURL=SESService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SESService.js","sourceRoot":"","sources":["../../src/SESService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oDAwN6B;AAE7B,iDAA8C;AAC9C,mCAAuC;AAqCvC,2CAA+C;AAC/C,iEAAmD;AACnD,wEAA0D;AAE1D,MAAM,QAAQ,GAAG;IACf,0BAA0B,EAA1B,uCAA0B;IAC1B,6BAA6B,EAA7B,0CAA6B;IAC7B,6CAA6C,EAA7C,0DAA6C;IAC7C,4CAA4C,EAA5C,yDAA4C;IAC5C,4CAA4C,EAA5C,yDAA4C;IAC5C,0BAA0B,EAA1B,uCAA0B;IAC1B,wBAAwB,EAAxB,qCAAwB;IACxB,2BAA2B,EAA3B,wCAA2B;IAC3B,qBAAqB,EAArB,kCAAqB;IACrB,6BAA6B,EAA7B,0CAA6B;IAC7B,6CAA6C,EAA7C,0DAA6C;IAC7C,4CAA4C,EAA5C,yDAA4C;IAC5C,4CAA4C,EAA5C,yDAA4C;IAC5C,qBAAqB,EAArB,kCAAqB;IACrB,2BAA2B,EAA3B,wCAA2B;IAC3B,0BAA0B,EAA1B,uCAA0B;IAC1B,wBAAwB,EAAxB,qCAAwB;IACxB,2BAA2B,EAA3B,wCAA2B;IAC3B,qBAAqB,EAArB,kCAAqB;IACrB,iCAAiC,EAAjC,8CAAiC;IACjC,mCAAmC,EAAnC,gDAAmC;IACnC,+BAA+B,EAA/B,4CAA+B;IAC/B,0BAA0B,EAA1B,uCAA0B;IAC1B,6BAA6B,EAA7B,0CAA6B;IAC7B,+BAA+B,EAA/B,4CAA+B;IAC/B,yCAAyC,EAAzC,sDAAyC;IACzC,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0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import type { SESClientConfig } from "@aws-sdk/client-ses";
|
|
5
|
+
import { Effect, Layer } from "effect";
|
|
6
|
+
import type { SESService } from "./SESService.js";
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category ses service config
|
|
10
|
+
*/
|
|
11
|
+
export declare const withSESServiceConfig: {
|
|
12
|
+
(config: SESService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
13
|
+
<A, E, R>(effect: Effect.Effect<A, E, R>, config: SESService.Config): Effect.Effect<A, E, R>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @since 1.0.0
|
|
17
|
+
* @category ses service config
|
|
18
|
+
*/
|
|
19
|
+
export declare const setSESServiceConfig: (config: SESService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
+
/**
|
|
21
|
+
* @since 1.0.0
|
|
22
|
+
* @category adapters
|
|
23
|
+
*/
|
|
24
|
+
export declare const toSESClientConfig: Effect.Effect<SESClientConfig>;
|
|
25
|
+
//# sourceMappingURL=SESServiceConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SESServiceConfig.d.ts","sourceRoot":"","sources":["../../src/SESServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAWlD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACjG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK9F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,WAAY,WAAW,MAAM,qCAAyD,CAAC;AAEvH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAQ3D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toSESClientConfig = exports.setSESServiceConfig = exports.withSESServiceConfig = void 0;
|
|
4
|
+
const commons_1 = require("@effect-aws/commons");
|
|
5
|
+
const effect_1 = require("effect");
|
|
6
|
+
const Function_1 = require("effect/Function");
|
|
7
|
+
const GlobalValue_1 = require("effect/GlobalValue");
|
|
8
|
+
/**
|
|
9
|
+
* @since 1.0.0
|
|
10
|
+
* @category ses service config
|
|
11
|
+
*/
|
|
12
|
+
const currentSESServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-ses/currentSESServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category ses service config
|
|
16
|
+
*/
|
|
17
|
+
exports.withSESServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentSESServiceConfig, config));
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category ses service config
|
|
21
|
+
*/
|
|
22
|
+
const setSESServiceConfig = (config) => effect_1.Layer.locallyScoped(currentSESServiceConfig, config);
|
|
23
|
+
exports.setSESServiceConfig = setSESServiceConfig;
|
|
24
|
+
/**
|
|
25
|
+
* @since 1.0.0
|
|
26
|
+
* @category adapters
|
|
27
|
+
*/
|
|
28
|
+
exports.toSESClientConfig = effect_1.Effect.gen(function* () {
|
|
29
|
+
const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentSESServiceConfig);
|
|
30
|
+
const logger = serviceLogger === true
|
|
31
|
+
? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
|
|
32
|
+
: (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
|
|
33
|
+
return { logger, ...config };
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=SESServiceConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SESServiceConfig.js","sourceRoot":"","sources":["../../src/SESServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,uBAAuB,GAAG,IAAA,yBAAW,EACzC,gDAAgD,EAChD,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAoB,EAAE,CAAC,CACjD,CAAC;AAEF;;;GAGG;AACU,QAAA,oBAAoB,GAG7B,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAyB,EAA0B,EAAE,CAC7F,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAuB,EAAE,MAAM,CAAC,CAC1D,CAAC;AAEF;;;GAGG;AACI,MAAM,mBAAmB,GAAG,CAAC,MAAyB,EAAE,EAAE,CAAC,cAAK,CAAC,aAAa,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC;AAA1G,QAAA,mBAAmB,uBAAuF;AAEvH;;;GAGG;AACU,QAAA,iBAAiB,GAAmC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnF,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;IAE1F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { SESService } from "./SESService.js";
|
|
5
|
+
/**
|
|
6
|
+
* @since 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
export * from "./Errors.js";
|
|
9
|
+
/**
|
|
10
|
+
* @since 1.0.0
|
|
11
|
+
*/
|
|
12
|
+
export * as SESClientInstance from "./SESClientInstance.js";
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
*/
|
|
16
|
+
export * as SESServiceConfig from "./SESServiceConfig.js";
|
|
17
|
+
/**
|
|
18
|
+
* @since 1.0.0
|
|
19
|
+
*/
|
|
20
|
+
export * from "./SESService.js";
|
|
21
|
+
/**
|
|
22
|
+
* @since 1.0.0
|
|
23
|
+
* @category exports
|
|
24
|
+
* @alias SESService
|
|
25
|
+
*/
|
|
26
|
+
export declare namespace SES {
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
* @alias SESService.Config
|
|
30
|
+
*/
|
|
31
|
+
type Config = SESService.Config;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @since 1.0.0
|
|
35
|
+
* @category exports
|
|
36
|
+
* @alias SESService
|
|
37
|
+
*/
|
|
38
|
+
export declare const SES: typeof SESService;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAE5D;;GAEG;AACH,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B;;;OAGG;IACH,KAAY,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,GAAG,mBAAa,CAAC"}
|