@aws-sdk/client-ses 3.36.1 → 3.40.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/CHANGELOG.md +42 -0
- package/dist-cjs/commands/index.js +74 -0
- package/dist-cjs/endpoints.js +83 -9
- package/dist-cjs/index.js +5 -77
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-es/commands/index.js +71 -0
- package/dist-es/endpoints.js +83 -9
- package/dist-es/index.js +5 -77
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +1 -0
- package/dist-types/SESClient.d.ts +8 -0
- package/dist-types/commands/index.d.ts +71 -0
- package/dist-types/index.d.ts +5 -77
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/SESClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +71 -0
- package/dist-types/ts3.4/index.d.ts +5 -77
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-ses
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
31
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Features
|
|
41
|
+
|
|
42
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CloneReceiptRuleSetCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateConfigurationSetCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateConfigurationSetEventDestinationCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateConfigurationSetTrackingOptionsCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateCustomVerificationEmailTemplateCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateReceiptFilterCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateReceiptRuleCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreateReceiptRuleSetCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateTemplateCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteConfigurationSetCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteConfigurationSetEventDestinationCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteConfigurationSetTrackingOptionsCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteCustomVerificationEmailTemplateCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteIdentityCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteIdentityPolicyCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DeleteReceiptFilterCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteReceiptRuleCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DeleteReceiptRuleSetCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteTemplateCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DeleteVerifiedEmailAddressCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DescribeActiveReceiptRuleSetCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DescribeConfigurationSetCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DescribeReceiptRuleCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DescribeReceiptRuleSetCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./GetAccountSendingEnabledCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./GetCustomVerificationEmailTemplateCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetIdentityDkimAttributesCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./GetIdentityMailFromDomainAttributesCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./GetIdentityNotificationAttributesCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./GetIdentityPoliciesCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./GetIdentityVerificationAttributesCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./GetSendQuotaCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./GetSendStatisticsCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./GetTemplateCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListConfigurationSetsCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./ListCustomVerificationEmailTemplatesCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./ListIdentityPoliciesCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./ListReceiptFiltersCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./ListReceiptRuleSetsCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./ListTemplatesCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./ListVerifiedEmailAddressesCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./PutConfigurationSetDeliveryOptionsCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./PutIdentityPolicyCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./ReorderReceiptRuleSetCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./SendBounceCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./SendBulkTemplatedEmailCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./SendCustomVerificationEmailCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./SendEmailCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./SendRawEmailCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./SendTemplatedEmailCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./SetActiveReceiptRuleSetCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./SetIdentityDkimEnabledCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./SetIdentityFeedbackForwardingEnabledCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./SetIdentityHeadersInNotificationsEnabledCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./SetIdentityMailFromDomainCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./SetIdentityNotificationTopicCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./SetReceiptRulePositionCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./TestRenderTemplateCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./UpdateAccountSendingEnabledCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./UpdateConfigurationSetEventDestinationCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./UpdateConfigurationSetReputationMetricsEnabledCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./UpdateConfigurationSetSendingEnabledCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./UpdateConfigurationSetTrackingOptionsCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./UpdateCustomVerificationEmailTemplateCommand"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./UpdateReceiptRuleCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./UpdateTemplateCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./VerifyDomainDkimCommand"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./VerifyDomainIdentityCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./VerifyEmailAddressCommand"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./VerifyEmailIdentityCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,9 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"us-gov-west-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "email.us-gov-west-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "email-fips.us-gov-west-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
9
17
|
},
|
|
10
18
|
};
|
|
11
19
|
const partitionHash = {
|
|
@@ -33,23 +41,89 @@ const partitionHash = {
|
|
|
33
41
|
"us-west-1",
|
|
34
42
|
"us-west-2",
|
|
35
43
|
],
|
|
36
|
-
|
|
44
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
45
|
+
variants: [
|
|
46
|
+
{
|
|
47
|
+
hostname: "email.{region}.amazonaws.com",
|
|
48
|
+
tags: [],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
hostname: "email-fips.{region}.amazonaws.com",
|
|
52
|
+
tags: ["fips"],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
hostname: "email-fips.{region}.api.aws",
|
|
56
|
+
tags: ["dualstack", "fips"],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "email.{region}.api.aws",
|
|
60
|
+
tags: ["dualstack"],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
37
63
|
},
|
|
38
64
|
"aws-cn": {
|
|
39
65
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
40
|
-
|
|
66
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
67
|
+
variants: [
|
|
68
|
+
{
|
|
69
|
+
hostname: "email.{region}.amazonaws.com.cn",
|
|
70
|
+
tags: [],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
hostname: "email-fips.{region}.amazonaws.com.cn",
|
|
74
|
+
tags: ["fips"],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
hostname: "email-fips.{region}.api.amazonwebservices.com.cn",
|
|
78
|
+
tags: ["dualstack", "fips"],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "email.{region}.api.amazonwebservices.com.cn",
|
|
82
|
+
tags: ["dualstack"],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
41
85
|
},
|
|
42
86
|
"aws-iso": {
|
|
43
|
-
regions: ["us-iso-east-1"],
|
|
44
|
-
|
|
87
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
88
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
89
|
+
variants: [
|
|
90
|
+
{
|
|
91
|
+
hostname: "email.{region}.c2s.ic.gov",
|
|
92
|
+
tags: [],
|
|
93
|
+
},
|
|
94
|
+
],
|
|
45
95
|
},
|
|
46
96
|
"aws-iso-b": {
|
|
47
97
|
regions: ["us-isob-east-1"],
|
|
48
|
-
|
|
98
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
99
|
+
variants: [
|
|
100
|
+
{
|
|
101
|
+
hostname: "email.{region}.sc2s.sgov.gov",
|
|
102
|
+
tags: [],
|
|
103
|
+
},
|
|
104
|
+
],
|
|
49
105
|
},
|
|
50
106
|
"aws-us-gov": {
|
|
51
107
|
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
52
|
-
|
|
108
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
109
|
+
variants: [
|
|
110
|
+
{
|
|
111
|
+
hostname: "email.{region}.amazonaws.com",
|
|
112
|
+
tags: [],
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
hostname: "email-fips.{region}.amazonaws.com",
|
|
116
|
+
tags: ["fips"],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
hostname: "email-fips.{region}.api.aws",
|
|
120
|
+
tags: ["dualstack", "fips"],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
hostname: "email.{region}.api.aws",
|
|
124
|
+
tags: ["dualstack"],
|
|
125
|
+
},
|
|
126
|
+
],
|
|
53
127
|
},
|
|
54
128
|
};
|
|
55
129
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,81 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./SESClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./SES"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
11
|
-
tslib_1.__exportStar(require("./commands/CreateReceiptFilterCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/CreateReceiptRuleCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/CreateReceiptRuleSetCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/CreateTemplateCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/DeleteConfigurationSetCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/DeleteConfigurationSetEventDestinationCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/DeleteConfigurationSetTrackingOptionsCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/DeleteCustomVerificationEmailTemplateCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/DeleteIdentityCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/DeleteIdentityPolicyCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/DeleteReceiptFilterCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/DeleteReceiptRuleCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/DeleteReceiptRuleSetCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/DeleteTemplateCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/DeleteVerifiedEmailAddressCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./commands/DescribeActiveReceiptRuleSetCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/DescribeConfigurationSetCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/DescribeReceiptRuleCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/DescribeReceiptRuleSetCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/GetAccountSendingEnabledCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/GetCustomVerificationEmailTemplateCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/GetIdentityDkimAttributesCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/GetIdentityMailFromDomainAttributesCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/GetIdentityNotificationAttributesCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/GetIdentityPoliciesCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/GetIdentityVerificationAttributesCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./waiters/waitForIdentityExists"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/GetSendQuotaCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/GetSendStatisticsCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/GetTemplateCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/ListConfigurationSetsCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/ListCustomVerificationEmailTemplatesCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./pagination/ListCustomVerificationEmailTemplatesPaginator"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/ListIdentitiesCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./pagination/ListIdentitiesPaginator"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/ListIdentityPoliciesCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./commands/ListReceiptFiltersCommand"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./commands/ListReceiptRuleSetsCommand"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./commands/ListTemplatesCommand"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./commands/ListVerifiedEmailAddressesCommand"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./commands/PutConfigurationSetDeliveryOptionsCommand"), exports);
|
|
52
|
-
tslib_1.__exportStar(require("./commands/PutIdentityPolicyCommand"), exports);
|
|
53
|
-
tslib_1.__exportStar(require("./commands/ReorderReceiptRuleSetCommand"), exports);
|
|
54
|
-
tslib_1.__exportStar(require("./commands/SendBounceCommand"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./commands/SendBulkTemplatedEmailCommand"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./commands/SendCustomVerificationEmailCommand"), exports);
|
|
57
|
-
tslib_1.__exportStar(require("./commands/SendEmailCommand"), exports);
|
|
58
|
-
tslib_1.__exportStar(require("./commands/SendRawEmailCommand"), exports);
|
|
59
|
-
tslib_1.__exportStar(require("./commands/SendTemplatedEmailCommand"), exports);
|
|
60
|
-
tslib_1.__exportStar(require("./commands/SetActiveReceiptRuleSetCommand"), exports);
|
|
61
|
-
tslib_1.__exportStar(require("./commands/SetIdentityDkimEnabledCommand"), exports);
|
|
62
|
-
tslib_1.__exportStar(require("./commands/SetIdentityFeedbackForwardingEnabledCommand"), exports);
|
|
63
|
-
tslib_1.__exportStar(require("./commands/SetIdentityHeadersInNotificationsEnabledCommand"), exports);
|
|
64
|
-
tslib_1.__exportStar(require("./commands/SetIdentityMailFromDomainCommand"), exports);
|
|
65
|
-
tslib_1.__exportStar(require("./commands/SetIdentityNotificationTopicCommand"), exports);
|
|
66
|
-
tslib_1.__exportStar(require("./commands/SetReceiptRulePositionCommand"), exports);
|
|
67
|
-
tslib_1.__exportStar(require("./commands/TestRenderTemplateCommand"), exports);
|
|
68
|
-
tslib_1.__exportStar(require("./commands/UpdateAccountSendingEnabledCommand"), exports);
|
|
69
|
-
tslib_1.__exportStar(require("./commands/UpdateConfigurationSetEventDestinationCommand"), exports);
|
|
70
|
-
tslib_1.__exportStar(require("./commands/UpdateConfigurationSetReputationMetricsEnabledCommand"), exports);
|
|
71
|
-
tslib_1.__exportStar(require("./commands/UpdateConfigurationSetSendingEnabledCommand"), exports);
|
|
72
|
-
tslib_1.__exportStar(require("./commands/UpdateConfigurationSetTrackingOptionsCommand"), exports);
|
|
73
|
-
tslib_1.__exportStar(require("./commands/UpdateCustomVerificationEmailTemplateCommand"), exports);
|
|
74
|
-
tslib_1.__exportStar(require("./commands/UpdateReceiptRuleCommand"), exports);
|
|
75
|
-
tslib_1.__exportStar(require("./commands/UpdateTemplateCommand"), exports);
|
|
76
|
-
tslib_1.__exportStar(require("./commands/VerifyDomainDkimCommand"), exports);
|
|
77
|
-
tslib_1.__exportStar(require("./commands/VerifyDomainIdentityCommand"), exports);
|
|
78
|
-
tslib_1.__exportStar(require("./commands/VerifyEmailAddressCommand"), exports);
|
|
79
|
-
tslib_1.__exportStar(require("./commands/VerifyEmailIdentityCommand"), exports);
|
|
80
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
81
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./SESClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./waiters"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListCustomVerificationEmailTemplatesPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListIdentitiesPaginator"), exports);
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export * from "./CloneReceiptRuleSetCommand";
|
|
2
|
+
export * from "./CreateConfigurationSetCommand";
|
|
3
|
+
export * from "./CreateConfigurationSetEventDestinationCommand";
|
|
4
|
+
export * from "./CreateConfigurationSetTrackingOptionsCommand";
|
|
5
|
+
export * from "./CreateCustomVerificationEmailTemplateCommand";
|
|
6
|
+
export * from "./CreateReceiptFilterCommand";
|
|
7
|
+
export * from "./CreateReceiptRuleCommand";
|
|
8
|
+
export * from "./CreateReceiptRuleSetCommand";
|
|
9
|
+
export * from "./CreateTemplateCommand";
|
|
10
|
+
export * from "./DeleteConfigurationSetCommand";
|
|
11
|
+
export * from "./DeleteConfigurationSetEventDestinationCommand";
|
|
12
|
+
export * from "./DeleteConfigurationSetTrackingOptionsCommand";
|
|
13
|
+
export * from "./DeleteCustomVerificationEmailTemplateCommand";
|
|
14
|
+
export * from "./DeleteIdentityCommand";
|
|
15
|
+
export * from "./DeleteIdentityPolicyCommand";
|
|
16
|
+
export * from "./DeleteReceiptFilterCommand";
|
|
17
|
+
export * from "./DeleteReceiptRuleCommand";
|
|
18
|
+
export * from "./DeleteReceiptRuleSetCommand";
|
|
19
|
+
export * from "./DeleteTemplateCommand";
|
|
20
|
+
export * from "./DeleteVerifiedEmailAddressCommand";
|
|
21
|
+
export * from "./DescribeActiveReceiptRuleSetCommand";
|
|
22
|
+
export * from "./DescribeConfigurationSetCommand";
|
|
23
|
+
export * from "./DescribeReceiptRuleCommand";
|
|
24
|
+
export * from "./DescribeReceiptRuleSetCommand";
|
|
25
|
+
export * from "./GetAccountSendingEnabledCommand";
|
|
26
|
+
export * from "./GetCustomVerificationEmailTemplateCommand";
|
|
27
|
+
export * from "./GetIdentityDkimAttributesCommand";
|
|
28
|
+
export * from "./GetIdentityMailFromDomainAttributesCommand";
|
|
29
|
+
export * from "./GetIdentityNotificationAttributesCommand";
|
|
30
|
+
export * from "./GetIdentityPoliciesCommand";
|
|
31
|
+
export * from "./GetIdentityVerificationAttributesCommand";
|
|
32
|
+
export * from "./GetSendQuotaCommand";
|
|
33
|
+
export * from "./GetSendStatisticsCommand";
|
|
34
|
+
export * from "./GetTemplateCommand";
|
|
35
|
+
export * from "./ListConfigurationSetsCommand";
|
|
36
|
+
export * from "./ListCustomVerificationEmailTemplatesCommand";
|
|
37
|
+
export * from "./ListIdentitiesCommand";
|
|
38
|
+
export * from "./ListIdentityPoliciesCommand";
|
|
39
|
+
export * from "./ListReceiptFiltersCommand";
|
|
40
|
+
export * from "./ListReceiptRuleSetsCommand";
|
|
41
|
+
export * from "./ListTemplatesCommand";
|
|
42
|
+
export * from "./ListVerifiedEmailAddressesCommand";
|
|
43
|
+
export * from "./PutConfigurationSetDeliveryOptionsCommand";
|
|
44
|
+
export * from "./PutIdentityPolicyCommand";
|
|
45
|
+
export * from "./ReorderReceiptRuleSetCommand";
|
|
46
|
+
export * from "./SendBounceCommand";
|
|
47
|
+
export * from "./SendBulkTemplatedEmailCommand";
|
|
48
|
+
export * from "./SendCustomVerificationEmailCommand";
|
|
49
|
+
export * from "./SendEmailCommand";
|
|
50
|
+
export * from "./SendRawEmailCommand";
|
|
51
|
+
export * from "./SendTemplatedEmailCommand";
|
|
52
|
+
export * from "./SetActiveReceiptRuleSetCommand";
|
|
53
|
+
export * from "./SetIdentityDkimEnabledCommand";
|
|
54
|
+
export * from "./SetIdentityFeedbackForwardingEnabledCommand";
|
|
55
|
+
export * from "./SetIdentityHeadersInNotificationsEnabledCommand";
|
|
56
|
+
export * from "./SetIdentityMailFromDomainCommand";
|
|
57
|
+
export * from "./SetIdentityNotificationTopicCommand";
|
|
58
|
+
export * from "./SetReceiptRulePositionCommand";
|
|
59
|
+
export * from "./TestRenderTemplateCommand";
|
|
60
|
+
export * from "./UpdateAccountSendingEnabledCommand";
|
|
61
|
+
export * from "./UpdateConfigurationSetEventDestinationCommand";
|
|
62
|
+
export * from "./UpdateConfigurationSetReputationMetricsEnabledCommand";
|
|
63
|
+
export * from "./UpdateConfigurationSetSendingEnabledCommand";
|
|
64
|
+
export * from "./UpdateConfigurationSetTrackingOptionsCommand";
|
|
65
|
+
export * from "./UpdateCustomVerificationEmailTemplateCommand";
|
|
66
|
+
export * from "./UpdateReceiptRuleCommand";
|
|
67
|
+
export * from "./UpdateTemplateCommand";
|
|
68
|
+
export * from "./VerifyDomainDkimCommand";
|
|
69
|
+
export * from "./VerifyDomainIdentityCommand";
|
|
70
|
+
export * from "./VerifyEmailAddressCommand";
|
|
71
|
+
export * from "./VerifyEmailIdentityCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
"us-gov-west-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "email.us-gov-west-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "email-fips.us-gov-west-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
7
15
|
},
|
|
8
16
|
};
|
|
9
17
|
var partitionHash = {
|
|
@@ -31,23 +39,89 @@ var partitionHash = {
|
|
|
31
39
|
"us-west-1",
|
|
32
40
|
"us-west-2",
|
|
33
41
|
],
|
|
34
|
-
|
|
42
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "email.{region}.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "email-fips.{region}.amazonaws.com",
|
|
50
|
+
tags: ["fips"],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
hostname: "email-fips.{region}.api.aws",
|
|
54
|
+
tags: ["dualstack", "fips"],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
hostname: "email.{region}.api.aws",
|
|
58
|
+
tags: ["dualstack"],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
35
61
|
},
|
|
36
62
|
"aws-cn": {
|
|
37
63
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
38
|
-
|
|
64
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
65
|
+
variants: [
|
|
66
|
+
{
|
|
67
|
+
hostname: "email.{region}.amazonaws.com.cn",
|
|
68
|
+
tags: [],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
hostname: "email-fips.{region}.amazonaws.com.cn",
|
|
72
|
+
tags: ["fips"],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
hostname: "email-fips.{region}.api.amazonwebservices.com.cn",
|
|
76
|
+
tags: ["dualstack", "fips"],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
hostname: "email.{region}.api.amazonwebservices.com.cn",
|
|
80
|
+
tags: ["dualstack"],
|
|
81
|
+
},
|
|
82
|
+
],
|
|
39
83
|
},
|
|
40
84
|
"aws-iso": {
|
|
41
|
-
regions: ["us-iso-east-1"],
|
|
42
|
-
|
|
85
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
86
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
87
|
+
variants: [
|
|
88
|
+
{
|
|
89
|
+
hostname: "email.{region}.c2s.ic.gov",
|
|
90
|
+
tags: [],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
43
93
|
},
|
|
44
94
|
"aws-iso-b": {
|
|
45
95
|
regions: ["us-isob-east-1"],
|
|
46
|
-
|
|
96
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
97
|
+
variants: [
|
|
98
|
+
{
|
|
99
|
+
hostname: "email.{region}.sc2s.sgov.gov",
|
|
100
|
+
tags: [],
|
|
101
|
+
},
|
|
102
|
+
],
|
|
47
103
|
},
|
|
48
104
|
"aws-us-gov": {
|
|
49
105
|
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
50
|
-
|
|
106
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
107
|
+
variants: [
|
|
108
|
+
{
|
|
109
|
+
hostname: "email.{region}.amazonaws.com",
|
|
110
|
+
tags: [],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "email-fips.{region}.amazonaws.com",
|
|
114
|
+
tags: ["fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "email-fips.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack", "fips"],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
hostname: "email.{region}.api.aws",
|
|
122
|
+
tags: ["dualstack"],
|
|
123
|
+
},
|
|
124
|
+
],
|
|
51
125
|
},
|
|
52
126
|
};
|
|
53
127
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|