@aws-sdk/client-sesv2 3.190.0 → 3.191.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 (376) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/SESv2.js +15 -0
  3. package/dist-cjs/SESv2Client.js +11 -8
  4. package/dist-cjs/commands/CreateConfigurationSetCommand.js +10 -0
  5. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +10 -0
  6. package/dist-cjs/commands/CreateContactCommand.js +10 -0
  7. package/dist-cjs/commands/CreateContactListCommand.js +10 -0
  8. package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +10 -0
  9. package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +10 -0
  10. package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +10 -0
  11. package/dist-cjs/commands/CreateEmailIdentityCommand.js +10 -0
  12. package/dist-cjs/commands/CreateEmailIdentityPolicyCommand.js +10 -0
  13. package/dist-cjs/commands/CreateEmailTemplateCommand.js +10 -0
  14. package/dist-cjs/commands/CreateImportJobCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteContactCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteContactListCommand.js +10 -0
  19. package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +10 -0
  20. package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +10 -0
  21. package/dist-cjs/commands/DeleteEmailIdentityCommand.js +10 -0
  22. package/dist-cjs/commands/DeleteEmailIdentityPolicyCommand.js +10 -0
  23. package/dist-cjs/commands/DeleteEmailTemplateCommand.js +10 -0
  24. package/dist-cjs/commands/DeleteSuppressedDestinationCommand.js +10 -0
  25. package/dist-cjs/commands/GetAccountCommand.js +10 -0
  26. package/dist-cjs/commands/GetBlacklistReportsCommand.js +10 -0
  27. package/dist-cjs/commands/GetConfigurationSetCommand.js +10 -0
  28. package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +10 -0
  29. package/dist-cjs/commands/GetContactCommand.js +10 -0
  30. package/dist-cjs/commands/GetContactListCommand.js +10 -0
  31. package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +10 -0
  32. package/dist-cjs/commands/GetDedicatedIpCommand.js +10 -0
  33. package/dist-cjs/commands/GetDedicatedIpPoolCommand.js +46 -0
  34. package/dist-cjs/commands/GetDedicatedIpsCommand.js +10 -0
  35. package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +10 -0
  36. package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +10 -0
  37. package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +10 -0
  38. package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +10 -0
  39. package/dist-cjs/commands/GetEmailIdentityCommand.js +10 -0
  40. package/dist-cjs/commands/GetEmailIdentityPoliciesCommand.js +10 -0
  41. package/dist-cjs/commands/GetEmailTemplateCommand.js +10 -0
  42. package/dist-cjs/commands/GetImportJobCommand.js +10 -0
  43. package/dist-cjs/commands/GetSuppressedDestinationCommand.js +10 -0
  44. package/dist-cjs/commands/ListConfigurationSetsCommand.js +10 -0
  45. package/dist-cjs/commands/ListContactListsCommand.js +10 -0
  46. package/dist-cjs/commands/ListContactsCommand.js +10 -0
  47. package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +10 -0
  48. package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +10 -0
  49. package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +10 -0
  50. package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +10 -0
  51. package/dist-cjs/commands/ListEmailIdentitiesCommand.js +10 -0
  52. package/dist-cjs/commands/ListEmailTemplatesCommand.js +10 -0
  53. package/dist-cjs/commands/ListImportJobsCommand.js +10 -0
  54. package/dist-cjs/commands/ListSuppressedDestinationsCommand.js +10 -0
  55. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  56. package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +10 -0
  57. package/dist-cjs/commands/PutAccountDetailsCommand.js +10 -0
  58. package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +10 -0
  59. package/dist-cjs/commands/PutAccountSuppressionAttributesCommand.js +10 -0
  60. package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +10 -0
  61. package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +10 -0
  62. package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +10 -0
  63. package/dist-cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js +10 -0
  64. package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +10 -0
  65. package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +10 -0
  66. package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +10 -0
  67. package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +10 -0
  68. package/dist-cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +10 -0
  69. package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +10 -0
  70. package/dist-cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +10 -0
  71. package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +10 -0
  72. package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +10 -0
  73. package/dist-cjs/commands/PutSuppressedDestinationCommand.js +10 -0
  74. package/dist-cjs/commands/SendBulkEmailCommand.js +10 -0
  75. package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +10 -0
  76. package/dist-cjs/commands/SendEmailCommand.js +10 -0
  77. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  78. package/dist-cjs/commands/TestRenderEmailTemplateCommand.js +10 -0
  79. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  80. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +10 -0
  81. package/dist-cjs/commands/UpdateContactCommand.js +10 -0
  82. package/dist-cjs/commands/UpdateContactListCommand.js +10 -0
  83. package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +10 -0
  84. package/dist-cjs/commands/UpdateEmailIdentityPolicyCommand.js +10 -0
  85. package/dist-cjs/commands/UpdateEmailTemplateCommand.js +10 -0
  86. package/dist-cjs/commands/index.js +1 -0
  87. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  88. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  89. package/dist-cjs/endpoint/ruleset.js +318 -0
  90. package/dist-cjs/models/models_0.js +31 -6
  91. package/dist-cjs/protocols/Aws_restJson1.js +74 -4
  92. package/dist-cjs/runtimeConfig.shared.js +3 -3
  93. package/dist-es/SESv2.js +15 -0
  94. package/dist-es/SESv2Client.js +12 -9
  95. package/dist-es/commands/CreateConfigurationSetCommand.js +10 -0
  96. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +10 -0
  97. package/dist-es/commands/CreateContactCommand.js +10 -0
  98. package/dist-es/commands/CreateContactListCommand.js +10 -0
  99. package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +10 -0
  100. package/dist-es/commands/CreateDedicatedIpPoolCommand.js +10 -0
  101. package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +10 -0
  102. package/dist-es/commands/CreateEmailIdentityCommand.js +10 -0
  103. package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +10 -0
  104. package/dist-es/commands/CreateEmailTemplateCommand.js +10 -0
  105. package/dist-es/commands/CreateImportJobCommand.js +10 -0
  106. package/dist-es/commands/DeleteConfigurationSetCommand.js +10 -0
  107. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +10 -0
  108. package/dist-es/commands/DeleteContactCommand.js +10 -0
  109. package/dist-es/commands/DeleteContactListCommand.js +10 -0
  110. package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +10 -0
  111. package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +10 -0
  112. package/dist-es/commands/DeleteEmailIdentityCommand.js +10 -0
  113. package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +10 -0
  114. package/dist-es/commands/DeleteEmailTemplateCommand.js +10 -0
  115. package/dist-es/commands/DeleteSuppressedDestinationCommand.js +10 -0
  116. package/dist-es/commands/GetAccountCommand.js +10 -0
  117. package/dist-es/commands/GetBlacklistReportsCommand.js +10 -0
  118. package/dist-es/commands/GetConfigurationSetCommand.js +10 -0
  119. package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +10 -0
  120. package/dist-es/commands/GetContactCommand.js +10 -0
  121. package/dist-es/commands/GetContactListCommand.js +10 -0
  122. package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +10 -0
  123. package/dist-es/commands/GetDedicatedIpCommand.js +10 -0
  124. package/dist-es/commands/GetDedicatedIpPoolCommand.js +42 -0
  125. package/dist-es/commands/GetDedicatedIpsCommand.js +10 -0
  126. package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +10 -0
  127. package/dist-es/commands/GetDeliverabilityTestReportCommand.js +10 -0
  128. package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +10 -0
  129. package/dist-es/commands/GetDomainStatisticsReportCommand.js +10 -0
  130. package/dist-es/commands/GetEmailIdentityCommand.js +10 -0
  131. package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +10 -0
  132. package/dist-es/commands/GetEmailTemplateCommand.js +10 -0
  133. package/dist-es/commands/GetImportJobCommand.js +10 -0
  134. package/dist-es/commands/GetSuppressedDestinationCommand.js +10 -0
  135. package/dist-es/commands/ListConfigurationSetsCommand.js +10 -0
  136. package/dist-es/commands/ListContactListsCommand.js +10 -0
  137. package/dist-es/commands/ListContactsCommand.js +10 -0
  138. package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +10 -0
  139. package/dist-es/commands/ListDedicatedIpPoolsCommand.js +10 -0
  140. package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +10 -0
  141. package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +10 -0
  142. package/dist-es/commands/ListEmailIdentitiesCommand.js +10 -0
  143. package/dist-es/commands/ListEmailTemplatesCommand.js +10 -0
  144. package/dist-es/commands/ListImportJobsCommand.js +10 -0
  145. package/dist-es/commands/ListSuppressedDestinationsCommand.js +10 -0
  146. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  147. package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +10 -0
  148. package/dist-es/commands/PutAccountDetailsCommand.js +10 -0
  149. package/dist-es/commands/PutAccountSendingAttributesCommand.js +10 -0
  150. package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +10 -0
  151. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +10 -0
  152. package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +10 -0
  153. package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +10 -0
  154. package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +10 -0
  155. package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +10 -0
  156. package/dist-es/commands/PutDedicatedIpInPoolCommand.js +10 -0
  157. package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +10 -0
  158. package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +10 -0
  159. package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +10 -0
  160. package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +10 -0
  161. package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +10 -0
  162. package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +10 -0
  163. package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +10 -0
  164. package/dist-es/commands/PutSuppressedDestinationCommand.js +10 -0
  165. package/dist-es/commands/SendBulkEmailCommand.js +10 -0
  166. package/dist-es/commands/SendCustomVerificationEmailCommand.js +10 -0
  167. package/dist-es/commands/SendEmailCommand.js +10 -0
  168. package/dist-es/commands/TagResourceCommand.js +10 -0
  169. package/dist-es/commands/TestRenderEmailTemplateCommand.js +10 -0
  170. package/dist-es/commands/UntagResourceCommand.js +10 -0
  171. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +10 -0
  172. package/dist-es/commands/UpdateContactCommand.js +10 -0
  173. package/dist-es/commands/UpdateContactListCommand.js +10 -0
  174. package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +10 -0
  175. package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +10 -0
  176. package/dist-es/commands/UpdateEmailTemplateCommand.js +10 -0
  177. package/dist-es/commands/index.js +1 -0
  178. package/dist-es/endpoint/EndpointParameters.js +8 -0
  179. package/dist-es/endpoint/endpointResolver.js +8 -0
  180. package/dist-es/endpoint/ruleset.js +315 -0
  181. package/dist-es/models/models_0.js +22 -0
  182. package/dist-es/protocols/Aws_restJson1.js +68 -0
  183. package/dist-es/runtimeConfig.shared.js +2 -2
  184. package/dist-types/SESv2.d.ts +22 -9
  185. package/dist-types/SESv2Client.d.ts +9 -11
  186. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +2 -0
  187. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -0
  188. package/dist-types/commands/CreateContactCommand.d.ts +2 -0
  189. package/dist-types/commands/CreateContactListCommand.d.ts +2 -0
  190. package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +4 -1
  191. package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +2 -0
  192. package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +2 -0
  193. package/dist-types/commands/CreateEmailIdentityCommand.d.ts +2 -0
  194. package/dist-types/commands/CreateEmailIdentityPolicyCommand.d.ts +2 -0
  195. package/dist-types/commands/CreateEmailTemplateCommand.d.ts +2 -0
  196. package/dist-types/commands/CreateImportJobCommand.d.ts +2 -0
  197. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +2 -0
  198. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -0
  199. package/dist-types/commands/DeleteContactCommand.d.ts +2 -0
  200. package/dist-types/commands/DeleteContactListCommand.d.ts +2 -0
  201. package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +4 -1
  202. package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +2 -0
  203. package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +2 -0
  204. package/dist-types/commands/DeleteEmailIdentityPolicyCommand.d.ts +2 -0
  205. package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +2 -0
  206. package/dist-types/commands/DeleteSuppressedDestinationCommand.d.ts +2 -0
  207. package/dist-types/commands/GetAccountCommand.d.ts +2 -0
  208. package/dist-types/commands/GetBlacklistReportsCommand.d.ts +2 -0
  209. package/dist-types/commands/GetConfigurationSetCommand.d.ts +2 -0
  210. package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +2 -0
  211. package/dist-types/commands/GetContactCommand.d.ts +2 -0
  212. package/dist-types/commands/GetContactListCommand.d.ts +2 -0
  213. package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +4 -1
  214. package/dist-types/commands/GetDedicatedIpCommand.d.ts +2 -0
  215. package/dist-types/commands/GetDedicatedIpPoolCommand.d.ts +37 -0
  216. package/dist-types/commands/GetDedicatedIpsCommand.d.ts +2 -0
  217. package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +2 -0
  218. package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +2 -0
  219. package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +2 -0
  220. package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +2 -0
  221. package/dist-types/commands/GetEmailIdentityCommand.d.ts +2 -0
  222. package/dist-types/commands/GetEmailIdentityPoliciesCommand.d.ts +2 -0
  223. package/dist-types/commands/GetEmailTemplateCommand.d.ts +2 -0
  224. package/dist-types/commands/GetImportJobCommand.d.ts +2 -0
  225. package/dist-types/commands/GetSuppressedDestinationCommand.d.ts +2 -0
  226. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +2 -0
  227. package/dist-types/commands/ListContactListsCommand.d.ts +2 -0
  228. package/dist-types/commands/ListContactsCommand.d.ts +2 -0
  229. package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +5 -2
  230. package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +2 -0
  231. package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +2 -0
  232. package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +2 -0
  233. package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +2 -0
  234. package/dist-types/commands/ListEmailTemplatesCommand.d.ts +2 -0
  235. package/dist-types/commands/ListImportJobsCommand.d.ts +2 -0
  236. package/dist-types/commands/ListSuppressedDestinationsCommand.d.ts +2 -0
  237. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  238. package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +2 -0
  239. package/dist-types/commands/PutAccountDetailsCommand.d.ts +2 -0
  240. package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +2 -0
  241. package/dist-types/commands/PutAccountSuppressionAttributesCommand.d.ts +2 -0
  242. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -0
  243. package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +2 -0
  244. package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +2 -0
  245. package/dist-types/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +2 -0
  246. package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -0
  247. package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +2 -0
  248. package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +2 -0
  249. package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +2 -0
  250. package/dist-types/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +2 -0
  251. package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +2 -0
  252. package/dist-types/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -0
  253. package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -0
  254. package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +2 -0
  255. package/dist-types/commands/PutSuppressedDestinationCommand.d.ts +2 -0
  256. package/dist-types/commands/SendBulkEmailCommand.d.ts +2 -0
  257. package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +6 -3
  258. package/dist-types/commands/SendEmailCommand.d.ts +2 -0
  259. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  260. package/dist-types/commands/TestRenderEmailTemplateCommand.d.ts +2 -0
  261. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  262. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -0
  263. package/dist-types/commands/UpdateContactCommand.d.ts +2 -0
  264. package/dist-types/commands/UpdateContactListCommand.d.ts +2 -0
  265. package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +4 -1
  266. package/dist-types/commands/UpdateEmailIdentityPolicyCommand.d.ts +2 -0
  267. package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +2 -0
  268. package/dist-types/commands/index.d.ts +1 -0
  269. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  270. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  271. package/dist-types/endpoint/ruleset.d.ts +2 -0
  272. package/dist-types/models/models_0.d.ts +160 -25
  273. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  274. package/dist-types/runtimeConfig.browser.d.ts +5 -2
  275. package/dist-types/runtimeConfig.d.ts +5 -2
  276. package/dist-types/runtimeConfig.native.d.ts +5 -2
  277. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  278. package/dist-types/ts3.4/SESv2.d.ts +17 -0
  279. package/dist-types/ts3.4/SESv2Client.d.ts +21 -8
  280. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +2 -0
  281. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +2 -0
  282. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -0
  283. package/dist-types/ts3.4/commands/CreateContactListCommand.d.ts +2 -0
  284. package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +2 -0
  285. package/dist-types/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +2 -0
  286. package/dist-types/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +2 -0
  287. package/dist-types/ts3.4/commands/CreateEmailIdentityCommand.d.ts +2 -0
  288. package/dist-types/ts3.4/commands/CreateEmailIdentityPolicyCommand.d.ts +2 -0
  289. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +2 -0
  290. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +2 -0
  291. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +2 -0
  292. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +2 -0
  293. package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +2 -0
  294. package/dist-types/ts3.4/commands/DeleteContactListCommand.d.ts +2 -0
  295. package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +2 -0
  296. package/dist-types/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +2 -0
  297. package/dist-types/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +2 -0
  298. package/dist-types/ts3.4/commands/DeleteEmailIdentityPolicyCommand.d.ts +2 -0
  299. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +2 -0
  300. package/dist-types/ts3.4/commands/DeleteSuppressedDestinationCommand.d.ts +2 -0
  301. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +2 -0
  302. package/dist-types/ts3.4/commands/GetBlacklistReportsCommand.d.ts +2 -0
  303. package/dist-types/ts3.4/commands/GetConfigurationSetCommand.d.ts +2 -0
  304. package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +2 -0
  305. package/dist-types/ts3.4/commands/GetContactCommand.d.ts +2 -0
  306. package/dist-types/ts3.4/commands/GetContactListCommand.d.ts +2 -0
  307. package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +2 -0
  308. package/dist-types/ts3.4/commands/GetDedicatedIpCommand.d.ts +2 -0
  309. package/dist-types/ts3.4/commands/GetDedicatedIpPoolCommand.d.ts +38 -0
  310. package/dist-types/ts3.4/commands/GetDedicatedIpsCommand.d.ts +2 -0
  311. package/dist-types/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +2 -0
  312. package/dist-types/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +2 -0
  313. package/dist-types/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +2 -0
  314. package/dist-types/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +2 -0
  315. package/dist-types/ts3.4/commands/GetEmailIdentityCommand.d.ts +2 -0
  316. package/dist-types/ts3.4/commands/GetEmailIdentityPoliciesCommand.d.ts +2 -0
  317. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +2 -0
  318. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +2 -0
  319. package/dist-types/ts3.4/commands/GetSuppressedDestinationCommand.d.ts +2 -0
  320. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +2 -0
  321. package/dist-types/ts3.4/commands/ListContactListsCommand.d.ts +2 -0
  322. package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +2 -0
  323. package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +2 -0
  324. package/dist-types/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +2 -0
  325. package/dist-types/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +2 -0
  326. package/dist-types/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +2 -0
  327. package/dist-types/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +2 -0
  328. package/dist-types/ts3.4/commands/ListEmailTemplatesCommand.d.ts +2 -0
  329. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +2 -0
  330. package/dist-types/ts3.4/commands/ListSuppressedDestinationsCommand.d.ts +2 -0
  331. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  332. package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +2 -0
  333. package/dist-types/ts3.4/commands/PutAccountDetailsCommand.d.ts +2 -0
  334. package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +2 -0
  335. package/dist-types/ts3.4/commands/PutAccountSuppressionAttributesCommand.d.ts +2 -0
  336. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +2 -0
  337. package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +2 -0
  338. package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +2 -0
  339. package/dist-types/ts3.4/commands/PutConfigurationSetSuppressionOptionsCommand.d.ts +2 -0
  340. package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +2 -0
  341. package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +2 -0
  342. package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +2 -0
  343. package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +2 -0
  344. package/dist-types/ts3.4/commands/PutEmailIdentityConfigurationSetAttributesCommand.d.ts +2 -0
  345. package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +2 -0
  346. package/dist-types/ts3.4/commands/PutEmailIdentityDkimSigningAttributesCommand.d.ts +2 -0
  347. package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +2 -0
  348. package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +2 -0
  349. package/dist-types/ts3.4/commands/PutSuppressedDestinationCommand.d.ts +2 -0
  350. package/dist-types/ts3.4/commands/SendBulkEmailCommand.d.ts +2 -0
  351. package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +2 -0
  352. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +2 -0
  353. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  354. package/dist-types/ts3.4/commands/TestRenderEmailTemplateCommand.d.ts +2 -0
  355. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  356. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +2 -0
  357. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -0
  358. package/dist-types/ts3.4/commands/UpdateContactListCommand.d.ts +2 -0
  359. package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +2 -0
  360. package/dist-types/ts3.4/commands/UpdateEmailIdentityPolicyCommand.d.ts +2 -0
  361. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +2 -0
  362. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  363. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  364. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  365. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  366. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  367. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  368. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  369. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  370. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  371. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  372. package/package.json +2 -1
  373. package/dist-cjs/endpoints.js +0 -159
  374. package/dist-es/endpoints.js +0 -155
  375. package/dist-types/endpoints.d.ts +0 -2
  376. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateContactRequestFilterSensitiveLog, UpdateContactResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateContactCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "Endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateContactCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "SESv2Client";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateContactListRequestFilterSensitiveLog, UpdateContactListResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateContactListCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "Endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateContactListCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "SESv2Client";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateCustomVerificationEmailTemplateRequestFilterSensitiveLog, UpdateCustomVerificationEmailTemplateResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "Endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomVerificationEmailTemplateCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "SESv2Client";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateEmailIdentityPolicyRequestFilterSensitiveLog, UpdateEmailIdentityPolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateEmailIdentityPolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "Endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEmailIdentityPolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "SESv2Client";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateEmailTemplateRequestFilterSensitiveLog, UpdateEmailTemplateResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateEmailTemplateCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "Endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEmailTemplateCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "SESv2Client";
@@ -27,6 +27,7 @@ export * from "./GetContactCommand";
27
27
  export * from "./GetContactListCommand";
28
28
  export * from "./GetCustomVerificationEmailTemplateCommand";
29
29
  export * from "./GetDedicatedIpCommand";
30
+ export * from "./GetDedicatedIpPoolCommand";
30
31
  export * from "./GetDedicatedIpsCommand";
31
32
  export * from "./GetDeliverabilityDashboardOptionsCommand";
32
33
  export * from "./GetDeliverabilityTestReportCommand";
@@ -0,0 +1,8 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "ses",
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "../endpoint/ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,315 @@
1
+ export const ruleSet = {
2
+ version: "1.0",
3
+ parameters: {
4
+ Region: {
5
+ builtIn: "AWS::Region",
6
+ required: true,
7
+ documentation: "The AWS region used to dispatch the request.",
8
+ type: "String",
9
+ },
10
+ UseDualStack: {
11
+ builtIn: "AWS::UseDualStack",
12
+ required: true,
13
+ default: false,
14
+ documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15
+ type: "Boolean",
16
+ },
17
+ UseFIPS: {
18
+ builtIn: "AWS::UseFIPS",
19
+ required: true,
20
+ default: false,
21
+ documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
22
+ type: "Boolean",
23
+ },
24
+ Endpoint: {
25
+ builtIn: "SDK::Endpoint",
26
+ required: false,
27
+ documentation: "Override the endpoint used to send this request",
28
+ type: "String",
29
+ },
30
+ },
31
+ rules: [
32
+ {
33
+ conditions: [
34
+ {
35
+ fn: "aws.partition",
36
+ argv: [
37
+ {
38
+ ref: "Region",
39
+ },
40
+ ],
41
+ assign: "PartitionResult",
42
+ },
43
+ ],
44
+ type: "tree",
45
+ rules: [
46
+ {
47
+ conditions: [
48
+ {
49
+ fn: "isSet",
50
+ argv: [
51
+ {
52
+ ref: "Endpoint",
53
+ },
54
+ ],
55
+ },
56
+ {
57
+ fn: "parseURL",
58
+ argv: [
59
+ {
60
+ ref: "Endpoint",
61
+ },
62
+ ],
63
+ assign: "url",
64
+ },
65
+ ],
66
+ type: "tree",
67
+ rules: [
68
+ {
69
+ conditions: [
70
+ {
71
+ fn: "booleanEquals",
72
+ argv: [
73
+ {
74
+ ref: "UseFIPS",
75
+ },
76
+ true,
77
+ ],
78
+ },
79
+ ],
80
+ error: "Invalid Configuration: FIPS and custom endpoint are not supported",
81
+ type: "error",
82
+ },
83
+ {
84
+ conditions: [],
85
+ type: "tree",
86
+ rules: [
87
+ {
88
+ conditions: [
89
+ {
90
+ fn: "booleanEquals",
91
+ argv: [
92
+ {
93
+ ref: "UseDualStack",
94
+ },
95
+ true,
96
+ ],
97
+ },
98
+ ],
99
+ error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
100
+ type: "error",
101
+ },
102
+ {
103
+ conditions: [],
104
+ endpoint: {
105
+ url: {
106
+ ref: "Endpoint",
107
+ },
108
+ properties: {},
109
+ headers: {},
110
+ },
111
+ type: "endpoint",
112
+ },
113
+ ],
114
+ },
115
+ ],
116
+ },
117
+ {
118
+ conditions: [
119
+ {
120
+ fn: "booleanEquals",
121
+ argv: [
122
+ {
123
+ ref: "UseFIPS",
124
+ },
125
+ true,
126
+ ],
127
+ },
128
+ {
129
+ fn: "booleanEquals",
130
+ argv: [
131
+ {
132
+ ref: "UseDualStack",
133
+ },
134
+ true,
135
+ ],
136
+ },
137
+ ],
138
+ type: "tree",
139
+ rules: [
140
+ {
141
+ conditions: [
142
+ {
143
+ fn: "booleanEquals",
144
+ argv: [
145
+ true,
146
+ {
147
+ fn: "getAttr",
148
+ argv: [
149
+ {
150
+ ref: "PartitionResult",
151
+ },
152
+ "supportsFIPS",
153
+ ],
154
+ },
155
+ ],
156
+ },
157
+ {
158
+ fn: "booleanEquals",
159
+ argv: [
160
+ true,
161
+ {
162
+ fn: "getAttr",
163
+ argv: [
164
+ {
165
+ ref: "PartitionResult",
166
+ },
167
+ "supportsDualStack",
168
+ ],
169
+ },
170
+ ],
171
+ },
172
+ ],
173
+ type: "tree",
174
+ rules: [
175
+ {
176
+ conditions: [],
177
+ endpoint: {
178
+ url: "https://email-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
179
+ properties: {},
180
+ headers: {},
181
+ },
182
+ type: "endpoint",
183
+ },
184
+ ],
185
+ },
186
+ {
187
+ conditions: [],
188
+ error: "FIPS and DualStack are enabled, but this partition does not support one or both",
189
+ type: "error",
190
+ },
191
+ ],
192
+ },
193
+ {
194
+ conditions: [
195
+ {
196
+ fn: "booleanEquals",
197
+ argv: [
198
+ {
199
+ ref: "UseFIPS",
200
+ },
201
+ true,
202
+ ],
203
+ },
204
+ ],
205
+ type: "tree",
206
+ rules: [
207
+ {
208
+ conditions: [
209
+ {
210
+ fn: "booleanEquals",
211
+ argv: [
212
+ true,
213
+ {
214
+ fn: "getAttr",
215
+ argv: [
216
+ {
217
+ ref: "PartitionResult",
218
+ },
219
+ "supportsFIPS",
220
+ ],
221
+ },
222
+ ],
223
+ },
224
+ ],
225
+ type: "tree",
226
+ rules: [
227
+ {
228
+ conditions: [],
229
+ type: "tree",
230
+ rules: [
231
+ {
232
+ conditions: [],
233
+ endpoint: {
234
+ url: "https://email-fips.{Region}.{PartitionResult#dnsSuffix}",
235
+ properties: {},
236
+ headers: {},
237
+ },
238
+ type: "endpoint",
239
+ },
240
+ ],
241
+ },
242
+ ],
243
+ },
244
+ {
245
+ conditions: [],
246
+ error: "FIPS is enabled but this partition does not support FIPS",
247
+ type: "error",
248
+ },
249
+ ],
250
+ },
251
+ {
252
+ conditions: [
253
+ {
254
+ fn: "booleanEquals",
255
+ argv: [
256
+ {
257
+ ref: "UseDualStack",
258
+ },
259
+ true,
260
+ ],
261
+ },
262
+ ],
263
+ type: "tree",
264
+ rules: [
265
+ {
266
+ conditions: [
267
+ {
268
+ fn: "booleanEquals",
269
+ argv: [
270
+ true,
271
+ {
272
+ fn: "getAttr",
273
+ argv: [
274
+ {
275
+ ref: "PartitionResult",
276
+ },
277
+ "supportsDualStack",
278
+ ],
279
+ },
280
+ ],
281
+ },
282
+ ],
283
+ type: "tree",
284
+ rules: [
285
+ {
286
+ conditions: [],
287
+ endpoint: {
288
+ url: "https://email.{Region}.{PartitionResult#dualStackDnsSuffix}",
289
+ properties: {},
290
+ headers: {},
291
+ },
292
+ type: "endpoint",
293
+ },
294
+ ],
295
+ },
296
+ {
297
+ conditions: [],
298
+ error: "DualStack is enabled but this partition does not support DualStack",
299
+ type: "error",
300
+ },
301
+ ],
302
+ },
303
+ {
304
+ conditions: [],
305
+ endpoint: {
306
+ url: "https://email.{Region}.{PartitionResult#dnsSuffix}",
307
+ properties: {},
308
+ headers: {},
309
+ },
310
+ type: "endpoint",
311
+ },
312
+ ],
313
+ },
314
+ ],
315
+ };
@@ -174,6 +174,11 @@ export var EventType;
174
174
  EventType["SEND"] = "SEND";
175
175
  EventType["SUBSCRIPTION"] = "SUBSCRIPTION";
176
176
  })(EventType || (EventType = {}));
177
+ export var ScalingMode;
178
+ (function (ScalingMode) {
179
+ ScalingMode["MANAGED"] = "MANAGED";
180
+ ScalingMode["STANDARD"] = "STANDARD";
181
+ })(ScalingMode || (ScalingMode = {}));
177
182
  export var DeliverabilityTestStatus;
178
183
  (function (DeliverabilityTestStatus) {
179
184
  DeliverabilityTestStatus["COMPLETED"] = "COMPLETED";
@@ -267,6 +272,14 @@ export var MailFromDomainStatus;
267
272
  MailFromDomainStatus["SUCCESS"] = "SUCCESS";
268
273
  MailFromDomainStatus["TEMPORARY_FAILURE"] = "TEMPORARY_FAILURE";
269
274
  })(MailFromDomainStatus || (MailFromDomainStatus = {}));
275
+ export var VerificationStatus;
276
+ (function (VerificationStatus) {
277
+ VerificationStatus["FAILED"] = "FAILED";
278
+ VerificationStatus["NOT_STARTED"] = "NOT_STARTED";
279
+ VerificationStatus["PENDING"] = "PENDING";
280
+ VerificationStatus["SUCCESS"] = "SUCCESS";
281
+ VerificationStatus["TEMPORARY_FAILURE"] = "TEMPORARY_FAILURE";
282
+ })(VerificationStatus || (VerificationStatus = {}));
270
283
  export var JobStatus;
271
284
  (function (JobStatus) {
272
285
  JobStatus["COMPLETED"] = "COMPLETED";
@@ -496,6 +509,9 @@ export const DailyVolumeFilterSensitiveLog = (obj) => ({
496
509
  export const DedicatedIpFilterSensitiveLog = (obj) => ({
497
510
  ...obj,
498
511
  });
512
+ export const DedicatedIpPoolFilterSensitiveLog = (obj) => ({
513
+ ...obj,
514
+ });
499
515
  export const DeleteConfigurationSetRequestFilterSensitiveLog = (obj) => ({
500
516
  ...obj,
501
517
  });
@@ -632,6 +648,12 @@ export const GetDedicatedIpRequestFilterSensitiveLog = (obj) => ({
632
648
  export const GetDedicatedIpResponseFilterSensitiveLog = (obj) => ({
633
649
  ...obj,
634
650
  });
651
+ export const GetDedicatedIpPoolRequestFilterSensitiveLog = (obj) => ({
652
+ ...obj,
653
+ });
654
+ export const GetDedicatedIpPoolResponseFilterSensitiveLog = (obj) => ({
655
+ ...obj,
656
+ });
635
657
  export const GetDedicatedIpsRequestFilterSensitiveLog = (obj) => ({
636
658
  ...obj,
637
659
  });
@@ -148,6 +148,7 @@ export const serializeAws_restJson1CreateDedicatedIpPoolCommand = async (input,
148
148
  let body;
149
149
  body = JSON.stringify({
150
150
  ...(input.PoolName != null && { PoolName: input.PoolName }),
151
+ ...(input.ScalingMode != null && { ScalingMode: input.ScalingMode }),
151
152
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
152
153
  });
153
154
  return new __HttpRequest({
@@ -590,6 +591,22 @@ export const serializeAws_restJson1GetDedicatedIpCommand = async (input, context
590
591
  body,
591
592
  });
592
593
  };
594
+ export const serializeAws_restJson1GetDedicatedIpPoolCommand = async (input, context) => {
595
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
596
+ const headers = {};
597
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/email/dedicated-ip-pools/{PoolName}";
598
+ resolvedPath = __resolvedPath(resolvedPath, input, "PoolName", () => input.PoolName, "{PoolName}", false);
599
+ let body;
600
+ return new __HttpRequest({
601
+ protocol,
602
+ hostname,
603
+ port,
604
+ method: "GET",
605
+ headers,
606
+ path: resolvedPath,
607
+ body,
608
+ });
609
+ };
593
610
  export const serializeAws_restJson1GetDedicatedIpsCommand = async (input, context) => {
594
611
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
595
612
  const headers = {};
@@ -3000,6 +3017,45 @@ const deserializeAws_restJson1GetDedicatedIpCommandError = async (output, contex
3000
3017
  });
3001
3018
  }
3002
3019
  };
3020
+ export const deserializeAws_restJson1GetDedicatedIpPoolCommand = async (output, context) => {
3021
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3022
+ return deserializeAws_restJson1GetDedicatedIpPoolCommandError(output, context);
3023
+ }
3024
+ const contents = map({
3025
+ $metadata: deserializeMetadata(output),
3026
+ });
3027
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3028
+ if (data.DedicatedIpPool != null) {
3029
+ contents.DedicatedIpPool = deserializeAws_restJson1DedicatedIpPool(data.DedicatedIpPool, context);
3030
+ }
3031
+ return contents;
3032
+ };
3033
+ const deserializeAws_restJson1GetDedicatedIpPoolCommandError = async (output, context) => {
3034
+ const parsedOutput = {
3035
+ ...output,
3036
+ body: await parseErrorBody(output.body, context),
3037
+ };
3038
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3039
+ switch (errorCode) {
3040
+ case "BadRequestException":
3041
+ case "com.amazonaws.sesv2#BadRequestException":
3042
+ throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
3043
+ case "NotFoundException":
3044
+ case "com.amazonaws.sesv2#NotFoundException":
3045
+ throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
3046
+ case "TooManyRequestsException":
3047
+ case "com.amazonaws.sesv2#TooManyRequestsException":
3048
+ throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
3049
+ default:
3050
+ const parsedBody = parsedOutput.body;
3051
+ throwDefaultError({
3052
+ output,
3053
+ parsedBody,
3054
+ exceptionCtor: __BaseException,
3055
+ errorCode,
3056
+ });
3057
+ }
3058
+ };
3003
3059
  export const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) => {
3004
3060
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3005
3061
  return deserializeAws_restJson1GetDedicatedIpsCommandError(output, context);
@@ -3254,6 +3310,9 @@ export const deserializeAws_restJson1GetEmailIdentityCommand = async (output, co
3254
3310
  if (data.Tags != null) {
3255
3311
  contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
3256
3312
  }
3313
+ if (data.VerificationStatus != null) {
3314
+ contents.VerificationStatus = __expectString(data.VerificationStatus);
3315
+ }
3257
3316
  if (data.VerifiedForSendingStatus != null) {
3258
3317
  contents.VerifiedForSendingStatus = __expectBoolean(data.VerifiedForSendingStatus);
3259
3318
  }
@@ -5784,6 +5843,12 @@ const deserializeAws_restJson1DedicatedIpList = (output, context) => {
5784
5843
  });
5785
5844
  return retVal;
5786
5845
  };
5846
+ const deserializeAws_restJson1DedicatedIpPool = (output, context) => {
5847
+ return {
5848
+ PoolName: __expectString(output.PoolName),
5849
+ ScalingMode: __expectString(output.ScalingMode),
5850
+ };
5851
+ };
5787
5852
  const deserializeAws_restJson1DeliverabilityTestReport = (output, context) => {
5788
5853
  return {
5789
5854
  CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
@@ -6001,6 +6066,7 @@ const deserializeAws_restJson1IdentityInfo = (output, context) => {
6001
6066
  IdentityName: __expectString(output.IdentityName),
6002
6067
  IdentityType: __expectString(output.IdentityType),
6003
6068
  SendingEnabled: __expectBoolean(output.SendingEnabled),
6069
+ VerificationStatus: __expectString(output.VerificationStatus),
6004
6070
  };
6005
6071
  };
6006
6072
  const deserializeAws_restJson1IdentityInfoList = (output, context) => {
@@ -6035,11 +6101,13 @@ const deserializeAws_restJson1ImportJobSummary = (output, context) => {
6035
6101
  CreatedTimestamp: output.CreatedTimestamp != null
6036
6102
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
6037
6103
  : undefined,
6104
+ FailedRecordsCount: __expectInt32(output.FailedRecordsCount),
6038
6105
  ImportDestination: output.ImportDestination != null
6039
6106
  ? deserializeAws_restJson1ImportDestination(output.ImportDestination, context)
6040
6107
  : undefined,
6041
6108
  JobId: __expectString(output.JobId),
6042
6109
  JobStatus: __expectString(output.JobStatus),
6110
+ ProcessedRecordsCount: __expectInt32(output.ProcessedRecordsCount),
6043
6111
  };
6044
6112
  };
6045
6113
  const deserializeAws_restJson1ImportJobSummaryList = (output, context) => {
@@ -1,10 +1,10 @@
1
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
- import { defaultRegionInfoProvider } from "./endpoints";
2
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
3
3
  export const getRuntimeConfig = (config) => ({
4
4
  apiVersion: "2019-09-27",
5
5
  disableHostPrefix: config?.disableHostPrefix ?? false,
6
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
6
7
  logger: config?.logger ?? {},
7
- regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
8
8
  serviceId: config?.serviceId ?? "SESv2",
9
9
  urlParser: config?.urlParser ?? parseUrl,
10
10
  });