@aws-sdk/client-cognito-identity-provider 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 (453) hide show
  1. package/dist-cjs/commands/AddCustomAttributesCommand.js +19 -42
  2. package/dist-cjs/commands/AdminAddUserToGroupCommand.js +19 -42
  3. package/dist-cjs/commands/AdminConfirmSignUpCommand.js +19 -42
  4. package/dist-cjs/commands/AdminCreateUserCommand.js +19 -42
  5. package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +19 -42
  6. package/dist-cjs/commands/AdminDeleteUserCommand.js +19 -42
  7. package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +19 -42
  8. package/dist-cjs/commands/AdminDisableUserCommand.js +19 -42
  9. package/dist-cjs/commands/AdminEnableUserCommand.js +19 -42
  10. package/dist-cjs/commands/AdminForgetDeviceCommand.js +19 -42
  11. package/dist-cjs/commands/AdminGetDeviceCommand.js +19 -42
  12. package/dist-cjs/commands/AdminGetUserCommand.js +19 -42
  13. package/dist-cjs/commands/AdminInitiateAuthCommand.js +19 -42
  14. package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +19 -42
  15. package/dist-cjs/commands/AdminListDevicesCommand.js +19 -42
  16. package/dist-cjs/commands/AdminListGroupsForUserCommand.js +19 -42
  17. package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +19 -42
  18. package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +19 -42
  19. package/dist-cjs/commands/AdminResetUserPasswordCommand.js +19 -42
  20. package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +19 -42
  21. package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +19 -42
  22. package/dist-cjs/commands/AdminSetUserPasswordCommand.js +19 -42
  23. package/dist-cjs/commands/AdminSetUserSettingsCommand.js +19 -42
  24. package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +19 -42
  25. package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +19 -42
  26. package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +19 -42
  27. package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +19 -42
  28. package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +18 -41
  29. package/dist-cjs/commands/ChangePasswordCommand.js +18 -41
  30. package/dist-cjs/commands/ConfirmDeviceCommand.js +18 -41
  31. package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +18 -41
  32. package/dist-cjs/commands/ConfirmSignUpCommand.js +18 -41
  33. package/dist-cjs/commands/CreateGroupCommand.js +19 -42
  34. package/dist-cjs/commands/CreateIdentityProviderCommand.js +19 -42
  35. package/dist-cjs/commands/CreateResourceServerCommand.js +19 -42
  36. package/dist-cjs/commands/CreateUserImportJobCommand.js +19 -42
  37. package/dist-cjs/commands/CreateUserPoolClientCommand.js +19 -42
  38. package/dist-cjs/commands/CreateUserPoolCommand.js +19 -42
  39. package/dist-cjs/commands/CreateUserPoolDomainCommand.js +19 -42
  40. package/dist-cjs/commands/DeleteGroupCommand.js +19 -42
  41. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +19 -42
  42. package/dist-cjs/commands/DeleteResourceServerCommand.js +19 -42
  43. package/dist-cjs/commands/DeleteUserAttributesCommand.js +18 -41
  44. package/dist-cjs/commands/DeleteUserCommand.js +18 -41
  45. package/dist-cjs/commands/DeleteUserPoolClientCommand.js +19 -42
  46. package/dist-cjs/commands/DeleteUserPoolCommand.js +19 -42
  47. package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +19 -42
  48. package/dist-cjs/commands/DescribeIdentityProviderCommand.js +19 -42
  49. package/dist-cjs/commands/DescribeResourceServerCommand.js +19 -42
  50. package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +19 -42
  51. package/dist-cjs/commands/DescribeUserImportJobCommand.js +19 -42
  52. package/dist-cjs/commands/DescribeUserPoolClientCommand.js +19 -42
  53. package/dist-cjs/commands/DescribeUserPoolCommand.js +19 -42
  54. package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +19 -42
  55. package/dist-cjs/commands/ForgetDeviceCommand.js +18 -41
  56. package/dist-cjs/commands/ForgotPasswordCommand.js +18 -41
  57. package/dist-cjs/commands/GetCSVHeaderCommand.js +19 -42
  58. package/dist-cjs/commands/GetDeviceCommand.js +18 -41
  59. package/dist-cjs/commands/GetGroupCommand.js +19 -42
  60. package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +19 -42
  61. package/dist-cjs/commands/GetLogDeliveryConfigurationCommand.js +19 -42
  62. package/dist-cjs/commands/GetSigningCertificateCommand.js +19 -42
  63. package/dist-cjs/commands/GetUICustomizationCommand.js +19 -42
  64. package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +18 -41
  65. package/dist-cjs/commands/GetUserCommand.js +18 -41
  66. package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +19 -42
  67. package/dist-cjs/commands/GlobalSignOutCommand.js +18 -41
  68. package/dist-cjs/commands/InitiateAuthCommand.js +18 -41
  69. package/dist-cjs/commands/ListDevicesCommand.js +18 -41
  70. package/dist-cjs/commands/ListGroupsCommand.js +19 -42
  71. package/dist-cjs/commands/ListIdentityProvidersCommand.js +19 -42
  72. package/dist-cjs/commands/ListResourceServersCommand.js +19 -42
  73. package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
  74. package/dist-cjs/commands/ListUserImportJobsCommand.js +19 -42
  75. package/dist-cjs/commands/ListUserPoolClientsCommand.js +19 -42
  76. package/dist-cjs/commands/ListUserPoolsCommand.js +19 -42
  77. package/dist-cjs/commands/ListUsersCommand.js +19 -42
  78. package/dist-cjs/commands/ListUsersInGroupCommand.js +19 -42
  79. package/dist-cjs/commands/ResendConfirmationCodeCommand.js +18 -41
  80. package/dist-cjs/commands/RespondToAuthChallengeCommand.js +18 -41
  81. package/dist-cjs/commands/RevokeTokenCommand.js +18 -41
  82. package/dist-cjs/commands/SetLogDeliveryConfigurationCommand.js +19 -42
  83. package/dist-cjs/commands/SetRiskConfigurationCommand.js +19 -42
  84. package/dist-cjs/commands/SetUICustomizationCommand.js +19 -42
  85. package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +18 -41
  86. package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +19 -42
  87. package/dist-cjs/commands/SetUserSettingsCommand.js +18 -41
  88. package/dist-cjs/commands/SignUpCommand.js +18 -41
  89. package/dist-cjs/commands/StartUserImportJobCommand.js +19 -42
  90. package/dist-cjs/commands/StopUserImportJobCommand.js +19 -42
  91. package/dist-cjs/commands/TagResourceCommand.js +19 -42
  92. package/dist-cjs/commands/UntagResourceCommand.js +19 -42
  93. package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +18 -41
  94. package/dist-cjs/commands/UpdateDeviceStatusCommand.js +18 -41
  95. package/dist-cjs/commands/UpdateGroupCommand.js +19 -42
  96. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +19 -42
  97. package/dist-cjs/commands/UpdateResourceServerCommand.js +19 -42
  98. package/dist-cjs/commands/UpdateUserAttributesCommand.js +18 -41
  99. package/dist-cjs/commands/UpdateUserPoolClientCommand.js +19 -42
  100. package/dist-cjs/commands/UpdateUserPoolCommand.js +19 -42
  101. package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +19 -42
  102. package/dist-cjs/commands/VerifySoftwareTokenCommand.js +18 -41
  103. package/dist-cjs/commands/VerifyUserAttributeCommand.js +18 -41
  104. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  105. package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js +2 -24
  106. package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js +2 -24
  107. package/dist-cjs/pagination/ListGroupsPaginator.js +2 -24
  108. package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +2 -24
  109. package/dist-cjs/pagination/ListResourceServersPaginator.js +2 -24
  110. package/dist-cjs/pagination/ListUserPoolClientsPaginator.js +2 -24
  111. package/dist-cjs/pagination/ListUserPoolsPaginator.js +2 -24
  112. package/dist-cjs/pagination/ListUsersInGroupPaginator.js +2 -24
  113. package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
  114. package/dist-es/commands/AddCustomAttributesCommand.js +19 -42
  115. package/dist-es/commands/AdminAddUserToGroupCommand.js +19 -42
  116. package/dist-es/commands/AdminConfirmSignUpCommand.js +19 -42
  117. package/dist-es/commands/AdminCreateUserCommand.js +19 -42
  118. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +19 -42
  119. package/dist-es/commands/AdminDeleteUserCommand.js +19 -42
  120. package/dist-es/commands/AdminDisableProviderForUserCommand.js +19 -42
  121. package/dist-es/commands/AdminDisableUserCommand.js +19 -42
  122. package/dist-es/commands/AdminEnableUserCommand.js +19 -42
  123. package/dist-es/commands/AdminForgetDeviceCommand.js +19 -42
  124. package/dist-es/commands/AdminGetDeviceCommand.js +19 -42
  125. package/dist-es/commands/AdminGetUserCommand.js +19 -42
  126. package/dist-es/commands/AdminInitiateAuthCommand.js +19 -42
  127. package/dist-es/commands/AdminLinkProviderForUserCommand.js +19 -42
  128. package/dist-es/commands/AdminListDevicesCommand.js +19 -42
  129. package/dist-es/commands/AdminListGroupsForUserCommand.js +19 -42
  130. package/dist-es/commands/AdminListUserAuthEventsCommand.js +19 -42
  131. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +19 -42
  132. package/dist-es/commands/AdminResetUserPasswordCommand.js +19 -42
  133. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +19 -42
  134. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +19 -42
  135. package/dist-es/commands/AdminSetUserPasswordCommand.js +19 -42
  136. package/dist-es/commands/AdminSetUserSettingsCommand.js +19 -42
  137. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +19 -42
  138. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +19 -42
  139. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +19 -42
  140. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +19 -42
  141. package/dist-es/commands/AssociateSoftwareTokenCommand.js +18 -41
  142. package/dist-es/commands/ChangePasswordCommand.js +18 -41
  143. package/dist-es/commands/ConfirmDeviceCommand.js +18 -41
  144. package/dist-es/commands/ConfirmForgotPasswordCommand.js +18 -41
  145. package/dist-es/commands/ConfirmSignUpCommand.js +18 -41
  146. package/dist-es/commands/CreateGroupCommand.js +19 -42
  147. package/dist-es/commands/CreateIdentityProviderCommand.js +19 -42
  148. package/dist-es/commands/CreateResourceServerCommand.js +19 -42
  149. package/dist-es/commands/CreateUserImportJobCommand.js +19 -42
  150. package/dist-es/commands/CreateUserPoolClientCommand.js +19 -42
  151. package/dist-es/commands/CreateUserPoolCommand.js +19 -42
  152. package/dist-es/commands/CreateUserPoolDomainCommand.js +19 -42
  153. package/dist-es/commands/DeleteGroupCommand.js +19 -42
  154. package/dist-es/commands/DeleteIdentityProviderCommand.js +19 -42
  155. package/dist-es/commands/DeleteResourceServerCommand.js +19 -42
  156. package/dist-es/commands/DeleteUserAttributesCommand.js +18 -41
  157. package/dist-es/commands/DeleteUserCommand.js +18 -41
  158. package/dist-es/commands/DeleteUserPoolClientCommand.js +19 -42
  159. package/dist-es/commands/DeleteUserPoolCommand.js +19 -42
  160. package/dist-es/commands/DeleteUserPoolDomainCommand.js +19 -42
  161. package/dist-es/commands/DescribeIdentityProviderCommand.js +19 -42
  162. package/dist-es/commands/DescribeResourceServerCommand.js +19 -42
  163. package/dist-es/commands/DescribeRiskConfigurationCommand.js +19 -42
  164. package/dist-es/commands/DescribeUserImportJobCommand.js +19 -42
  165. package/dist-es/commands/DescribeUserPoolClientCommand.js +19 -42
  166. package/dist-es/commands/DescribeUserPoolCommand.js +19 -42
  167. package/dist-es/commands/DescribeUserPoolDomainCommand.js +19 -42
  168. package/dist-es/commands/ForgetDeviceCommand.js +18 -41
  169. package/dist-es/commands/ForgotPasswordCommand.js +18 -41
  170. package/dist-es/commands/GetCSVHeaderCommand.js +19 -42
  171. package/dist-es/commands/GetDeviceCommand.js +18 -41
  172. package/dist-es/commands/GetGroupCommand.js +19 -42
  173. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +19 -42
  174. package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +19 -42
  175. package/dist-es/commands/GetSigningCertificateCommand.js +19 -42
  176. package/dist-es/commands/GetUICustomizationCommand.js +19 -42
  177. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +18 -41
  178. package/dist-es/commands/GetUserCommand.js +18 -41
  179. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +19 -42
  180. package/dist-es/commands/GlobalSignOutCommand.js +18 -41
  181. package/dist-es/commands/InitiateAuthCommand.js +18 -41
  182. package/dist-es/commands/ListDevicesCommand.js +18 -41
  183. package/dist-es/commands/ListGroupsCommand.js +19 -42
  184. package/dist-es/commands/ListIdentityProvidersCommand.js +19 -42
  185. package/dist-es/commands/ListResourceServersCommand.js +19 -42
  186. package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
  187. package/dist-es/commands/ListUserImportJobsCommand.js +19 -42
  188. package/dist-es/commands/ListUserPoolClientsCommand.js +19 -42
  189. package/dist-es/commands/ListUserPoolsCommand.js +19 -42
  190. package/dist-es/commands/ListUsersCommand.js +19 -42
  191. package/dist-es/commands/ListUsersInGroupCommand.js +19 -42
  192. package/dist-es/commands/ResendConfirmationCodeCommand.js +18 -41
  193. package/dist-es/commands/RespondToAuthChallengeCommand.js +18 -41
  194. package/dist-es/commands/RevokeTokenCommand.js +18 -41
  195. package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +19 -42
  196. package/dist-es/commands/SetRiskConfigurationCommand.js +19 -42
  197. package/dist-es/commands/SetUICustomizationCommand.js +19 -42
  198. package/dist-es/commands/SetUserMFAPreferenceCommand.js +18 -41
  199. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +19 -42
  200. package/dist-es/commands/SetUserSettingsCommand.js +18 -41
  201. package/dist-es/commands/SignUpCommand.js +18 -41
  202. package/dist-es/commands/StartUserImportJobCommand.js +19 -42
  203. package/dist-es/commands/StopUserImportJobCommand.js +19 -42
  204. package/dist-es/commands/TagResourceCommand.js +19 -42
  205. package/dist-es/commands/UntagResourceCommand.js +19 -42
  206. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +18 -41
  207. package/dist-es/commands/UpdateDeviceStatusCommand.js +18 -41
  208. package/dist-es/commands/UpdateGroupCommand.js +19 -42
  209. package/dist-es/commands/UpdateIdentityProviderCommand.js +19 -42
  210. package/dist-es/commands/UpdateResourceServerCommand.js +19 -42
  211. package/dist-es/commands/UpdateUserAttributesCommand.js +18 -41
  212. package/dist-es/commands/UpdateUserPoolClientCommand.js +19 -42
  213. package/dist-es/commands/UpdateUserPoolCommand.js +19 -42
  214. package/dist-es/commands/UpdateUserPoolDomainCommand.js +19 -42
  215. package/dist-es/commands/VerifySoftwareTokenCommand.js +18 -41
  216. package/dist-es/commands/VerifyUserAttributeCommand.js +18 -41
  217. package/dist-es/endpoint/EndpointParameters.js +6 -0
  218. package/dist-es/pagination/AdminListGroupsForUserPaginator.js +2 -23
  219. package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +2 -23
  220. package/dist-es/pagination/ListGroupsPaginator.js +2 -23
  221. package/dist-es/pagination/ListIdentityProvidersPaginator.js +2 -23
  222. package/dist-es/pagination/ListResourceServersPaginator.js +2 -23
  223. package/dist-es/pagination/ListUserPoolClientsPaginator.js +2 -23
  224. package/dist-es/pagination/ListUserPoolsPaginator.js +2 -23
  225. package/dist-es/pagination/ListUsersInGroupPaginator.js +2 -23
  226. package/dist-es/pagination/ListUsersPaginator.js +2 -23
  227. package/dist-types/commands/AddCustomAttributesCommand.d.ts +6 -21
  228. package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +6 -21
  229. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +6 -21
  230. package/dist-types/commands/AdminCreateUserCommand.d.ts +6 -21
  231. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +6 -21
  232. package/dist-types/commands/AdminDeleteUserCommand.d.ts +6 -21
  233. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +6 -21
  234. package/dist-types/commands/AdminDisableUserCommand.d.ts +6 -21
  235. package/dist-types/commands/AdminEnableUserCommand.d.ts +6 -21
  236. package/dist-types/commands/AdminForgetDeviceCommand.d.ts +6 -21
  237. package/dist-types/commands/AdminGetDeviceCommand.d.ts +6 -21
  238. package/dist-types/commands/AdminGetUserCommand.d.ts +6 -21
  239. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +6 -21
  240. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +6 -21
  241. package/dist-types/commands/AdminListDevicesCommand.d.ts +6 -21
  242. package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +6 -21
  243. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +6 -21
  244. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +6 -21
  245. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +6 -21
  246. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +6 -21
  247. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +6 -21
  248. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +6 -21
  249. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +6 -21
  250. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +6 -21
  251. package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +6 -21
  252. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +6 -21
  253. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +6 -21
  254. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +6 -21
  255. package/dist-types/commands/ChangePasswordCommand.d.ts +6 -21
  256. package/dist-types/commands/ConfirmDeviceCommand.d.ts +6 -21
  257. package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +6 -21
  258. package/dist-types/commands/ConfirmSignUpCommand.d.ts +6 -21
  259. package/dist-types/commands/CreateGroupCommand.d.ts +6 -21
  260. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +6 -21
  261. package/dist-types/commands/CreateResourceServerCommand.d.ts +6 -21
  262. package/dist-types/commands/CreateUserImportJobCommand.d.ts +6 -21
  263. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +6 -21
  264. package/dist-types/commands/CreateUserPoolCommand.d.ts +6 -21
  265. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +6 -21
  266. package/dist-types/commands/DeleteGroupCommand.d.ts +6 -21
  267. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +6 -21
  268. package/dist-types/commands/DeleteResourceServerCommand.d.ts +6 -21
  269. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +6 -21
  270. package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
  271. package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +6 -21
  272. package/dist-types/commands/DeleteUserPoolCommand.d.ts +6 -21
  273. package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +6 -21
  274. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +6 -21
  275. package/dist-types/commands/DescribeResourceServerCommand.d.ts +6 -21
  276. package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +6 -21
  277. package/dist-types/commands/DescribeUserImportJobCommand.d.ts +6 -21
  278. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +6 -21
  279. package/dist-types/commands/DescribeUserPoolCommand.d.ts +6 -21
  280. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +6 -21
  281. package/dist-types/commands/ForgetDeviceCommand.d.ts +6 -21
  282. package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -21
  283. package/dist-types/commands/GetCSVHeaderCommand.d.ts +6 -21
  284. package/dist-types/commands/GetDeviceCommand.d.ts +6 -21
  285. package/dist-types/commands/GetGroupCommand.d.ts +6 -21
  286. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +6 -21
  287. package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +6 -21
  288. package/dist-types/commands/GetSigningCertificateCommand.d.ts +6 -21
  289. package/dist-types/commands/GetUICustomizationCommand.d.ts +6 -21
  290. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +6 -21
  291. package/dist-types/commands/GetUserCommand.d.ts +6 -21
  292. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +6 -21
  293. package/dist-types/commands/GlobalSignOutCommand.d.ts +6 -21
  294. package/dist-types/commands/InitiateAuthCommand.d.ts +6 -21
  295. package/dist-types/commands/ListDevicesCommand.d.ts +6 -21
  296. package/dist-types/commands/ListGroupsCommand.d.ts +6 -21
  297. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +6 -21
  298. package/dist-types/commands/ListResourceServersCommand.d.ts +6 -21
  299. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  300. package/dist-types/commands/ListUserImportJobsCommand.d.ts +6 -21
  301. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +6 -21
  302. package/dist-types/commands/ListUserPoolsCommand.d.ts +6 -21
  303. package/dist-types/commands/ListUsersCommand.d.ts +6 -21
  304. package/dist-types/commands/ListUsersInGroupCommand.d.ts +6 -21
  305. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +6 -21
  306. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +6 -21
  307. package/dist-types/commands/RevokeTokenCommand.d.ts +6 -21
  308. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +6 -21
  309. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +6 -21
  310. package/dist-types/commands/SetUICustomizationCommand.d.ts +6 -21
  311. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +6 -21
  312. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +6 -21
  313. package/dist-types/commands/SetUserSettingsCommand.d.ts +6 -21
  314. package/dist-types/commands/SignUpCommand.d.ts +6 -21
  315. package/dist-types/commands/StartUserImportJobCommand.d.ts +6 -21
  316. package/dist-types/commands/StopUserImportJobCommand.d.ts +6 -21
  317. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  318. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  319. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +6 -21
  320. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +6 -21
  321. package/dist-types/commands/UpdateGroupCommand.d.ts +6 -21
  322. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +6 -21
  323. package/dist-types/commands/UpdateResourceServerCommand.d.ts +6 -21
  324. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +6 -21
  325. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +6 -21
  326. package/dist-types/commands/UpdateUserPoolCommand.d.ts +6 -21
  327. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +6 -21
  328. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +6 -21
  329. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +6 -21
  330. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  331. package/dist-types/pagination/AdminListGroupsForUserPaginator.d.ts +1 -1
  332. package/dist-types/pagination/AdminListUserAuthEventsPaginator.d.ts +1 -1
  333. package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
  334. package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +1 -1
  335. package/dist-types/pagination/ListResourceServersPaginator.d.ts +1 -1
  336. package/dist-types/pagination/ListUserPoolClientsPaginator.d.ts +1 -1
  337. package/dist-types/pagination/ListUserPoolsPaginator.d.ts +1 -1
  338. package/dist-types/pagination/ListUsersInGroupPaginator.d.ts +1 -1
  339. package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
  340. package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +14 -23
  341. package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +14 -23
  344. package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +12 -24
  345. package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +14 -23
  346. package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +12 -24
  347. package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +14 -23
  349. package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +14 -23
  350. package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +14 -23
  351. package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +14 -23
  352. package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +12 -24
  354. package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +14 -23
  355. package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +12 -24
  358. package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +12 -24
  360. package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +12 -24
  362. package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +12 -24
  363. package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +12 -24
  365. package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +12 -24
  366. package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +12 -24
  367. package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +12 -24
  368. package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +14 -23
  369. package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +14 -23
  370. package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +12 -24
  371. package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +14 -23
  372. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +14 -23
  373. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +12 -24
  374. package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +12 -24
  375. package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +14 -23
  376. package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +12 -24
  377. package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +14 -23
  378. package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +12 -24
  379. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +14 -23
  380. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +12 -24
  381. package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +12 -24
  382. package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +12 -24
  383. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
  384. package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +12 -24
  385. package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +14 -23
  386. package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +12 -24
  387. package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +12 -24
  388. package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +12 -24
  389. package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +12 -24
  390. package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +12 -24
  391. package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +12 -24
  392. package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +14 -23
  393. package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +12 -24
  394. package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +14 -23
  395. package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +14 -23
  396. package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +14 -23
  397. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +14 -23
  398. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +14 -23
  399. package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +12 -24
  400. package/dist-types/ts3.4/commands/GetLogDeliveryConfigurationCommand.d.ts +12 -24
  401. package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +12 -24
  402. package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +14 -23
  403. package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +12 -24
  404. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +12 -23
  405. package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +12 -24
  406. package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +14 -23
  407. package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +14 -23
  408. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +14 -23
  409. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +14 -23
  410. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +12 -24
  411. package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +14 -23
  412. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  413. package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +14 -23
  414. package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +14 -23
  415. package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +14 -23
  416. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
  417. package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +14 -23
  418. package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +12 -24
  419. package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +12 -24
  420. package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +14 -23
  421. package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +12 -24
  422. package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +12 -24
  423. package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +14 -23
  424. package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +12 -24
  425. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +12 -24
  426. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +14 -23
  427. package/dist-types/ts3.4/commands/SignUpCommand.d.ts +12 -23
  428. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +14 -23
  429. package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +14 -23
  430. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  431. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  432. package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +12 -24
  433. package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +14 -23
  434. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +14 -23
  435. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +12 -24
  436. package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +12 -24
  437. package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +12 -24
  438. package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +12 -24
  439. package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +14 -23
  440. package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +12 -24
  441. package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +14 -23
  442. package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +14 -23
  443. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  444. package/dist-types/ts3.4/pagination/AdminListGroupsForUserPaginator.d.ts +3 -3
  445. package/dist-types/ts3.4/pagination/AdminListUserAuthEventsPaginator.d.ts +3 -3
  446. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +3 -3
  447. package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +3 -3
  448. package/dist-types/ts3.4/pagination/ListResourceServersPaginator.d.ts +3 -3
  449. package/dist-types/ts3.4/pagination/ListUserPoolClientsPaginator.d.ts +3 -3
  450. package/dist-types/ts3.4/pagination/ListUserPoolsPaginator.d.ts +3 -3
  451. package/dist-types/ts3.4/pagination/ListUsersInGroupPaginator.d.ts +3 -3
  452. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
  453. package/package.json +11 -10
@@ -2,48 +2,25 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_UpdateUserPoolCommand, se_UpdateUserPoolCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class UpdateUserPoolCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserPoolCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityProviderClient";
28
- const commandName = "UpdateUserPoolCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityProviderService",
37
- operation: "UpdateUserPool",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_UpdateUserPoolCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_UpdateUserPoolCommand(output, context);
48
- }
8
+ export class UpdateUserPoolCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getAwsAuthPlugin(config),
18
+ ];
19
+ })
20
+ .s("AWSCognitoIdentityProviderService", "UpdateUserPool", {})
21
+ .n("CognitoIdentityProviderClient", "UpdateUserPoolCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_UpdateUserPoolCommand)
24
+ .de(de_UpdateUserPoolCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_UpdateUserPoolDomainCommand, se_UpdateUserPoolDomainCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class UpdateUserPoolDomainCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserPoolDomainCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getAwsAuthPlugin(configuration));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CognitoIdentityProviderClient";
28
- const commandName = "UpdateUserPoolDomainCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "AWSCognitoIdentityProviderService",
37
- operation: "UpdateUserPoolDomain",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_UpdateUserPoolDomainCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_UpdateUserPoolDomainCommand(output, context);
48
- }
8
+ export class UpdateUserPoolDomainCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getAwsAuthPlugin(config),
18
+ ];
19
+ })
20
+ .s("AWSCognitoIdentityProviderService", "UpdateUserPoolDomain", {})
21
+ .n("CognitoIdentityProviderClient", "UpdateUserPoolDomainCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_UpdateUserPoolDomainCommand)
24
+ .de(de_UpdateUserPoolDomainCommand)
25
+ .build() {
49
26
  }
@@ -1,48 +1,25 @@
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 { VerifySoftwareTokenRequestFilterSensitiveLog, VerifySoftwareTokenResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_VerifySoftwareTokenCommand, se_VerifySoftwareTokenCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class VerifySoftwareTokenCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, VerifySoftwareTokenCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CognitoIdentityProviderClient";
27
- const commandName = "VerifySoftwareTokenCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: VerifySoftwareTokenRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: VerifySoftwareTokenResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSCognitoIdentityProviderService",
36
- operation: "VerifySoftwareToken",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_VerifySoftwareTokenCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_VerifySoftwareTokenCommand(output, context);
47
- }
8
+ export class VerifySoftwareTokenCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSCognitoIdentityProviderService", "VerifySoftwareToken", {})
20
+ .n("CognitoIdentityProviderClient", "VerifySoftwareTokenCommand")
21
+ .f(VerifySoftwareTokenRequestFilterSensitiveLog, VerifySoftwareTokenResponseFilterSensitiveLog)
22
+ .ser(se_VerifySoftwareTokenCommand)
23
+ .de(de_VerifySoftwareTokenCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
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 { VerifyUserAttributeRequestFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_VerifyUserAttributeCommand, se_VerifyUserAttributeCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class VerifyUserAttributeCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, VerifyUserAttributeCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CognitoIdentityProviderClient";
27
- const commandName = "VerifyUserAttributeCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: VerifyUserAttributeRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSCognitoIdentityProviderService",
36
- operation: "VerifyUserAttribute",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_VerifyUserAttributeCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_VerifyUserAttributeCommand(output, context);
47
- }
8
+ export class VerifyUserAttributeCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSCognitoIdentityProviderService", "VerifyUserAttribute", {})
20
+ .n("CognitoIdentityProviderClient", "VerifyUserAttributeCommand")
21
+ .f(VerifyUserAttributeRequestFilterSensitiveLog, void 0)
22
+ .ser(se_VerifyUserAttributeCommand)
23
+ .de(de_VerifyUserAttributeCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cognito-idp",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { AdminListGroupsForUserCommand, } from "../commands/AdminListGroupsForUserCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new AdminListGroupsForUserCommand(input), ...args);
5
- };
6
- export async function* paginateAdminListGroupsForUser(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateAdminListGroupsForUser = createPaginator(CognitoIdentityProviderClient, AdminListGroupsForUserCommand, "NextToken", "NextToken", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { AdminListUserAuthEventsCommand, } from "../commands/AdminListUserAuthEventsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new AdminListUserAuthEventsCommand(input), ...args);
5
- };
6
- export async function* paginateAdminListUserAuthEvents(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateAdminListUserAuthEvents = createPaginator(CognitoIdentityProviderClient, AdminListUserAuthEventsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListGroupsCommand } from "../commands/ListGroupsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListGroups = createPaginator(CognitoIdentityProviderClient, ListGroupsCommand, "NextToken", "NextToken", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListIdentityProvidersCommand, } from "../commands/ListIdentityProvidersCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListIdentityProvidersCommand(input), ...args);
5
- };
6
- export async function* paginateListIdentityProviders(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListIdentityProviders = createPaginator(CognitoIdentityProviderClient, ListIdentityProvidersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListResourceServersCommand, } from "../commands/ListResourceServersCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListResourceServersCommand(input), ...args);
5
- };
6
- export async function* paginateListResourceServers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListResourceServers = createPaginator(CognitoIdentityProviderClient, ListResourceServersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListUserPoolClientsCommand, } from "../commands/ListUserPoolClientsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUserPoolClientsCommand(input), ...args);
5
- };
6
- export async function* paginateListUserPoolClients(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListUserPoolClients = createPaginator(CognitoIdentityProviderClient, ListUserPoolClientsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListUserPoolsCommand, } from "../commands/ListUserPoolsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUserPoolsCommand(input), ...args);
5
- };
6
- export async function* paginateListUserPools(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListUserPools = createPaginator(CognitoIdentityProviderClient, ListUserPoolsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListUsersInGroupCommand, } from "../commands/ListUsersInGroupCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUsersInGroupCommand(input), ...args);
5
- };
6
- export async function* paginateListUsersInGroup(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListUsersInGroup = createPaginator(CognitoIdentityProviderClient, ListUsersInGroupCommand, "NextToken", "NextToken", "Limit");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
2
3
  import { ListUsersCommand } from "../commands/ListUsersCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUsersCommand(input), ...args);
5
- };
6
- export async function* paginateListUsers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.PaginationToken = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof CognitoIdentityProviderClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.PaginationToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListUsers = createPaginator(CognitoIdentityProviderClient, ListUsersCommand, "PaginationToken", "PaginationToken", "Limit");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
5
4
  import { AddCustomAttributesRequest, AddCustomAttributesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddCustomAttributesCommandInput extends AddCustomAttributesRequ
21
20
  */
22
21
  export interface AddCustomAttributesCommandOutput extends AddCustomAttributesResponse, __MetadataBearer {
23
22
  }
23
+ declare const AddCustomAttributesCommand_base: {
24
+ new (input: AddCustomAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds additional user attributes to the user pool schema.</p>
@@ -108,23 +111,5 @@ export interface AddCustomAttributesCommandOutput extends AddCustomAttributesRes
108
111
  * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
109
112
  *
110
113
  */
111
- export declare class AddCustomAttributesCommand extends $Command<AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
112
- readonly input: AddCustomAttributesCommandInput;
113
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
114
- /**
115
- * @public
116
- */
117
- constructor(input: AddCustomAttributesCommandInput);
118
- /**
119
- * @internal
120
- */
121
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput>;
122
- /**
123
- * @internal
124
- */
125
- private serialize;
126
- /**
127
- * @internal
128
- */
129
- private deserialize;
114
+ export declare class AddCustomAttributesCommand extends AddCustomAttributesCommand_base {
130
115
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
5
4
  import { AdminAddUserToGroupRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AdminAddUserToGroupCommandInput extends AdminAddUserToGroupRequ
21
20
  */
22
21
  export interface AdminAddUserToGroupCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AdminAddUserToGroupCommand_base: {
24
+ new (input: AdminAddUserToGroupCommandInput): import("@smithy/smithy-client").CommandImpl<AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a user to a group. A user who is in a group can present a preferred-role claim to
@@ -94,23 +97,5 @@ export interface AdminAddUserToGroupCommandOutput extends __MetadataBearer {
94
97
  * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
95
98
  *
96
99
  */
97
- export declare class AdminAddUserToGroupCommand extends $Command<AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
98
- readonly input: AdminAddUserToGroupCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: AdminAddUserToGroupCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class AdminAddUserToGroupCommand extends AdminAddUserToGroupCommand_base {
116
101
  }