@aws-sdk/client-pinpoint-email 3.32.0 → 3.36.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 (432) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/PinpointEmail.js +1 -2
  3. package/{dist/cjs → dist-cjs}/PinpointEmailClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateConfigurationSetCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateConfigurationSetEventDestinationCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateDedicatedIpPoolCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateDeliverabilityTestReportCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateEmailIdentityCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationSetCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationSetEventDestinationCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteDedicatedIpPoolCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteEmailIdentityCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/GetAccountCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetBlacklistReportsCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/GetConfigurationSetCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/GetConfigurationSetEventDestinationsCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/GetDedicatedIpCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/GetDedicatedIpsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/GetDeliverabilityDashboardOptionsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetDeliverabilityTestReportCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/GetDomainDeliverabilityCampaignCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/GetDomainStatisticsReportCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/GetEmailIdentityCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/ListConfigurationSetsCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/ListDedicatedIpPoolsCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/ListDeliverabilityTestReportsCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/ListDomainDeliverabilityCampaignsCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/ListEmailIdentitiesCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/PutAccountSendingAttributesCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetDeliveryOptionsCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetReputationOptionsCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetSendingOptionsCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetTrackingOptionsCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/PutDedicatedIpInPoolCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/PutDedicatedIpWarmupAttributesCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/PutDeliverabilityDashboardOptionCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/PutEmailIdentityDkimAttributesCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/PutEmailIdentityFeedbackAttributesCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/commands/PutEmailIdentityMailFromAttributesCommand.js +2 -3
  42. package/{dist/cjs → dist-cjs}/commands/SendEmailCommand.js +2 -3
  43. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  44. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  45. package/{dist/cjs → dist-cjs}/commands/UpdateConfigurationSetEventDestinationCommand.js +2 -3
  46. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  47. package/{dist/cjs → dist-cjs}/index.js +0 -1
  48. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  49. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  50. package/{dist/cjs → dist-cjs}/pagination/GetDedicatedIpsPaginator.js +1 -2
  51. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  52. package/{dist/cjs → dist-cjs}/pagination/ListConfigurationSetsPaginator.js +1 -2
  53. package/{dist/cjs → dist-cjs}/pagination/ListDedicatedIpPoolsPaginator.js +1 -2
  54. package/{dist/cjs → dist-cjs}/pagination/ListDeliverabilityTestReportsPaginator.js +1 -2
  55. package/{dist/cjs → dist-cjs}/pagination/ListDomainDeliverabilityCampaignsPaginator.js +1 -2
  56. package/{dist/cjs → dist-cjs}/pagination/ListEmailIdentitiesPaginator.js +1 -2
  57. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +19 -20
  58. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  59. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  60. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  61. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  62. package/{dist/es → dist-es}/PinpointEmail.js +2 -34
  63. package/dist-es/PinpointEmailClient.js +37 -0
  64. package/{dist/es → dist-es}/commands/CreateConfigurationSetCommand.js +4 -34
  65. package/{dist/es → dist-es}/commands/CreateConfigurationSetEventDestinationCommand.js +4 -36
  66. package/{dist/es → dist-es}/commands/CreateDedicatedIpPoolCommand.js +4 -33
  67. package/{dist/es → dist-es}/commands/CreateDeliverabilityTestReportCommand.js +4 -36
  68. package/dist-es/commands/CreateEmailIdentityCommand.js +39 -0
  69. package/{dist/es → dist-es}/commands/DeleteConfigurationSetCommand.js +4 -35
  70. package/{dist/es → dist-es}/commands/DeleteConfigurationSetEventDestinationCommand.js +4 -35
  71. package/{dist/es → dist-es}/commands/DeleteDedicatedIpPoolCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/DeleteEmailIdentityCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/GetAccountCommand.js +4 -31
  74. package/{dist/es → dist-es}/commands/GetBlacklistReportsCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/GetConfigurationSetCommand.js +4 -37
  76. package/{dist/es → dist-es}/commands/GetConfigurationSetEventDestinationsCommand.js +4 -36
  77. package/{dist/es → dist-es}/commands/GetDedicatedIpCommand.js +4 -32
  78. package/{dist/es → dist-es}/commands/GetDedicatedIpsCommand.js +4 -31
  79. package/{dist/es → dist-es}/commands/GetDeliverabilityDashboardOptionsCommand.js +4 -36
  80. package/{dist/es → dist-es}/commands/GetDeliverabilityTestReportCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/GetDomainDeliverabilityCampaignCommand.js +4 -33
  82. package/{dist/es → dist-es}/commands/GetDomainStatisticsReportCommand.js +4 -31
  83. package/{dist/es → dist-es}/commands/GetEmailIdentityCommand.js +4 -32
  84. package/{dist/es → dist-es}/commands/ListConfigurationSetsCommand.js +4 -36
  85. package/{dist/es → dist-es}/commands/ListDedicatedIpPoolsCommand.js +4 -31
  86. package/{dist/es → dist-es}/commands/ListDeliverabilityTestReportsCommand.js +4 -32
  87. package/{dist/es → dist-es}/commands/ListDomainDeliverabilityCampaignsCommand.js +4 -33
  88. package/{dist/es → dist-es}/commands/ListEmailIdentitiesCommand.js +4 -32
  89. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -35
  90. package/{dist/es → dist-es}/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/PutAccountSendingAttributesCommand.js +4 -30
  92. package/{dist/es → dist-es}/commands/PutConfigurationSetDeliveryOptionsCommand.js +4 -31
  93. package/{dist/es → dist-es}/commands/PutConfigurationSetReputationOptionsCommand.js +4 -31
  94. package/{dist/es → dist-es}/commands/PutConfigurationSetSendingOptionsCommand.js +4 -31
  95. package/{dist/es → dist-es}/commands/PutConfigurationSetTrackingOptionsCommand.js +4 -31
  96. package/{dist/es → dist-es}/commands/PutDedicatedIpInPoolCommand.js +4 -39
  97. package/{dist/es → dist-es}/commands/PutDedicatedIpWarmupAttributesCommand.js +4 -30
  98. package/{dist/es → dist-es}/commands/PutDeliverabilityDashboardOptionCommand.js +4 -36
  99. package/{dist/es → dist-es}/commands/PutEmailIdentityDkimAttributesCommand.js +4 -30
  100. package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +39 -0
  101. package/{dist/es → dist-es}/commands/PutEmailIdentityMailFromAttributesCommand.js +4 -31
  102. package/dist-es/commands/SendEmailCommand.js +39 -0
  103. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -38
  104. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  105. package/{dist/es → dist-es}/commands/UpdateConfigurationSetEventDestinationCommand.js +4 -35
  106. package/{dist/es → dist-es}/endpoints.js +1 -2
  107. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  108. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  109. package/{dist/es → dist-es}/models/models_0.js +0 -391
  110. package/{dist/es → dist-es}/pagination/GetDedicatedIpsPaginator.js +17 -30
  111. package/dist-es/pagination/Interfaces.js +1 -0
  112. package/{dist/es → dist-es}/pagination/ListConfigurationSetsPaginator.js +17 -30
  113. package/{dist/es → dist-es}/pagination/ListDedicatedIpPoolsPaginator.js +17 -30
  114. package/{dist/es → dist-es}/pagination/ListDeliverabilityTestReportsPaginator.js +17 -30
  115. package/{dist/es → dist-es}/pagination/ListDomainDeliverabilityCampaignsPaginator.js +17 -30
  116. package/{dist/es → dist-es}/pagination/ListEmailIdentitiesPaginator.js +17 -30
  117. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +966 -972
  118. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  119. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  120. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  121. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  122. package/{dist/types → dist-types}/PinpointEmail.d.ts +2 -2
  123. package/{dist/types → dist-types}/PinpointEmailClient.d.ts +8 -8
  124. package/{dist/types → dist-types}/commands/CreateConfigurationSetCommand.d.ts +3 -3
  125. package/{dist/types → dist-types}/commands/CreateConfigurationSetEventDestinationCommand.d.ts +3 -3
  126. package/{dist/types → dist-types}/commands/CreateDedicatedIpPoolCommand.d.ts +3 -3
  127. package/{dist/types → dist-types}/commands/CreateDeliverabilityTestReportCommand.d.ts +3 -3
  128. package/{dist/types → dist-types}/commands/CreateEmailIdentityCommand.d.ts +3 -3
  129. package/{dist/types → dist-types}/commands/DeleteConfigurationSetCommand.d.ts +3 -3
  130. package/{dist/types → dist-types}/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +3 -3
  131. package/{dist/types → dist-types}/commands/DeleteDedicatedIpPoolCommand.d.ts +3 -3
  132. package/{dist/types → dist-types}/commands/DeleteEmailIdentityCommand.d.ts +3 -3
  133. package/{dist/types → dist-types}/commands/GetAccountCommand.d.ts +3 -3
  134. package/{dist/types → dist-types}/commands/GetBlacklistReportsCommand.d.ts +3 -3
  135. package/{dist/types → dist-types}/commands/GetConfigurationSetCommand.d.ts +3 -3
  136. package/{dist/types → dist-types}/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -3
  137. package/{dist/types → dist-types}/commands/GetDedicatedIpCommand.d.ts +3 -3
  138. package/{dist/types → dist-types}/commands/GetDedicatedIpsCommand.d.ts +3 -3
  139. package/{dist/types → dist-types}/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +3 -3
  140. package/{dist/types → dist-types}/commands/GetDeliverabilityTestReportCommand.d.ts +3 -3
  141. package/{dist/types → dist-types}/commands/GetDomainDeliverabilityCampaignCommand.d.ts +3 -3
  142. package/{dist/types → dist-types}/commands/GetDomainStatisticsReportCommand.d.ts +3 -3
  143. package/{dist/types → dist-types}/commands/GetEmailIdentityCommand.d.ts +3 -3
  144. package/{dist/types → dist-types}/commands/ListConfigurationSetsCommand.d.ts +3 -3
  145. package/{dist/types → dist-types}/commands/ListDedicatedIpPoolsCommand.d.ts +3 -3
  146. package/{dist/types → dist-types}/commands/ListDeliverabilityTestReportsCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +3 -3
  148. package/{dist/types → dist-types}/commands/ListEmailIdentitiesCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/commands/PutAccountSendingAttributesCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/commands/PutConfigurationSetReputationOptionsCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/commands/PutConfigurationSetSendingOptionsCommand.d.ts +3 -3
  155. package/{dist/types → dist-types}/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +3 -3
  156. package/{dist/types → dist-types}/commands/PutDedicatedIpInPoolCommand.d.ts +3 -3
  157. package/{dist/types → dist-types}/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +3 -3
  158. package/{dist/types → dist-types}/commands/PutDeliverabilityDashboardOptionCommand.d.ts +3 -3
  159. package/{dist/types → dist-types}/commands/PutEmailIdentityDkimAttributesCommand.d.ts +3 -3
  160. package/{dist/types → dist-types}/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +3 -3
  161. package/{dist/types → dist-types}/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +3 -3
  162. package/{dist/types → dist-types}/commands/SendEmailCommand.d.ts +3 -3
  163. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  164. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  165. package/{dist/types → dist-types}/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +3 -3
  166. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  167. package/{index.ts → dist-types/index.d.ts} +0 -0
  168. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  169. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  170. package/{dist/types → dist-types}/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
  171. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  172. package/{dist/types → dist-types}/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
  173. package/{dist/types → dist-types}/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
  176. package/{dist/types → dist-types}/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  178. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  179. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  180. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  181. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  182. package/{dist/types → dist-types}/ts3.4/PinpointEmail.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/PinpointEmailClient.d.ts +8 -8
  184. package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationSetCommand.d.ts +3 -3
  185. package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +3 -3
  186. package/{dist/types → dist-types}/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +3 -3
  187. package/{dist/types → dist-types}/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +3 -3
  188. package/{dist/types → dist-types}/ts3.4/commands/CreateEmailIdentityCommand.d.ts +3 -3
  189. package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +3 -3
  190. package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +3 -3
  191. package/{dist/types → dist-types}/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +3 -3
  192. package/{dist/types → dist-types}/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +3 -3
  193. package/{dist/types → dist-types}/ts3.4/commands/GetAccountCommand.d.ts +3 -3
  194. package/{dist/types → dist-types}/ts3.4/commands/GetBlacklistReportsCommand.d.ts +3 -3
  195. package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationSetCommand.d.ts +3 -3
  196. package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -3
  197. package/{dist/types → dist-types}/ts3.4/commands/GetDedicatedIpCommand.d.ts +3 -3
  198. package/{dist/types → dist-types}/ts3.4/commands/GetDedicatedIpsCommand.d.ts +3 -3
  199. package/{dist/types → dist-types}/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +3 -3
  200. package/{dist/types → dist-types}/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +3 -3
  201. package/{dist/types → dist-types}/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +3 -3
  202. package/{dist/types → dist-types}/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +3 -3
  203. package/{dist/types → dist-types}/ts3.4/commands/GetEmailIdentityCommand.d.ts +3 -3
  204. package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationSetsCommand.d.ts +3 -3
  205. package/{dist/types → dist-types}/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +3 -3
  206. package/{dist/types → dist-types}/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +3 -3
  207. package/{dist/types → dist-types}/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +3 -3
  208. package/{dist/types → dist-types}/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +3 -3
  209. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  210. package/{dist/types → dist-types}/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +3 -3
  211. package/{dist/types → dist-types}/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +3 -3
  212. package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +3 -3
  213. package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +3 -3
  214. package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +3 -3
  215. package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +3 -3
  216. package/{dist/types → dist-types}/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +3 -3
  217. package/{dist/types → dist-types}/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +3 -3
  218. package/{dist/types → dist-types}/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +3 -3
  219. package/{dist/types → dist-types}/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +3 -3
  220. package/{dist/types → dist-types}/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +3 -3
  221. package/{dist/types → dist-types}/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +3 -3
  222. package/{dist/types → dist-types}/ts3.4/commands/SendEmailCommand.d.ts +3 -3
  223. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  224. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  225. package/{dist/types → dist-types}/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +3 -3
  226. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  227. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  228. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  229. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  230. package/{dist/types → dist-types}/ts3.4/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
  231. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  232. package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
  233. package/{dist/types → dist-types}/ts3.4/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
  234. package/{dist/types → dist-types}/ts3.4/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
  235. package/{dist/types → dist-types}/ts3.4/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
  236. package/{dist/types → dist-types}/ts3.4/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
  237. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  238. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  239. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  240. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  241. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  242. package/package.json +52 -49
  243. package/PinpointEmail.ts +0 -1718
  244. package/PinpointEmailClient.ts +0 -494
  245. package/commands/CreateConfigurationSetCommand.ts +0 -98
  246. package/commands/CreateConfigurationSetEventDestinationCommand.ts +0 -112
  247. package/commands/CreateDedicatedIpPoolCommand.ts +0 -97
  248. package/commands/CreateDeliverabilityTestReportCommand.ts +0 -108
  249. package/commands/CreateEmailIdentityCommand.ts +0 -107
  250. package/commands/DeleteConfigurationSetCommand.ts +0 -99
  251. package/commands/DeleteConfigurationSetEventDestinationCommand.ts +0 -111
  252. package/commands/DeleteDedicatedIpPoolCommand.ts +0 -94
  253. package/commands/DeleteEmailIdentityCommand.ts +0 -95
  254. package/commands/GetAccountCommand.ts +0 -95
  255. package/commands/GetBlacklistReportsCommand.ts +0 -94
  256. package/commands/GetConfigurationSetCommand.ts +0 -101
  257. package/commands/GetConfigurationSetEventDestinationsCommand.ts +0 -111
  258. package/commands/GetDedicatedIpCommand.ts +0 -96
  259. package/commands/GetDedicatedIpsCommand.ts +0 -95
  260. package/commands/GetDeliverabilityDashboardOptionsCommand.ts +0 -111
  261. package/commands/GetDeliverabilityTestReportCommand.ts +0 -99
  262. package/commands/GetDomainDeliverabilityCampaignCommand.ts +0 -105
  263. package/commands/GetDomainStatisticsReportCommand.ts +0 -98
  264. package/commands/GetEmailIdentityCommand.ts +0 -96
  265. package/commands/ListConfigurationSetsCommand.ts +0 -100
  266. package/commands/ListDedicatedIpPoolsCommand.ts +0 -95
  267. package/commands/ListDeliverabilityTestReportsCommand.ts +0 -101
  268. package/commands/ListDomainDeliverabilityCampaignsCommand.ts +0 -108
  269. package/commands/ListEmailIdentitiesCommand.ts +0 -96
  270. package/commands/ListTagsForResourceCommand.ts +0 -99
  271. package/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts +0 -106
  272. package/commands/PutAccountSendingAttributesCommand.ts +0 -99
  273. package/commands/PutConfigurationSetDeliveryOptionsCommand.ts +0 -106
  274. package/commands/PutConfigurationSetReputationOptionsCommand.ts +0 -106
  275. package/commands/PutConfigurationSetSendingOptionsCommand.ts +0 -106
  276. package/commands/PutConfigurationSetTrackingOptionsCommand.ts +0 -106
  277. package/commands/PutDedicatedIpInPoolCommand.ts +0 -103
  278. package/commands/PutDedicatedIpWarmupAttributesCommand.ts +0 -102
  279. package/commands/PutDeliverabilityDashboardOptionCommand.ts +0 -108
  280. package/commands/PutEmailIdentityDkimAttributesCommand.ts +0 -102
  281. package/commands/PutEmailIdentityFeedbackAttributesCommand.ts +0 -115
  282. package/commands/PutEmailIdentityMailFromAttributesCommand.ts +0 -106
  283. package/commands/SendEmailCommand.ts +0 -111
  284. package/commands/TagResourceCommand.ts +0 -102
  285. package/commands/UntagResourceCommand.ts +0 -94
  286. package/commands/UpdateConfigurationSetEventDestinationCommand.ts +0 -111
  287. package/dist/cjs/PinpointEmail.js.map +0 -1
  288. package/dist/cjs/PinpointEmailClient.js.map +0 -1
  289. package/dist/cjs/commands/CreateConfigurationSetCommand.js.map +0 -1
  290. package/dist/cjs/commands/CreateConfigurationSetEventDestinationCommand.js.map +0 -1
  291. package/dist/cjs/commands/CreateDedicatedIpPoolCommand.js.map +0 -1
  292. package/dist/cjs/commands/CreateDeliverabilityTestReportCommand.js.map +0 -1
  293. package/dist/cjs/commands/CreateEmailIdentityCommand.js.map +0 -1
  294. package/dist/cjs/commands/DeleteConfigurationSetCommand.js.map +0 -1
  295. package/dist/cjs/commands/DeleteConfigurationSetEventDestinationCommand.js.map +0 -1
  296. package/dist/cjs/commands/DeleteDedicatedIpPoolCommand.js.map +0 -1
  297. package/dist/cjs/commands/DeleteEmailIdentityCommand.js.map +0 -1
  298. package/dist/cjs/commands/GetAccountCommand.js.map +0 -1
  299. package/dist/cjs/commands/GetBlacklistReportsCommand.js.map +0 -1
  300. package/dist/cjs/commands/GetConfigurationSetCommand.js.map +0 -1
  301. package/dist/cjs/commands/GetConfigurationSetEventDestinationsCommand.js.map +0 -1
  302. package/dist/cjs/commands/GetDedicatedIpCommand.js.map +0 -1
  303. package/dist/cjs/commands/GetDedicatedIpsCommand.js.map +0 -1
  304. package/dist/cjs/commands/GetDeliverabilityDashboardOptionsCommand.js.map +0 -1
  305. package/dist/cjs/commands/GetDeliverabilityTestReportCommand.js.map +0 -1
  306. package/dist/cjs/commands/GetDomainDeliverabilityCampaignCommand.js.map +0 -1
  307. package/dist/cjs/commands/GetDomainStatisticsReportCommand.js.map +0 -1
  308. package/dist/cjs/commands/GetEmailIdentityCommand.js.map +0 -1
  309. package/dist/cjs/commands/ListConfigurationSetsCommand.js.map +0 -1
  310. package/dist/cjs/commands/ListDedicatedIpPoolsCommand.js.map +0 -1
  311. package/dist/cjs/commands/ListDeliverabilityTestReportsCommand.js.map +0 -1
  312. package/dist/cjs/commands/ListDomainDeliverabilityCampaignsCommand.js.map +0 -1
  313. package/dist/cjs/commands/ListEmailIdentitiesCommand.js.map +0 -1
  314. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  315. package/dist/cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js.map +0 -1
  316. package/dist/cjs/commands/PutAccountSendingAttributesCommand.js.map +0 -1
  317. package/dist/cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js.map +0 -1
  318. package/dist/cjs/commands/PutConfigurationSetReputationOptionsCommand.js.map +0 -1
  319. package/dist/cjs/commands/PutConfigurationSetSendingOptionsCommand.js.map +0 -1
  320. package/dist/cjs/commands/PutConfigurationSetTrackingOptionsCommand.js.map +0 -1
  321. package/dist/cjs/commands/PutDedicatedIpInPoolCommand.js.map +0 -1
  322. package/dist/cjs/commands/PutDedicatedIpWarmupAttributesCommand.js.map +0 -1
  323. package/dist/cjs/commands/PutDeliverabilityDashboardOptionCommand.js.map +0 -1
  324. package/dist/cjs/commands/PutEmailIdentityDkimAttributesCommand.js.map +0 -1
  325. package/dist/cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js.map +0 -1
  326. package/dist/cjs/commands/PutEmailIdentityMailFromAttributesCommand.js.map +0 -1
  327. package/dist/cjs/commands/SendEmailCommand.js.map +0 -1
  328. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  329. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  330. package/dist/cjs/commands/UpdateConfigurationSetEventDestinationCommand.js.map +0 -1
  331. package/dist/cjs/endpoints.js.map +0 -1
  332. package/dist/cjs/index.js.map +0 -1
  333. package/dist/cjs/models/index.js.map +0 -1
  334. package/dist/cjs/models/models_0.js.map +0 -1
  335. package/dist/cjs/package.json +0 -91
  336. package/dist/cjs/pagination/GetDedicatedIpsPaginator.js.map +0 -1
  337. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  338. package/dist/cjs/pagination/ListConfigurationSetsPaginator.js.map +0 -1
  339. package/dist/cjs/pagination/ListDedicatedIpPoolsPaginator.js.map +0 -1
  340. package/dist/cjs/pagination/ListDeliverabilityTestReportsPaginator.js.map +0 -1
  341. package/dist/cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js.map +0 -1
  342. package/dist/cjs/pagination/ListEmailIdentitiesPaginator.js.map +0 -1
  343. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  344. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  345. package/dist/cjs/runtimeConfig.js.map +0 -1
  346. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  347. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  348. package/dist/es/PinpointEmail.js.map +0 -1
  349. package/dist/es/PinpointEmailClient.js +0 -74
  350. package/dist/es/PinpointEmailClient.js.map +0 -1
  351. package/dist/es/commands/CreateConfigurationSetCommand.js.map +0 -1
  352. package/dist/es/commands/CreateConfigurationSetEventDestinationCommand.js.map +0 -1
  353. package/dist/es/commands/CreateDedicatedIpPoolCommand.js.map +0 -1
  354. package/dist/es/commands/CreateDeliverabilityTestReportCommand.js.map +0 -1
  355. package/dist/es/commands/CreateEmailIdentityCommand.js +0 -78
  356. package/dist/es/commands/CreateEmailIdentityCommand.js.map +0 -1
  357. package/dist/es/commands/DeleteConfigurationSetCommand.js.map +0 -1
  358. package/dist/es/commands/DeleteConfigurationSetEventDestinationCommand.js.map +0 -1
  359. package/dist/es/commands/DeleteDedicatedIpPoolCommand.js.map +0 -1
  360. package/dist/es/commands/DeleteEmailIdentityCommand.js.map +0 -1
  361. package/dist/es/commands/GetAccountCommand.js.map +0 -1
  362. package/dist/es/commands/GetBlacklistReportsCommand.js.map +0 -1
  363. package/dist/es/commands/GetConfigurationSetCommand.js.map +0 -1
  364. package/dist/es/commands/GetConfigurationSetEventDestinationsCommand.js.map +0 -1
  365. package/dist/es/commands/GetDedicatedIpCommand.js.map +0 -1
  366. package/dist/es/commands/GetDedicatedIpsCommand.js.map +0 -1
  367. package/dist/es/commands/GetDeliverabilityDashboardOptionsCommand.js.map +0 -1
  368. package/dist/es/commands/GetDeliverabilityTestReportCommand.js.map +0 -1
  369. package/dist/es/commands/GetDomainDeliverabilityCampaignCommand.js.map +0 -1
  370. package/dist/es/commands/GetDomainStatisticsReportCommand.js.map +0 -1
  371. package/dist/es/commands/GetEmailIdentityCommand.js.map +0 -1
  372. package/dist/es/commands/ListConfigurationSetsCommand.js.map +0 -1
  373. package/dist/es/commands/ListDedicatedIpPoolsCommand.js.map +0 -1
  374. package/dist/es/commands/ListDeliverabilityTestReportsCommand.js.map +0 -1
  375. package/dist/es/commands/ListDomainDeliverabilityCampaignsCommand.js.map +0 -1
  376. package/dist/es/commands/ListEmailIdentitiesCommand.js.map +0 -1
  377. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  378. package/dist/es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js.map +0 -1
  379. package/dist/es/commands/PutAccountSendingAttributesCommand.js.map +0 -1
  380. package/dist/es/commands/PutConfigurationSetDeliveryOptionsCommand.js.map +0 -1
  381. package/dist/es/commands/PutConfigurationSetReputationOptionsCommand.js.map +0 -1
  382. package/dist/es/commands/PutConfigurationSetSendingOptionsCommand.js.map +0 -1
  383. package/dist/es/commands/PutConfigurationSetTrackingOptionsCommand.js.map +0 -1
  384. package/dist/es/commands/PutDedicatedIpInPoolCommand.js.map +0 -1
  385. package/dist/es/commands/PutDedicatedIpWarmupAttributesCommand.js.map +0 -1
  386. package/dist/es/commands/PutDeliverabilityDashboardOptionCommand.js.map +0 -1
  387. package/dist/es/commands/PutEmailIdentityDkimAttributesCommand.js.map +0 -1
  388. package/dist/es/commands/PutEmailIdentityFeedbackAttributesCommand.js +0 -75
  389. package/dist/es/commands/PutEmailIdentityFeedbackAttributesCommand.js.map +0 -1
  390. package/dist/es/commands/PutEmailIdentityMailFromAttributesCommand.js.map +0 -1
  391. package/dist/es/commands/SendEmailCommand.js +0 -82
  392. package/dist/es/commands/SendEmailCommand.js.map +0 -1
  393. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  394. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  395. package/dist/es/commands/UpdateConfigurationSetEventDestinationCommand.js.map +0 -1
  396. package/dist/es/endpoints.js.map +0 -1
  397. package/dist/es/index.js +0 -53
  398. package/dist/es/index.js.map +0 -1
  399. package/dist/es/models/index.js +0 -2
  400. package/dist/es/models/index.js.map +0 -1
  401. package/dist/es/models/models_0.js.map +0 -1
  402. package/dist/es/package.json +0 -91
  403. package/dist/es/pagination/GetDedicatedIpsPaginator.js.map +0 -1
  404. package/dist/es/pagination/Interfaces.js +0 -2
  405. package/dist/es/pagination/Interfaces.js.map +0 -1
  406. package/dist/es/pagination/ListConfigurationSetsPaginator.js.map +0 -1
  407. package/dist/es/pagination/ListDedicatedIpPoolsPaginator.js.map +0 -1
  408. package/dist/es/pagination/ListDeliverabilityTestReportsPaginator.js.map +0 -1
  409. package/dist/es/pagination/ListDomainDeliverabilityCampaignsPaginator.js.map +0 -1
  410. package/dist/es/pagination/ListEmailIdentitiesPaginator.js.map +0 -1
  411. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  412. package/dist/es/runtimeConfig.browser.js.map +0 -1
  413. package/dist/es/runtimeConfig.js.map +0 -1
  414. package/dist/es/runtimeConfig.native.js.map +0 -1
  415. package/dist/es/runtimeConfig.shared.js.map +0 -1
  416. package/endpoints.ts +0 -62
  417. package/jest.config.js +0 -4
  418. package/models/models_0.ts +0 -3845
  419. package/pagination/GetDedicatedIpsPaginator.ts +0 -58
  420. package/pagination/Interfaces.ts +0 -7
  421. package/pagination/ListConfigurationSetsPaginator.ts +0 -58
  422. package/pagination/ListDedicatedIpPoolsPaginator.ts +0 -58
  423. package/pagination/ListDeliverabilityTestReportsPaginator.ts +0 -58
  424. package/pagination/ListDomainDeliverabilityCampaignsPaginator.ts +0 -58
  425. package/pagination/ListEmailIdentitiesPaginator.ts +0 -58
  426. package/protocols/Aws_restJson1.ts +0 -5816
  427. package/runtimeConfig.browser.ts +0 -40
  428. package/runtimeConfig.native.ts +0 -16
  429. package/runtimeConfig.shared.ts +0 -16
  430. package/runtimeConfig.ts +0 -45
  431. package/tsconfig.es.json +0 -12
  432. package/tsconfig.json +0 -32
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { GetDedicatedIpsCommand, } from "../commands/GetDedicatedIpsCommand";
2
3
  import { PinpointEmail } from "../PinpointEmail";
3
4
  import { PinpointEmailClient } from "../PinpointEmailClient";
4
- import { GetDedicatedIpsCommand, } from "../commands/GetDedicatedIpsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new GetDedicatedIpsCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new GetDedicatedIpsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.getDedicatedIps.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.getDedicatedIps.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateGetDedicatedIps(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.NextToken = token;
59
49
  input["PageSize"] = config.pageSize;
60
- if (!(config.client instanceof PinpointEmail)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof PinpointEmail)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof PinpointEmailClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.NextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=GetDedicatedIpsPaginator.js.map
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListConfigurationSetsCommand, } from "../commands/ListConfigurationSetsCommand";
2
3
  import { PinpointEmail } from "../PinpointEmail";
3
4
  import { PinpointEmailClient } from "../PinpointEmailClient";
4
- import { ListConfigurationSetsCommand, } from "../commands/ListConfigurationSetsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListConfigurationSetsCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListConfigurationSetsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listConfigurationSets.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listConfigurationSets.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateListConfigurationSets(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.NextToken = token;
59
49
  input["PageSize"] = config.pageSize;
60
- if (!(config.client instanceof PinpointEmail)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof PinpointEmail)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof PinpointEmailClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.NextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=ListConfigurationSetsPaginator.js.map
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListDedicatedIpPoolsCommand, } from "../commands/ListDedicatedIpPoolsCommand";
2
3
  import { PinpointEmail } from "../PinpointEmail";
3
4
  import { PinpointEmailClient } from "../PinpointEmailClient";
4
- import { ListDedicatedIpPoolsCommand, } from "../commands/ListDedicatedIpPoolsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListDedicatedIpPoolsCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListDedicatedIpPoolsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listDedicatedIpPools.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listDedicatedIpPools.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateListDedicatedIpPools(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.NextToken = token;
59
49
  input["PageSize"] = config.pageSize;
60
- if (!(config.client instanceof PinpointEmail)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof PinpointEmail)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof PinpointEmailClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.NextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=ListDedicatedIpPoolsPaginator.js.map
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListDeliverabilityTestReportsCommand, } from "../commands/ListDeliverabilityTestReportsCommand";
2
3
  import { PinpointEmail } from "../PinpointEmail";
3
4
  import { PinpointEmailClient } from "../PinpointEmailClient";
4
- import { ListDeliverabilityTestReportsCommand, } from "../commands/ListDeliverabilityTestReportsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListDeliverabilityTestReportsCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListDeliverabilityTestReportsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listDeliverabilityTestReports.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listDeliverabilityTestReports.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateListDeliverabilityTestReports(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.NextToken = token;
59
49
  input["PageSize"] = config.pageSize;
60
- if (!(config.client instanceof PinpointEmail)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof PinpointEmail)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof PinpointEmailClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.NextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=ListDeliverabilityTestReportsPaginator.js.map
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListDomainDeliverabilityCampaignsCommand, } from "../commands/ListDomainDeliverabilityCampaignsCommand";
2
3
  import { PinpointEmail } from "../PinpointEmail";
3
4
  import { PinpointEmailClient } from "../PinpointEmailClient";
4
- import { ListDomainDeliverabilityCampaignsCommand, } from "../commands/ListDomainDeliverabilityCampaignsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListDomainDeliverabilityCampaignsCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListDomainDeliverabilityCampaignsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listDomainDeliverabilityCampaigns.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listDomainDeliverabilityCampaigns.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateListDomainDeliverabilityCampaigns(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.NextToken = token;
59
49
  input["PageSize"] = config.pageSize;
60
- if (!(config.client instanceof PinpointEmail)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof PinpointEmail)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof PinpointEmailClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.NextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=ListDomainDeliverabilityCampaignsPaginator.js.map
@@ -1,10 +1,7 @@
1
1
  import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ListEmailIdentitiesCommand, } from "../commands/ListEmailIdentitiesCommand";
2
3
  import { PinpointEmail } from "../PinpointEmail";
3
4
  import { PinpointEmailClient } from "../PinpointEmailClient";
4
- import { ListEmailIdentitiesCommand, } from "../commands/ListEmailIdentitiesCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListEmailIdentitiesCommand(input)], __read(args)))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListEmailIdentitiesCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listEmailIdentities.apply(client, __spreadArray([input], __read(args)))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listEmailIdentities.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,34 +44,31 @@ export function paginateListEmailIdentities(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.NextToken = token;
59
49
  input["PageSize"] = config.pageSize;
60
- if (!(config.client instanceof PinpointEmail)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
50
+ if (!(config.client instanceof PinpointEmail)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof PinpointEmailClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
56
+ if (!(config.client instanceof PinpointEmailClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.NextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
86
74
  }
87
- //# sourceMappingURL=ListEmailIdentitiesPaginator.js.map