@aws-sdk/client-cognito-identity-provider 3.193.0 → 3.196.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 (447) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/CognitoIdentityProviderClient.js +11 -8
  3. package/dist-cjs/commands/AddCustomAttributesCommand.js +10 -0
  4. package/dist-cjs/commands/AdminAddUserToGroupCommand.js +10 -0
  5. package/dist-cjs/commands/AdminConfirmSignUpCommand.js +10 -0
  6. package/dist-cjs/commands/AdminCreateUserCommand.js +10 -0
  7. package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +10 -0
  8. package/dist-cjs/commands/AdminDeleteUserCommand.js +10 -0
  9. package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +10 -0
  10. package/dist-cjs/commands/AdminDisableUserCommand.js +10 -0
  11. package/dist-cjs/commands/AdminEnableUserCommand.js +10 -0
  12. package/dist-cjs/commands/AdminForgetDeviceCommand.js +10 -0
  13. package/dist-cjs/commands/AdminGetDeviceCommand.js +10 -0
  14. package/dist-cjs/commands/AdminGetUserCommand.js +10 -0
  15. package/dist-cjs/commands/AdminInitiateAuthCommand.js +10 -0
  16. package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +10 -0
  17. package/dist-cjs/commands/AdminListDevicesCommand.js +10 -0
  18. package/dist-cjs/commands/AdminListGroupsForUserCommand.js +10 -0
  19. package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +10 -0
  20. package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +10 -0
  21. package/dist-cjs/commands/AdminResetUserPasswordCommand.js +10 -0
  22. package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +10 -0
  23. package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +10 -0
  24. package/dist-cjs/commands/AdminSetUserPasswordCommand.js +10 -0
  25. package/dist-cjs/commands/AdminSetUserSettingsCommand.js +10 -0
  26. package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +10 -0
  27. package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +10 -0
  28. package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +10 -0
  29. package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +10 -0
  30. package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +10 -0
  31. package/dist-cjs/commands/ChangePasswordCommand.js +10 -0
  32. package/dist-cjs/commands/ConfirmDeviceCommand.js +10 -0
  33. package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +10 -0
  34. package/dist-cjs/commands/ConfirmSignUpCommand.js +10 -0
  35. package/dist-cjs/commands/CreateGroupCommand.js +10 -0
  36. package/dist-cjs/commands/CreateIdentityProviderCommand.js +10 -0
  37. package/dist-cjs/commands/CreateResourceServerCommand.js +10 -0
  38. package/dist-cjs/commands/CreateUserImportJobCommand.js +10 -0
  39. package/dist-cjs/commands/CreateUserPoolClientCommand.js +10 -0
  40. package/dist-cjs/commands/CreateUserPoolCommand.js +10 -0
  41. package/dist-cjs/commands/CreateUserPoolDomainCommand.js +10 -0
  42. package/dist-cjs/commands/DeleteGroupCommand.js +10 -0
  43. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +10 -0
  44. package/dist-cjs/commands/DeleteResourceServerCommand.js +10 -0
  45. package/dist-cjs/commands/DeleteUserAttributesCommand.js +10 -0
  46. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  47. package/dist-cjs/commands/DeleteUserPoolClientCommand.js +10 -0
  48. package/dist-cjs/commands/DeleteUserPoolCommand.js +10 -0
  49. package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +10 -0
  50. package/dist-cjs/commands/DescribeIdentityProviderCommand.js +10 -0
  51. package/dist-cjs/commands/DescribeResourceServerCommand.js +10 -0
  52. package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +10 -0
  53. package/dist-cjs/commands/DescribeUserImportJobCommand.js +10 -0
  54. package/dist-cjs/commands/DescribeUserPoolClientCommand.js +10 -0
  55. package/dist-cjs/commands/DescribeUserPoolCommand.js +10 -0
  56. package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +10 -0
  57. package/dist-cjs/commands/ForgetDeviceCommand.js +10 -0
  58. package/dist-cjs/commands/ForgotPasswordCommand.js +10 -0
  59. package/dist-cjs/commands/GetCSVHeaderCommand.js +10 -0
  60. package/dist-cjs/commands/GetDeviceCommand.js +10 -0
  61. package/dist-cjs/commands/GetGroupCommand.js +10 -0
  62. package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +10 -0
  63. package/dist-cjs/commands/GetSigningCertificateCommand.js +10 -0
  64. package/dist-cjs/commands/GetUICustomizationCommand.js +10 -0
  65. package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +10 -0
  66. package/dist-cjs/commands/GetUserCommand.js +10 -0
  67. package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +10 -0
  68. package/dist-cjs/commands/GlobalSignOutCommand.js +10 -0
  69. package/dist-cjs/commands/InitiateAuthCommand.js +10 -0
  70. package/dist-cjs/commands/ListDevicesCommand.js +10 -0
  71. package/dist-cjs/commands/ListGroupsCommand.js +10 -0
  72. package/dist-cjs/commands/ListIdentityProvidersCommand.js +10 -0
  73. package/dist-cjs/commands/ListResourceServersCommand.js +10 -0
  74. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  75. package/dist-cjs/commands/ListUserImportJobsCommand.js +10 -0
  76. package/dist-cjs/commands/ListUserPoolClientsCommand.js +10 -0
  77. package/dist-cjs/commands/ListUserPoolsCommand.js +10 -0
  78. package/dist-cjs/commands/ListUsersCommand.js +10 -0
  79. package/dist-cjs/commands/ListUsersInGroupCommand.js +10 -0
  80. package/dist-cjs/commands/ResendConfirmationCodeCommand.js +10 -0
  81. package/dist-cjs/commands/RespondToAuthChallengeCommand.js +10 -0
  82. package/dist-cjs/commands/RevokeTokenCommand.js +10 -0
  83. package/dist-cjs/commands/SetRiskConfigurationCommand.js +10 -0
  84. package/dist-cjs/commands/SetUICustomizationCommand.js +10 -0
  85. package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +10 -0
  86. package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +10 -0
  87. package/dist-cjs/commands/SetUserSettingsCommand.js +10 -0
  88. package/dist-cjs/commands/SignUpCommand.js +11 -2
  89. package/dist-cjs/commands/StartUserImportJobCommand.js +10 -0
  90. package/dist-cjs/commands/StopUserImportJobCommand.js +10 -0
  91. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  92. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  93. package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +10 -0
  94. package/dist-cjs/commands/UpdateDeviceStatusCommand.js +10 -0
  95. package/dist-cjs/commands/UpdateGroupCommand.js +10 -0
  96. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +10 -0
  97. package/dist-cjs/commands/UpdateResourceServerCommand.js +10 -0
  98. package/dist-cjs/commands/UpdateUserAttributesCommand.js +10 -0
  99. package/dist-cjs/commands/UpdateUserPoolClientCommand.js +10 -0
  100. package/dist-cjs/commands/UpdateUserPoolCommand.js +10 -0
  101. package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +10 -0
  102. package/dist-cjs/commands/VerifySoftwareTokenCommand.js +10 -0
  103. package/dist-cjs/commands/VerifyUserAttributeCommand.js +10 -0
  104. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  105. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  106. package/dist-cjs/endpoint/ruleset.js +318 -0
  107. package/dist-cjs/models/models_0.js +10 -19
  108. package/dist-cjs/models/models_1.js +15 -1
  109. package/dist-cjs/protocols/Aws_json1_1.js +12 -0
  110. package/dist-cjs/runtimeConfig.shared.js +3 -3
  111. package/dist-es/CognitoIdentityProviderClient.js +12 -9
  112. package/dist-es/commands/AddCustomAttributesCommand.js +10 -0
  113. package/dist-es/commands/AdminAddUserToGroupCommand.js +10 -0
  114. package/dist-es/commands/AdminConfirmSignUpCommand.js +10 -0
  115. package/dist-es/commands/AdminCreateUserCommand.js +10 -0
  116. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +10 -0
  117. package/dist-es/commands/AdminDeleteUserCommand.js +10 -0
  118. package/dist-es/commands/AdminDisableProviderForUserCommand.js +10 -0
  119. package/dist-es/commands/AdminDisableUserCommand.js +10 -0
  120. package/dist-es/commands/AdminEnableUserCommand.js +10 -0
  121. package/dist-es/commands/AdminForgetDeviceCommand.js +10 -0
  122. package/dist-es/commands/AdminGetDeviceCommand.js +10 -0
  123. package/dist-es/commands/AdminGetUserCommand.js +10 -0
  124. package/dist-es/commands/AdminInitiateAuthCommand.js +10 -0
  125. package/dist-es/commands/AdminLinkProviderForUserCommand.js +10 -0
  126. package/dist-es/commands/AdminListDevicesCommand.js +10 -0
  127. package/dist-es/commands/AdminListGroupsForUserCommand.js +10 -0
  128. package/dist-es/commands/AdminListUserAuthEventsCommand.js +10 -0
  129. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +10 -0
  130. package/dist-es/commands/AdminResetUserPasswordCommand.js +10 -0
  131. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +10 -0
  132. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +10 -0
  133. package/dist-es/commands/AdminSetUserPasswordCommand.js +10 -0
  134. package/dist-es/commands/AdminSetUserSettingsCommand.js +10 -0
  135. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +10 -0
  136. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +10 -0
  137. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +10 -0
  138. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +10 -0
  139. package/dist-es/commands/AssociateSoftwareTokenCommand.js +10 -0
  140. package/dist-es/commands/ChangePasswordCommand.js +10 -0
  141. package/dist-es/commands/ConfirmDeviceCommand.js +10 -0
  142. package/dist-es/commands/ConfirmForgotPasswordCommand.js +10 -0
  143. package/dist-es/commands/ConfirmSignUpCommand.js +10 -0
  144. package/dist-es/commands/CreateGroupCommand.js +10 -0
  145. package/dist-es/commands/CreateIdentityProviderCommand.js +10 -0
  146. package/dist-es/commands/CreateResourceServerCommand.js +10 -0
  147. package/dist-es/commands/CreateUserImportJobCommand.js +10 -0
  148. package/dist-es/commands/CreateUserPoolClientCommand.js +10 -0
  149. package/dist-es/commands/CreateUserPoolCommand.js +10 -0
  150. package/dist-es/commands/CreateUserPoolDomainCommand.js +10 -0
  151. package/dist-es/commands/DeleteGroupCommand.js +10 -0
  152. package/dist-es/commands/DeleteIdentityProviderCommand.js +10 -0
  153. package/dist-es/commands/DeleteResourceServerCommand.js +10 -0
  154. package/dist-es/commands/DeleteUserAttributesCommand.js +10 -0
  155. package/dist-es/commands/DeleteUserCommand.js +10 -0
  156. package/dist-es/commands/DeleteUserPoolClientCommand.js +10 -0
  157. package/dist-es/commands/DeleteUserPoolCommand.js +10 -0
  158. package/dist-es/commands/DeleteUserPoolDomainCommand.js +10 -0
  159. package/dist-es/commands/DescribeIdentityProviderCommand.js +10 -0
  160. package/dist-es/commands/DescribeResourceServerCommand.js +10 -0
  161. package/dist-es/commands/DescribeRiskConfigurationCommand.js +10 -0
  162. package/dist-es/commands/DescribeUserImportJobCommand.js +10 -0
  163. package/dist-es/commands/DescribeUserPoolClientCommand.js +10 -0
  164. package/dist-es/commands/DescribeUserPoolCommand.js +10 -0
  165. package/dist-es/commands/DescribeUserPoolDomainCommand.js +10 -0
  166. package/dist-es/commands/ForgetDeviceCommand.js +10 -0
  167. package/dist-es/commands/ForgotPasswordCommand.js +10 -0
  168. package/dist-es/commands/GetCSVHeaderCommand.js +10 -0
  169. package/dist-es/commands/GetDeviceCommand.js +10 -0
  170. package/dist-es/commands/GetGroupCommand.js +10 -0
  171. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +10 -0
  172. package/dist-es/commands/GetSigningCertificateCommand.js +10 -0
  173. package/dist-es/commands/GetUICustomizationCommand.js +10 -0
  174. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +10 -0
  175. package/dist-es/commands/GetUserCommand.js +10 -0
  176. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +10 -0
  177. package/dist-es/commands/GlobalSignOutCommand.js +10 -0
  178. package/dist-es/commands/InitiateAuthCommand.js +10 -0
  179. package/dist-es/commands/ListDevicesCommand.js +10 -0
  180. package/dist-es/commands/ListGroupsCommand.js +10 -0
  181. package/dist-es/commands/ListIdentityProvidersCommand.js +10 -0
  182. package/dist-es/commands/ListResourceServersCommand.js +10 -0
  183. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  184. package/dist-es/commands/ListUserImportJobsCommand.js +10 -0
  185. package/dist-es/commands/ListUserPoolClientsCommand.js +10 -0
  186. package/dist-es/commands/ListUserPoolsCommand.js +10 -0
  187. package/dist-es/commands/ListUsersCommand.js +10 -0
  188. package/dist-es/commands/ListUsersInGroupCommand.js +10 -0
  189. package/dist-es/commands/ResendConfirmationCodeCommand.js +10 -0
  190. package/dist-es/commands/RespondToAuthChallengeCommand.js +10 -0
  191. package/dist-es/commands/RevokeTokenCommand.js +10 -0
  192. package/dist-es/commands/SetRiskConfigurationCommand.js +10 -0
  193. package/dist-es/commands/SetUICustomizationCommand.js +10 -0
  194. package/dist-es/commands/SetUserMFAPreferenceCommand.js +10 -0
  195. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +10 -0
  196. package/dist-es/commands/SetUserSettingsCommand.js +10 -0
  197. package/dist-es/commands/SignUpCommand.js +11 -2
  198. package/dist-es/commands/StartUserImportJobCommand.js +10 -0
  199. package/dist-es/commands/StopUserImportJobCommand.js +10 -0
  200. package/dist-es/commands/TagResourceCommand.js +10 -0
  201. package/dist-es/commands/UntagResourceCommand.js +10 -0
  202. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +10 -0
  203. package/dist-es/commands/UpdateDeviceStatusCommand.js +10 -0
  204. package/dist-es/commands/UpdateGroupCommand.js +10 -0
  205. package/dist-es/commands/UpdateIdentityProviderCommand.js +10 -0
  206. package/dist-es/commands/UpdateResourceServerCommand.js +10 -0
  207. package/dist-es/commands/UpdateUserAttributesCommand.js +10 -0
  208. package/dist-es/commands/UpdateUserPoolClientCommand.js +10 -0
  209. package/dist-es/commands/UpdateUserPoolCommand.js +10 -0
  210. package/dist-es/commands/UpdateUserPoolDomainCommand.js +10 -0
  211. package/dist-es/commands/VerifySoftwareTokenCommand.js +10 -0
  212. package/dist-es/commands/VerifyUserAttributeCommand.js +10 -0
  213. package/dist-es/endpoint/EndpointParameters.js +8 -0
  214. package/dist-es/endpoint/endpointResolver.js +8 -0
  215. package/dist-es/endpoint/ruleset.js +315 -0
  216. package/dist-es/models/models_0.js +5 -13
  217. package/dist-es/models/models_1.js +13 -0
  218. package/dist-es/protocols/Aws_json1_1.js +12 -0
  219. package/dist-es/runtimeConfig.shared.js +2 -2
  220. package/dist-types/CognitoIdentityProvider.d.ts +11 -10
  221. package/dist-types/CognitoIdentityProviderClient.d.ts +6 -9
  222. package/dist-types/commands/AddCustomAttributesCommand.d.ts +2 -0
  223. package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +2 -0
  224. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -0
  225. package/dist-types/commands/AdminCreateUserCommand.d.ts +2 -0
  226. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -0
  227. package/dist-types/commands/AdminDeleteUserCommand.d.ts +2 -0
  228. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -0
  229. package/dist-types/commands/AdminDisableUserCommand.d.ts +5 -2
  230. package/dist-types/commands/AdminEnableUserCommand.d.ts +2 -0
  231. package/dist-types/commands/AdminForgetDeviceCommand.d.ts +2 -0
  232. package/dist-types/commands/AdminGetDeviceCommand.d.ts +2 -0
  233. package/dist-types/commands/AdminGetUserCommand.d.ts +2 -0
  234. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +2 -0
  235. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -0
  236. package/dist-types/commands/AdminListDevicesCommand.d.ts +2 -0
  237. package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +2 -0
  238. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -0
  239. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -0
  240. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -0
  241. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -0
  242. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -0
  243. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +2 -0
  244. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +2 -0
  245. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -0
  246. package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -0
  247. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -0
  248. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +2 -0
  249. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +2 -0
  250. package/dist-types/commands/ChangePasswordCommand.d.ts +2 -0
  251. package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -0
  252. package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +2 -0
  253. package/dist-types/commands/ConfirmSignUpCommand.d.ts +2 -0
  254. package/dist-types/commands/CreateGroupCommand.d.ts +2 -0
  255. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -0
  256. package/dist-types/commands/CreateResourceServerCommand.d.ts +2 -0
  257. package/dist-types/commands/CreateUserImportJobCommand.d.ts +2 -0
  258. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -0
  259. package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -0
  260. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -0
  261. package/dist-types/commands/DeleteGroupCommand.d.ts +2 -0
  262. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +2 -0
  263. package/dist-types/commands/DeleteResourceServerCommand.d.ts +2 -0
  264. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -0
  265. package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  266. package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -0
  267. package/dist-types/commands/DeleteUserPoolCommand.d.ts +2 -0
  268. package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +2 -0
  269. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +2 -0
  270. package/dist-types/commands/DescribeResourceServerCommand.d.ts +2 -0
  271. package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +2 -0
  272. package/dist-types/commands/DescribeUserImportJobCommand.d.ts +2 -0
  273. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -0
  274. package/dist-types/commands/DescribeUserPoolCommand.d.ts +2 -0
  275. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +2 -0
  276. package/dist-types/commands/ForgetDeviceCommand.d.ts +2 -0
  277. package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -0
  278. package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -0
  279. package/dist-types/commands/GetDeviceCommand.d.ts +2 -0
  280. package/dist-types/commands/GetGroupCommand.d.ts +2 -0
  281. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -0
  282. package/dist-types/commands/GetSigningCertificateCommand.d.ts +5 -1
  283. package/dist-types/commands/GetUICustomizationCommand.d.ts +2 -0
  284. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -0
  285. package/dist-types/commands/GetUserCommand.d.ts +2 -0
  286. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +2 -0
  287. package/dist-types/commands/GlobalSignOutCommand.d.ts +4 -4
  288. package/dist-types/commands/InitiateAuthCommand.d.ts +2 -0
  289. package/dist-types/commands/ListDevicesCommand.d.ts +2 -0
  290. package/dist-types/commands/ListGroupsCommand.d.ts +2 -0
  291. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -0
  292. package/dist-types/commands/ListResourceServersCommand.d.ts +2 -0
  293. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  294. package/dist-types/commands/ListUserImportJobsCommand.d.ts +2 -0
  295. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +2 -0
  296. package/dist-types/commands/ListUserPoolsCommand.d.ts +2 -0
  297. package/dist-types/commands/ListUsersCommand.d.ts +2 -0
  298. package/dist-types/commands/ListUsersInGroupCommand.d.ts +2 -0
  299. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -0
  300. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +2 -0
  301. package/dist-types/commands/RevokeTokenCommand.d.ts +5 -3
  302. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -0
  303. package/dist-types/commands/SetUICustomizationCommand.d.ts +2 -0
  304. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +2 -0
  305. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
  306. package/dist-types/commands/SetUserSettingsCommand.d.ts +2 -0
  307. package/dist-types/commands/SignUpCommand.d.ts +3 -2
  308. package/dist-types/commands/StartUserImportJobCommand.d.ts +2 -0
  309. package/dist-types/commands/StopUserImportJobCommand.d.ts +2 -0
  310. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  311. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  312. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -0
  313. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +2 -0
  314. package/dist-types/commands/UpdateGroupCommand.d.ts +2 -0
  315. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +2 -0
  316. package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -0
  317. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -0
  318. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -0
  319. package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -0
  320. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -0
  321. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +2 -0
  322. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +2 -0
  323. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  324. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  325. package/dist-types/endpoint/ruleset.d.ts +2 -0
  326. package/dist-types/models/models_0.d.ts +109 -148
  327. package/dist-types/models/models_1.d.ts +126 -21
  328. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  329. package/dist-types/runtimeConfig.d.ts +4 -2
  330. package/dist-types/runtimeConfig.native.d.ts +4 -2
  331. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  332. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +15 -8
  333. package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +2 -0
  334. package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +2 -0
  335. package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +2 -0
  336. package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +2 -0
  337. package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +2 -0
  338. package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +2 -0
  339. package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +2 -0
  340. package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +2 -0
  341. package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +2 -0
  342. package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +2 -0
  343. package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +2 -0
  344. package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +2 -0
  345. package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +2 -0
  346. package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +2 -0
  347. package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +2 -0
  348. package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +2 -0
  349. package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +2 -0
  350. package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -0
  351. package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +2 -0
  352. package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -0
  353. package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -0
  354. package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +2 -0
  355. package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +2 -0
  356. package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -0
  357. package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -0
  358. package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +2 -0
  359. package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +2 -0
  360. package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +2 -0
  361. package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -0
  362. package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +2 -0
  363. package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +2 -0
  364. package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +2 -0
  365. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -0
  366. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +2 -0
  367. package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +2 -0
  368. package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +2 -0
  369. package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +2 -0
  370. package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +2 -0
  371. package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +2 -0
  372. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -0
  373. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +2 -0
  374. package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +2 -0
  375. package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +2 -0
  376. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  377. package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +2 -0
  378. package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +2 -0
  379. package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +2 -0
  380. package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +2 -0
  381. package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +2 -0
  382. package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +2 -0
  383. package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +2 -0
  384. package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +2 -0
  385. package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +2 -0
  386. package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +2 -0
  387. package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +2 -0
  388. package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +2 -0
  389. package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +2 -0
  390. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +2 -0
  391. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -0
  392. package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -0
  393. package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +2 -0
  394. package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +2 -0
  395. package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -0
  396. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -0
  397. package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -0
  398. package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +2 -0
  399. package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +2 -0
  400. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +2 -0
  401. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -0
  402. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +2 -0
  403. package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +2 -0
  404. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  405. package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +2 -0
  406. package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +2 -0
  407. package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +2 -0
  408. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
  409. package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +2 -0
  410. package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +2 -0
  411. package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +2 -0
  412. package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +2 -0
  413. package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -0
  414. package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +2 -0
  415. package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +2 -0
  416. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
  417. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +2 -0
  418. package/dist-types/ts3.4/commands/SignUpCommand.d.ts +3 -2
  419. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +2 -0
  420. package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +2 -0
  421. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  422. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  423. package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -0
  424. package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +2 -0
  425. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -0
  426. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +2 -0
  427. package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -0
  428. package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +2 -0
  429. package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +2 -0
  430. package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +2 -0
  431. package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +2 -0
  432. package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +2 -0
  433. package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +2 -0
  434. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  435. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  436. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  437. package/dist-types/ts3.4/models/models_0.d.ts +6 -14
  438. package/dist-types/ts3.4/models/models_1.d.ts +18 -0
  439. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  440. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  441. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  442. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  443. package/package.json +5 -3
  444. package/dist-cjs/endpoints.js +0 -177
  445. package/dist-es/endpoints.js +0 -173
  446. package/dist-types/endpoints.d.ts +0 -2
  447. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1744,7 +1744,9 @@ export interface AdminListUserAuthEventsRequest {
1744
1744
  */
1745
1745
  Username: string | undefined;
1746
1746
  /**
1747
- * <p>The maximum number of authentication events to return.</p>
1747
+ * <p>The maximum number of authentication events to return. Returns 60 events if you set
1748
+ * <code>MaxResults</code> to 0, or if you don't include a <code>MaxResults</code>
1749
+ * parameter.</p>
1748
1750
  */
1749
1751
  MaxResults?: number;
1750
1752
  /**
@@ -3381,6 +3383,10 @@ export interface CreateUserImportJobResponse {
3381
3383
  */
3382
3384
  UserImportJob?: UserImportJobType;
3383
3385
  }
3386
+ export declare enum DeletionProtectionType {
3387
+ ACTIVE = "ACTIVE",
3388
+ INACTIVE = "INACTIVE"
3389
+ }
3384
3390
  /**
3385
3391
  * <p>The device-remembering configuration for a user pool. A <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">
3386
3392
  * DescribeUserPool</a> request returns a null value for this object when the user
@@ -3478,7 +3484,7 @@ export interface EmailConfigurationType {
3478
3484
  * default email limit is less than the required delivery volume. To achieve a
3479
3485
  * higher delivery volume, specify DEVELOPER to use your Amazon SES email
3480
3486
  * configuration.</p>
3481
- * <p>To look up the email delivery limit for the default option, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html">Limits in </a> in the <i> Developer Guide</i>.</p>
3487
+ * <p>To look up the email delivery limit for the default option, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html">Limits</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
3482
3488
  * <p>The default FROM address is <code>no-reply@verificationemail.com</code>.
3483
3489
  * To customize the FROM address, provide the Amazon Resource Name (ARN) of an
3484
3490
  * Amazon SES verified email address for the <code>SourceArn</code>
@@ -3496,8 +3502,8 @@ export interface EmailConfigurationType {
3496
3502
  * <p>Before Amazon Cognito can email your users, it requires additional permissions to
3497
3503
  * call Amazon SES on your behalf. When you update your user pool with this option,
3498
3504
  * Amazon Cognito creates a <i>service-linked role</i>, which is a type of
3499
- * role, in your Amazon Web Services account. This role contains the permissions
3500
- * that allow to access Amazon SES and send email messages with your address. For
3505
+ * role in your Amazon Web Services account. This role contains the permissions
3506
+ * that allow you to access Amazon SES and send email messages from your email address. For
3501
3507
  * more information about the service-linked role that Amazon Cognito creates, see
3502
3508
  * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/using-service-linked-roles.html">Using Service-Linked Roles for Amazon Cognito</a> in the
3503
3509
  * <i>Amazon Cognito Developer Guide</i>.</p>
@@ -3841,6 +3847,16 @@ export interface CreateUserPoolRequest {
3841
3847
  * <p>The policies associated with the new user pool.</p>
3842
3848
  */
3843
3849
  Policies?: UserPoolPolicyType;
3850
+ /**
3851
+ * <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
3852
+ * pool. Before you can delete a user pool that you have protected against deletion, you
3853
+ * must deactivate this feature.</p>
3854
+ * <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
3855
+ * Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
3856
+ * send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
3857
+ * <code>UpdateUserPool</code> API request.</p>
3858
+ */
3859
+ DeletionProtection?: DeletionProtectionType | string;
3844
3860
  /**
3845
3861
  * <p>The Lambda trigger configuration information for the new user pool.</p>
3846
3862
  * <note>
@@ -3978,6 +3994,16 @@ export interface UserPoolType {
3978
3994
  * <p>The policies associated with the user pool.</p>
3979
3995
  */
3980
3996
  Policies?: UserPoolPolicyType;
3997
+ /**
3998
+ * <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
3999
+ * pool. Before you can delete a user pool that you have protected against deletion, you
4000
+ * must deactivate this feature.</p>
4001
+ * <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
4002
+ * Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
4003
+ * send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
4004
+ * <code>UpdateUserPool</code> API request.</p>
4005
+ */
4006
+ DeletionProtection?: DeletionProtectionType | string;
3981
4007
  /**
3982
4008
  * <p>The Lambda triggers associated with the user pool.</p>
3983
4009
  */
@@ -4256,6 +4282,8 @@ export interface CreateUserPoolClientRequest {
4256
4282
  * You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
4257
4283
  * value with the default value of 30 days. <i>Valid range</i> is displayed below
4258
4284
  * in seconds.</p>
4285
+ * <p>If you don't specify otherwise in the configuration of your app client, your refresh
4286
+ * tokens are valid for 30 days.</p>
4259
4287
  */
4260
4288
  RefreshTokenValidity?: number;
4261
4289
  /**
@@ -4268,6 +4296,8 @@ export interface CreateUserPoolClientRequest {
4268
4296
  * their access token for 10 hours.</p>
4269
4297
  * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
4270
4298
  * <i>Valid range</i> is displayed below in seconds.</p>
4299
+ * <p>If you don't specify otherwise in the configuration of your app client, your access
4300
+ * tokens are valid for one hour.</p>
4271
4301
  */
4272
4302
  AccessTokenValidity?: number;
4273
4303
  /**
@@ -4280,6 +4310,8 @@ export interface CreateUserPoolClientRequest {
4280
4310
  * session with their ID token for 10 hours.</p>
4281
4311
  * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
4282
4312
  * <i>Valid range</i> is displayed below in seconds.</p>
4313
+ * <p>If you don't specify otherwise in the configuration of your app client, your ID
4314
+ * tokens are valid for one hour.</p>
4283
4315
  */
4284
4316
  IdTokenValidity?: number;
4285
4317
  /**
@@ -4302,44 +4334,46 @@ export interface CreateUserPoolClientRequest {
4302
4334
  */
4303
4335
  WriteAttributes?: string[];
4304
4336
  /**
4305
- * <p>The authentication flows that are supported by the user pool clients. Flow names
4306
- * without the <code>ALLOW_</code> prefix are no longer supported, in favor of new names
4307
- * with the <code>ALLOW_</code> prefix.</p>
4308
- * <note>
4309
- * <p>Values with <code>ALLOW_</code> prefix must be used only along with the
4310
- * <code>ALLOW_</code> prefix.</p>
4311
- * </note>
4312
- * <p>Valid values include:</p>
4313
- * <dl>
4314
- * <dt>ALLOW_ADMIN_USER_PASSWORD_AUTH</dt>
4315
- * <dd>
4316
- * <p>Enable admin based user password
4317
- * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
4318
- * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, Amazon Cognito
4319
- * receives the password in the request instead of using the Secure Remote Password
4320
- * (SRP) protocol to verify passwords.</p>
4321
- * </dd>
4322
- * <dt>ALLOW_CUSTOM_AUTH</dt>
4323
- * <dd>
4324
- * <p>Enable Lambda trigger based authentication.</p>
4325
- * </dd>
4326
- * <dt>ALLOW_USER_PASSWORD_AUTH</dt>
4327
- * <dd>
4328
- * <p>Enable user password-based
4329
- * authentication. In this flow, Amazon Cognito receives the password in the request instead
4330
- * of using the SRP protocol to verify passwords.</p>
4331
- * </dd>
4332
- * <dt>ALLOW_USER_SRP_AUTH</dt>
4333
- * <dd>
4334
- * <p>Enable SRP-based authentication.</p>
4335
- * </dd>
4336
- * <dt>ALLOW_REFRESH_TOKEN_AUTH</dt>
4337
- * <dd>
4338
- * <p>Enable the authflow that refreshes tokens.</p>
4339
- * </dd>
4340
- * </dl>
4341
- * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client
4342
- * supports <code>ALLOW_USER_SRP_AUTH</code> and <code>ALLOW_CUSTOM_AUTH</code>.</p>
4337
+ * <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
4338
+ * your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
4339
+ * password, or a custom authentication process that you define with Lambda functions.</p>
4340
+ * <note>
4341
+ * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
4342
+ * </note>
4343
+ * <p>Valid values include:</p>
4344
+ * <ul>
4345
+ * <li>
4346
+ * <p>
4347
+ * <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
4348
+ * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
4349
+ * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
4350
+ * passes a user name and password to Amazon Cognito in the request, instead of using the Secure
4351
+ * Remote Password (SRP) protocol to securely transmit the password.</p>
4352
+ * </li>
4353
+ * <li>
4354
+ * <p>
4355
+ * <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
4356
+ * authentication.</p>
4357
+ * </li>
4358
+ * <li>
4359
+ * <p>
4360
+ * <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
4361
+ * authentication. In this flow, Amazon Cognito receives the password in the request instead
4362
+ * of using the SRP protocol to verify passwords.</p>
4363
+ * </li>
4364
+ * <li>
4365
+ * <p>
4366
+ * <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
4367
+ * </li>
4368
+ * <li>
4369
+ * <p>
4370
+ * <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
4371
+ * tokens.</p>
4372
+ * </li>
4373
+ * </ul>
4374
+ * <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
4375
+ * You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
4376
+ * like <code>ALLOW_USER_SRP_AUTH</code>.</p>
4343
4377
  */
4344
4378
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
4345
4379
  /**
@@ -4527,6 +4561,8 @@ export interface UserPoolClientType {
4527
4561
  * You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
4528
4562
  * value with the default value of 30 days. <i>Valid range</i> is displayed below
4529
4563
  * in seconds.</p>
4564
+ * <p>If you don't specify otherwise in the configuration of your app client, your refresh
4565
+ * tokens are valid for 30 days.</p>
4530
4566
  */
4531
4567
  RefreshTokenValidity?: number;
4532
4568
  /**
@@ -4539,6 +4575,8 @@ export interface UserPoolClientType {
4539
4575
  * their access token for 10 hours.</p>
4540
4576
  * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
4541
4577
  * <i>Valid range</i> is displayed below in seconds.</p>
4578
+ * <p>If you don't specify otherwise in the configuration of your app client, your access
4579
+ * tokens are valid for one hour.</p>
4542
4580
  */
4543
4581
  AccessTokenValidity?: number;
4544
4582
  /**
@@ -4551,6 +4589,8 @@ export interface UserPoolClientType {
4551
4589
  * session with their ID token for 10 hours.</p>
4552
4590
  * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
4553
4591
  * <i>Valid range</i> is displayed below in seconds.</p>
4592
+ * <p>If you don't specify otherwise in the configuration of your app client, your ID
4593
+ * tokens are valid for one hour.</p>
4554
4594
  */
4555
4595
  IdTokenValidity?: number;
4556
4596
  /**
@@ -4567,41 +4607,46 @@ export interface UserPoolClientType {
4567
4607
  */
4568
4608
  WriteAttributes?: string[];
4569
4609
  /**
4570
- * <p>The authentication flows that are supported by the user pool clients. Flow names
4571
- * without the <code>ALLOW_</code> prefix are no longer supported in favor of new names
4572
- * with the <code>ALLOW_</code> prefix. Note that values with <code>ALLOW_</code> prefix
4573
- * must be used only along with values including the <code>ALLOW_</code> prefix.</p>
4574
- * <p>Valid values include:</p>
4575
- * <ul>
4610
+ * <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
4611
+ * your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
4612
+ * password, or a custom authentication process that you define with Lambda functions.</p>
4613
+ * <note>
4614
+ * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
4615
+ * </note>
4616
+ * <p>Valid values include:</p>
4617
+ * <ul>
4576
4618
  * <li>
4577
- * <p>
4619
+ * <p>
4578
4620
  * <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
4579
- * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
4580
- * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, Amazon Cognito
4581
- * receives the password in the request instead of using the Secure Remote Password
4582
- * (SRP) protocol to verify passwords.</p>
4621
+ * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
4622
+ * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
4623
+ * passes a user name and password to Amazon Cognito in the request, instead of using the Secure
4624
+ * Remote Password (SRP) protocol to securely transmit the password.</p>
4583
4625
  * </li>
4584
4626
  * <li>
4585
- * <p>
4627
+ * <p>
4586
4628
  * <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
4587
- * authentication.</p>
4629
+ * authentication.</p>
4588
4630
  * </li>
4589
4631
  * <li>
4590
- * <p>
4632
+ * <p>
4591
4633
  * <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
4592
- * authentication. In this flow, Amazon Cognito receives the password in the request instead
4593
- * of using the SRP protocol to verify passwords.</p>
4634
+ * authentication. In this flow, Amazon Cognito receives the password in the request instead
4635
+ * of using the SRP protocol to verify passwords.</p>
4594
4636
  * </li>
4595
4637
  * <li>
4596
- * <p>
4638
+ * <p>
4597
4639
  * <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
4598
4640
  * </li>
4599
4641
  * <li>
4600
- * <p>
4642
+ * <p>
4601
4643
  * <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
4602
- * tokens.</p>
4644
+ * tokens.</p>
4603
4645
  * </li>
4604
4646
  * </ul>
4647
+ * <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
4648
+ * You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
4649
+ * like <code>ALLOW_USER_SRP_AUTH</code>.</p>
4605
4650
  */
4606
4651
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
4607
4652
  /**
@@ -4944,7 +4989,7 @@ export interface DescribeIdentityProviderRequest {
4944
4989
  }
4945
4990
  export interface DescribeIdentityProviderResponse {
4946
4991
  /**
4947
- * <p>The IdP that was deleted.</p>
4992
+ * <p>The identity provider details.</p>
4948
4993
  */
4949
4994
  IdentityProvider: IdentityProviderType | undefined;
4950
4995
  }
@@ -5370,7 +5415,7 @@ export interface GetIdentityProviderByIdentifierRequest {
5370
5415
  }
5371
5416
  export interface GetIdentityProviderByIdentifierResponse {
5372
5417
  /**
5373
- * <p>The IdP object.</p>
5418
+ * <p>The identity provider details.</p>
5374
5419
  */
5375
5420
  IdentityProvider: IdentityProviderType | undefined;
5376
5421
  }
@@ -6716,7 +6761,7 @@ export interface SetUserPoolMfaConfigRequest {
6716
6761
  SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
6717
6762
  /**
6718
6763
  * <p>The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who
6719
- * have set up an MFA factor can sign in. To learn more, see <a href="cognito/latest/developerguide/user-pool-settings-mfa.html">Adding Multi-Factor
6764
+ * have set up an MFA factor can sign in. To learn more, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html">Adding Multi-Factor
6720
6765
  * Authentication (MFA) to a user pool</a>. Valid values include:</p>
6721
6766
  * <ul>
6722
6767
  * <li>
@@ -6785,86 +6830,6 @@ export interface SetUserSettingsRequest {
6785
6830
  */
6786
6831
  export interface SetUserSettingsResponse {
6787
6832
  }
6788
- /**
6789
- * <p>Represents the request to register a user.</p>
6790
- */
6791
- export interface SignUpRequest {
6792
- /**
6793
- * <p>The ID of the client associated with the user pool.</p>
6794
- */
6795
- ClientId: string | undefined;
6796
- /**
6797
- * <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a
6798
- * user pool client and username plus the client ID in the message.</p>
6799
- */
6800
- SecretHash?: string;
6801
- /**
6802
- * <p>The user name of the user you want to register.</p>
6803
- */
6804
- Username: string | undefined;
6805
- /**
6806
- * <p>The password of the user you want to register.</p>
6807
- */
6808
- Password: string | undefined;
6809
- /**
6810
- * <p>An array of name-value pairs representing user attributes.</p>
6811
- * <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
6812
- * attribute name.</p>
6813
- */
6814
- UserAttributes?: AttributeType[];
6815
- /**
6816
- * <p>The validation data in the request to register a user.</p>
6817
- */
6818
- ValidationData?: AttributeType[];
6819
- /**
6820
- * <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
6821
- * <code>SignUp</code> calls.</p>
6822
- */
6823
- AnalyticsMetadata?: AnalyticsMetadataType;
6824
- /**
6825
- * <p>Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced
6826
- * security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito
6827
- * when it makes API requests.</p>
6828
- */
6829
- UserContextData?: UserContextDataType;
6830
- /**
6831
- * <p>A map of custom key-value pairs that you can provide as input for any custom workflows
6832
- * that this action triggers.</p>
6833
- * <p>You create custom workflows by assigning Lambda functions to user pool triggers.
6834
- * When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the
6835
- * following triggers: <i>pre sign-up</i>, <i>custom
6836
- * message</i>, and <i>post confirmation</i>. When Amazon Cognito invokes
6837
- * any of these functions, it passes a JSON payload, which the function receives as input.
6838
- * This payload contains a <code>clientMetadata</code> attribute, which provides the data
6839
- * that you assigned to the ClientMetadata parameter in your SignUp request. In your
6840
- * function code in Lambda, you can process the <code>clientMetadata</code> value to enhance
6841
- * your workflow for your specific needs.</p>
6842
- *
6843
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
6844
- * Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
6845
- *
6846
- * <note>
6847
- * <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the
6848
- * following:</p>
6849
- * <ul>
6850
- * <li>
6851
- * <p>Store the ClientMetadata value. This data is available only to Lambda
6852
- * triggers that are assigned to a user pool to support custom workflows. If
6853
- * your user pool configuration doesn't include triggers, the ClientMetadata
6854
- * parameter serves no purpose.</p>
6855
- * </li>
6856
- * <li>
6857
- * <p>Validate the ClientMetadata value.</p>
6858
- * </li>
6859
- * <li>
6860
- * <p>Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive
6861
- * information.</p>
6862
- * </li>
6863
- * </ul>
6864
- * </note>
6865
- */
6866
- ClientMetadata?: Record<string, string>;
6867
- }
6868
6833
  /**
6869
6834
  * @internal
6870
6835
  */
@@ -7761,7 +7726,3 @@ export declare const SetUserSettingsRequestFilterSensitiveLog: (obj: SetUserSett
7761
7726
  * @internal
7762
7727
  */
7763
7728
  export declare const SetUserSettingsResponseFilterSensitiveLog: (obj: SetUserSettingsResponse) => any;
7764
- /**
7765
- * @internal
7766
- */
7767
- export declare const SignUpRequestFilterSensitiveLog: (obj: SignUpRequest) => any;
@@ -1,6 +1,86 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
- import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
3
+ import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
4
+ /**
5
+ * <p>Represents the request to register a user.</p>
6
+ */
7
+ export interface SignUpRequest {
8
+ /**
9
+ * <p>The ID of the client associated with the user pool.</p>
10
+ */
11
+ ClientId: string | undefined;
12
+ /**
13
+ * <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a
14
+ * user pool client and username plus the client ID in the message.</p>
15
+ */
16
+ SecretHash?: string;
17
+ /**
18
+ * <p>The user name of the user you want to register.</p>
19
+ */
20
+ Username: string | undefined;
21
+ /**
22
+ * <p>The password of the user you want to register.</p>
23
+ */
24
+ Password: string | undefined;
25
+ /**
26
+ * <p>An array of name-value pairs representing user attributes.</p>
27
+ * <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
28
+ * attribute name.</p>
29
+ */
30
+ UserAttributes?: AttributeType[];
31
+ /**
32
+ * <p>The validation data in the request to register a user.</p>
33
+ */
34
+ ValidationData?: AttributeType[];
35
+ /**
36
+ * <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
37
+ * <code>SignUp</code> calls.</p>
38
+ */
39
+ AnalyticsMetadata?: AnalyticsMetadataType;
40
+ /**
41
+ * <p>Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced
42
+ * security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito
43
+ * when it makes API requests.</p>
44
+ */
45
+ UserContextData?: UserContextDataType;
46
+ /**
47
+ * <p>A map of custom key-value pairs that you can provide as input for any custom workflows
48
+ * that this action triggers.</p>
49
+ * <p>You create custom workflows by assigning Lambda functions to user pool triggers.
50
+ * When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the
51
+ * following triggers: <i>pre sign-up</i>, <i>custom
52
+ * message</i>, and <i>post confirmation</i>. When Amazon Cognito invokes
53
+ * any of these functions, it passes a JSON payload, which the function receives as input.
54
+ * This payload contains a <code>clientMetadata</code> attribute, which provides the data
55
+ * that you assigned to the ClientMetadata parameter in your SignUp request. In your
56
+ * function code in Lambda, you can process the <code>clientMetadata</code> value to enhance
57
+ * your workflow for your specific needs.</p>
58
+ *
59
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
60
+ * Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
61
+ *
62
+ * <note>
63
+ * <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the
64
+ * following:</p>
65
+ * <ul>
66
+ * <li>
67
+ * <p>Store the ClientMetadata value. This data is available only to Lambda
68
+ * triggers that are assigned to a user pool to support custom workflows. If
69
+ * your user pool configuration doesn't include triggers, the ClientMetadata
70
+ * parameter serves no purpose.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>Validate the ClientMetadata value.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive
77
+ * information.</p>
78
+ * </li>
79
+ * </ul>
80
+ * </note>
81
+ */
82
+ ClientMetadata?: Record<string, string>;
83
+ }
4
84
  /**
5
85
  * <p>The response from the server for a registration request.</p>
6
86
  */
@@ -194,7 +274,7 @@ export interface UpdateIdentityProviderRequest {
194
274
  }
195
275
  export interface UpdateIdentityProviderResponse {
196
276
  /**
197
- * <p>The IdP object.</p>
277
+ * <p>The identity provider details.</p>
198
278
  */
199
279
  IdentityProvider: IdentityProviderType | undefined;
200
280
  }
@@ -302,6 +382,16 @@ export interface UpdateUserPoolRequest {
302
382
  * <p>A container with the policies you want to update in a user pool.</p>
303
383
  */
304
384
  Policies?: UserPoolPolicyType;
385
+ /**
386
+ * <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
387
+ * pool. Before you can delete a user pool that you have protected against deletion, you
388
+ * must deactivate this feature.</p>
389
+ * <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
390
+ * Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
391
+ * send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
392
+ * <code>UpdateUserPool</code> API request.</p>
393
+ */
394
+ DeletionProtection?: DeletionProtectionType | string;
305
395
  /**
306
396
  * <p>The Lambda configuration information from the request to update the user pool.</p>
307
397
  */
@@ -441,6 +531,8 @@ export interface UpdateUserPoolClientRequest {
441
531
  * You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
442
532
  * value with the default value of 30 days. <i>Valid range</i> is displayed below
443
533
  * in seconds.</p>
534
+ * <p>If you don't specify otherwise in the configuration of your app client, your refresh
535
+ * tokens are valid for 30 days.</p>
444
536
  */
445
537
  RefreshTokenValidity?: number;
446
538
  /**
@@ -453,6 +545,8 @@ export interface UpdateUserPoolClientRequest {
453
545
  * their access token for 10 hours.</p>
454
546
  * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
455
547
  * <i>Valid range</i> is displayed below in seconds.</p>
548
+ * <p>If you don't specify otherwise in the configuration of your app client, your access
549
+ * tokens are valid for one hour.</p>
456
550
  */
457
551
  AccessTokenValidity?: number;
458
552
  /**
@@ -465,6 +559,8 @@ export interface UpdateUserPoolClientRequest {
465
559
  * session with their ID token for 10 hours.</p>
466
560
  * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
467
561
  * <i>Valid range</i> is displayed below in seconds.</p>
562
+ * <p>If you don't specify otherwise in the configuration of your app client, your ID
563
+ * tokens are valid for one hour.</p>
468
564
  */
469
565
  IdTokenValidity?: number;
470
566
  /**
@@ -481,41 +577,46 @@ export interface UpdateUserPoolClientRequest {
481
577
  */
482
578
  WriteAttributes?: string[];
483
579
  /**
484
- * <p>The authentication flows that are supported by the user pool clients. Flow names
485
- * without the <code>ALLOW_</code> prefix are no longer supported in favor of new names
486
- * with the <code>ALLOW_</code> prefix. Note that values with <code>ALLOW_</code> prefix
487
- * must be used only along with values with the <code>ALLOW_</code> prefix.</p>
488
- * <p>Valid values include:</p>
489
- * <ul>
580
+ * <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
581
+ * your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
582
+ * password, or a custom authentication process that you define with Lambda functions.</p>
583
+ * <note>
584
+ * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
585
+ * </note>
586
+ * <p>Valid values include:</p>
587
+ * <ul>
490
588
  * <li>
491
- * <p>
589
+ * <p>
492
590
  * <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
493
- * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
494
- * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, Amazon Cognito
495
- * receives the password in the request instead of using the Secure Remote Password
496
- * (SRP) protocol to verify passwords.</p>
591
+ * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
592
+ * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
593
+ * passes a user name and password to Amazon Cognito in the request, instead of using the Secure
594
+ * Remote Password (SRP) protocol to securely transmit the password.</p>
497
595
  * </li>
498
596
  * <li>
499
- * <p>
597
+ * <p>
500
598
  * <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
501
- * authentication.</p>
599
+ * authentication.</p>
502
600
  * </li>
503
601
  * <li>
504
- * <p>
602
+ * <p>
505
603
  * <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
506
- * authentication. In this flow, Amazon Cognito receives the password in the request instead
507
- * of using the SRP protocol to verify passwords.</p>
604
+ * authentication. In this flow, Amazon Cognito receives the password in the request instead
605
+ * of using the SRP protocol to verify passwords.</p>
508
606
  * </li>
509
607
  * <li>
510
- * <p>
608
+ * <p>
511
609
  * <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
512
610
  * </li>
513
611
  * <li>
514
- * <p>
612
+ * <p>
515
613
  * <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
516
- * tokens.</p>
614
+ * tokens.</p>
517
615
  * </li>
518
616
  * </ul>
617
+ * <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
618
+ * You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
619
+ * like <code>ALLOW_USER_SRP_AUTH</code>.</p>
519
620
  */
520
621
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
521
622
  /**
@@ -773,6 +874,10 @@ export interface VerifyUserAttributeRequest {
773
874
  */
774
875
  export interface VerifyUserAttributeResponse {
775
876
  }
877
+ /**
878
+ * @internal
879
+ */
880
+ export declare const SignUpRequestFilterSensitiveLog: (obj: SignUpRequest) => any;
776
881
  /**
777
882
  * @internal
778
883
  */
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;