@aws-sdk/client-pinpoint-sms-voice-v2 3.477.0 → 3.481.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 (361) hide show
  1. package/dist-cjs/commands/AssociateOriginationIdentityCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfigurationSetCommand.js +18 -41
  3. package/dist-cjs/commands/CreateEventDestinationCommand.js +18 -41
  4. package/dist-cjs/commands/CreateOptOutListCommand.js +18 -41
  5. package/dist-cjs/commands/CreatePoolCommand.js +18 -41
  6. package/dist-cjs/commands/CreateRegistrationAssociationCommand.js +18 -41
  7. package/dist-cjs/commands/CreateRegistrationAttachmentCommand.js +18 -41
  8. package/dist-cjs/commands/CreateRegistrationCommand.js +18 -41
  9. package/dist-cjs/commands/CreateRegistrationVersionCommand.js +18 -41
  10. package/dist-cjs/commands/CreateVerifiedDestinationNumberCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteDefaultMessageTypeCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteDefaultSenderIdCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteEventDestinationCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteKeywordCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteOptOutListCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteOptedOutNumberCommand.js +18 -41
  18. package/dist-cjs/commands/DeletePoolCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteRegistrationAttachmentCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteRegistrationCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteRegistrationFieldValueCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteTextMessageSpendLimitOverrideCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteVerifiedDestinationNumberCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteVoiceMessageSpendLimitOverrideCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeAccountAttributesCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeConfigurationSetsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeKeywordsCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeOptOutListsCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeOptedOutNumbersCommand.js +18 -41
  31. package/dist-cjs/commands/DescribePhoneNumbersCommand.js +18 -41
  32. package/dist-cjs/commands/DescribePoolsCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeRegistrationAttachmentsCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeRegistrationFieldDefinitionsCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeRegistrationFieldValuesCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeRegistrationSectionDefinitionsCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeRegistrationTypeDefinitionsCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeRegistrationVersionsCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeRegistrationsCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeSenderIdsCommand.js +18 -41
  41. package/dist-cjs/commands/DescribeSpendLimitsCommand.js +18 -41
  42. package/dist-cjs/commands/DescribeVerifiedDestinationNumbersCommand.js +18 -41
  43. package/dist-cjs/commands/DisassociateOriginationIdentityCommand.js +18 -41
  44. package/dist-cjs/commands/DiscardRegistrationVersionCommand.js +18 -41
  45. package/dist-cjs/commands/ListPoolOriginationIdentitiesCommand.js +18 -41
  46. package/dist-cjs/commands/ListRegistrationAssociationsCommand.js +18 -41
  47. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  48. package/dist-cjs/commands/PutKeywordCommand.js +18 -41
  49. package/dist-cjs/commands/PutOptedOutNumberCommand.js +18 -41
  50. package/dist-cjs/commands/PutRegistrationFieldValueCommand.js +18 -41
  51. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +18 -41
  52. package/dist-cjs/commands/ReleaseSenderIdCommand.js +18 -41
  53. package/dist-cjs/commands/RequestPhoneNumberCommand.js +18 -41
  54. package/dist-cjs/commands/RequestSenderIdCommand.js +18 -41
  55. package/dist-cjs/commands/SendDestinationNumberVerificationCodeCommand.js +18 -41
  56. package/dist-cjs/commands/SendTextMessageCommand.js +18 -41
  57. package/dist-cjs/commands/SendVoiceMessageCommand.js +18 -41
  58. package/dist-cjs/commands/SetDefaultMessageTypeCommand.js +18 -41
  59. package/dist-cjs/commands/SetDefaultSenderIdCommand.js +18 -41
  60. package/dist-cjs/commands/SetTextMessageSpendLimitOverrideCommand.js +18 -41
  61. package/dist-cjs/commands/SetVoiceMessageSpendLimitOverrideCommand.js +18 -41
  62. package/dist-cjs/commands/SubmitRegistrationVersionCommand.js +18 -41
  63. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  64. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateEventDestinationCommand.js +18 -41
  66. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +18 -41
  67. package/dist-cjs/commands/UpdatePoolCommand.js +18 -41
  68. package/dist-cjs/commands/UpdateSenderIdCommand.js +18 -41
  69. package/dist-cjs/commands/VerifyDestinationNumberCommand.js +18 -41
  70. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  71. package/dist-cjs/pagination/DescribeAccountAttributesPaginator.js +2 -24
  72. package/dist-cjs/pagination/DescribeAccountLimitsPaginator.js +2 -24
  73. package/dist-cjs/pagination/DescribeConfigurationSetsPaginator.js +2 -24
  74. package/dist-cjs/pagination/DescribeKeywordsPaginator.js +2 -24
  75. package/dist-cjs/pagination/DescribeOptOutListsPaginator.js +2 -24
  76. package/dist-cjs/pagination/DescribeOptedOutNumbersPaginator.js +2 -24
  77. package/dist-cjs/pagination/DescribePhoneNumbersPaginator.js +2 -24
  78. package/dist-cjs/pagination/DescribePoolsPaginator.js +2 -24
  79. package/dist-cjs/pagination/DescribeRegistrationAttachmentsPaginator.js +2 -24
  80. package/dist-cjs/pagination/DescribeRegistrationFieldDefinitionsPaginator.js +2 -24
  81. package/dist-cjs/pagination/DescribeRegistrationFieldValuesPaginator.js +2 -24
  82. package/dist-cjs/pagination/DescribeRegistrationSectionDefinitionsPaginator.js +2 -24
  83. package/dist-cjs/pagination/DescribeRegistrationTypeDefinitionsPaginator.js +2 -24
  84. package/dist-cjs/pagination/DescribeRegistrationVersionsPaginator.js +2 -24
  85. package/dist-cjs/pagination/DescribeRegistrationsPaginator.js +2 -24
  86. package/dist-cjs/pagination/DescribeSenderIdsPaginator.js +2 -24
  87. package/dist-cjs/pagination/DescribeSpendLimitsPaginator.js +2 -24
  88. package/dist-cjs/pagination/DescribeVerifiedDestinationNumbersPaginator.js +2 -24
  89. package/dist-cjs/pagination/ListPoolOriginationIdentitiesPaginator.js +2 -24
  90. package/dist-cjs/pagination/ListRegistrationAssociationsPaginator.js +2 -24
  91. package/dist-es/commands/AssociateOriginationIdentityCommand.js +18 -41
  92. package/dist-es/commands/CreateConfigurationSetCommand.js +18 -41
  93. package/dist-es/commands/CreateEventDestinationCommand.js +18 -41
  94. package/dist-es/commands/CreateOptOutListCommand.js +18 -41
  95. package/dist-es/commands/CreatePoolCommand.js +18 -41
  96. package/dist-es/commands/CreateRegistrationAssociationCommand.js +18 -41
  97. package/dist-es/commands/CreateRegistrationAttachmentCommand.js +18 -41
  98. package/dist-es/commands/CreateRegistrationCommand.js +18 -41
  99. package/dist-es/commands/CreateRegistrationVersionCommand.js +18 -41
  100. package/dist-es/commands/CreateVerifiedDestinationNumberCommand.js +18 -41
  101. package/dist-es/commands/DeleteConfigurationSetCommand.js +18 -41
  102. package/dist-es/commands/DeleteDefaultMessageTypeCommand.js +18 -41
  103. package/dist-es/commands/DeleteDefaultSenderIdCommand.js +18 -41
  104. package/dist-es/commands/DeleteEventDestinationCommand.js +18 -41
  105. package/dist-es/commands/DeleteKeywordCommand.js +18 -41
  106. package/dist-es/commands/DeleteOptOutListCommand.js +18 -41
  107. package/dist-es/commands/DeleteOptedOutNumberCommand.js +18 -41
  108. package/dist-es/commands/DeletePoolCommand.js +18 -41
  109. package/dist-es/commands/DeleteRegistrationAttachmentCommand.js +18 -41
  110. package/dist-es/commands/DeleteRegistrationCommand.js +18 -41
  111. package/dist-es/commands/DeleteRegistrationFieldValueCommand.js +18 -41
  112. package/dist-es/commands/DeleteTextMessageSpendLimitOverrideCommand.js +18 -41
  113. package/dist-es/commands/DeleteVerifiedDestinationNumberCommand.js +18 -41
  114. package/dist-es/commands/DeleteVoiceMessageSpendLimitOverrideCommand.js +18 -41
  115. package/dist-es/commands/DescribeAccountAttributesCommand.js +18 -41
  116. package/dist-es/commands/DescribeAccountLimitsCommand.js +18 -41
  117. package/dist-es/commands/DescribeConfigurationSetsCommand.js +18 -41
  118. package/dist-es/commands/DescribeKeywordsCommand.js +18 -41
  119. package/dist-es/commands/DescribeOptOutListsCommand.js +18 -41
  120. package/dist-es/commands/DescribeOptedOutNumbersCommand.js +18 -41
  121. package/dist-es/commands/DescribePhoneNumbersCommand.js +18 -41
  122. package/dist-es/commands/DescribePoolsCommand.js +18 -41
  123. package/dist-es/commands/DescribeRegistrationAttachmentsCommand.js +18 -41
  124. package/dist-es/commands/DescribeRegistrationFieldDefinitionsCommand.js +18 -41
  125. package/dist-es/commands/DescribeRegistrationFieldValuesCommand.js +18 -41
  126. package/dist-es/commands/DescribeRegistrationSectionDefinitionsCommand.js +18 -41
  127. package/dist-es/commands/DescribeRegistrationTypeDefinitionsCommand.js +18 -41
  128. package/dist-es/commands/DescribeRegistrationVersionsCommand.js +18 -41
  129. package/dist-es/commands/DescribeRegistrationsCommand.js +18 -41
  130. package/dist-es/commands/DescribeSenderIdsCommand.js +18 -41
  131. package/dist-es/commands/DescribeSpendLimitsCommand.js +18 -41
  132. package/dist-es/commands/DescribeVerifiedDestinationNumbersCommand.js +18 -41
  133. package/dist-es/commands/DisassociateOriginationIdentityCommand.js +18 -41
  134. package/dist-es/commands/DiscardRegistrationVersionCommand.js +18 -41
  135. package/dist-es/commands/ListPoolOriginationIdentitiesCommand.js +18 -41
  136. package/dist-es/commands/ListRegistrationAssociationsCommand.js +18 -41
  137. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  138. package/dist-es/commands/PutKeywordCommand.js +18 -41
  139. package/dist-es/commands/PutOptedOutNumberCommand.js +18 -41
  140. package/dist-es/commands/PutRegistrationFieldValueCommand.js +18 -41
  141. package/dist-es/commands/ReleasePhoneNumberCommand.js +18 -41
  142. package/dist-es/commands/ReleaseSenderIdCommand.js +18 -41
  143. package/dist-es/commands/RequestPhoneNumberCommand.js +18 -41
  144. package/dist-es/commands/RequestSenderIdCommand.js +18 -41
  145. package/dist-es/commands/SendDestinationNumberVerificationCodeCommand.js +18 -41
  146. package/dist-es/commands/SendTextMessageCommand.js +18 -41
  147. package/dist-es/commands/SendVoiceMessageCommand.js +18 -41
  148. package/dist-es/commands/SetDefaultMessageTypeCommand.js +18 -41
  149. package/dist-es/commands/SetDefaultSenderIdCommand.js +18 -41
  150. package/dist-es/commands/SetTextMessageSpendLimitOverrideCommand.js +18 -41
  151. package/dist-es/commands/SetVoiceMessageSpendLimitOverrideCommand.js +18 -41
  152. package/dist-es/commands/SubmitRegistrationVersionCommand.js +18 -41
  153. package/dist-es/commands/TagResourceCommand.js +18 -41
  154. package/dist-es/commands/UntagResourceCommand.js +18 -41
  155. package/dist-es/commands/UpdateEventDestinationCommand.js +18 -41
  156. package/dist-es/commands/UpdatePhoneNumberCommand.js +18 -41
  157. package/dist-es/commands/UpdatePoolCommand.js +18 -41
  158. package/dist-es/commands/UpdateSenderIdCommand.js +18 -41
  159. package/dist-es/commands/VerifyDestinationNumberCommand.js +18 -41
  160. package/dist-es/endpoint/EndpointParameters.js +6 -0
  161. package/dist-es/pagination/DescribeAccountAttributesPaginator.js +2 -23
  162. package/dist-es/pagination/DescribeAccountLimitsPaginator.js +2 -23
  163. package/dist-es/pagination/DescribeConfigurationSetsPaginator.js +2 -23
  164. package/dist-es/pagination/DescribeKeywordsPaginator.js +2 -23
  165. package/dist-es/pagination/DescribeOptOutListsPaginator.js +2 -23
  166. package/dist-es/pagination/DescribeOptedOutNumbersPaginator.js +2 -23
  167. package/dist-es/pagination/DescribePhoneNumbersPaginator.js +2 -23
  168. package/dist-es/pagination/DescribePoolsPaginator.js +2 -23
  169. package/dist-es/pagination/DescribeRegistrationAttachmentsPaginator.js +2 -23
  170. package/dist-es/pagination/DescribeRegistrationFieldDefinitionsPaginator.js +2 -23
  171. package/dist-es/pagination/DescribeRegistrationFieldValuesPaginator.js +2 -23
  172. package/dist-es/pagination/DescribeRegistrationSectionDefinitionsPaginator.js +2 -23
  173. package/dist-es/pagination/DescribeRegistrationTypeDefinitionsPaginator.js +2 -23
  174. package/dist-es/pagination/DescribeRegistrationVersionsPaginator.js +2 -23
  175. package/dist-es/pagination/DescribeRegistrationsPaginator.js +2 -23
  176. package/dist-es/pagination/DescribeSenderIdsPaginator.js +2 -23
  177. package/dist-es/pagination/DescribeSpendLimitsPaginator.js +2 -23
  178. package/dist-es/pagination/DescribeVerifiedDestinationNumbersPaginator.js +2 -23
  179. package/dist-es/pagination/ListPoolOriginationIdentitiesPaginator.js +2 -23
  180. package/dist-es/pagination/ListRegistrationAssociationsPaginator.js +2 -23
  181. package/dist-types/commands/AssociateOriginationIdentityCommand.d.ts +6 -21
  182. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +6 -21
  183. package/dist-types/commands/CreateEventDestinationCommand.d.ts +6 -21
  184. package/dist-types/commands/CreateOptOutListCommand.d.ts +6 -21
  185. package/dist-types/commands/CreatePoolCommand.d.ts +6 -21
  186. package/dist-types/commands/CreateRegistrationAssociationCommand.d.ts +6 -21
  187. package/dist-types/commands/CreateRegistrationAttachmentCommand.d.ts +6 -21
  188. package/dist-types/commands/CreateRegistrationCommand.d.ts +6 -21
  189. package/dist-types/commands/CreateRegistrationVersionCommand.d.ts +6 -21
  190. package/dist-types/commands/CreateVerifiedDestinationNumberCommand.d.ts +6 -21
  191. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +6 -21
  192. package/dist-types/commands/DeleteDefaultMessageTypeCommand.d.ts +6 -21
  193. package/dist-types/commands/DeleteDefaultSenderIdCommand.d.ts +6 -21
  194. package/dist-types/commands/DeleteEventDestinationCommand.d.ts +6 -21
  195. package/dist-types/commands/DeleteKeywordCommand.d.ts +6 -21
  196. package/dist-types/commands/DeleteOptOutListCommand.d.ts +6 -21
  197. package/dist-types/commands/DeleteOptedOutNumberCommand.d.ts +6 -21
  198. package/dist-types/commands/DeletePoolCommand.d.ts +6 -21
  199. package/dist-types/commands/DeleteRegistrationAttachmentCommand.d.ts +6 -21
  200. package/dist-types/commands/DeleteRegistrationCommand.d.ts +6 -21
  201. package/dist-types/commands/DeleteRegistrationFieldValueCommand.d.ts +6 -21
  202. package/dist-types/commands/DeleteTextMessageSpendLimitOverrideCommand.d.ts +6 -21
  203. package/dist-types/commands/DeleteVerifiedDestinationNumberCommand.d.ts +6 -21
  204. package/dist-types/commands/DeleteVoiceMessageSpendLimitOverrideCommand.d.ts +6 -21
  205. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +6 -21
  206. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +6 -21
  207. package/dist-types/commands/DescribeConfigurationSetsCommand.d.ts +6 -21
  208. package/dist-types/commands/DescribeKeywordsCommand.d.ts +6 -21
  209. package/dist-types/commands/DescribeOptOutListsCommand.d.ts +6 -21
  210. package/dist-types/commands/DescribeOptedOutNumbersCommand.d.ts +6 -21
  211. package/dist-types/commands/DescribePhoneNumbersCommand.d.ts +6 -21
  212. package/dist-types/commands/DescribePoolsCommand.d.ts +6 -21
  213. package/dist-types/commands/DescribeRegistrationAttachmentsCommand.d.ts +6 -21
  214. package/dist-types/commands/DescribeRegistrationFieldDefinitionsCommand.d.ts +6 -21
  215. package/dist-types/commands/DescribeRegistrationFieldValuesCommand.d.ts +6 -21
  216. package/dist-types/commands/DescribeRegistrationSectionDefinitionsCommand.d.ts +6 -21
  217. package/dist-types/commands/DescribeRegistrationTypeDefinitionsCommand.d.ts +6 -21
  218. package/dist-types/commands/DescribeRegistrationVersionsCommand.d.ts +6 -21
  219. package/dist-types/commands/DescribeRegistrationsCommand.d.ts +6 -21
  220. package/dist-types/commands/DescribeSenderIdsCommand.d.ts +6 -21
  221. package/dist-types/commands/DescribeSpendLimitsCommand.d.ts +6 -21
  222. package/dist-types/commands/DescribeVerifiedDestinationNumbersCommand.d.ts +6 -21
  223. package/dist-types/commands/DisassociateOriginationIdentityCommand.d.ts +6 -21
  224. package/dist-types/commands/DiscardRegistrationVersionCommand.d.ts +6 -21
  225. package/dist-types/commands/ListPoolOriginationIdentitiesCommand.d.ts +6 -21
  226. package/dist-types/commands/ListRegistrationAssociationsCommand.d.ts +6 -21
  227. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  228. package/dist-types/commands/PutKeywordCommand.d.ts +6 -21
  229. package/dist-types/commands/PutOptedOutNumberCommand.d.ts +6 -21
  230. package/dist-types/commands/PutRegistrationFieldValueCommand.d.ts +6 -21
  231. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +6 -21
  232. package/dist-types/commands/ReleaseSenderIdCommand.d.ts +6 -21
  233. package/dist-types/commands/RequestPhoneNumberCommand.d.ts +6 -21
  234. package/dist-types/commands/RequestSenderIdCommand.d.ts +6 -21
  235. package/dist-types/commands/SendDestinationNumberVerificationCodeCommand.d.ts +6 -21
  236. package/dist-types/commands/SendTextMessageCommand.d.ts +6 -21
  237. package/dist-types/commands/SendVoiceMessageCommand.d.ts +6 -21
  238. package/dist-types/commands/SetDefaultMessageTypeCommand.d.ts +6 -21
  239. package/dist-types/commands/SetDefaultSenderIdCommand.d.ts +6 -21
  240. package/dist-types/commands/SetTextMessageSpendLimitOverrideCommand.d.ts +6 -21
  241. package/dist-types/commands/SetVoiceMessageSpendLimitOverrideCommand.d.ts +6 -21
  242. package/dist-types/commands/SubmitRegistrationVersionCommand.d.ts +6 -21
  243. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  244. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  245. package/dist-types/commands/UpdateEventDestinationCommand.d.ts +6 -21
  246. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +6 -21
  247. package/dist-types/commands/UpdatePoolCommand.d.ts +6 -21
  248. package/dist-types/commands/UpdateSenderIdCommand.d.ts +6 -21
  249. package/dist-types/commands/VerifyDestinationNumberCommand.d.ts +6 -21
  250. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  251. package/dist-types/pagination/DescribeAccountAttributesPaginator.d.ts +1 -1
  252. package/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +1 -1
  253. package/dist-types/pagination/DescribeConfigurationSetsPaginator.d.ts +1 -1
  254. package/dist-types/pagination/DescribeKeywordsPaginator.d.ts +1 -1
  255. package/dist-types/pagination/DescribeOptOutListsPaginator.d.ts +1 -1
  256. package/dist-types/pagination/DescribeOptedOutNumbersPaginator.d.ts +1 -1
  257. package/dist-types/pagination/DescribePhoneNumbersPaginator.d.ts +1 -1
  258. package/dist-types/pagination/DescribePoolsPaginator.d.ts +1 -1
  259. package/dist-types/pagination/DescribeRegistrationAttachmentsPaginator.d.ts +1 -1
  260. package/dist-types/pagination/DescribeRegistrationFieldDefinitionsPaginator.d.ts +1 -1
  261. package/dist-types/pagination/DescribeRegistrationFieldValuesPaginator.d.ts +1 -1
  262. package/dist-types/pagination/DescribeRegistrationSectionDefinitionsPaginator.d.ts +1 -1
  263. package/dist-types/pagination/DescribeRegistrationTypeDefinitionsPaginator.d.ts +1 -1
  264. package/dist-types/pagination/DescribeRegistrationVersionsPaginator.d.ts +1 -1
  265. package/dist-types/pagination/DescribeRegistrationsPaginator.d.ts +1 -1
  266. package/dist-types/pagination/DescribeSenderIdsPaginator.d.ts +1 -1
  267. package/dist-types/pagination/DescribeSpendLimitsPaginator.d.ts +1 -1
  268. package/dist-types/pagination/DescribeVerifiedDestinationNumbersPaginator.d.ts +1 -1
  269. package/dist-types/pagination/ListPoolOriginationIdentitiesPaginator.d.ts +1 -1
  270. package/dist-types/pagination/ListRegistrationAssociationsPaginator.d.ts +1 -1
  271. package/dist-types/ts3.4/commands/AssociateOriginationIdentityCommand.d.ts +12 -24
  272. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +12 -24
  273. package/dist-types/ts3.4/commands/CreateEventDestinationCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/CreateOptOutListCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/CreatePoolCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/CreateRegistrationAssociationCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/CreateRegistrationAttachmentCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/CreateRegistrationCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/CreateRegistrationVersionCommand.d.ts +12 -24
  280. package/dist-types/ts3.4/commands/CreateVerifiedDestinationNumberCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/DeleteDefaultMessageTypeCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/DeleteDefaultSenderIdCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/DeleteEventDestinationCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/DeleteKeywordCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/DeleteOptOutListCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/DeleteOptedOutNumberCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/DeletePoolCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/DeleteRegistrationAttachmentCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/DeleteRegistrationCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/DeleteRegistrationFieldValueCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/DeleteTextMessageSpendLimitOverrideCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/DeleteVerifiedDestinationNumberCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/DeleteVoiceMessageSpendLimitOverrideCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/DescribeConfigurationSetsCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/DescribeKeywordsCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/DescribeOptOutListsCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/DescribeOptedOutNumbersCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/DescribePhoneNumbersCommand.d.ts +12 -24
  302. package/dist-types/ts3.4/commands/DescribePoolsCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/DescribeRegistrationAttachmentsCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/DescribeRegistrationFieldDefinitionsCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/DescribeRegistrationFieldValuesCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/DescribeRegistrationSectionDefinitionsCommand.d.ts +12 -24
  307. package/dist-types/ts3.4/commands/DescribeRegistrationTypeDefinitionsCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/DescribeRegistrationVersionsCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/DescribeRegistrationsCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/DescribeSenderIdsCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/DescribeSpendLimitsCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/DescribeVerifiedDestinationNumbersCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/DisassociateOriginationIdentityCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/DiscardRegistrationVersionCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/ListPoolOriginationIdentitiesCommand.d.ts +12 -24
  316. package/dist-types/ts3.4/commands/ListRegistrationAssociationsCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/PutKeywordCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/PutOptedOutNumberCommand.d.ts +14 -23
  320. package/dist-types/ts3.4/commands/PutRegistrationFieldValueCommand.d.ts +12 -24
  321. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +14 -23
  322. package/dist-types/ts3.4/commands/ReleaseSenderIdCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/RequestPhoneNumberCommand.d.ts +14 -23
  324. package/dist-types/ts3.4/commands/RequestSenderIdCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/SendDestinationNumberVerificationCodeCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/SendTextMessageCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/SendVoiceMessageCommand.d.ts +14 -23
  328. package/dist-types/ts3.4/commands/SetDefaultMessageTypeCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/SetDefaultSenderIdCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/SetTextMessageSpendLimitOverrideCommand.d.ts +12 -24
  331. package/dist-types/ts3.4/commands/SetVoiceMessageSpendLimitOverrideCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/SubmitRegistrationVersionCommand.d.ts +12 -24
  333. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  334. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/UpdateEventDestinationCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +14 -23
  337. package/dist-types/ts3.4/commands/UpdatePoolCommand.d.ts +14 -23
  338. package/dist-types/ts3.4/commands/UpdateSenderIdCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/VerifyDestinationNumberCommand.d.ts +12 -24
  340. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  341. package/dist-types/ts3.4/pagination/DescribeAccountAttributesPaginator.d.ts +3 -3
  342. package/dist-types/ts3.4/pagination/DescribeAccountLimitsPaginator.d.ts +3 -3
  343. package/dist-types/ts3.4/pagination/DescribeConfigurationSetsPaginator.d.ts +3 -3
  344. package/dist-types/ts3.4/pagination/DescribeKeywordsPaginator.d.ts +3 -3
  345. package/dist-types/ts3.4/pagination/DescribeOptOutListsPaginator.d.ts +3 -3
  346. package/dist-types/ts3.4/pagination/DescribeOptedOutNumbersPaginator.d.ts +3 -3
  347. package/dist-types/ts3.4/pagination/DescribePhoneNumbersPaginator.d.ts +3 -3
  348. package/dist-types/ts3.4/pagination/DescribePoolsPaginator.d.ts +3 -3
  349. package/dist-types/ts3.4/pagination/DescribeRegistrationAttachmentsPaginator.d.ts +3 -3
  350. package/dist-types/ts3.4/pagination/DescribeRegistrationFieldDefinitionsPaginator.d.ts +3 -3
  351. package/dist-types/ts3.4/pagination/DescribeRegistrationFieldValuesPaginator.d.ts +3 -3
  352. package/dist-types/ts3.4/pagination/DescribeRegistrationSectionDefinitionsPaginator.d.ts +3 -3
  353. package/dist-types/ts3.4/pagination/DescribeRegistrationTypeDefinitionsPaginator.d.ts +3 -3
  354. package/dist-types/ts3.4/pagination/DescribeRegistrationVersionsPaginator.d.ts +3 -3
  355. package/dist-types/ts3.4/pagination/DescribeRegistrationsPaginator.d.ts +3 -3
  356. package/dist-types/ts3.4/pagination/DescribeSenderIdsPaginator.d.ts +3 -3
  357. package/dist-types/ts3.4/pagination/DescribeSpendLimitsPaginator.d.ts +3 -3
  358. package/dist-types/ts3.4/pagination/DescribeVerifiedDestinationNumbersPaginator.d.ts +3 -3
  359. package/dist-types/ts3.4/pagination/ListPoolOriginationIdentitiesPaginator.d.ts +3 -3
  360. package/dist-types/ts3.4/pagination/ListRegistrationAssociationsPaginator.d.ts +3 -3
  361. package/package.json +11 -10
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribePhoneNumbers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribePhoneNumbersCommand_1 = require("../commands/DescribePhoneNumbersCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribePhoneNumbersCommand_1.DescribePhoneNumbersCommand(input), ...args);
8
- };
9
- async function* paginateDescribePhoneNumbers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribePhoneNumbers = paginateDescribePhoneNumbers;
7
+ exports.paginateDescribePhoneNumbers = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribePhoneNumbersCommand_1.DescribePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribePools = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribePoolsCommand_1 = require("../commands/DescribePoolsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribePoolsCommand_1.DescribePoolsCommand(input), ...args);
8
- };
9
- async function* paginateDescribePools(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribePools = paginateDescribePools;
7
+ exports.paginateDescribePools = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribePoolsCommand_1.DescribePoolsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrationAttachments = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationAttachmentsCommand_1 = require("../commands/DescribeRegistrationAttachmentsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationAttachmentsCommand_1.DescribeRegistrationAttachmentsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrationAttachments(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrationAttachments = paginateDescribeRegistrationAttachments;
7
+ exports.paginateDescribeRegistrationAttachments = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationAttachmentsCommand_1.DescribeRegistrationAttachmentsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrationFieldDefinitions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationFieldDefinitionsCommand_1 = require("../commands/DescribeRegistrationFieldDefinitionsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationFieldDefinitionsCommand_1.DescribeRegistrationFieldDefinitionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrationFieldDefinitions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrationFieldDefinitions = paginateDescribeRegistrationFieldDefinitions;
7
+ exports.paginateDescribeRegistrationFieldDefinitions = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationFieldDefinitionsCommand_1.DescribeRegistrationFieldDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrationFieldValues = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationFieldValuesCommand_1 = require("../commands/DescribeRegistrationFieldValuesCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationFieldValuesCommand_1.DescribeRegistrationFieldValuesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrationFieldValues(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrationFieldValues = paginateDescribeRegistrationFieldValues;
7
+ exports.paginateDescribeRegistrationFieldValues = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationFieldValuesCommand_1.DescribeRegistrationFieldValuesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrationSectionDefinitions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationSectionDefinitionsCommand_1 = require("../commands/DescribeRegistrationSectionDefinitionsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationSectionDefinitionsCommand_1.DescribeRegistrationSectionDefinitionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrationSectionDefinitions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrationSectionDefinitions = paginateDescribeRegistrationSectionDefinitions;
7
+ exports.paginateDescribeRegistrationSectionDefinitions = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationSectionDefinitionsCommand_1.DescribeRegistrationSectionDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrationTypeDefinitions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationTypeDefinitionsCommand_1 = require("../commands/DescribeRegistrationTypeDefinitionsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationTypeDefinitionsCommand_1.DescribeRegistrationTypeDefinitionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrationTypeDefinitions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrationTypeDefinitions = paginateDescribeRegistrationTypeDefinitions;
7
+ exports.paginateDescribeRegistrationTypeDefinitions = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationTypeDefinitionsCommand_1.DescribeRegistrationTypeDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrationVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationVersionsCommand_1 = require("../commands/DescribeRegistrationVersionsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationVersionsCommand_1.DescribeRegistrationVersionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrationVersions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrationVersions = paginateDescribeRegistrationVersions;
7
+ exports.paginateDescribeRegistrationVersions = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationVersionsCommand_1.DescribeRegistrationVersionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegistrations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegistrationsCommand_1 = require("../commands/DescribeRegistrationsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegistrationsCommand_1.DescribeRegistrationsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegistrations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeRegistrations = paginateDescribeRegistrations;
7
+ exports.paginateDescribeRegistrations = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeRegistrationsCommand_1.DescribeRegistrationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeSenderIds = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeSenderIdsCommand_1 = require("../commands/DescribeSenderIdsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeSenderIdsCommand_1.DescribeSenderIdsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeSenderIds(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeSenderIds = paginateDescribeSenderIds;
7
+ exports.paginateDescribeSenderIds = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeSenderIdsCommand_1.DescribeSenderIdsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeSpendLimits = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeSpendLimitsCommand_1 = require("../commands/DescribeSpendLimitsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeSpendLimitsCommand_1.DescribeSpendLimitsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeSpendLimits(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeSpendLimits = paginateDescribeSpendLimits;
7
+ exports.paginateDescribeSpendLimits = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeSpendLimitsCommand_1.DescribeSpendLimitsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeVerifiedDestinationNumbers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeVerifiedDestinationNumbersCommand_1 = require("../commands/DescribeVerifiedDestinationNumbersCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeVerifiedDestinationNumbersCommand_1.DescribeVerifiedDestinationNumbersCommand(input), ...args);
8
- };
9
- async function* paginateDescribeVerifiedDestinationNumbers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeVerifiedDestinationNumbers = paginateDescribeVerifiedDestinationNumbers;
7
+ exports.paginateDescribeVerifiedDestinationNumbers = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, DescribeVerifiedDestinationNumbersCommand_1.DescribeVerifiedDestinationNumbersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPoolOriginationIdentities = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPoolOriginationIdentitiesCommand_1 = require("../commands/ListPoolOriginationIdentitiesCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPoolOriginationIdentitiesCommand_1.ListPoolOriginationIdentitiesCommand(input), ...args);
8
- };
9
- async function* paginateListPoolOriginationIdentities(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPoolOriginationIdentities = paginateListPoolOriginationIdentities;
7
+ exports.paginateListPoolOriginationIdentities = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, ListPoolOriginationIdentitiesCommand_1.ListPoolOriginationIdentitiesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListRegistrationAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListRegistrationAssociationsCommand_1 = require("../commands/ListRegistrationAssociationsCommand");
5
6
  const PinpointSMSVoiceV2Client_1 = require("../PinpointSMSVoiceV2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListRegistrationAssociationsCommand_1.ListRegistrationAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateListRegistrationAssociations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected PinpointSMSVoiceV2 | PinpointSMSVoiceV2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListRegistrationAssociations = paginateListRegistrationAssociations;
7
+ exports.paginateListRegistrationAssociations = (0, core_1.createPaginator)(PinpointSMSVoiceV2Client_1.PinpointSMSVoiceV2Client, ListRegistrationAssociationsCommand_1.ListRegistrationAssociationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AssociateOriginationIdentityCommand, se_AssociateOriginationIdentityCommand, } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class AssociateOriginationIdentityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AssociateOriginationIdentityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointSMSVoiceV2Client";
26
- const commandName = "AssociateOriginationIdentityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PinpointSMSVoiceV2",
35
- operation: "AssociateOriginationIdentity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AssociateOriginationIdentityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AssociateOriginationIdentityCommand(output, context);
46
- }
7
+ export class AssociateOriginationIdentityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("PinpointSMSVoiceV2", "AssociateOriginationIdentity", {})
19
+ .n("PinpointSMSVoiceV2Client", "AssociateOriginationIdentityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AssociateOriginationIdentityCommand)
22
+ .de(de_AssociateOriginationIdentityCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateConfigurationSetCommand, se_CreateConfigurationSetCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class CreateConfigurationSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateConfigurationSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointSMSVoiceV2Client";
26
- const commandName = "CreateConfigurationSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "PinpointSMSVoiceV2",
35
- operation: "CreateConfigurationSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateConfigurationSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateConfigurationSetCommand(output, context);
46
- }
7
+ export class CreateConfigurationSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("PinpointSMSVoiceV2", "CreateConfigurationSet", {})
19
+ .n("PinpointSMSVoiceV2Client", "CreateConfigurationSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateConfigurationSetCommand)
22
+ .de(de_CreateConfigurationSetCommand)
23
+ .build() {
47
24
  }