@aws-sdk/client-ses 3.36.0 → 3.39.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 (181) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/SES.js +0 -11
  3. package/dist-cjs/SESClient.js +0 -16
  4. package/dist-cjs/commands/CloneReceiptRuleSetCommand.js +0 -29
  5. package/dist-cjs/commands/CreateConfigurationSetCommand.js +0 -28
  6. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +0 -33
  7. package/dist-cjs/commands/CreateConfigurationSetTrackingOptionsCommand.js +0 -28
  8. package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +0 -27
  9. package/dist-cjs/commands/CreateReceiptFilterCommand.js +0 -26
  10. package/dist-cjs/commands/CreateReceiptRuleCommand.js +0 -27
  11. package/dist-cjs/commands/CreateReceiptRuleSetCommand.js +0 -27
  12. package/dist-cjs/commands/CreateTemplateCommand.js +0 -27
  13. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +0 -27
  15. package/dist-cjs/commands/DeleteConfigurationSetTrackingOptionsCommand.js +0 -33
  16. package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +0 -27
  17. package/dist-cjs/commands/DeleteIdentityCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteIdentityPolicyCommand.js +0 -35
  19. package/dist-cjs/commands/DeleteReceiptFilterCommand.js +0 -27
  20. package/dist-cjs/commands/DeleteReceiptRuleCommand.js +0 -27
  21. package/dist-cjs/commands/DeleteReceiptRuleSetCommand.js +0 -30
  22. package/dist-cjs/commands/DeleteTemplateCommand.js +0 -25
  23. package/dist-cjs/commands/DeleteVerifiedEmailAddressCommand.js +0 -25
  24. package/dist-cjs/commands/DescribeActiveReceiptRuleSetCommand.js +0 -28
  25. package/dist-cjs/commands/DescribeConfigurationSetCommand.js +0 -27
  26. package/dist-cjs/commands/DescribeReceiptRuleCommand.js +0 -27
  27. package/dist-cjs/commands/DescribeReceiptRuleSetCommand.js +0 -26
  28. package/dist-cjs/commands/GetAccountSendingEnabledCommand.js +0 -25
  29. package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +0 -28
  30. package/dist-cjs/commands/GetIdentityDkimAttributesCommand.js +0 -46
  31. package/dist-cjs/commands/GetIdentityMailFromDomainAttributesCommand.js +0 -27
  32. package/dist-cjs/commands/GetIdentityNotificationAttributesCommand.js +0 -29
  33. package/dist-cjs/commands/GetIdentityPoliciesCommand.js +0 -35
  34. package/dist-cjs/commands/GetIdentityVerificationAttributesCommand.js +0 -39
  35. package/dist-cjs/commands/GetSendQuotaCommand.js +0 -25
  36. package/dist-cjs/commands/GetSendStatisticsCommand.js +0 -27
  37. package/dist-cjs/commands/GetTemplateCommand.js +0 -26
  38. package/dist-cjs/commands/ListConfigurationSetsCommand.js +0 -33
  39. package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +0 -28
  40. package/dist-cjs/commands/ListIdentitiesCommand.js +0 -26
  41. package/dist-cjs/commands/ListIdentityPoliciesCommand.js +0 -35
  42. package/dist-cjs/commands/ListReceiptFiltersCommand.js +0 -28
  43. package/dist-cjs/commands/ListReceiptRuleSetsCommand.js +0 -29
  44. package/dist-cjs/commands/ListTemplatesCommand.js +0 -26
  45. package/dist-cjs/commands/ListVerifiedEmailAddressesCommand.js +0 -25
  46. package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +0 -24
  47. package/dist-cjs/commands/PutIdentityPolicyCommand.js +0 -34
  48. package/dist-cjs/commands/ReorderReceiptRuleSetCommand.js +0 -31
  49. package/dist-cjs/commands/SendBounceCommand.js +0 -32
  50. package/dist-cjs/commands/SendBulkTemplatedEmailCommand.js +0 -66
  51. package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +0 -32
  52. package/dist-cjs/commands/SendEmailCommand.js +0 -68
  53. package/dist-cjs/commands/SendRawEmailCommand.js +0 -132
  54. package/dist-cjs/commands/SendTemplatedEmailCommand.js +0 -73
  55. package/dist-cjs/commands/SetActiveReceiptRuleSetCommand.js +0 -30
  56. package/dist-cjs/commands/SetIdentityDkimEnabledCommand.js +0 -36
  57. package/dist-cjs/commands/SetIdentityFeedbackForwardingEnabledCommand.js +0 -34
  58. package/dist-cjs/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +0 -29
  59. package/dist-cjs/commands/SetIdentityMailFromDomainCommand.js +0 -33
  60. package/dist-cjs/commands/SetIdentityNotificationTopicCommand.js +0 -32
  61. package/dist-cjs/commands/SetReceiptRulePositionCommand.js +0 -27
  62. package/dist-cjs/commands/TestRenderTemplateCommand.js +0 -26
  63. package/dist-cjs/commands/UpdateAccountSendingEnabledCommand.js +0 -29
  64. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +0 -35
  65. package/dist-cjs/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +0 -28
  66. package/dist-cjs/commands/UpdateConfigurationSetSendingEnabledCommand.js +0 -29
  67. package/dist-cjs/commands/UpdateConfigurationSetTrackingOptionsCommand.js +0 -28
  68. package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +0 -27
  69. package/dist-cjs/commands/UpdateReceiptRuleCommand.js +0 -27
  70. package/dist-cjs/commands/UpdateTemplateCommand.js +0 -27
  71. package/dist-cjs/commands/VerifyDomainDkimCommand.js +0 -62
  72. package/dist-cjs/commands/VerifyDomainIdentityCommand.js +0 -30
  73. package/dist-cjs/commands/VerifyEmailAddressCommand.js +0 -25
  74. package/dist-cjs/commands/VerifyEmailIdentityCommand.js +0 -27
  75. package/dist-cjs/commands/index.js +74 -0
  76. package/dist-cjs/endpoints.js +6 -1
  77. package/dist-cjs/index.js +5 -77
  78. package/dist-cjs/models/models_0.js +0 -615
  79. package/dist-cjs/pagination/ListCustomVerificationEmailTemplatesPaginator.js +0 -10
  80. package/dist-cjs/pagination/ListIdentitiesPaginator.js +0 -10
  81. package/dist-cjs/pagination/index.js +6 -0
  82. package/dist-cjs/protocols/Aws_query.js +0 -2
  83. package/dist-cjs/runtimeConfig.browser.js +1 -5
  84. package/dist-cjs/runtimeConfig.js +1 -5
  85. package/dist-cjs/runtimeConfig.native.js +0 -3
  86. package/dist-cjs/runtimeConfig.shared.js +0 -3
  87. package/dist-cjs/waiters/index.js +4 -0
  88. package/dist-cjs/waiters/waitForIdentityExists.js +0 -9
  89. package/dist-es/commands/index.js +71 -0
  90. package/dist-es/endpoints.js +6 -1
  91. package/dist-es/index.js +5 -77
  92. package/dist-es/pagination/index.js +3 -0
  93. package/dist-es/waiters/index.js +1 -0
  94. package/dist-types/commands/index.d.ts +71 -0
  95. package/dist-types/index.d.ts +5 -77
  96. package/dist-types/pagination/index.d.ts +3 -0
  97. package/dist-types/ts3.4/SES.d.ts +72 -838
  98. package/dist-types/ts3.4/SESClient.d.ts +24 -97
  99. package/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +2 -25
  100. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +2 -24
  101. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -29
  102. package/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +2 -24
  103. package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  104. package/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +2 -22
  105. package/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +2 -23
  106. package/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +2 -23
  108. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +2 -22
  109. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +2 -29
  111. package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -23
  112. package/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +2 -22
  113. package/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +2 -31
  114. package/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +2 -23
  115. package/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +2 -23
  116. package/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +2 -26
  117. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +2 -21
  118. package/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +2 -21
  119. package/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +2 -24
  120. package/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +2 -23
  122. package/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +2 -22
  123. package/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +2 -42
  126. package/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +2 -23
  127. package/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +2 -25
  128. package/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +2 -31
  129. package/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +2 -35
  130. package/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +2 -21
  131. package/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +2 -22
  133. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +2 -29
  134. package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -24
  135. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +2 -22
  136. package/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +2 -31
  137. package/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +2 -24
  138. package/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +2 -25
  139. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +2 -22
  140. package/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +2 -21
  141. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +2 -30
  143. package/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +2 -27
  144. package/dist-types/ts3.4/commands/SendBounceCommand.d.ts +2 -28
  145. package/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +2 -62
  146. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +2 -28
  147. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +2 -64
  148. package/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +2 -128
  149. package/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +2 -69
  150. package/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +2 -26
  151. package/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +2 -32
  152. package/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +2 -30
  153. package/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +2 -25
  154. package/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +2 -29
  155. package/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +2 -28
  156. package/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +2 -23
  157. package/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +2 -22
  158. package/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +2 -25
  159. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -31
  160. package/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +2 -24
  161. package/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +2 -25
  162. package/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +2 -24
  163. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -23
  164. package/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +2 -23
  165. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +2 -23
  166. package/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +2 -58
  167. package/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +2 -26
  168. package/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +2 -21
  169. package/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +2 -23
  170. package/dist-types/ts3.4/commands/index.d.ts +71 -0
  171. package/dist-types/ts3.4/index.d.ts +5 -77
  172. package/dist-types/ts3.4/models/models_0.d.ts +748 -3405
  173. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  178. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  179. package/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +2 -9
  180. package/dist-types/waiters/index.d.ts +1 -0
  181. package/package.json +33 -33
@@ -4,22 +4,13 @@ exports.paginateListCustomVerificationEmailTemplates = void 0;
4
4
  const ListCustomVerificationEmailTemplatesCommand_1 = require("../commands/ListCustomVerificationEmailTemplatesCommand");
5
5
  const SES_1 = require("../SES");
6
6
  const SESClient_1 = require("../SESClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomVerificationEmailTemplatesCommand_1.ListCustomVerificationEmailTemplatesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomVerificationEmailTemplates(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomVerificationEmailTemplates(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomVerificationEmailTemplates(config, input, ...a
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomVerificationEmailTemplates = paginateListCustomVerificationEmailTemplates;
@@ -4,22 +4,13 @@ exports.paginateListIdentities = void 0;
4
4
  const ListIdentitiesCommand_1 = require("../commands/ListIdentitiesCommand");
5
5
  const SES_1 = require("../SES");
6
6
  const SESClient_1 = require("../SESClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListIdentitiesCommand_1.ListIdentitiesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listIdentities(input, ...args);
20
12
  };
21
13
  async function* paginateListIdentities(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListIdentities(config, input, ...additionalArguments) {
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListIdentities = paginateListIdentities;
@@ -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);
@@ -8144,14 +8144,12 @@ const deserializeMetadata = (output) => {
8144
8144
  cfId: output.headers["x-amz-cf-id"],
8145
8145
  });
8146
8146
  };
8147
- // Collect low-level response body stream to Uint8Array.
8148
8147
  const collectBody = (streamBody = new Uint8Array(), context) => {
8149
8148
  if (streamBody instanceof Uint8Array) {
8150
8149
  return Promise.resolve(streamBody);
8151
8150
  }
8152
8151
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
8153
8152
  };
8154
- // Encode Uint8Array data into string with utf-8.
8155
8153
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
8156
8154
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
8157
8155
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForIdentityExists"), exports);
@@ -30,20 +30,11 @@ const checkState = async (client, input) => {
30
30
  }
31
31
  return { state: util_waiter_1.WaiterState.RETRY, reason };
32
32
  };
33
- /**
34
- *
35
- * @deprecated Use waitUntilIdentityExists instead. waitForIdentityExists does not throw error in non-success cases.
36
- */
37
33
  const waitForIdentityExists = async (params, input) => {
38
34
  const serviceDefaults = { minDelay: 3, maxDelay: 120 };
39
35
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
40
36
  };
41
37
  exports.waitForIdentityExists = waitForIdentityExists;
42
- /**
43
- *
44
- * @param params - Waiter configuration options.
45
- * @param input - The input to GetIdentityVerificationAttributesCommand for polling.
46
- */
47
38
  const waitUntilIdentityExists = async (params, input) => {
48
39
  const serviceDefaults = { minDelay: 3, maxDelay: 120 };
49
40
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -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";
@@ -31,22 +31,27 @@ var partitionHash = {
31
31
  "us-west-1",
32
32
  "us-west-2",
33
33
  ],
34
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
34
35
  hostname: "email.{region}.amazonaws.com",
35
36
  },
36
37
  "aws-cn": {
37
38
  regions: ["cn-north-1", "cn-northwest-1"],
39
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
38
40
  hostname: "email.{region}.amazonaws.com.cn",
39
41
  },
40
42
  "aws-iso": {
41
- regions: ["us-iso-east-1"],
43
+ regions: ["us-iso-east-1", "us-iso-west-1"],
44
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
42
45
  hostname: "email.{region}.c2s.ic.gov",
43
46
  },
44
47
  "aws-iso-b": {
45
48
  regions: ["us-isob-east-1"],
49
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
46
50
  hostname: "email.{region}.sc2s.sgov.gov",
47
51
  },
48
52
  "aws-us-gov": {
49
53
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
54
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
50
55
  hostname: "email.{region}.amazonaws.com",
51
56
  },
52
57
  };
package/dist-es/index.js CHANGED
@@ -1,78 +1,6 @@
1
- export * from "./SESClient";
2
1
  export * from "./SES";
3
- export * from "./commands/CloneReceiptRuleSetCommand";
4
- export * from "./commands/CreateConfigurationSetCommand";
5
- export * from "./commands/CreateConfigurationSetEventDestinationCommand";
6
- export * from "./commands/CreateConfigurationSetTrackingOptionsCommand";
7
- export * from "./commands/CreateCustomVerificationEmailTemplateCommand";
8
- export * from "./commands/CreateReceiptFilterCommand";
9
- export * from "./commands/CreateReceiptRuleCommand";
10
- export * from "./commands/CreateReceiptRuleSetCommand";
11
- export * from "./commands/CreateTemplateCommand";
12
- export * from "./commands/DeleteConfigurationSetCommand";
13
- export * from "./commands/DeleteConfigurationSetEventDestinationCommand";
14
- export * from "./commands/DeleteConfigurationSetTrackingOptionsCommand";
15
- export * from "./commands/DeleteCustomVerificationEmailTemplateCommand";
16
- export * from "./commands/DeleteIdentityCommand";
17
- export * from "./commands/DeleteIdentityPolicyCommand";
18
- export * from "./commands/DeleteReceiptFilterCommand";
19
- export * from "./commands/DeleteReceiptRuleCommand";
20
- export * from "./commands/DeleteReceiptRuleSetCommand";
21
- export * from "./commands/DeleteTemplateCommand";
22
- export * from "./commands/DeleteVerifiedEmailAddressCommand";
23
- export * from "./commands/DescribeActiveReceiptRuleSetCommand";
24
- export * from "./commands/DescribeConfigurationSetCommand";
25
- export * from "./commands/DescribeReceiptRuleCommand";
26
- export * from "./commands/DescribeReceiptRuleSetCommand";
27
- export * from "./commands/GetAccountSendingEnabledCommand";
28
- export * from "./commands/GetCustomVerificationEmailTemplateCommand";
29
- export * from "./commands/GetIdentityDkimAttributesCommand";
30
- export * from "./commands/GetIdentityMailFromDomainAttributesCommand";
31
- export * from "./commands/GetIdentityNotificationAttributesCommand";
32
- export * from "./commands/GetIdentityPoliciesCommand";
33
- export * from "./commands/GetIdentityVerificationAttributesCommand";
34
- export * from "./waiters/waitForIdentityExists";
35
- export * from "./commands/GetSendQuotaCommand";
36
- export * from "./commands/GetSendStatisticsCommand";
37
- export * from "./commands/GetTemplateCommand";
38
- export * from "./commands/ListConfigurationSetsCommand";
39
- export * from "./commands/ListCustomVerificationEmailTemplatesCommand";
40
- export * from "./pagination/ListCustomVerificationEmailTemplatesPaginator";
41
- export * from "./commands/ListIdentitiesCommand";
42
- export * from "./pagination/ListIdentitiesPaginator";
43
- export * from "./commands/ListIdentityPoliciesCommand";
44
- export * from "./commands/ListReceiptFiltersCommand";
45
- export * from "./commands/ListReceiptRuleSetsCommand";
46
- export * from "./commands/ListTemplatesCommand";
47
- export * from "./commands/ListVerifiedEmailAddressesCommand";
48
- export * from "./commands/PutConfigurationSetDeliveryOptionsCommand";
49
- export * from "./commands/PutIdentityPolicyCommand";
50
- export * from "./commands/ReorderReceiptRuleSetCommand";
51
- export * from "./commands/SendBounceCommand";
52
- export * from "./commands/SendBulkTemplatedEmailCommand";
53
- export * from "./commands/SendCustomVerificationEmailCommand";
54
- export * from "./commands/SendEmailCommand";
55
- export * from "./commands/SendRawEmailCommand";
56
- export * from "./commands/SendTemplatedEmailCommand";
57
- export * from "./commands/SetActiveReceiptRuleSetCommand";
58
- export * from "./commands/SetIdentityDkimEnabledCommand";
59
- export * from "./commands/SetIdentityFeedbackForwardingEnabledCommand";
60
- export * from "./commands/SetIdentityHeadersInNotificationsEnabledCommand";
61
- export * from "./commands/SetIdentityMailFromDomainCommand";
62
- export * from "./commands/SetIdentityNotificationTopicCommand";
63
- export * from "./commands/SetReceiptRulePositionCommand";
64
- export * from "./commands/TestRenderTemplateCommand";
65
- export * from "./commands/UpdateAccountSendingEnabledCommand";
66
- export * from "./commands/UpdateConfigurationSetEventDestinationCommand";
67
- export * from "./commands/UpdateConfigurationSetReputationMetricsEnabledCommand";
68
- export * from "./commands/UpdateConfigurationSetSendingEnabledCommand";
69
- export * from "./commands/UpdateConfigurationSetTrackingOptionsCommand";
70
- export * from "./commands/UpdateCustomVerificationEmailTemplateCommand";
71
- export * from "./commands/UpdateReceiptRuleCommand";
72
- export * from "./commands/UpdateTemplateCommand";
73
- export * from "./commands/VerifyDomainDkimCommand";
74
- export * from "./commands/VerifyDomainIdentityCommand";
75
- export * from "./commands/VerifyEmailAddressCommand";
76
- export * from "./commands/VerifyEmailIdentityCommand";
77
- export * from "./pagination/Interfaces";
78
- export * from "./models/index";
2
+ export * from "./SESClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListCustomVerificationEmailTemplatesPaginator";
3
+ export * from "./ListIdentitiesPaginator";
@@ -0,0 +1 @@
1
+ export * from "./waitForIdentityExists";
@@ -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";
@@ -1,78 +1,6 @@
1
- export * from "./SESClient";
2
1
  export * from "./SES";
3
- export * from "./commands/CloneReceiptRuleSetCommand";
4
- export * from "./commands/CreateConfigurationSetCommand";
5
- export * from "./commands/CreateConfigurationSetEventDestinationCommand";
6
- export * from "./commands/CreateConfigurationSetTrackingOptionsCommand";
7
- export * from "./commands/CreateCustomVerificationEmailTemplateCommand";
8
- export * from "./commands/CreateReceiptFilterCommand";
9
- export * from "./commands/CreateReceiptRuleCommand";
10
- export * from "./commands/CreateReceiptRuleSetCommand";
11
- export * from "./commands/CreateTemplateCommand";
12
- export * from "./commands/DeleteConfigurationSetCommand";
13
- export * from "./commands/DeleteConfigurationSetEventDestinationCommand";
14
- export * from "./commands/DeleteConfigurationSetTrackingOptionsCommand";
15
- export * from "./commands/DeleteCustomVerificationEmailTemplateCommand";
16
- export * from "./commands/DeleteIdentityCommand";
17
- export * from "./commands/DeleteIdentityPolicyCommand";
18
- export * from "./commands/DeleteReceiptFilterCommand";
19
- export * from "./commands/DeleteReceiptRuleCommand";
20
- export * from "./commands/DeleteReceiptRuleSetCommand";
21
- export * from "./commands/DeleteTemplateCommand";
22
- export * from "./commands/DeleteVerifiedEmailAddressCommand";
23
- export * from "./commands/DescribeActiveReceiptRuleSetCommand";
24
- export * from "./commands/DescribeConfigurationSetCommand";
25
- export * from "./commands/DescribeReceiptRuleCommand";
26
- export * from "./commands/DescribeReceiptRuleSetCommand";
27
- export * from "./commands/GetAccountSendingEnabledCommand";
28
- export * from "./commands/GetCustomVerificationEmailTemplateCommand";
29
- export * from "./commands/GetIdentityDkimAttributesCommand";
30
- export * from "./commands/GetIdentityMailFromDomainAttributesCommand";
31
- export * from "./commands/GetIdentityNotificationAttributesCommand";
32
- export * from "./commands/GetIdentityPoliciesCommand";
33
- export * from "./commands/GetIdentityVerificationAttributesCommand";
34
- export * from "./waiters/waitForIdentityExists";
35
- export * from "./commands/GetSendQuotaCommand";
36
- export * from "./commands/GetSendStatisticsCommand";
37
- export * from "./commands/GetTemplateCommand";
38
- export * from "./commands/ListConfigurationSetsCommand";
39
- export * from "./commands/ListCustomVerificationEmailTemplatesCommand";
40
- export * from "./pagination/ListCustomVerificationEmailTemplatesPaginator";
41
- export * from "./commands/ListIdentitiesCommand";
42
- export * from "./pagination/ListIdentitiesPaginator";
43
- export * from "./commands/ListIdentityPoliciesCommand";
44
- export * from "./commands/ListReceiptFiltersCommand";
45
- export * from "./commands/ListReceiptRuleSetsCommand";
46
- export * from "./commands/ListTemplatesCommand";
47
- export * from "./commands/ListVerifiedEmailAddressesCommand";
48
- export * from "./commands/PutConfigurationSetDeliveryOptionsCommand";
49
- export * from "./commands/PutIdentityPolicyCommand";
50
- export * from "./commands/ReorderReceiptRuleSetCommand";
51
- export * from "./commands/SendBounceCommand";
52
- export * from "./commands/SendBulkTemplatedEmailCommand";
53
- export * from "./commands/SendCustomVerificationEmailCommand";
54
- export * from "./commands/SendEmailCommand";
55
- export * from "./commands/SendRawEmailCommand";
56
- export * from "./commands/SendTemplatedEmailCommand";
57
- export * from "./commands/SetActiveReceiptRuleSetCommand";
58
- export * from "./commands/SetIdentityDkimEnabledCommand";
59
- export * from "./commands/SetIdentityFeedbackForwardingEnabledCommand";
60
- export * from "./commands/SetIdentityHeadersInNotificationsEnabledCommand";
61
- export * from "./commands/SetIdentityMailFromDomainCommand";
62
- export * from "./commands/SetIdentityNotificationTopicCommand";
63
- export * from "./commands/SetReceiptRulePositionCommand";
64
- export * from "./commands/TestRenderTemplateCommand";
65
- export * from "./commands/UpdateAccountSendingEnabledCommand";
66
- export * from "./commands/UpdateConfigurationSetEventDestinationCommand";
67
- export * from "./commands/UpdateConfigurationSetReputationMetricsEnabledCommand";
68
- export * from "./commands/UpdateConfigurationSetSendingEnabledCommand";
69
- export * from "./commands/UpdateConfigurationSetTrackingOptionsCommand";
70
- export * from "./commands/UpdateCustomVerificationEmailTemplateCommand";
71
- export * from "./commands/UpdateReceiptRuleCommand";
72
- export * from "./commands/UpdateTemplateCommand";
73
- export * from "./commands/VerifyDomainDkimCommand";
74
- export * from "./commands/VerifyDomainIdentityCommand";
75
- export * from "./commands/VerifyEmailAddressCommand";
76
- export * from "./commands/VerifyEmailIdentityCommand";
77
- export * from "./pagination/Interfaces";
78
- export * from "./models/index";
2
+ export * from "./SESClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListCustomVerificationEmailTemplatesPaginator";
3
+ export * from "./ListIdentitiesPaginator";