@aws-sdk/client-sesv2 3.37.0 → 3.41.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 (109) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/commands/index.js +84 -0
  3. package/dist-cjs/endpoints.js +90 -8
  4. package/dist-cjs/index.js +4 -96
  5. package/dist-cjs/pagination/index.js +16 -0
  6. package/dist-cjs/runtimeConfig.browser.js +6 -3
  7. package/dist-cjs/runtimeConfig.js +5 -3
  8. package/dist-es/commands/index.js +81 -0
  9. package/dist-es/endpoints.js +90 -8
  10. package/dist-es/index.js +4 -96
  11. package/dist-es/pagination/index.js +13 -0
  12. package/dist-es/runtimeConfig.browser.js +3 -2
  13. package/dist-es/runtimeConfig.js +3 -3
  14. package/dist-types/SESv2Client.d.ts +8 -0
  15. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateContactListCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateEmailIdentityCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateEmailIdentityPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateEmailTemplateCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateImportJobCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteContactCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteContactListCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteEmailIdentityPolicyCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +1 -1
  36. package/dist-types/commands/GetAccountCommand.d.ts +1 -1
  37. package/dist-types/commands/GetBlacklistReportsCommand.d.ts +1 -1
  38. package/dist-types/commands/GetConfigurationSetCommand.d.ts +1 -1
  39. package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +1 -1
  40. package/dist-types/commands/GetContactCommand.d.ts +1 -1
  41. package/dist-types/commands/GetContactListCommand.d.ts +1 -1
  42. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDedicatedIpCommand.d.ts +1 -1
  44. package/dist-types/commands/GetDedicatedIpsCommand.d.ts +1 -1
  45. package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +1 -1
  46. package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +1 -1
  47. package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +1 -1
  48. package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +1 -1
  49. package/dist-types/commands/GetEmailIdentityCommand.d.ts +1 -1
  50. package/dist-types/commands/GetEmailIdentityPoliciesCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  53. package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +1 -1
  54. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListContactListsCommand.d.ts +1 -1
  56. package/dist-types/commands/ListContactsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +1 -1
  58. package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListEmailTemplatesCommand.d.ts +1 -1
  63. package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
  64. package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  66. package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +1 -1
  67. package/dist-types/commands/PutAccountDetailsCommand.d.ts +1 -1
  68. package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +1 -1
  69. package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +1 -1
  70. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +1 -1
  71. package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +1 -1
  72. package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +1 -1
  73. package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +1 -1
  74. package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +1 -1
  75. package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +1 -1
  76. package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +1 -1
  77. package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +1 -1
  78. package/dist-types/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +1 -1
  79. package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +1 -1
  80. package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +1 -1
  81. package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +1 -1
  82. package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +1 -1
  83. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +1 -1
  84. package/dist-types/commands/SendBulkEmailCommand.d.ts +1 -1
  85. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -1
  86. package/dist-types/commands/SendEmailCommand.d.ts +1 -1
  87. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  88. package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +1 -1
  89. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  92. package/dist-types/commands/UpdateContactListCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
  96. package/dist-types/commands/index.d.ts +81 -0
  97. package/dist-types/index.d.ts +4 -96
  98. package/dist-types/pagination/index.d.ts +13 -0
  99. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  100. package/dist-types/runtimeConfig.d.ts +2 -0
  101. package/dist-types/runtimeConfig.native.d.ts +2 -0
  102. package/dist-types/ts3.4/SESv2Client.d.ts +4 -0
  103. package/dist-types/ts3.4/commands/index.d.ts +81 -0
  104. package/dist-types/ts3.4/index.d.ts +4 -96
  105. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  109. package/package.json +26 -26
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.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
18
+
19
+
20
+ ### Features
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-sesv2
31
+
32
+
33
+
34
+
35
+
36
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
37
+
38
+
39
+ ### Features
40
+
41
+ * **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))
42
+ * **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))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
49
 
8
50
 
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateConfigurationSetCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateConfigurationSetEventDestinationCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateContactCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateContactListCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateCustomVerificationEmailTemplateCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateDedicatedIpPoolCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateDeliverabilityTestReportCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateEmailIdentityCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateEmailIdentityPolicyCommand"), exports);
13
+ tslib_1.__exportStar(require("./CreateEmailTemplateCommand"), exports);
14
+ tslib_1.__exportStar(require("./CreateImportJobCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteConfigurationSetCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteConfigurationSetEventDestinationCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteContactCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteContactListCommand"), exports);
19
+ tslib_1.__exportStar(require("./DeleteCustomVerificationEmailTemplateCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeleteDedicatedIpPoolCommand"), exports);
21
+ tslib_1.__exportStar(require("./DeleteEmailIdentityCommand"), exports);
22
+ tslib_1.__exportStar(require("./DeleteEmailIdentityPolicyCommand"), exports);
23
+ tslib_1.__exportStar(require("./DeleteEmailTemplateCommand"), exports);
24
+ tslib_1.__exportStar(require("./DeleteSuppressedDestinationCommand"), exports);
25
+ tslib_1.__exportStar(require("./GetAccountCommand"), exports);
26
+ tslib_1.__exportStar(require("./GetBlacklistReportsCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetConfigurationSetCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetConfigurationSetEventDestinationsCommand"), exports);
29
+ tslib_1.__exportStar(require("./GetContactCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetContactListCommand"), exports);
31
+ tslib_1.__exportStar(require("./GetCustomVerificationEmailTemplateCommand"), exports);
32
+ tslib_1.__exportStar(require("./GetDedicatedIpCommand"), exports);
33
+ tslib_1.__exportStar(require("./GetDedicatedIpsCommand"), exports);
34
+ tslib_1.__exportStar(require("./GetDeliverabilityDashboardOptionsCommand"), exports);
35
+ tslib_1.__exportStar(require("./GetDeliverabilityTestReportCommand"), exports);
36
+ tslib_1.__exportStar(require("./GetDomainDeliverabilityCampaignCommand"), exports);
37
+ tslib_1.__exportStar(require("./GetDomainStatisticsReportCommand"), exports);
38
+ tslib_1.__exportStar(require("./GetEmailIdentityCommand"), exports);
39
+ tslib_1.__exportStar(require("./GetEmailIdentityPoliciesCommand"), exports);
40
+ tslib_1.__exportStar(require("./GetEmailTemplateCommand"), exports);
41
+ tslib_1.__exportStar(require("./GetImportJobCommand"), exports);
42
+ tslib_1.__exportStar(require("./GetSuppressedDestinationCommand"), exports);
43
+ tslib_1.__exportStar(require("./ListConfigurationSetsCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListContactListsCommand"), exports);
45
+ tslib_1.__exportStar(require("./ListContactsCommand"), exports);
46
+ tslib_1.__exportStar(require("./ListCustomVerificationEmailTemplatesCommand"), exports);
47
+ tslib_1.__exportStar(require("./ListDedicatedIpPoolsCommand"), exports);
48
+ tslib_1.__exportStar(require("./ListDeliverabilityTestReportsCommand"), exports);
49
+ tslib_1.__exportStar(require("./ListDomainDeliverabilityCampaignsCommand"), exports);
50
+ tslib_1.__exportStar(require("./ListEmailIdentitiesCommand"), exports);
51
+ tslib_1.__exportStar(require("./ListEmailTemplatesCommand"), exports);
52
+ tslib_1.__exportStar(require("./ListImportJobsCommand"), exports);
53
+ tslib_1.__exportStar(require("./ListSuppressedDestinationsCommand"), exports);
54
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
55
+ tslib_1.__exportStar(require("./PutAccountDedicatedIpWarmupAttributesCommand"), exports);
56
+ tslib_1.__exportStar(require("./PutAccountDetailsCommand"), exports);
57
+ tslib_1.__exportStar(require("./PutAccountSendingAttributesCommand"), exports);
58
+ tslib_1.__exportStar(require("./PutAccountSuppressionAttributesCommand"), exports);
59
+ tslib_1.__exportStar(require("./PutConfigurationSetDeliveryOptionsCommand"), exports);
60
+ tslib_1.__exportStar(require("./PutConfigurationSetReputationOptionsCommand"), exports);
61
+ tslib_1.__exportStar(require("./PutConfigurationSetSendingOptionsCommand"), exports);
62
+ tslib_1.__exportStar(require("./PutConfigurationSetSuppressionOptionsCommand"), exports);
63
+ tslib_1.__exportStar(require("./PutConfigurationSetTrackingOptionsCommand"), exports);
64
+ tslib_1.__exportStar(require("./PutDedicatedIpInPoolCommand"), exports);
65
+ tslib_1.__exportStar(require("./PutDedicatedIpWarmupAttributesCommand"), exports);
66
+ tslib_1.__exportStar(require("./PutDeliverabilityDashboardOptionCommand"), exports);
67
+ tslib_1.__exportStar(require("./PutEmailIdentityConfigurationSetAttributesCommand"), exports);
68
+ tslib_1.__exportStar(require("./PutEmailIdentityDkimAttributesCommand"), exports);
69
+ tslib_1.__exportStar(require("./PutEmailIdentityDkimSigningAttributesCommand"), exports);
70
+ tslib_1.__exportStar(require("./PutEmailIdentityFeedbackAttributesCommand"), exports);
71
+ tslib_1.__exportStar(require("./PutEmailIdentityMailFromAttributesCommand"), exports);
72
+ tslib_1.__exportStar(require("./PutSuppressedDestinationCommand"), exports);
73
+ tslib_1.__exportStar(require("./SendBulkEmailCommand"), exports);
74
+ tslib_1.__exportStar(require("./SendCustomVerificationEmailCommand"), exports);
75
+ tslib_1.__exportStar(require("./SendEmailCommand"), exports);
76
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
77
+ tslib_1.__exportStar(require("./TestRenderEmailTemplateCommand"), exports);
78
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
79
+ tslib_1.__exportStar(require("./UpdateConfigurationSetEventDestinationCommand"), exports);
80
+ tslib_1.__exportStar(require("./UpdateContactCommand"), exports);
81
+ tslib_1.__exportStar(require("./UpdateContactListCommand"), exports);
82
+ tslib_1.__exportStar(require("./UpdateCustomVerificationEmailTemplateCommand"), exports);
83
+ tslib_1.__exportStar(require("./UpdateEmailIdentityPolicyCommand"), exports);
84
+ tslib_1.__exportStar(require("./UpdateEmailTemplateCommand"), exports);
@@ -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
- "fips-us-gov-west-1": {
7
- hostname: "email-fips.us-gov-west-1.amazonaws.com",
8
- signingRegion: "us-gov-west-1",
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,97 @@ const partitionHash = {
33
41
  "us-west-1",
34
42
  "us-west-2",
35
43
  ],
36
- hostname: "email.{region}.amazonaws.com",
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
- hostname: "email.{region}.amazonaws.com.cn",
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
87
  regions: ["us-iso-east-1", "us-iso-west-1"],
44
- hostname: "email.{region}.c2s.ic.gov",
88
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
89
+ variants: [
90
+ {
91
+ hostname: "email.{region}.c2s.ic.gov",
92
+ tags: [],
93
+ },
94
+ {
95
+ hostname: "email-fips.{region}.c2s.ic.gov",
96
+ tags: ["fips"],
97
+ },
98
+ ],
45
99
  },
46
100
  "aws-iso-b": {
47
101
  regions: ["us-isob-east-1"],
48
- hostname: "email.{region}.sc2s.sgov.gov",
102
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
103
+ variants: [
104
+ {
105
+ hostname: "email.{region}.sc2s.sgov.gov",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "email-fips.{region}.sc2s.sgov.gov",
110
+ tags: ["fips"],
111
+ },
112
+ ],
49
113
  },
50
114
  "aws-us-gov": {
51
115
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
52
- hostname: "email.{region}.amazonaws.com",
116
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
117
+ variants: [
118
+ {
119
+ hostname: "email.{region}.amazonaws.com",
120
+ tags: [],
121
+ },
122
+ {
123
+ hostname: "email-fips.{region}.amazonaws.com",
124
+ tags: ["fips"],
125
+ },
126
+ {
127
+ hostname: "email-fips.{region}.api.aws",
128
+ tags: ["dualstack", "fips"],
129
+ },
130
+ {
131
+ hostname: "email.{region}.api.aws",
132
+ tags: ["dualstack"],
133
+ },
134
+ ],
53
135
  },
54
136
  };
55
137
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,100 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./SESv2Client"), exports);
5
4
  tslib_1.__exportStar(require("./SESv2"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateConfigurationSetEventDestinationCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateContactCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateContactListCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateCustomVerificationEmailTemplateCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateDedicatedIpPoolCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateDeliverabilityTestReportCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreateEmailIdentityCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateEmailIdentityPolicyCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/CreateEmailTemplateCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/CreateImportJobCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteConfigurationSetEventDestinationCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteContactCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DeleteContactListCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DeleteCustomVerificationEmailTemplateCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeleteDedicatedIpPoolCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DeleteEmailIdentityCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DeleteEmailIdentityPolicyCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DeleteEmailTemplateCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DeleteSuppressedDestinationCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/GetAccountCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/GetBlacklistReportsCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/GetConfigurationSetCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/GetConfigurationSetEventDestinationsCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/GetContactCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/GetContactListCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/GetCustomVerificationEmailTemplateCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/GetDedicatedIpCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/GetDedicatedIpsCommand"), exports);
36
- tslib_1.__exportStar(require("./pagination/GetDedicatedIpsPaginator"), exports);
37
- tslib_1.__exportStar(require("./commands/GetDeliverabilityDashboardOptionsCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/GetDeliverabilityTestReportCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/GetDomainDeliverabilityCampaignCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/GetDomainStatisticsReportCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/GetEmailIdentityCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/GetEmailIdentityPoliciesCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/GetEmailTemplateCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/GetImportJobCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/GetSuppressedDestinationCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/ListConfigurationSetsCommand"), exports);
47
- tslib_1.__exportStar(require("./pagination/ListConfigurationSetsPaginator"), exports);
48
- tslib_1.__exportStar(require("./commands/ListContactListsCommand"), exports);
49
- tslib_1.__exportStar(require("./pagination/ListContactListsPaginator"), exports);
50
- tslib_1.__exportStar(require("./commands/ListContactsCommand"), exports);
51
- tslib_1.__exportStar(require("./pagination/ListContactsPaginator"), exports);
52
- tslib_1.__exportStar(require("./commands/ListCustomVerificationEmailTemplatesCommand"), exports);
53
- tslib_1.__exportStar(require("./pagination/ListCustomVerificationEmailTemplatesPaginator"), exports);
54
- tslib_1.__exportStar(require("./commands/ListDedicatedIpPoolsCommand"), exports);
55
- tslib_1.__exportStar(require("./pagination/ListDedicatedIpPoolsPaginator"), exports);
56
- tslib_1.__exportStar(require("./commands/ListDeliverabilityTestReportsCommand"), exports);
57
- tslib_1.__exportStar(require("./pagination/ListDeliverabilityTestReportsPaginator"), exports);
58
- tslib_1.__exportStar(require("./commands/ListDomainDeliverabilityCampaignsCommand"), exports);
59
- tslib_1.__exportStar(require("./pagination/ListDomainDeliverabilityCampaignsPaginator"), exports);
60
- tslib_1.__exportStar(require("./commands/ListEmailIdentitiesCommand"), exports);
61
- tslib_1.__exportStar(require("./pagination/ListEmailIdentitiesPaginator"), exports);
62
- tslib_1.__exportStar(require("./commands/ListEmailTemplatesCommand"), exports);
63
- tslib_1.__exportStar(require("./pagination/ListEmailTemplatesPaginator"), exports);
64
- tslib_1.__exportStar(require("./commands/ListImportJobsCommand"), exports);
65
- tslib_1.__exportStar(require("./pagination/ListImportJobsPaginator"), exports);
66
- tslib_1.__exportStar(require("./commands/ListSuppressedDestinationsCommand"), exports);
67
- tslib_1.__exportStar(require("./pagination/ListSuppressedDestinationsPaginator"), exports);
68
- tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
69
- tslib_1.__exportStar(require("./commands/PutAccountDedicatedIpWarmupAttributesCommand"), exports);
70
- tslib_1.__exportStar(require("./commands/PutAccountDetailsCommand"), exports);
71
- tslib_1.__exportStar(require("./commands/PutAccountSendingAttributesCommand"), exports);
72
- tslib_1.__exportStar(require("./commands/PutAccountSuppressionAttributesCommand"), exports);
73
- tslib_1.__exportStar(require("./commands/PutConfigurationSetDeliveryOptionsCommand"), exports);
74
- tslib_1.__exportStar(require("./commands/PutConfigurationSetReputationOptionsCommand"), exports);
75
- tslib_1.__exportStar(require("./commands/PutConfigurationSetSendingOptionsCommand"), exports);
76
- tslib_1.__exportStar(require("./commands/PutConfigurationSetSuppressionOptionsCommand"), exports);
77
- tslib_1.__exportStar(require("./commands/PutConfigurationSetTrackingOptionsCommand"), exports);
78
- tslib_1.__exportStar(require("./commands/PutDedicatedIpInPoolCommand"), exports);
79
- tslib_1.__exportStar(require("./commands/PutDedicatedIpWarmupAttributesCommand"), exports);
80
- tslib_1.__exportStar(require("./commands/PutDeliverabilityDashboardOptionCommand"), exports);
81
- tslib_1.__exportStar(require("./commands/PutEmailIdentityConfigurationSetAttributesCommand"), exports);
82
- tslib_1.__exportStar(require("./commands/PutEmailIdentityDkimAttributesCommand"), exports);
83
- tslib_1.__exportStar(require("./commands/PutEmailIdentityDkimSigningAttributesCommand"), exports);
84
- tslib_1.__exportStar(require("./commands/PutEmailIdentityFeedbackAttributesCommand"), exports);
85
- tslib_1.__exportStar(require("./commands/PutEmailIdentityMailFromAttributesCommand"), exports);
86
- tslib_1.__exportStar(require("./commands/PutSuppressedDestinationCommand"), exports);
87
- tslib_1.__exportStar(require("./commands/SendBulkEmailCommand"), exports);
88
- tslib_1.__exportStar(require("./commands/SendCustomVerificationEmailCommand"), exports);
89
- tslib_1.__exportStar(require("./commands/SendEmailCommand"), exports);
90
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
91
- tslib_1.__exportStar(require("./commands/TestRenderEmailTemplateCommand"), exports);
92
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
93
- tslib_1.__exportStar(require("./commands/UpdateConfigurationSetEventDestinationCommand"), exports);
94
- tslib_1.__exportStar(require("./commands/UpdateContactCommand"), exports);
95
- tslib_1.__exportStar(require("./commands/UpdateContactListCommand"), exports);
96
- tslib_1.__exportStar(require("./commands/UpdateCustomVerificationEmailTemplateCommand"), exports);
97
- tslib_1.__exportStar(require("./commands/UpdateEmailIdentityPolicyCommand"), exports);
98
- tslib_1.__exportStar(require("./commands/UpdateEmailTemplateCommand"), exports);
99
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
100
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./SESv2Client"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./GetDedicatedIpsPaginator"), exports);
5
+ tslib_1.__exportStar(require("./Interfaces"), exports);
6
+ tslib_1.__exportStar(require("./ListConfigurationSetsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListContactListsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListContactsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./ListCustomVerificationEmailTemplatesPaginator"), exports);
10
+ tslib_1.__exportStar(require("./ListDedicatedIpPoolsPaginator"), exports);
11
+ tslib_1.__exportStar(require("./ListDeliverabilityTestReportsPaginator"), exports);
12
+ tslib_1.__exportStar(require("./ListDomainDeliverabilityCampaignsPaginator"), exports);
13
+ tslib_1.__exportStar(require("./ListEmailIdentitiesPaginator"), exports);
14
+ tslib_1.__exportStar(require("./ListEmailTemplatesPaginator"), exports);
15
+ tslib_1.__exportStar(require("./ListImportJobsPaginator"), exports);
16
+ tslib_1.__exportStar(require("./ListSuppressedDestinationsPaginator"), 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
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
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
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
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,81 @@
1
+ export * from "./CreateConfigurationSetCommand";
2
+ export * from "./CreateConfigurationSetEventDestinationCommand";
3
+ export * from "./CreateContactCommand";
4
+ export * from "./CreateContactListCommand";
5
+ export * from "./CreateCustomVerificationEmailTemplateCommand";
6
+ export * from "./CreateDedicatedIpPoolCommand";
7
+ export * from "./CreateDeliverabilityTestReportCommand";
8
+ export * from "./CreateEmailIdentityCommand";
9
+ export * from "./CreateEmailIdentityPolicyCommand";
10
+ export * from "./CreateEmailTemplateCommand";
11
+ export * from "./CreateImportJobCommand";
12
+ export * from "./DeleteConfigurationSetCommand";
13
+ export * from "./DeleteConfigurationSetEventDestinationCommand";
14
+ export * from "./DeleteContactCommand";
15
+ export * from "./DeleteContactListCommand";
16
+ export * from "./DeleteCustomVerificationEmailTemplateCommand";
17
+ export * from "./DeleteDedicatedIpPoolCommand";
18
+ export * from "./DeleteEmailIdentityCommand";
19
+ export * from "./DeleteEmailIdentityPolicyCommand";
20
+ export * from "./DeleteEmailTemplateCommand";
21
+ export * from "./DeleteSuppressedDestinationCommand";
22
+ export * from "./GetAccountCommand";
23
+ export * from "./GetBlacklistReportsCommand";
24
+ export * from "./GetConfigurationSetCommand";
25
+ export * from "./GetConfigurationSetEventDestinationsCommand";
26
+ export * from "./GetContactCommand";
27
+ export * from "./GetContactListCommand";
28
+ export * from "./GetCustomVerificationEmailTemplateCommand";
29
+ export * from "./GetDedicatedIpCommand";
30
+ export * from "./GetDedicatedIpsCommand";
31
+ export * from "./GetDeliverabilityDashboardOptionsCommand";
32
+ export * from "./GetDeliverabilityTestReportCommand";
33
+ export * from "./GetDomainDeliverabilityCampaignCommand";
34
+ export * from "./GetDomainStatisticsReportCommand";
35
+ export * from "./GetEmailIdentityCommand";
36
+ export * from "./GetEmailIdentityPoliciesCommand";
37
+ export * from "./GetEmailTemplateCommand";
38
+ export * from "./GetImportJobCommand";
39
+ export * from "./GetSuppressedDestinationCommand";
40
+ export * from "./ListConfigurationSetsCommand";
41
+ export * from "./ListContactListsCommand";
42
+ export * from "./ListContactsCommand";
43
+ export * from "./ListCustomVerificationEmailTemplatesCommand";
44
+ export * from "./ListDedicatedIpPoolsCommand";
45
+ export * from "./ListDeliverabilityTestReportsCommand";
46
+ export * from "./ListDomainDeliverabilityCampaignsCommand";
47
+ export * from "./ListEmailIdentitiesCommand";
48
+ export * from "./ListEmailTemplatesCommand";
49
+ export * from "./ListImportJobsCommand";
50
+ export * from "./ListSuppressedDestinationsCommand";
51
+ export * from "./ListTagsForResourceCommand";
52
+ export * from "./PutAccountDedicatedIpWarmupAttributesCommand";
53
+ export * from "./PutAccountDetailsCommand";
54
+ export * from "./PutAccountSendingAttributesCommand";
55
+ export * from "./PutAccountSuppressionAttributesCommand";
56
+ export * from "./PutConfigurationSetDeliveryOptionsCommand";
57
+ export * from "./PutConfigurationSetReputationOptionsCommand";
58
+ export * from "./PutConfigurationSetSendingOptionsCommand";
59
+ export * from "./PutConfigurationSetSuppressionOptionsCommand";
60
+ export * from "./PutConfigurationSetTrackingOptionsCommand";
61
+ export * from "./PutDedicatedIpInPoolCommand";
62
+ export * from "./PutDedicatedIpWarmupAttributesCommand";
63
+ export * from "./PutDeliverabilityDashboardOptionCommand";
64
+ export * from "./PutEmailIdentityConfigurationSetAttributesCommand";
65
+ export * from "./PutEmailIdentityDkimAttributesCommand";
66
+ export * from "./PutEmailIdentityDkimSigningAttributesCommand";
67
+ export * from "./PutEmailIdentityFeedbackAttributesCommand";
68
+ export * from "./PutEmailIdentityMailFromAttributesCommand";
69
+ export * from "./PutSuppressedDestinationCommand";
70
+ export * from "./SendBulkEmailCommand";
71
+ export * from "./SendCustomVerificationEmailCommand";
72
+ export * from "./SendEmailCommand";
73
+ export * from "./TagResourceCommand";
74
+ export * from "./TestRenderEmailTemplateCommand";
75
+ export * from "./UntagResourceCommand";
76
+ export * from "./UpdateConfigurationSetEventDestinationCommand";
77
+ export * from "./UpdateContactCommand";
78
+ export * from "./UpdateContactListCommand";
79
+ export * from "./UpdateCustomVerificationEmailTemplateCommand";
80
+ export * from "./UpdateEmailIdentityPolicyCommand";
81
+ export * from "./UpdateEmailTemplateCommand";
@@ -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
- "fips-us-gov-west-1": {
5
- hostname: "email-fips.us-gov-west-1.amazonaws.com",
6
- signingRegion: "us-gov-west-1",
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,97 @@ var partitionHash = {
31
39
  "us-west-1",
32
40
  "us-west-2",
33
41
  ],
34
- hostname: "email.{region}.amazonaws.com",
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
- hostname: "email.{region}.amazonaws.com.cn",
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
85
  regions: ["us-iso-east-1", "us-iso-west-1"],
42
- hostname: "email.{region}.c2s.ic.gov",
86
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
87
+ variants: [
88
+ {
89
+ hostname: "email.{region}.c2s.ic.gov",
90
+ tags: [],
91
+ },
92
+ {
93
+ hostname: "email-fips.{region}.c2s.ic.gov",
94
+ tags: ["fips"],
95
+ },
96
+ ],
43
97
  },
44
98
  "aws-iso-b": {
45
99
  regions: ["us-isob-east-1"],
46
- hostname: "email.{region}.sc2s.sgov.gov",
100
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
101
+ variants: [
102
+ {
103
+ hostname: "email.{region}.sc2s.sgov.gov",
104
+ tags: [],
105
+ },
106
+ {
107
+ hostname: "email-fips.{region}.sc2s.sgov.gov",
108
+ tags: ["fips"],
109
+ },
110
+ ],
47
111
  },
48
112
  "aws-us-gov": {
49
113
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
50
- hostname: "email.{region}.amazonaws.com",
114
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
115
+ variants: [
116
+ {
117
+ hostname: "email.{region}.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ {
121
+ hostname: "email-fips.{region}.amazonaws.com",
122
+ tags: ["fips"],
123
+ },
124
+ {
125
+ hostname: "email-fips.{region}.api.aws",
126
+ tags: ["dualstack", "fips"],
127
+ },
128
+ {
129
+ hostname: "email.{region}.api.aws",
130
+ tags: ["dualstack"],
131
+ },
132
+ ],
51
133
  },
52
134
  };
53
135
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {