@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,467 @@
1
+ import { SESServiceException as __BaseException } from "./SESServiceException";
2
+ export class AccountSendingPausedException extends __BaseException {
3
+ name = "AccountSendingPausedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccountSendingPausedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccountSendingPausedException.prototype);
12
+ }
13
+ }
14
+ export class AlreadyExistsException extends __BaseException {
15
+ name = "AlreadyExistsException";
16
+ $fault = "client";
17
+ Name;
18
+ constructor(opts) {
19
+ super({
20
+ name: "AlreadyExistsException",
21
+ $fault: "client",
22
+ ...opts,
23
+ });
24
+ Object.setPrototypeOf(this, AlreadyExistsException.prototype);
25
+ this.Name = opts.Name;
26
+ }
27
+ }
28
+ export class CannotDeleteException extends __BaseException {
29
+ name = "CannotDeleteException";
30
+ $fault = "client";
31
+ Name;
32
+ constructor(opts) {
33
+ super({
34
+ name: "CannotDeleteException",
35
+ $fault: "client",
36
+ ...opts,
37
+ });
38
+ Object.setPrototypeOf(this, CannotDeleteException.prototype);
39
+ this.Name = opts.Name;
40
+ }
41
+ }
42
+ export class LimitExceededException extends __BaseException {
43
+ name = "LimitExceededException";
44
+ $fault = "client";
45
+ constructor(opts) {
46
+ super({
47
+ name: "LimitExceededException",
48
+ $fault: "client",
49
+ ...opts,
50
+ });
51
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
52
+ }
53
+ }
54
+ export class RuleSetDoesNotExistException extends __BaseException {
55
+ name = "RuleSetDoesNotExistException";
56
+ $fault = "client";
57
+ Name;
58
+ constructor(opts) {
59
+ super({
60
+ name: "RuleSetDoesNotExistException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ Object.setPrototypeOf(this, RuleSetDoesNotExistException.prototype);
65
+ this.Name = opts.Name;
66
+ }
67
+ }
68
+ export class ConfigurationSetAlreadyExistsException extends __BaseException {
69
+ name = "ConfigurationSetAlreadyExistsException";
70
+ $fault = "client";
71
+ ConfigurationSetName;
72
+ constructor(opts) {
73
+ super({
74
+ name: "ConfigurationSetAlreadyExistsException",
75
+ $fault: "client",
76
+ ...opts,
77
+ });
78
+ Object.setPrototypeOf(this, ConfigurationSetAlreadyExistsException.prototype);
79
+ this.ConfigurationSetName = opts.ConfigurationSetName;
80
+ }
81
+ }
82
+ export class ConfigurationSetDoesNotExistException extends __BaseException {
83
+ name = "ConfigurationSetDoesNotExistException";
84
+ $fault = "client";
85
+ ConfigurationSetName;
86
+ constructor(opts) {
87
+ super({
88
+ name: "ConfigurationSetDoesNotExistException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ConfigurationSetDoesNotExistException.prototype);
93
+ this.ConfigurationSetName = opts.ConfigurationSetName;
94
+ }
95
+ }
96
+ export class ConfigurationSetSendingPausedException extends __BaseException {
97
+ name = "ConfigurationSetSendingPausedException";
98
+ $fault = "client";
99
+ ConfigurationSetName;
100
+ constructor(opts) {
101
+ super({
102
+ name: "ConfigurationSetSendingPausedException",
103
+ $fault: "client",
104
+ ...opts,
105
+ });
106
+ Object.setPrototypeOf(this, ConfigurationSetSendingPausedException.prototype);
107
+ this.ConfigurationSetName = opts.ConfigurationSetName;
108
+ }
109
+ }
110
+ export class InvalidConfigurationSetException extends __BaseException {
111
+ name = "InvalidConfigurationSetException";
112
+ $fault = "client";
113
+ constructor(opts) {
114
+ super({
115
+ name: "InvalidConfigurationSetException",
116
+ $fault: "client",
117
+ ...opts,
118
+ });
119
+ Object.setPrototypeOf(this, InvalidConfigurationSetException.prototype);
120
+ }
121
+ }
122
+ export class EventDestinationAlreadyExistsException extends __BaseException {
123
+ name = "EventDestinationAlreadyExistsException";
124
+ $fault = "client";
125
+ ConfigurationSetName;
126
+ EventDestinationName;
127
+ constructor(opts) {
128
+ super({
129
+ name: "EventDestinationAlreadyExistsException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ Object.setPrototypeOf(this, EventDestinationAlreadyExistsException.prototype);
134
+ this.ConfigurationSetName = opts.ConfigurationSetName;
135
+ this.EventDestinationName = opts.EventDestinationName;
136
+ }
137
+ }
138
+ export class InvalidCloudWatchDestinationException extends __BaseException {
139
+ name = "InvalidCloudWatchDestinationException";
140
+ $fault = "client";
141
+ ConfigurationSetName;
142
+ EventDestinationName;
143
+ constructor(opts) {
144
+ super({
145
+ name: "InvalidCloudWatchDestinationException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, InvalidCloudWatchDestinationException.prototype);
150
+ this.ConfigurationSetName = opts.ConfigurationSetName;
151
+ this.EventDestinationName = opts.EventDestinationName;
152
+ }
153
+ }
154
+ export class InvalidFirehoseDestinationException extends __BaseException {
155
+ name = "InvalidFirehoseDestinationException";
156
+ $fault = "client";
157
+ ConfigurationSetName;
158
+ EventDestinationName;
159
+ constructor(opts) {
160
+ super({
161
+ name: "InvalidFirehoseDestinationException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, InvalidFirehoseDestinationException.prototype);
166
+ this.ConfigurationSetName = opts.ConfigurationSetName;
167
+ this.EventDestinationName = opts.EventDestinationName;
168
+ }
169
+ }
170
+ export class InvalidSNSDestinationException extends __BaseException {
171
+ name = "InvalidSNSDestinationException";
172
+ $fault = "client";
173
+ ConfigurationSetName;
174
+ EventDestinationName;
175
+ constructor(opts) {
176
+ super({
177
+ name: "InvalidSNSDestinationException",
178
+ $fault: "client",
179
+ ...opts,
180
+ });
181
+ Object.setPrototypeOf(this, InvalidSNSDestinationException.prototype);
182
+ this.ConfigurationSetName = opts.ConfigurationSetName;
183
+ this.EventDestinationName = opts.EventDestinationName;
184
+ }
185
+ }
186
+ export class InvalidTrackingOptionsException extends __BaseException {
187
+ name = "InvalidTrackingOptionsException";
188
+ $fault = "client";
189
+ constructor(opts) {
190
+ super({
191
+ name: "InvalidTrackingOptionsException",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ Object.setPrototypeOf(this, InvalidTrackingOptionsException.prototype);
196
+ }
197
+ }
198
+ export class TrackingOptionsAlreadyExistsException extends __BaseException {
199
+ name = "TrackingOptionsAlreadyExistsException";
200
+ $fault = "client";
201
+ ConfigurationSetName;
202
+ constructor(opts) {
203
+ super({
204
+ name: "TrackingOptionsAlreadyExistsException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, TrackingOptionsAlreadyExistsException.prototype);
209
+ this.ConfigurationSetName = opts.ConfigurationSetName;
210
+ }
211
+ }
212
+ export class CustomVerificationEmailInvalidContentException extends __BaseException {
213
+ name = "CustomVerificationEmailInvalidContentException";
214
+ $fault = "client";
215
+ constructor(opts) {
216
+ super({
217
+ name: "CustomVerificationEmailInvalidContentException",
218
+ $fault: "client",
219
+ ...opts,
220
+ });
221
+ Object.setPrototypeOf(this, CustomVerificationEmailInvalidContentException.prototype);
222
+ }
223
+ }
224
+ export class CustomVerificationEmailTemplateAlreadyExistsException extends __BaseException {
225
+ name = "CustomVerificationEmailTemplateAlreadyExistsException";
226
+ $fault = "client";
227
+ CustomVerificationEmailTemplateName;
228
+ constructor(opts) {
229
+ super({
230
+ name: "CustomVerificationEmailTemplateAlreadyExistsException",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ Object.setPrototypeOf(this, CustomVerificationEmailTemplateAlreadyExistsException.prototype);
235
+ this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
236
+ }
237
+ }
238
+ export class FromEmailAddressNotVerifiedException extends __BaseException {
239
+ name = "FromEmailAddressNotVerifiedException";
240
+ $fault = "client";
241
+ FromEmailAddress;
242
+ constructor(opts) {
243
+ super({
244
+ name: "FromEmailAddressNotVerifiedException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, FromEmailAddressNotVerifiedException.prototype);
249
+ this.FromEmailAddress = opts.FromEmailAddress;
250
+ }
251
+ }
252
+ export class InvalidLambdaFunctionException extends __BaseException {
253
+ name = "InvalidLambdaFunctionException";
254
+ $fault = "client";
255
+ FunctionArn;
256
+ constructor(opts) {
257
+ super({
258
+ name: "InvalidLambdaFunctionException",
259
+ $fault: "client",
260
+ ...opts,
261
+ });
262
+ Object.setPrototypeOf(this, InvalidLambdaFunctionException.prototype);
263
+ this.FunctionArn = opts.FunctionArn;
264
+ }
265
+ }
266
+ export class InvalidS3ConfigurationException extends __BaseException {
267
+ name = "InvalidS3ConfigurationException";
268
+ $fault = "client";
269
+ Bucket;
270
+ constructor(opts) {
271
+ super({
272
+ name: "InvalidS3ConfigurationException",
273
+ $fault: "client",
274
+ ...opts,
275
+ });
276
+ Object.setPrototypeOf(this, InvalidS3ConfigurationException.prototype);
277
+ this.Bucket = opts.Bucket;
278
+ }
279
+ }
280
+ export class InvalidSnsTopicException extends __BaseException {
281
+ name = "InvalidSnsTopicException";
282
+ $fault = "client";
283
+ Topic;
284
+ constructor(opts) {
285
+ super({
286
+ name: "InvalidSnsTopicException",
287
+ $fault: "client",
288
+ ...opts,
289
+ });
290
+ Object.setPrototypeOf(this, InvalidSnsTopicException.prototype);
291
+ this.Topic = opts.Topic;
292
+ }
293
+ }
294
+ export class RuleDoesNotExistException extends __BaseException {
295
+ name = "RuleDoesNotExistException";
296
+ $fault = "client";
297
+ Name;
298
+ constructor(opts) {
299
+ super({
300
+ name: "RuleDoesNotExistException",
301
+ $fault: "client",
302
+ ...opts,
303
+ });
304
+ Object.setPrototypeOf(this, RuleDoesNotExistException.prototype);
305
+ this.Name = opts.Name;
306
+ }
307
+ }
308
+ export class InvalidTemplateException extends __BaseException {
309
+ name = "InvalidTemplateException";
310
+ $fault = "client";
311
+ TemplateName;
312
+ constructor(opts) {
313
+ super({
314
+ name: "InvalidTemplateException",
315
+ $fault: "client",
316
+ ...opts,
317
+ });
318
+ Object.setPrototypeOf(this, InvalidTemplateException.prototype);
319
+ this.TemplateName = opts.TemplateName;
320
+ }
321
+ }
322
+ export class CustomVerificationEmailTemplateDoesNotExistException extends __BaseException {
323
+ name = "CustomVerificationEmailTemplateDoesNotExistException";
324
+ $fault = "client";
325
+ CustomVerificationEmailTemplateName;
326
+ constructor(opts) {
327
+ super({
328
+ name: "CustomVerificationEmailTemplateDoesNotExistException",
329
+ $fault: "client",
330
+ ...opts,
331
+ });
332
+ Object.setPrototypeOf(this, CustomVerificationEmailTemplateDoesNotExistException.prototype);
333
+ this.CustomVerificationEmailTemplateName = opts.CustomVerificationEmailTemplateName;
334
+ }
335
+ }
336
+ export class EventDestinationDoesNotExistException extends __BaseException {
337
+ name = "EventDestinationDoesNotExistException";
338
+ $fault = "client";
339
+ ConfigurationSetName;
340
+ EventDestinationName;
341
+ constructor(opts) {
342
+ super({
343
+ name: "EventDestinationDoesNotExistException",
344
+ $fault: "client",
345
+ ...opts,
346
+ });
347
+ Object.setPrototypeOf(this, EventDestinationDoesNotExistException.prototype);
348
+ this.ConfigurationSetName = opts.ConfigurationSetName;
349
+ this.EventDestinationName = opts.EventDestinationName;
350
+ }
351
+ }
352
+ export class TrackingOptionsDoesNotExistException extends __BaseException {
353
+ name = "TrackingOptionsDoesNotExistException";
354
+ $fault = "client";
355
+ ConfigurationSetName;
356
+ constructor(opts) {
357
+ super({
358
+ name: "TrackingOptionsDoesNotExistException",
359
+ $fault: "client",
360
+ ...opts,
361
+ });
362
+ Object.setPrototypeOf(this, TrackingOptionsDoesNotExistException.prototype);
363
+ this.ConfigurationSetName = opts.ConfigurationSetName;
364
+ }
365
+ }
366
+ export class TemplateDoesNotExistException extends __BaseException {
367
+ name = "TemplateDoesNotExistException";
368
+ $fault = "client";
369
+ TemplateName;
370
+ constructor(opts) {
371
+ super({
372
+ name: "TemplateDoesNotExistException",
373
+ $fault: "client",
374
+ ...opts,
375
+ });
376
+ Object.setPrototypeOf(this, TemplateDoesNotExistException.prototype);
377
+ this.TemplateName = opts.TemplateName;
378
+ }
379
+ }
380
+ export class InvalidDeliveryOptionsException extends __BaseException {
381
+ name = "InvalidDeliveryOptionsException";
382
+ $fault = "client";
383
+ constructor(opts) {
384
+ super({
385
+ name: "InvalidDeliveryOptionsException",
386
+ $fault: "client",
387
+ ...opts,
388
+ });
389
+ Object.setPrototypeOf(this, InvalidDeliveryOptionsException.prototype);
390
+ }
391
+ }
392
+ export class InvalidPolicyException extends __BaseException {
393
+ name = "InvalidPolicyException";
394
+ $fault = "client";
395
+ constructor(opts) {
396
+ super({
397
+ name: "InvalidPolicyException",
398
+ $fault: "client",
399
+ ...opts,
400
+ });
401
+ Object.setPrototypeOf(this, InvalidPolicyException.prototype);
402
+ }
403
+ }
404
+ export class InvalidRenderingParameterException extends __BaseException {
405
+ name = "InvalidRenderingParameterException";
406
+ $fault = "client";
407
+ TemplateName;
408
+ constructor(opts) {
409
+ super({
410
+ name: "InvalidRenderingParameterException",
411
+ $fault: "client",
412
+ ...opts,
413
+ });
414
+ Object.setPrototypeOf(this, InvalidRenderingParameterException.prototype);
415
+ this.TemplateName = opts.TemplateName;
416
+ }
417
+ }
418
+ export class MailFromDomainNotVerifiedException extends __BaseException {
419
+ name = "MailFromDomainNotVerifiedException";
420
+ $fault = "client";
421
+ constructor(opts) {
422
+ super({
423
+ name: "MailFromDomainNotVerifiedException",
424
+ $fault: "client",
425
+ ...opts,
426
+ });
427
+ Object.setPrototypeOf(this, MailFromDomainNotVerifiedException.prototype);
428
+ }
429
+ }
430
+ export class MessageRejected extends __BaseException {
431
+ name = "MessageRejected";
432
+ $fault = "client";
433
+ constructor(opts) {
434
+ super({
435
+ name: "MessageRejected",
436
+ $fault: "client",
437
+ ...opts,
438
+ });
439
+ Object.setPrototypeOf(this, MessageRejected.prototype);
440
+ }
441
+ }
442
+ export class MissingRenderingAttributeException extends __BaseException {
443
+ name = "MissingRenderingAttributeException";
444
+ $fault = "client";
445
+ TemplateName;
446
+ constructor(opts) {
447
+ super({
448
+ name: "MissingRenderingAttributeException",
449
+ $fault: "client",
450
+ ...opts,
451
+ });
452
+ Object.setPrototypeOf(this, MissingRenderingAttributeException.prototype);
453
+ this.TemplateName = opts.TemplateName;
454
+ }
455
+ }
456
+ export class ProductionAccessNotGrantedException extends __BaseException {
457
+ name = "ProductionAccessNotGrantedException";
458
+ $fault = "client";
459
+ constructor(opts) {
460
+ super({
461
+ name: "ProductionAccessNotGrantedException",
462
+ $fault: "client",
463
+ ...opts,
464
+ });
465
+ Object.setPrototypeOf(this, ProductionAccessNotGrantedException.prototype);
466
+ }
467
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCustomVerificationEmailTemplatesCommand, } from "../commands/ListCustomVerificationEmailTemplatesCommand";
3
+ import { SESClient } from "../SESClient";
4
+ export const paginateListCustomVerificationEmailTemplates = createPaginator(SESClient, ListCustomVerificationEmailTemplatesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListIdentitiesCommand, } from "../commands/ListIdentitiesCommand";
3
+ import { SESClient } from "../SESClient";
4
+ export const paginateListIdentities = createPaginator(SESClient, ListIdentitiesCommand, "NextToken", "NextToken", "MaxItems");
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListCustomVerificationEmailTemplatesPaginator";
3
+ export * from "./ListIdentitiesPaginator";
@@ -0,0 +1,33 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
+ export const getRuntimeConfig = (config) => {
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ return {
17
+ ...clientSharedValues,
18
+ ...config,
19
+ runtime: "browser",
20
+ defaultsMode,
21
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
24
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
25
+ region: config?.region ?? invalidProvider("Region is missing"),
26
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
27
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
28
+ sha256: config?.sha256 ?? Sha256,
29
+ streamCollector: config?.streamCollector ?? streamCollector,
30
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
31
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
32
+ };
33
+ };
@@ -0,0 +1,48 @@
1
+ import packageInfo from "../package.json";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
13
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ export const getRuntimeConfig = (config) => {
16
+ emitWarningIfUnsupportedVersion(process.version);
17
+ const defaultsMode = resolveDefaultsModeConfig(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
19
+ const clientSharedValues = getSharedRuntimeConfig(config);
20
+ awsCheckVersion(process.version);
21
+ const loaderConfig = {
22
+ profile: config?.profile,
23
+ logger: clientSharedValues.logger,
24
+ };
25
+ return {
26
+ ...clientSharedValues,
27
+ ...config,
28
+ runtime: "node",
29
+ defaultsMode,
30
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
34
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
+ retryMode: config?.retryMode ??
38
+ loadNodeConfig({
39
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
41
+ }, config),
42
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
43
+ streamCollector: config?.streamCollector ?? streamCollector,
44
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
+ };
48
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,40 @@
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
3
+ import { NoOpLogger } from "@smithy/smithy-client";
4
+ import { parseUrl } from "@smithy/url-parser";
5
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
+ import { defaultSESHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
+ export const getRuntimeConfig = (config) => {
11
+ return {
12
+ apiVersion: "2010-12-01",
13
+ base64Decoder: config?.base64Decoder ?? fromBase64,
14
+ base64Encoder: config?.base64Encoder ?? toBase64,
15
+ disableHostPrefix: config?.disableHostPrefix ?? false,
16
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
17
+ extensions: config?.extensions ?? [],
18
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSESHttpAuthSchemeProvider,
19
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
20
+ {
21
+ schemeId: "aws.auth#sigv4",
22
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
23
+ signer: new AwsSdkSigV4Signer(),
24
+ },
25
+ ],
26
+ logger: config?.logger ?? new NoOpLogger(),
27
+ protocol: config?.protocol ?? AwsQueryProtocol,
28
+ protocolSettings: config?.protocolSettings ?? {
29
+ defaultNamespace: "com.amazonaws.ses",
30
+ errorTypeRegistries,
31
+ xmlNamespace: "http://ses.amazonaws.com/doc/2010-12-01/",
32
+ version: "2010-12-01",
33
+ serviceTarget: "SimpleEmailService",
34
+ },
35
+ serviceId: config?.serviceId ?? "SES",
36
+ urlParser: config?.urlParser ?? parseUrl,
37
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
38
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
39
+ };
40
+ };
@@ -0,0 +1,9 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
7
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
9
+ };