@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 @@
1
+ export * from "./waitForIdentityExists";
@@ -0,0 +1,38 @@
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
+ import { GetIdentityVerificationAttributesCommand, } from "../commands/GetIdentityVerificationAttributesCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetIdentityVerificationAttributesCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ let objectProjection_2 = Object.values(result.VerificationAttributes).map((element_1) => {
11
+ return element_1.VerificationStatus;
12
+ });
13
+ return objectProjection_2;
14
+ };
15
+ let allStringEq_4 = (returnComparator().length > 0);
16
+ for (let element_3 of returnComparator()) {
17
+ allStringEq_4 = allStringEq_4 && (element_3 == "Success");
18
+ }
19
+ if (allStringEq_4) {
20
+ return { state: WaiterState.SUCCESS, reason };
21
+ }
22
+ }
23
+ catch (e) { }
24
+ }
25
+ catch (exception) {
26
+ reason = exception;
27
+ }
28
+ return { state: WaiterState.RETRY, reason };
29
+ };
30
+ export const waitForIdentityExists = async (params, input) => {
31
+ const serviceDefaults = { minDelay: 3, maxDelay: 120 };
32
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
33
+ };
34
+ export const waitUntilIdentityExists = async (params, input) => {
35
+ const serviceDefaults = { minDelay: 3, maxDelay: 120 };
36
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
37
+ return checkExceptions(result);
38
+ };