@depup/aws-sdk__client-ses 3.1005.0-depup.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 (305) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +31 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1307 -0
  7. package/dist-cjs/models/SESServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +504 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +53 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +44 -0
  13. package/dist-cjs/schemas/schemas_0.js +1812 -0
  14. package/dist-es/SES.js +159 -0
  15. package/dist-es/SESClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/CloneReceiptRuleSetCommand.js +16 -0
  19. package/dist-es/commands/CreateConfigurationSetCommand.js +16 -0
  20. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +16 -0
  21. package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +16 -0
  22. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +16 -0
  23. package/dist-es/commands/CreateReceiptFilterCommand.js +16 -0
  24. package/dist-es/commands/CreateReceiptRuleCommand.js +16 -0
  25. package/dist-es/commands/CreateReceiptRuleSetCommand.js +16 -0
  26. package/dist-es/commands/CreateTemplateCommand.js +16 -0
  27. package/dist-es/commands/DeleteConfigurationSetCommand.js +16 -0
  28. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +16 -0
  29. package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +16 -0
  30. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +16 -0
  31. package/dist-es/commands/DeleteIdentityCommand.js +16 -0
  32. package/dist-es/commands/DeleteIdentityPolicyCommand.js +16 -0
  33. package/dist-es/commands/DeleteReceiptFilterCommand.js +16 -0
  34. package/dist-es/commands/DeleteReceiptRuleCommand.js +16 -0
  35. package/dist-es/commands/DeleteReceiptRuleSetCommand.js +16 -0
  36. package/dist-es/commands/DeleteTemplateCommand.js +16 -0
  37. package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +16 -0
  38. package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +16 -0
  39. package/dist-es/commands/DescribeConfigurationSetCommand.js +16 -0
  40. package/dist-es/commands/DescribeReceiptRuleCommand.js +16 -0
  41. package/dist-es/commands/DescribeReceiptRuleSetCommand.js +16 -0
  42. package/dist-es/commands/GetAccountSendingEnabledCommand.js +16 -0
  43. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +16 -0
  44. package/dist-es/commands/GetIdentityDkimAttributesCommand.js +16 -0
  45. package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +16 -0
  46. package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +16 -0
  47. package/dist-es/commands/GetIdentityPoliciesCommand.js +16 -0
  48. package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +16 -0
  49. package/dist-es/commands/GetSendQuotaCommand.js +16 -0
  50. package/dist-es/commands/GetSendStatisticsCommand.js +16 -0
  51. package/dist-es/commands/GetTemplateCommand.js +16 -0
  52. package/dist-es/commands/ListConfigurationSetsCommand.js +16 -0
  53. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +16 -0
  54. package/dist-es/commands/ListIdentitiesCommand.js +16 -0
  55. package/dist-es/commands/ListIdentityPoliciesCommand.js +16 -0
  56. package/dist-es/commands/ListReceiptFiltersCommand.js +16 -0
  57. package/dist-es/commands/ListReceiptRuleSetsCommand.js +16 -0
  58. package/dist-es/commands/ListTemplatesCommand.js +16 -0
  59. package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +16 -0
  60. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +16 -0
  61. package/dist-es/commands/PutIdentityPolicyCommand.js +16 -0
  62. package/dist-es/commands/ReorderReceiptRuleSetCommand.js +16 -0
  63. package/dist-es/commands/SendBounceCommand.js +16 -0
  64. package/dist-es/commands/SendBulkTemplatedEmailCommand.js +16 -0
  65. package/dist-es/commands/SendCustomVerificationEmailCommand.js +16 -0
  66. package/dist-es/commands/SendEmailCommand.js +16 -0
  67. package/dist-es/commands/SendRawEmailCommand.js +16 -0
  68. package/dist-es/commands/SendTemplatedEmailCommand.js +16 -0
  69. package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +16 -0
  70. package/dist-es/commands/SetIdentityDkimEnabledCommand.js +16 -0
  71. package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +16 -0
  72. package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +16 -0
  73. package/dist-es/commands/SetIdentityMailFromDomainCommand.js +16 -0
  74. package/dist-es/commands/SetIdentityNotificationTopicCommand.js +16 -0
  75. package/dist-es/commands/SetReceiptRulePositionCommand.js +16 -0
  76. package/dist-es/commands/TestRenderTemplateCommand.js +16 -0
  77. package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +16 -0
  78. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +16 -0
  79. package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +16 -0
  80. package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +16 -0
  81. package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +16 -0
  82. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +16 -0
  83. package/dist-es/commands/UpdateReceiptRuleCommand.js +16 -0
  84. package/dist-es/commands/UpdateTemplateCommand.js +16 -0
  85. package/dist-es/commands/VerifyDomainDkimCommand.js +16 -0
  86. package/dist-es/commands/VerifyDomainIdentityCommand.js +16 -0
  87. package/dist-es/commands/VerifyEmailAddressCommand.js +16 -0
  88. package/dist-es/commands/VerifyEmailIdentityCommand.js +16 -0
  89. package/dist-es/commands/index.js +71 -0
  90. package/dist-es/endpoint/EndpointParameters.js +13 -0
  91. package/dist-es/endpoint/endpointResolver.js +14 -0
  92. package/dist-es/endpoint/ruleset.js +4 -0
  93. package/dist-es/extensionConfiguration.js +1 -0
  94. package/dist-es/index.js +10 -0
  95. package/dist-es/models/SESServiceException.js +8 -0
  96. package/dist-es/models/enums.js +97 -0
  97. package/dist-es/models/errors.js +467 -0
  98. package/dist-es/models/models_0.js +1 -0
  99. package/dist-es/pagination/Interfaces.js +1 -0
  100. package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +4 -0
  101. package/dist-es/pagination/ListIdentitiesPaginator.js +4 -0
  102. package/dist-es/pagination/index.js +3 -0
  103. package/dist-es/runtimeConfig.browser.js +33 -0
  104. package/dist-es/runtimeConfig.js +48 -0
  105. package/dist-es/runtimeConfig.native.js +11 -0
  106. package/dist-es/runtimeConfig.shared.js +40 -0
  107. package/dist-es/runtimeExtensions.js +9 -0
  108. package/dist-es/schemas/schemas_0.js +1804 -0
  109. package/dist-es/waiters/index.js +1 -0
  110. package/dist-es/waiters/waitForIdentityExists.js +38 -0
  111. package/dist-types/SES.d.ts +574 -0
  112. package/dist-types/SESClient.d.ts +291 -0
  113. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  114. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  115. package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +102 -0
  116. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +91 -0
  117. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +128 -0
  118. package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +99 -0
  119. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +97 -0
  120. package/dist-types/commands/CreateReceiptFilterCommand.d.ts +108 -0
  121. package/dist-types/commands/CreateReceiptRuleCommand.d.ts +188 -0
  122. package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +95 -0
  123. package/dist-types/commands/CreateTemplateCommand.d.ts +92 -0
  124. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +78 -0
  125. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +83 -0
  126. package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +87 -0
  127. package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +76 -0
  128. package/dist-types/commands/DeleteIdentityCommand.d.ts +87 -0
  129. package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +98 -0
  130. package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +88 -0
  131. package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +93 -0
  132. package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +95 -0
  133. package/dist-types/commands/DeleteTemplateCommand.d.ts +73 -0
  134. package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +86 -0
  135. package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +164 -0
  136. package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +121 -0
  137. package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +164 -0
  138. package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +171 -0
  139. package/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +86 -0
  140. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +88 -0
  141. package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +139 -0
  142. package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +108 -0
  143. package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +118 -0
  144. package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +110 -0
  145. package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +118 -0
  146. package/dist-types/commands/GetSendQuotaCommand.d.ts +90 -0
  147. package/dist-types/commands/GetSendStatisticsCommand.d.ts +118 -0
  148. package/dist-types/commands/GetTemplateCommand.d.ts +85 -0
  149. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +90 -0
  150. package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +89 -0
  151. package/dist-types/commands/ListIdentitiesCommand.d.ts +111 -0
  152. package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +104 -0
  153. package/dist-types/commands/ListReceiptFiltersCommand.d.ts +105 -0
  154. package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +107 -0
  155. package/dist-types/commands/ListTemplatesCommand.d.ts +83 -0
  156. package/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +91 -0
  157. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +81 -0
  158. package/dist-types/commands/PutIdentityPolicyCommand.d.ts +103 -0
  159. package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +105 -0
  160. package/dist-types/commands/SendBounceCommand.d.ts +121 -0
  161. package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +185 -0
  162. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +102 -0
  163. package/dist-types/commands/SendEmailCommand.d.ts +222 -0
  164. package/dist-types/commands/SendRawEmailCommand.d.ts +233 -0
  165. package/dist-types/commands/SendTemplatedEmailCommand.d.ts +174 -0
  166. package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +95 -0
  167. package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +100 -0
  168. package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +97 -0
  169. package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +94 -0
  170. package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +97 -0
  171. package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +97 -0
  172. package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +98 -0
  173. package/dist-types/commands/TestRenderTemplateCommand.d.ts +90 -0
  174. package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +90 -0
  175. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +124 -0
  176. package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +94 -0
  177. package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +95 -0
  178. package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +98 -0
  179. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +92 -0
  180. package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +183 -0
  181. package/dist-types/commands/UpdateTemplateCommand.d.ts +88 -0
  182. package/dist-types/commands/VerifyDomainDkimCommand.d.ts +133 -0
  183. package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +94 -0
  184. package/dist-types/commands/VerifyEmailAddressCommand.d.ts +86 -0
  185. package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +88 -0
  186. package/dist-types/commands/index.d.ts +71 -0
  187. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  188. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  189. package/dist-types/endpoint/ruleset.d.ts +2 -0
  190. package/dist-types/extensionConfiguration.d.ts +9 -0
  191. package/dist-types/index.d.ts +51 -0
  192. package/dist-types/models/SESServiceException.d.ts +14 -0
  193. package/dist-types/models/enums.d.ts +225 -0
  194. package/dist-types/models/errors.d.ts +588 -0
  195. package/dist-types/models/models_0.d.ts +3848 -0
  196. package/dist-types/pagination/Interfaces.d.ts +8 -0
  197. package/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +7 -0
  198. package/dist-types/pagination/ListIdentitiesPaginator.d.ts +7 -0
  199. package/dist-types/pagination/index.d.ts +3 -0
  200. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  201. package/dist-types/runtimeConfig.d.ts +55 -0
  202. package/dist-types/runtimeConfig.native.d.ts +54 -0
  203. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  204. package/dist-types/runtimeExtensions.d.ts +17 -0
  205. package/dist-types/schemas/schemas_0.d.ts +286 -0
  206. package/dist-types/ts3.4/SES.d.ts +1368 -0
  207. package/dist-types/ts3.4/SESClient.d.ts +542 -0
  208. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  209. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  210. package/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +51 -0
  213. package/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +51 -0
  214. package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +47 -0
  215. package/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +51 -0
  216. package/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +50 -0
  219. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +51 -0
  221. package/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +51 -0
  222. package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +47 -0
  223. package/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +50 -0
  224. package/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +51 -0
  225. package/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +51 -0
  226. package/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +51 -0
  227. package/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +51 -0
  228. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +50 -0
  229. package/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +47 -0
  230. package/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +51 -0
  232. package/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +51 -0
  234. package/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +47 -0
  235. package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +51 -0
  236. package/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +51 -0
  237. package/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +51 -0
  238. package/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +51 -0
  239. package/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +51 -0
  240. package/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +51 -0
  241. package/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +47 -0
  242. package/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +47 -0
  243. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +47 -0
  244. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +51 -0
  245. package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +51 -0
  246. package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +50 -0
  247. package/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +51 -0
  248. package/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +51 -0
  249. package/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +51 -0
  250. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +50 -0
  251. package/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +47 -0
  252. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +51 -0
  253. package/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +51 -0
  254. package/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +51 -0
  255. package/dist-types/ts3.4/commands/SendBounceCommand.d.ts +47 -0
  256. package/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +51 -0
  257. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +51 -0
  258. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +47 -0
  259. package/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +47 -0
  260. package/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +51 -0
  261. package/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +51 -0
  262. package/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +51 -0
  263. package/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +51 -0
  264. package/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +51 -0
  265. package/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +51 -0
  266. package/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +51 -0
  267. package/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +51 -0
  268. package/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +51 -0
  269. package/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +47 -0
  270. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +51 -0
  271. package/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +47 -0
  272. package/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +47 -0
  273. package/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +51 -0
  274. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +47 -0
  275. package/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +51 -0
  276. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +50 -0
  277. package/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +50 -0
  278. package/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +51 -0
  279. package/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +46 -0
  280. package/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +51 -0
  281. package/dist-types/ts3.4/commands/index.d.ts +71 -0
  282. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  283. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  284. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  285. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  286. package/dist-types/ts3.4/index.d.ts +13 -0
  287. package/dist-types/ts3.4/models/SESServiceException.d.ts +9 -0
  288. package/dist-types/ts3.4/models/enums.d.ts +123 -0
  289. package/dist-types/ts3.4/models/errors.d.ts +330 -0
  290. package/dist-types/ts3.4/models/models_0.d.ts +665 -0
  291. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  292. package/dist-types/ts3.4/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +11 -0
  293. package/dist-types/ts3.4/pagination/ListIdentitiesPaginator.d.ts +11 -0
  294. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  295. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  296. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  297. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  298. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  299. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  300. package/dist-types/ts3.4/schemas/schemas_0.d.ts +285 -0
  301. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  302. package/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +11 -0
  303. package/dist-types/waiters/index.d.ts +1 -0
  304. package/dist-types/waiters/waitForIdentityExists.d.ts +14 -0
  305. package/package.json +122 -0
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SESServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class SESServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, SESServiceException.prototype);
10
+ }
11
+ }
12
+ exports.SESServiceException = SESServiceException;
@@ -0,0 +1,504 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductionAccessNotGrantedException = exports.MissingRenderingAttributeException = exports.MessageRejected = exports.MailFromDomainNotVerifiedException = exports.InvalidRenderingParameterException = exports.InvalidPolicyException = exports.InvalidDeliveryOptionsException = exports.TemplateDoesNotExistException = exports.TrackingOptionsDoesNotExistException = exports.EventDestinationDoesNotExistException = exports.CustomVerificationEmailTemplateDoesNotExistException = exports.InvalidTemplateException = exports.RuleDoesNotExistException = exports.InvalidSnsTopicException = exports.InvalidS3ConfigurationException = exports.InvalidLambdaFunctionException = exports.FromEmailAddressNotVerifiedException = exports.CustomVerificationEmailTemplateAlreadyExistsException = exports.CustomVerificationEmailInvalidContentException = exports.TrackingOptionsAlreadyExistsException = exports.InvalidTrackingOptionsException = exports.InvalidSNSDestinationException = exports.InvalidFirehoseDestinationException = exports.InvalidCloudWatchDestinationException = exports.EventDestinationAlreadyExistsException = exports.InvalidConfigurationSetException = exports.ConfigurationSetSendingPausedException = exports.ConfigurationSetDoesNotExistException = exports.ConfigurationSetAlreadyExistsException = exports.RuleSetDoesNotExistException = exports.LimitExceededException = exports.CannotDeleteException = exports.AlreadyExistsException = exports.AccountSendingPausedException = void 0;
4
+ const SESServiceException_1 = require("./SESServiceException");
5
+ class AccountSendingPausedException extends SESServiceException_1.SESServiceException {
6
+ name = "AccountSendingPausedException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccountSendingPausedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccountSendingPausedException.prototype);
15
+ }
16
+ }
17
+ exports.AccountSendingPausedException = AccountSendingPausedException;
18
+ class AlreadyExistsException extends SESServiceException_1.SESServiceException {
19
+ name = "AlreadyExistsException";
20
+ $fault = "client";
21
+ Name;
22
+ constructor(opts) {
23
+ super({
24
+ name: "AlreadyExistsException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
29
+ this.Name = opts.Name;
30
+ }
31
+ }
32
+ exports.AlreadyExistsException = AlreadyExistsException;
33
+ class CannotDeleteException extends SESServiceException_1.SESServiceException {
34
+ name = "CannotDeleteException";
35
+ $fault = "client";
36
+ Name;
37
+ constructor(opts) {
38
+ super({
39
+ name: "CannotDeleteException",
40
+ $fault: "client",
41
+ ...opts,
42
+ });
43
+ Object.setPrototypeOf(this, CannotDeleteException.prototype);
44
+ this.Name = opts.Name;
45
+ }
46
+ }
47
+ exports.CannotDeleteException = CannotDeleteException;
48
+ class LimitExceededException extends SESServiceException_1.SESServiceException {
49
+ name = "LimitExceededException";
50
+ $fault = "client";
51
+ constructor(opts) {
52
+ super({
53
+ name: "LimitExceededException",
54
+ $fault: "client",
55
+ ...opts,
56
+ });
57
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
58
+ }
59
+ }
60
+ exports.LimitExceededException = LimitExceededException;
61
+ class RuleSetDoesNotExistException extends SESServiceException_1.SESServiceException {
62
+ name = "RuleSetDoesNotExistException";
63
+ $fault = "client";
64
+ Name;
65
+ constructor(opts) {
66
+ super({
67
+ name: "RuleSetDoesNotExistException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, RuleSetDoesNotExistException.prototype);
72
+ this.Name = opts.Name;
73
+ }
74
+ }
75
+ exports.RuleSetDoesNotExistException = RuleSetDoesNotExistException;
76
+ class ConfigurationSetAlreadyExistsException extends SESServiceException_1.SESServiceException {
77
+ name = "ConfigurationSetAlreadyExistsException";
78
+ $fault = "client";
79
+ ConfigurationSetName;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ConfigurationSetAlreadyExistsException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ConfigurationSetAlreadyExistsException.prototype);
87
+ this.ConfigurationSetName = opts.ConfigurationSetName;
88
+ }
89
+ }
90
+ exports.ConfigurationSetAlreadyExistsException = ConfigurationSetAlreadyExistsException;
91
+ class ConfigurationSetDoesNotExistException extends SESServiceException_1.SESServiceException {
92
+ name = "ConfigurationSetDoesNotExistException";
93
+ $fault = "client";
94
+ ConfigurationSetName;
95
+ constructor(opts) {
96
+ super({
97
+ name: "ConfigurationSetDoesNotExistException",
98
+ $fault: "client",
99
+ ...opts,
100
+ });
101
+ Object.setPrototypeOf(this, ConfigurationSetDoesNotExistException.prototype);
102
+ this.ConfigurationSetName = opts.ConfigurationSetName;
103
+ }
104
+ }
105
+ exports.ConfigurationSetDoesNotExistException = ConfigurationSetDoesNotExistException;
106
+ class ConfigurationSetSendingPausedException extends SESServiceException_1.SESServiceException {
107
+ name = "ConfigurationSetSendingPausedException";
108
+ $fault = "client";
109
+ ConfigurationSetName;
110
+ constructor(opts) {
111
+ super({
112
+ name: "ConfigurationSetSendingPausedException",
113
+ $fault: "client",
114
+ ...opts,
115
+ });
116
+ Object.setPrototypeOf(this, ConfigurationSetSendingPausedException.prototype);
117
+ this.ConfigurationSetName = opts.ConfigurationSetName;
118
+ }
119
+ }
120
+ exports.ConfigurationSetSendingPausedException = ConfigurationSetSendingPausedException;
121
+ class InvalidConfigurationSetException extends SESServiceException_1.SESServiceException {
122
+ name = "InvalidConfigurationSetException";
123
+ $fault = "client";
124
+ constructor(opts) {
125
+ super({
126
+ name: "InvalidConfigurationSetException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ Object.setPrototypeOf(this, InvalidConfigurationSetException.prototype);
131
+ }
132
+ }
133
+ exports.InvalidConfigurationSetException = InvalidConfigurationSetException;
134
+ class EventDestinationAlreadyExistsException extends SESServiceException_1.SESServiceException {
135
+ name = "EventDestinationAlreadyExistsException";
136
+ $fault = "client";
137
+ ConfigurationSetName;
138
+ EventDestinationName;
139
+ constructor(opts) {
140
+ super({
141
+ name: "EventDestinationAlreadyExistsException",
142
+ $fault: "client",
143
+ ...opts,
144
+ });
145
+ Object.setPrototypeOf(this, EventDestinationAlreadyExistsException.prototype);
146
+ this.ConfigurationSetName = opts.ConfigurationSetName;
147
+ this.EventDestinationName = opts.EventDestinationName;
148
+ }
149
+ }
150
+ exports.EventDestinationAlreadyExistsException = EventDestinationAlreadyExistsException;
151
+ class InvalidCloudWatchDestinationException extends SESServiceException_1.SESServiceException {
152
+ name = "InvalidCloudWatchDestinationException";
153
+ $fault = "client";
154
+ ConfigurationSetName;
155
+ EventDestinationName;
156
+ constructor(opts) {
157
+ super({
158
+ name: "InvalidCloudWatchDestinationException",
159
+ $fault: "client",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, InvalidCloudWatchDestinationException.prototype);
163
+ this.ConfigurationSetName = opts.ConfigurationSetName;
164
+ this.EventDestinationName = opts.EventDestinationName;
165
+ }
166
+ }
167
+ exports.InvalidCloudWatchDestinationException = InvalidCloudWatchDestinationException;
168
+ class InvalidFirehoseDestinationException extends SESServiceException_1.SESServiceException {
169
+ name = "InvalidFirehoseDestinationException";
170
+ $fault = "client";
171
+ ConfigurationSetName;
172
+ EventDestinationName;
173
+ constructor(opts) {
174
+ super({
175
+ name: "InvalidFirehoseDestinationException",
176
+ $fault: "client",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, InvalidFirehoseDestinationException.prototype);
180
+ this.ConfigurationSetName = opts.ConfigurationSetName;
181
+ this.EventDestinationName = opts.EventDestinationName;
182
+ }
183
+ }
184
+ exports.InvalidFirehoseDestinationException = InvalidFirehoseDestinationException;
185
+ class InvalidSNSDestinationException extends SESServiceException_1.SESServiceException {
186
+ name = "InvalidSNSDestinationException";
187
+ $fault = "client";
188
+ ConfigurationSetName;
189
+ EventDestinationName;
190
+ constructor(opts) {
191
+ super({
192
+ name: "InvalidSNSDestinationException",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, InvalidSNSDestinationException.prototype);
197
+ this.ConfigurationSetName = opts.ConfigurationSetName;
198
+ this.EventDestinationName = opts.EventDestinationName;
199
+ }
200
+ }
201
+ exports.InvalidSNSDestinationException = InvalidSNSDestinationException;
202
+ class InvalidTrackingOptionsException extends SESServiceException_1.SESServiceException {
203
+ name = "InvalidTrackingOptionsException";
204
+ $fault = "client";
205
+ constructor(opts) {
206
+ super({
207
+ name: "InvalidTrackingOptionsException",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, InvalidTrackingOptionsException.prototype);
212
+ }
213
+ }
214
+ exports.InvalidTrackingOptionsException = InvalidTrackingOptionsException;
215
+ class TrackingOptionsAlreadyExistsException extends SESServiceException_1.SESServiceException {
216
+ name = "TrackingOptionsAlreadyExistsException";
217
+ $fault = "client";
218
+ ConfigurationSetName;
219
+ constructor(opts) {
220
+ super({
221
+ name: "TrackingOptionsAlreadyExistsException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, TrackingOptionsAlreadyExistsException.prototype);
226
+ this.ConfigurationSetName = opts.ConfigurationSetName;
227
+ }
228
+ }
229
+ exports.TrackingOptionsAlreadyExistsException = TrackingOptionsAlreadyExistsException;
230
+ class CustomVerificationEmailInvalidContentException extends SESServiceException_1.SESServiceException {
231
+ name = "CustomVerificationEmailInvalidContentException";
232
+ $fault = "client";
233
+ constructor(opts) {
234
+ super({
235
+ name: "CustomVerificationEmailInvalidContentException",
236
+ $fault: "client",
237
+ ...opts,
238
+ });
239
+ Object.setPrototypeOf(this, CustomVerificationEmailInvalidContentException.prototype);
240
+ }
241
+ }
242
+ exports.CustomVerificationEmailInvalidContentException = CustomVerificationEmailInvalidContentException;
243
+ class CustomVerificationEmailTemplateAlreadyExistsException extends SESServiceException_1.SESServiceException {
244
+ name = "CustomVerificationEmailTemplateAlreadyExistsException";
245
+ $fault = "client";
246
+ CustomVerificationEmailTemplateName;
247
+ constructor(opts) {
248
+ super({
249
+ name: "CustomVerificationEmailTemplateAlreadyExistsException",
250
+ $fault: "client",
251
+ ...opts,
252
+ });
253
+ Object.setPrototypeOf(this, CustomVerificationEmailTemplateAlreadyExistsException.prototype);
254
+ this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
255
+ }
256
+ }
257
+ exports.CustomVerificationEmailTemplateAlreadyExistsException = CustomVerificationEmailTemplateAlreadyExistsException;
258
+ class FromEmailAddressNotVerifiedException extends SESServiceException_1.SESServiceException {
259
+ name = "FromEmailAddressNotVerifiedException";
260
+ $fault = "client";
261
+ FromEmailAddress;
262
+ constructor(opts) {
263
+ super({
264
+ name: "FromEmailAddressNotVerifiedException",
265
+ $fault: "client",
266
+ ...opts,
267
+ });
268
+ Object.setPrototypeOf(this, FromEmailAddressNotVerifiedException.prototype);
269
+ this.FromEmailAddress = opts.FromEmailAddress;
270
+ }
271
+ }
272
+ exports.FromEmailAddressNotVerifiedException = FromEmailAddressNotVerifiedException;
273
+ class InvalidLambdaFunctionException extends SESServiceException_1.SESServiceException {
274
+ name = "InvalidLambdaFunctionException";
275
+ $fault = "client";
276
+ FunctionArn;
277
+ constructor(opts) {
278
+ super({
279
+ name: "InvalidLambdaFunctionException",
280
+ $fault: "client",
281
+ ...opts,
282
+ });
283
+ Object.setPrototypeOf(this, InvalidLambdaFunctionException.prototype);
284
+ this.FunctionArn = opts.FunctionArn;
285
+ }
286
+ }
287
+ exports.InvalidLambdaFunctionException = InvalidLambdaFunctionException;
288
+ class InvalidS3ConfigurationException extends SESServiceException_1.SESServiceException {
289
+ name = "InvalidS3ConfigurationException";
290
+ $fault = "client";
291
+ Bucket;
292
+ constructor(opts) {
293
+ super({
294
+ name: "InvalidS3ConfigurationException",
295
+ $fault: "client",
296
+ ...opts,
297
+ });
298
+ Object.setPrototypeOf(this, InvalidS3ConfigurationException.prototype);
299
+ this.Bucket = opts.Bucket;
300
+ }
301
+ }
302
+ exports.InvalidS3ConfigurationException = InvalidS3ConfigurationException;
303
+ class InvalidSnsTopicException extends SESServiceException_1.SESServiceException {
304
+ name = "InvalidSnsTopicException";
305
+ $fault = "client";
306
+ Topic;
307
+ constructor(opts) {
308
+ super({
309
+ name: "InvalidSnsTopicException",
310
+ $fault: "client",
311
+ ...opts,
312
+ });
313
+ Object.setPrototypeOf(this, InvalidSnsTopicException.prototype);
314
+ this.Topic = opts.Topic;
315
+ }
316
+ }
317
+ exports.InvalidSnsTopicException = InvalidSnsTopicException;
318
+ class RuleDoesNotExistException extends SESServiceException_1.SESServiceException {
319
+ name = "RuleDoesNotExistException";
320
+ $fault = "client";
321
+ Name;
322
+ constructor(opts) {
323
+ super({
324
+ name: "RuleDoesNotExistException",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ Object.setPrototypeOf(this, RuleDoesNotExistException.prototype);
329
+ this.Name = opts.Name;
330
+ }
331
+ }
332
+ exports.RuleDoesNotExistException = RuleDoesNotExistException;
333
+ class InvalidTemplateException extends SESServiceException_1.SESServiceException {
334
+ name = "InvalidTemplateException";
335
+ $fault = "client";
336
+ TemplateName;
337
+ constructor(opts) {
338
+ super({
339
+ name: "InvalidTemplateException",
340
+ $fault: "client",
341
+ ...opts,
342
+ });
343
+ Object.setPrototypeOf(this, InvalidTemplateException.prototype);
344
+ this.TemplateName = opts.TemplateName;
345
+ }
346
+ }
347
+ exports.InvalidTemplateException = InvalidTemplateException;
348
+ class CustomVerificationEmailTemplateDoesNotExistException extends SESServiceException_1.SESServiceException {
349
+ name = "CustomVerificationEmailTemplateDoesNotExistException";
350
+ $fault = "client";
351
+ CustomVerificationEmailTemplateName;
352
+ constructor(opts) {
353
+ super({
354
+ name: "CustomVerificationEmailTemplateDoesNotExistException",
355
+ $fault: "client",
356
+ ...opts,
357
+ });
358
+ Object.setPrototypeOf(this, CustomVerificationEmailTemplateDoesNotExistException.prototype);
359
+ this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
360
+ }
361
+ }
362
+ exports.CustomVerificationEmailTemplateDoesNotExistException = CustomVerificationEmailTemplateDoesNotExistException;
363
+ class EventDestinationDoesNotExistException extends SESServiceException_1.SESServiceException {
364
+ name = "EventDestinationDoesNotExistException";
365
+ $fault = "client";
366
+ ConfigurationSetName;
367
+ EventDestinationName;
368
+ constructor(opts) {
369
+ super({
370
+ name: "EventDestinationDoesNotExistException",
371
+ $fault: "client",
372
+ ...opts,
373
+ });
374
+ Object.setPrototypeOf(this, EventDestinationDoesNotExistException.prototype);
375
+ this.ConfigurationSetName = opts.ConfigurationSetName;
376
+ this.EventDestinationName = opts.EventDestinationName;
377
+ }
378
+ }
379
+ exports.EventDestinationDoesNotExistException = EventDestinationDoesNotExistException;
380
+ class TrackingOptionsDoesNotExistException extends SESServiceException_1.SESServiceException {
381
+ name = "TrackingOptionsDoesNotExistException";
382
+ $fault = "client";
383
+ ConfigurationSetName;
384
+ constructor(opts) {
385
+ super({
386
+ name: "TrackingOptionsDoesNotExistException",
387
+ $fault: "client",
388
+ ...opts,
389
+ });
390
+ Object.setPrototypeOf(this, TrackingOptionsDoesNotExistException.prototype);
391
+ this.ConfigurationSetName = opts.ConfigurationSetName;
392
+ }
393
+ }
394
+ exports.TrackingOptionsDoesNotExistException = TrackingOptionsDoesNotExistException;
395
+ class TemplateDoesNotExistException extends SESServiceException_1.SESServiceException {
396
+ name = "TemplateDoesNotExistException";
397
+ $fault = "client";
398
+ TemplateName;
399
+ constructor(opts) {
400
+ super({
401
+ name: "TemplateDoesNotExistException",
402
+ $fault: "client",
403
+ ...opts,
404
+ });
405
+ Object.setPrototypeOf(this, TemplateDoesNotExistException.prototype);
406
+ this.TemplateName = opts.TemplateName;
407
+ }
408
+ }
409
+ exports.TemplateDoesNotExistException = TemplateDoesNotExistException;
410
+ class InvalidDeliveryOptionsException extends SESServiceException_1.SESServiceException {
411
+ name = "InvalidDeliveryOptionsException";
412
+ $fault = "client";
413
+ constructor(opts) {
414
+ super({
415
+ name: "InvalidDeliveryOptionsException",
416
+ $fault: "client",
417
+ ...opts,
418
+ });
419
+ Object.setPrototypeOf(this, InvalidDeliveryOptionsException.prototype);
420
+ }
421
+ }
422
+ exports.InvalidDeliveryOptionsException = InvalidDeliveryOptionsException;
423
+ class InvalidPolicyException extends SESServiceException_1.SESServiceException {
424
+ name = "InvalidPolicyException";
425
+ $fault = "client";
426
+ constructor(opts) {
427
+ super({
428
+ name: "InvalidPolicyException",
429
+ $fault: "client",
430
+ ...opts,
431
+ });
432
+ Object.setPrototypeOf(this, InvalidPolicyException.prototype);
433
+ }
434
+ }
435
+ exports.InvalidPolicyException = InvalidPolicyException;
436
+ class InvalidRenderingParameterException extends SESServiceException_1.SESServiceException {
437
+ name = "InvalidRenderingParameterException";
438
+ $fault = "client";
439
+ TemplateName;
440
+ constructor(opts) {
441
+ super({
442
+ name: "InvalidRenderingParameterException",
443
+ $fault: "client",
444
+ ...opts,
445
+ });
446
+ Object.setPrototypeOf(this, InvalidRenderingParameterException.prototype);
447
+ this.TemplateName = opts.TemplateName;
448
+ }
449
+ }
450
+ exports.InvalidRenderingParameterException = InvalidRenderingParameterException;
451
+ class MailFromDomainNotVerifiedException extends SESServiceException_1.SESServiceException {
452
+ name = "MailFromDomainNotVerifiedException";
453
+ $fault = "client";
454
+ constructor(opts) {
455
+ super({
456
+ name: "MailFromDomainNotVerifiedException",
457
+ $fault: "client",
458
+ ...opts,
459
+ });
460
+ Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
461
+ }
462
+ }
463
+ exports.MailFromDomainNotVerifiedException = MailFromDomainNotVerifiedException;
464
+ class MessageRejected extends SESServiceException_1.SESServiceException {
465
+ name = "MessageRejected";
466
+ $fault = "client";
467
+ constructor(opts) {
468
+ super({
469
+ name: "MessageRejected",
470
+ $fault: "client",
471
+ ...opts,
472
+ });
473
+ Object.setPrototypeOf(this, MessageRejected.prototype);
474
+ }
475
+ }
476
+ exports.MessageRejected = MessageRejected;
477
+ class MissingRenderingAttributeException extends SESServiceException_1.SESServiceException {
478
+ name = "MissingRenderingAttributeException";
479
+ $fault = "client";
480
+ TemplateName;
481
+ constructor(opts) {
482
+ super({
483
+ name: "MissingRenderingAttributeException",
484
+ $fault: "client",
485
+ ...opts,
486
+ });
487
+ Object.setPrototypeOf(this, MissingRenderingAttributeException.prototype);
488
+ this.TemplateName = opts.TemplateName;
489
+ }
490
+ }
491
+ exports.MissingRenderingAttributeException = MissingRenderingAttributeException;
492
+ class ProductionAccessNotGrantedException extends SESServiceException_1.SESServiceException {
493
+ name = "ProductionAccessNotGrantedException";
494
+ $fault = "client";
495
+ constructor(opts) {
496
+ super({
497
+ name: "ProductionAccessNotGrantedException",
498
+ $fault: "client",
499
+ ...opts,
500
+ });
501
+ Object.setPrototypeOf(this, ProductionAccessNotGrantedException.prototype);
502
+ }
503
+ }
504
+ exports.ProductionAccessNotGrantedException = ProductionAccessNotGrantedException;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
12
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
14
+ const util_retry_1 = require("@smithy/util-retry");
15
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
29
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
30
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
31
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
32
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
33
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
34
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ };
37
+ };
38
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const core_1 = require("@aws-sdk/core");
7
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
17
+ const util_retry_1 = require("@smithy/util-retry");
18
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
+ const getRuntimeConfig = (config) => {
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
21
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
22
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
24
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
25
+ const loaderConfig = {
26
+ profile: config?.profile,
27
+ logger: clientSharedValues.logger,
28
+ };
29
+ return {
30
+ ...clientSharedValues,
31
+ ...config,
32
+ runtime: "node",
33
+ defaultsMode,
34
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
38
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
40
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
41
+ retryMode: config?.retryMode ??
42
+ (0, node_config_provider_1.loadConfig)({
43
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
44
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
45
+ }, config),
46
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
47
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
48
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
49
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
50
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
51
+ };
52
+ };
53
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const url_parser_1 = require("@smithy/url-parser");
8
+ const util_base64_1 = require("@smithy/util-base64");
9
+ const util_utf8_1 = require("@smithy/util-utf8");
10
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
13
+ const getRuntimeConfig = (config) => {
14
+ return {
15
+ apiVersion: "2010-12-01",
16
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
17
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
18
+ disableHostPrefix: config?.disableHostPrefix ?? false,
19
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
20
+ extensions: config?.extensions ?? [],
21
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSESHttpAuthSchemeProvider,
22
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
23
+ {
24
+ schemeId: "aws.auth#sigv4",
25
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
26
+ signer: new core_1.AwsSdkSigV4Signer(),
27
+ },
28
+ ],
29
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
30
+ protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
31
+ protocolSettings: config?.protocolSettings ?? {
32
+ defaultNamespace: "com.amazonaws.ses",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
34
+ xmlNamespace: "http://ses.amazonaws.com/doc/2010-12-01/",
35
+ version: "2010-12-01",
36
+ serviceTarget: "SimpleEmailService",
37
+ },
38
+ serviceId: config?.serviceId ?? "SES",
39
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
40
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
41
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
42
+ };
43
+ };
44
+ exports.getRuntimeConfig = getRuntimeConfig;