@kensio/yulin 1.18.1 → 1.19.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 (799) hide show
  1. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts +15 -0
  2. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
  3. package/dist/sdk/wire/sim-sdk-wire-operation.js +54 -2
  4. package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
  5. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +3 -0
  6. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
  7. package/dist/serve/http/api/sim-aws-api-endpoint.js +10 -2
  8. package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
  9. package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts +6 -0
  10. package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts.map +1 -1
  11. package/dist/service/aws/factory/sim-aws-lambda-collaborators.js +6 -0
  12. package/dist/service/aws/factory/sim-aws-lambda-collaborators.js.map +1 -1
  13. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  14. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +15 -0
  15. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  16. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts +27 -0
  17. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts.map +1 -0
  18. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js +35 -0
  19. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js.map +1 -0
  20. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +5 -4
  21. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -1
  22. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +5 -4
  23. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
  24. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts +13 -0
  25. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts.map +1 -1
  26. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js +30 -1
  27. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js.map +1 -1
  28. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  29. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +9 -0
  30. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  31. package/dist/service/cognito/command/auth/auth.command.d.ts +36 -0
  32. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
  33. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts +22 -0
  34. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts.map +1 -0
  35. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js +25 -0
  36. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js.map +1 -0
  37. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -1
  38. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +9 -0
  39. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -1
  40. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +8 -0
  41. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  42. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +35 -5
  43. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  44. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +7 -3
  45. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -1
  46. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +9 -3
  47. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -1
  48. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +6 -0
  49. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -1
  50. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +6 -0
  51. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -1
  52. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +8 -0
  53. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -1
  54. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +16 -2
  55. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -1
  56. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +7 -0
  57. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -1
  58. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +16 -0
  59. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -1
  60. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts +35 -0
  61. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -0
  62. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +83 -0
  63. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -0
  64. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts +3 -0
  65. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts.map +1 -1
  66. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js +18 -0
  67. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js.map +1 -1
  68. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts +54 -0
  69. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts.map +1 -0
  70. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js +87 -0
  71. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js.map +1 -0
  72. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts +55 -0
  73. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts.map +1 -0
  74. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js +64 -0
  75. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js.map +1 -0
  76. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts +35 -0
  77. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts.map +1 -0
  78. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js +51 -0
  79. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js.map +1 -0
  80. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js +1 -1
  81. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js.map +1 -1
  82. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +2 -1
  83. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -1
  84. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +2 -2
  85. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -1
  86. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts +31 -0
  87. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts.map +1 -0
  88. package/dist/service/cognito/command/auth/sim-cognito-password-response.js +39 -0
  89. package/dist/service/cognito/command/auth/sim-cognito-password-response.js.map +1 -0
  90. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +1 -1
  91. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -1
  92. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +3 -8
  93. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -1
  94. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +24 -17
  95. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -1
  96. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts +56 -0
  97. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts.map +1 -0
  98. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js +50 -0
  99. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js.map +1 -0
  100. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -1
  101. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +7 -2
  102. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -1
  103. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts +44 -0
  104. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts.map +1 -0
  105. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js +62 -0
  106. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js.map +1 -0
  107. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts +30 -0
  108. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts.map +1 -0
  109. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js +36 -0
  110. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js.map +1 -0
  111. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  112. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -2
  113. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  114. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -3
  115. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  116. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +6 -3
  117. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  118. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +4 -1
  119. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  120. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +22 -0
  121. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
  122. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +4 -4
  123. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +4 -4
  124. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +6 -0
  125. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
  126. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +2 -1
  127. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
  128. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +65 -0
  129. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts.map +1 -0
  130. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +71 -0
  131. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js.map +1 -0
  132. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +16 -7
  133. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -1
  134. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +26 -7
  135. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -1
  136. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +1 -1
  137. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -1
  138. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +3 -3
  139. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -1
  140. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +5 -4
  141. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -1
  142. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +2 -1
  143. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  144. package/dist/service/cognito/command/sim-cognito-commands.d.ts +2 -0
  145. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  146. package/dist/service/cognito/command/sim-cognito-commands.js +9 -0
  147. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  148. package/dist/service/cognito/command/sim-cognito-page.d.ts +10 -0
  149. package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
  150. package/dist/service/cognito/command/sim-cognito-page.js +11 -7
  151. package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
  152. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts +49 -0
  153. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts.map +1 -0
  154. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js +88 -0
  155. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js.map +1 -0
  156. package/dist/service/cognito/command/user/web-authn.command.d.ts +87 -0
  157. package/dist/service/cognito/command/user/web-authn.command.d.ts.map +1 -0
  158. package/dist/service/cognito/command/user/web-authn.command.js +2 -0
  159. package/dist/service/cognito/command/user/web-authn.command.js.map +1 -0
  160. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts +4 -0
  161. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts.map +1 -1
  162. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js +4 -1
  163. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js.map +1 -1
  164. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +5 -3
  165. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
  166. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
  167. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
  168. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
  169. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  170. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +9 -1
  171. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  172. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +2 -3
  173. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
  174. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +24 -0
  175. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -1
  176. package/dist/service/cognito/error/sim-cognito-managed-login.error.js +37 -0
  177. package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -1
  178. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts +56 -0
  179. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts.map +1 -0
  180. package/dist/service/cognito/error/sim-cognito-web-authn.error.js +66 -0
  181. package/dist/service/cognito/error/sim-cognito-web-authn.error.js.map +1 -0
  182. package/dist/service/cognito/index.d.ts +10 -1
  183. package/dist/service/cognito/index.d.ts.map +1 -1
  184. package/dist/service/cognito/index.js +8 -0
  185. package/dist/service/cognito/index.js.map +1 -1
  186. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -1
  187. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +4 -0
  188. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -1
  189. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +2 -2
  190. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  191. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +4 -2
  192. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  193. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts +11 -0
  194. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts.map +1 -0
  195. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js +28 -0
  196. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js.map +1 -0
  197. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +4 -2
  198. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -1
  199. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +9 -3
  200. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -1
  201. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts +23 -0
  202. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts.map +1 -0
  203. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js +36 -0
  204. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js.map +1 -0
  205. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +13 -1
  206. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -1
  207. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +24 -2
  208. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -1
  209. package/dist/service/cognito/sim-cognito-authentication.d.ts +8 -0
  210. package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -1
  211. package/dist/service/cognito/sim-cognito-authentication.js +11 -0
  212. package/dist/service/cognito/sim-cognito-authentication.js.map +1 -1
  213. package/dist/service/cognito/sim-cognito-user-factors.d.ts +25 -0
  214. package/dist/service/cognito/sim-cognito-user-factors.d.ts.map +1 -1
  215. package/dist/service/cognito/sim-cognito-user-factors.js +37 -0
  216. package/dist/service/cognito/sim-cognito-user-factors.js.map +1 -1
  217. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +33 -2
  218. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -1
  219. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +27 -12
  220. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -1
  221. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +11 -1
  222. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
  223. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +17 -2
  224. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
  225. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +41 -0
  226. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
  227. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +62 -0
  228. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
  229. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +10 -0
  230. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  231. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +19 -0
  232. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  233. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts +11 -0
  234. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts.map +1 -0
  235. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js +17 -0
  236. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js.map +1 -0
  237. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts +61 -0
  238. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts.map +1 -0
  239. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js +80 -0
  240. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js.map +1 -0
  241. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +10 -0
  242. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -1
  243. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +14 -0
  244. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -1
  245. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts +27 -0
  246. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts.map +1 -0
  247. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js +55 -0
  248. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js.map +1 -0
  249. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts +10 -0
  250. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts.map +1 -1
  251. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js +22 -0
  252. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js.map +1 -1
  253. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts +48 -0
  254. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts.map +1 -0
  255. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js +79 -0
  256. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js.map +1 -0
  257. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +13 -0
  258. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  259. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +13 -0
  260. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  261. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +12 -0
  262. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  263. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +14 -0
  264. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  265. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts +16 -0
  266. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts.map +1 -0
  267. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js +32 -0
  268. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js.map +1 -0
  269. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +16 -0
  270. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
  271. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js +29 -0
  272. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
  273. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts +46 -0
  274. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts.map +1 -0
  275. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js +73 -0
  276. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js.map +1 -0
  277. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts +1 -9
  278. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts.map +1 -1
  279. package/dist/service/cognito/user-pool/sim-cognito-password-policy.js.map +1 -1
  280. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts +60 -0
  281. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts.map +1 -0
  282. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js +100 -0
  283. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js.map +1 -0
  284. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +11 -1
  285. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
  286. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +12 -1
  287. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
  288. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +48 -69
  289. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  290. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +58 -73
  291. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  292. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +34 -0
  293. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
  294. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +40 -1
  295. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
  296. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +13 -18
  297. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
  298. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +23 -24
  299. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
  300. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts +73 -0
  301. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts.map +1 -0
  302. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js +113 -0
  303. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js.map +1 -0
  304. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts +22 -0
  305. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts.map +1 -0
  306. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js +53 -0
  307. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js.map +1 -0
  308. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts +15 -0
  309. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts.map +1 -0
  310. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js +68 -0
  311. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js.map +1 -0
  312. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts +33 -0
  313. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts.map +1 -0
  314. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js +67 -0
  315. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js.map +1 -0
  316. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts +24 -0
  317. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts.map +1 -0
  318. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js +45 -0
  319. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js.map +1 -0
  320. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts +28 -0
  321. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts.map +1 -0
  322. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js +41 -0
  323. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js.map +1 -0
  324. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts +69 -0
  325. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts.map +1 -0
  326. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js +69 -0
  327. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js.map +1 -0
  328. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts +39 -0
  329. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts.map +1 -0
  330. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js +90 -0
  331. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js.map +1 -0
  332. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts +111 -0
  333. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts.map +1 -0
  334. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js +2 -0
  335. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js.map +1 -0
  336. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts +37 -0
  337. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts.map +1 -0
  338. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js +39 -0
  339. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js.map +1 -0
  340. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts +21 -0
  341. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts.map +1 -0
  342. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js +45 -0
  343. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js.map +1 -0
  344. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts +52 -0
  345. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts.map +1 -0
  346. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js +98 -0
  347. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js.map +1 -0
  348. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts +5 -4
  349. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts.map +1 -1
  350. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js +17 -4
  351. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js.map +1 -1
  352. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts +8 -1
  353. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts.map +1 -1
  354. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js +10 -3
  355. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js.map +1 -1
  356. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js +1 -1
  357. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js.map +1 -1
  358. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +26 -0
  359. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts.map +1 -0
  360. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +32 -0
  361. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js.map +1 -0
  362. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts +40 -0
  363. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts.map +1 -0
  364. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js +42 -0
  365. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js.map +1 -0
  366. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts +12 -0
  367. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts.map +1 -0
  368. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js +26 -0
  369. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js.map +1 -0
  370. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +13 -0
  371. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts.map +1 -0
  372. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +20 -0
  373. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js.map +1 -0
  374. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts +26 -0
  375. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts.map +1 -0
  376. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js +47 -0
  377. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js.map +1 -0
  378. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts +20 -0
  379. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts.map +1 -0
  380. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js +29 -0
  381. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js.map +1 -0
  382. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +3 -0
  383. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
  384. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -0
  385. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
  386. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
  387. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +5 -0
  388. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
  389. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
  390. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  391. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
  392. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  393. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts +35 -0
  394. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts.map +1 -0
  395. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js +73 -0
  396. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js.map +1 -0
  397. package/dist/service/lambda/command/create-function/create-function-input.d.ts +1 -0
  398. package/dist/service/lambda/command/create-function/create-function-input.d.ts.map +1 -1
  399. package/dist/service/lambda/command/create-function/create-function-input.js +3 -1
  400. package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
  401. package/dist/service/lambda/command/create-function/create-function.command.d.ts +2 -0
  402. package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
  403. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +5 -1
  404. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
  405. package/dist/service/lambda/command/delete-function/delete-function.handler.js +5 -1
  406. package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
  407. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts +24 -0
  408. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts.map +1 -0
  409. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js +5 -0
  410. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js.map +1 -0
  411. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts +24 -0
  412. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts.map +1 -0
  413. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js +27 -0
  414. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js.map +1 -0
  415. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts +29 -0
  416. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map +1 -0
  417. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js +39 -0
  418. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js.map +1 -0
  419. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts +32 -0
  420. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts.map +1 -0
  421. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js +62 -0
  422. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js.map +1 -0
  423. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts +49 -0
  424. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts.map +1 -0
  425. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js +44 -0
  426. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js.map +1 -0
  427. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts +49 -0
  428. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts.map +1 -0
  429. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js +49 -0
  430. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js.map +1 -0
  431. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +21 -0
  432. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  433. package/dist/service/lambda/command/function/sim-lambda-function-commands.js +43 -0
  434. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  435. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts +25 -0
  436. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts.map +1 -0
  437. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js +5 -0
  438. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js.map +1 -0
  439. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts +23 -0
  440. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts.map +1 -0
  441. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js +27 -0
  442. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js.map +1 -0
  443. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts +31 -0
  444. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts.map +1 -0
  445. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js +24 -0
  446. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js.map +1 -0
  447. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts +43 -0
  448. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts.map +1 -0
  449. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js +64 -0
  450. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js.map +1 -0
  451. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts +26 -0
  452. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts.map +1 -0
  453. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js +33 -0
  454. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js.map +1 -0
  455. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts +63 -0
  456. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts.map +1 -0
  457. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js +88 -0
  458. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js.map +1 -0
  459. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +10 -3
  460. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
  461. package/dist/service/lambda/command/invoke/invoke-dispatcher.js +16 -17
  462. package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
  463. package/dist/service/lambda/command/invoke/invoke-payload.d.ts +16 -0
  464. package/dist/service/lambda/command/invoke/invoke-payload.d.ts.map +1 -1
  465. package/dist/service/lambda/command/invoke/invoke-payload.js +14 -4
  466. package/dist/service/lambda/command/invoke/invoke-payload.js.map +1 -1
  467. package/dist/service/lambda/command/invoke/invoke.handler.d.ts +4 -0
  468. package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
  469. package/dist/service/lambda/command/invoke/invoke.handler.js +6 -2
  470. package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
  471. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts +28 -0
  472. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts.map +1 -0
  473. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js +5 -0
  474. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js.map +1 -0
  475. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts +23 -0
  476. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts.map +1 -0
  477. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js +31 -0
  478. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js.map +1 -0
  479. package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts +31 -0
  480. package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts.map +1 -0
  481. package/dist/service/lambda/command/list-functions/list-functions-authorizer.js +41 -0
  482. package/dist/service/lambda/command/list-functions/list-functions-authorizer.js.map +1 -0
  483. package/dist/service/lambda/command/list-functions/list-functions.command.d.ts +34 -0
  484. package/dist/service/lambda/command/list-functions/list-functions.command.d.ts.map +1 -0
  485. package/dist/service/lambda/command/list-functions/list-functions.command.js +5 -0
  486. package/dist/service/lambda/command/list-functions/list-functions.command.js.map +1 -0
  487. package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts +35 -0
  488. package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts.map +1 -0
  489. package/dist/service/lambda/command/list-functions/list-functions.handler.js +46 -0
  490. package/dist/service/lambda/command/list-functions/list-functions.handler.js.map +1 -0
  491. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts +31 -0
  492. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts.map +1 -0
  493. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js +5 -0
  494. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js.map +1 -0
  495. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts +24 -0
  496. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts.map +1 -0
  497. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js +32 -0
  498. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js.map +1 -0
  499. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +8 -0
  500. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  501. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts +27 -0
  502. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts.map +1 -0
  503. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js +37 -0
  504. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js.map +1 -0
  505. package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts +16 -0
  506. package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts.map +1 -0
  507. package/dist/service/lambda/command/update-function-code/update-function-code-input.js +30 -0
  508. package/dist/service/lambda/command/update-function-code/update-function-code-input.js.map +1 -0
  509. package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts +41 -0
  510. package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts.map +1 -0
  511. package/dist/service/lambda/command/update-function-code/update-function-code.command.js +5 -0
  512. package/dist/service/lambda/command/update-function-code/update-function-code.command.js.map +1 -0
  513. package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts +52 -0
  514. package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts.map +1 -0
  515. package/dist/service/lambda/command/update-function-code/update-function-code.handler.js +72 -0
  516. package/dist/service/lambda/command/update-function-code/update-function-code.handler.js.map +1 -0
  517. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts +28 -0
  518. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts.map +1 -0
  519. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js +38 -0
  520. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js.map +1 -0
  521. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts +23 -0
  522. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -0
  523. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +31 -0
  524. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -0
  525. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +44 -0
  526. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -0
  527. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js +5 -0
  528. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js.map +1 -0
  529. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts +50 -0
  530. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts.map +1 -0
  531. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js +61 -0
  532. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js.map +1 -0
  533. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts +30 -0
  534. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts.map +1 -0
  535. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js +5 -0
  536. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js.map +1 -0
  537. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts +25 -0
  538. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts.map +1 -0
  539. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js +33 -0
  540. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js.map +1 -0
  541. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts +16 -0
  542. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts.map +1 -0
  543. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js +31 -0
  544. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js.map +1 -0
  545. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts +13 -0
  546. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts.map +1 -0
  547. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js +25 -0
  548. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js.map +1 -0
  549. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts +15 -0
  550. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts.map +1 -0
  551. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js +25 -0
  552. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js.map +1 -0
  553. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts +15 -0
  554. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts.map +1 -0
  555. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js +2 -0
  556. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js.map +1 -0
  557. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts +15 -0
  558. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts.map +1 -0
  559. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js +23 -0
  560. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js.map +1 -0
  561. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts +38 -0
  562. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts.map +1 -0
  563. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js +78 -0
  564. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js.map +1 -0
  565. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts +53 -0
  566. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts.map +1 -0
  567. package/dist/service/lambda/destination/sim-lambda-destination-arn.js +122 -0
  568. package/dist/service/lambda/destination/sim-lambda-destination-arn.js.map +1 -0
  569. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts +53 -0
  570. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts.map +1 -0
  571. package/dist/service/lambda/destination/sim-lambda-destination-record.js +26 -0
  572. package/dist/service/lambda/destination/sim-lambda-destination-record.js.map +1 -0
  573. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts +49 -0
  574. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts.map +1 -0
  575. package/dist/service/lambda/destination/sim-lambda-destination-targets.js +25 -0
  576. package/dist/service/lambda/destination/sim-lambda-destination-targets.js.map +1 -0
  577. package/dist/service/lambda/function/code/lambda-code-source.d.ts +15 -2
  578. package/dist/service/lambda/function/code/lambda-code-source.d.ts.map +1 -1
  579. package/dist/service/lambda/function/code/lambda-code-source.js +19 -14
  580. package/dist/service/lambda/function/code/lambda-code-source.js.map +1 -1
  581. package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts +6 -0
  582. package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts.map +1 -1
  583. package/dist/service/lambda/function/code/sim-lambda-code-resolver.js.map +1 -1
  584. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +28 -0
  585. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
  586. package/dist/service/lambda/function/code/sim-lambda-executable-code.js +10 -0
  587. package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
  588. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.d.ts.map +1 -1
  589. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js +2 -1
  590. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js.map +1 -1
  591. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts +11 -1
  592. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts.map +1 -1
  593. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js +16 -0
  594. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js.map +1 -1
  595. package/dist/service/lambda/{command/create-function/create-function-environment-names.d.ts → function/environment/lambda-environment-variable-names.d.ts} +1 -1
  596. package/dist/service/lambda/function/environment/lambda-environment-variable-names.d.ts.map +1 -0
  597. package/dist/service/lambda/{command/create-function/create-function-environment-names.js → function/environment/lambda-environment-variable-names.js} +1 -1
  598. package/dist/service/lambda/function/environment/lambda-environment-variable-names.js.map +1 -0
  599. package/dist/service/lambda/{command/create-function/create-function-environment.d.ts → function/environment/lambda-environment-variables.d.ts} +2 -2
  600. package/dist/service/lambda/function/environment/lambda-environment-variables.d.ts.map +1 -0
  601. package/dist/service/lambda/{command/create-function/create-function-environment.js → function/environment/lambda-environment-variables.js} +2 -2
  602. package/dist/service/lambda/function/environment/lambda-environment-variables.js.map +1 -0
  603. package/dist/service/lambda/function/environment/lambda-reserved-variable-names.d.ts.map +1 -0
  604. package/dist/service/lambda/function/environment/lambda-reserved-variable-names.js.map +1 -0
  605. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts +17 -0
  606. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts.map +1 -0
  607. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js +26 -0
  608. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js.map +1 -0
  609. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts +58 -0
  610. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts.map +1 -0
  611. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js +86 -0
  612. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js.map +1 -0
  613. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts +117 -0
  614. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts.map +1 -0
  615. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js +37 -0
  616. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js.map +1 -0
  617. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts +35 -0
  618. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts.map +1 -0
  619. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js +70 -0
  620. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js.map +1 -0
  621. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +3 -0
  622. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -1
  623. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts +11 -0
  624. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts.map +1 -0
  625. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js +27 -0
  626. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js.map +1 -0
  627. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +40 -0
  628. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -0
  629. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +66 -0
  630. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -0
  631. package/dist/service/lambda/function/sim-lambda-function.d.ts +36 -56
  632. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  633. package/dist/service/lambda/function/sim-lambda-function.js +50 -23
  634. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  635. package/dist/service/lambda/function/sim-lambda-function.type.d.ts +58 -0
  636. package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -0
  637. package/dist/service/lambda/function/sim-lambda-function.type.js +2 -0
  638. package/dist/service/lambda/function/sim-lambda-function.type.js.map +1 -0
  639. package/dist/service/lambda/index.d.ts +2 -0
  640. package/dist/service/lambda/index.d.ts.map +1 -1
  641. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts +10 -0
  642. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts.map +1 -0
  643. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js +32 -0
  644. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js.map +1 -0
  645. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  646. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +14 -0
  647. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  648. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts +27 -0
  649. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts.map +1 -0
  650. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js +76 -0
  651. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js.map +1 -0
  652. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -1
  653. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +19 -58
  654. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -1
  655. package/dist/service/lambda/sim-lambda-commands.d.ts +11 -0
  656. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  657. package/dist/service/lambda/sim-lambda-commands.js +18 -1
  658. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  659. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts +23 -0
  660. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts.map +1 -0
  661. package/dist/service/lambda/sim-lambda-event-invoke-operations.js +31 -0
  662. package/dist/service/lambda/sim-lambda-event-invoke-operations.js.map +1 -0
  663. package/dist/service/lambda/sim-lambda-inspection.d.ts +9 -0
  664. package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -1
  665. package/dist/service/lambda/sim-lambda-inspection.js +13 -0
  666. package/dist/service/lambda/sim-lambda-inspection.js.map +1 -1
  667. package/dist/service/lambda/sim-lambda-request-options.d.ts +8 -0
  668. package/dist/service/lambda/sim-lambda-request-options.d.ts.map +1 -0
  669. package/dist/service/lambda/sim-lambda-request-options.js +2 -0
  670. package/dist/service/lambda/sim-lambda-request-options.js.map +1 -0
  671. package/dist/service/lambda/sim-lambda.d.ts +12 -7
  672. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  673. package/dist/service/lambda/sim-lambda.js +16 -3
  674. package/dist/service/lambda/sim-lambda.js.map +1 -1
  675. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
  676. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
  677. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +7 -1
  678. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
  679. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
  680. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
  681. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
  682. package/dist/service/s3/command/copy-object/copy-object-builder.d.ts +34 -0
  683. package/dist/service/s3/command/copy-object/copy-object-builder.d.ts.map +1 -0
  684. package/dist/service/s3/command/copy-object/copy-object-builder.js +40 -0
  685. package/dist/service/s3/command/copy-object/copy-object-builder.js.map +1 -0
  686. package/dist/service/s3/command/copy-object/copy-object-source.d.ts +37 -0
  687. package/dist/service/s3/command/copy-object/copy-object-source.d.ts.map +1 -0
  688. package/dist/service/s3/command/copy-object/copy-object-source.js +80 -0
  689. package/dist/service/s3/command/copy-object/copy-object-source.js.map +1 -0
  690. package/dist/service/s3/command/copy-object/copy-object.command.d.ts +41 -0
  691. package/dist/service/s3/command/copy-object/copy-object.command.d.ts.map +1 -0
  692. package/dist/service/s3/command/copy-object/copy-object.command.js +2 -0
  693. package/dist/service/s3/command/copy-object/copy-object.command.js.map +1 -0
  694. package/dist/service/s3/command/copy-object/copy-object.handler.d.ts +43 -0
  695. package/dist/service/s3/command/copy-object/copy-object.handler.d.ts.map +1 -0
  696. package/dist/service/s3/command/copy-object/copy-object.handler.js +76 -0
  697. package/dist/service/s3/command/copy-object/copy-object.handler.js.map +1 -0
  698. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
  699. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
  700. package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
  701. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
  702. package/dist/service/s3/command/sim-s3-command.types.d.ts +1 -0
  703. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  704. package/dist/service/s3/error/sim-s3.error.d.ts +11 -0
  705. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  706. package/dist/service/s3/error/sim-s3.error.js +13 -0
  707. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  708. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  709. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +4 -0
  710. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  711. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +14 -0
  712. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -1
  713. package/dist/service/s3/serve/api/sim-s3-api-object-input.js +20 -0
  714. package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -1
  715. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +14 -0
  716. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
  717. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +12 -0
  718. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
  719. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
  720. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +23 -1
  721. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
  722. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
  723. package/dist/service/s3/serve/api/sim-s3-api-output.js +7 -1
  724. package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
  725. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +14 -3
  726. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -1
  727. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
  728. package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
  729. package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
  730. package/dist/service/s3/sim-s3-operations.d.ts +2 -0
  731. package/dist/service/s3/sim-s3-operations.d.ts.map +1 -1
  732. package/dist/service/s3/sim-s3-operations.js +4 -0
  733. package/dist/service/s3/sim-s3-operations.js.map +1 -1
  734. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts +2 -0
  735. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts.map +1 -1
  736. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js +3 -0
  737. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js.map +1 -1
  738. package/dist/service/wafv2/index.d.ts +1 -0
  739. package/dist/service/wafv2/index.d.ts.map +1 -1
  740. package/dist/service/wafv2/index.js.map +1 -1
  741. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.d.ts.map +1 -1
  742. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js +1 -0
  743. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js.map +1 -1
  744. package/dist/service/wafv2/sim-wafv2-commands.d.ts.map +1 -1
  745. package/dist/service/wafv2/sim-wafv2-commands.js +3 -0
  746. package/dist/service/wafv2/sim-wafv2-commands.js.map +1 -1
  747. package/dist/service/wafv2/sim-wafv2.d.ts.map +1 -1
  748. package/dist/service/wafv2/sim-wafv2.js +1 -0
  749. package/dist/service/wafv2/sim-wafv2.js.map +1 -1
  750. package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts +49 -0
  751. package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts.map +1 -0
  752. package/dist/service/wafv2/statement/sim-waf-rate-based-input.js +94 -0
  753. package/dist/service/wafv2/statement/sim-waf-rate-based-input.js.map +1 -0
  754. package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts +22 -0
  755. package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts.map +1 -0
  756. package/dist/service/wafv2/statement/sim-waf-rate-based.js +41 -0
  757. package/dist/service/wafv2/statement/sim-waf-rate-based.js.map +1 -0
  758. package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts +18 -0
  759. package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts.map +1 -0
  760. package/dist/service/wafv2/statement/sim-waf-rate-based.type.js +2 -0
  761. package/dist/service/wafv2/statement/sim-waf-rate-based.type.js.map +1 -0
  762. package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts +29 -0
  763. package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts.map +1 -0
  764. package/dist/service/wafv2/statement/sim-waf-rate-counter.js +35 -0
  765. package/dist/service/wafv2/statement/sim-waf-rate-counter.js.map +1 -0
  766. package/dist/service/wafv2/statement/sim-waf-statement.d.ts +6 -0
  767. package/dist/service/wafv2/statement/sim-waf-statement.d.ts.map +1 -1
  768. package/dist/service/wafv2/statement/sim-waf-statement.js +4 -0
  769. package/dist/service/wafv2/statement/sim-waf-statement.js.map +1 -1
  770. package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts +2 -1
  771. package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts.map +1 -1
  772. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts +10 -0
  773. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts.map +1 -0
  774. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js +40 -0
  775. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js.map +1 -0
  776. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.d.ts.map +1 -1
  777. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js +0 -5
  778. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js.map +1 -1
  779. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.d.ts.map +1 -1
  780. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js +25 -2
  781. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js.map +1 -1
  782. package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts +6 -0
  783. package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts.map +1 -1
  784. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.d.ts.map +1 -1
  785. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js +16 -1
  786. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js.map +1 -1
  787. package/dist/util/clock/sim-clock-control.d.ts +8 -0
  788. package/dist/util/clock/sim-clock-control.d.ts.map +1 -1
  789. package/dist/util/clock/sim-clock-control.js +10 -1
  790. package/dist/util/clock/sim-clock-control.js.map +1 -1
  791. package/package.json +1 -1
  792. package/dist/service/lambda/command/create-function/create-function-environment-names.d.ts.map +0 -1
  793. package/dist/service/lambda/command/create-function/create-function-environment-names.js.map +0 -1
  794. package/dist/service/lambda/command/create-function/create-function-environment.d.ts.map +0 -1
  795. package/dist/service/lambda/command/create-function/create-function-environment.js.map +0 -1
  796. package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.d.ts.map +0 -1
  797. package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.js.map +0 -1
  798. /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.d.ts +0 -0
  799. /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-managed-login.js","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-managed-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAA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I,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC5C,CAAC;YACD,KAAK,4BAA4B,EAAE,CAAC;gBAClC,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACpD,CAAC;YACD,KAAK,2BAA2B,EAAE,CAAC;gBACjC,OAAO,MAAM,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACnD,CAAC;YACD,SAAS,CAAC;gBACR,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;;;;OASG;IACH,aAAa,CACX,OAAgC,EAChC,UAAoC,EACpC,KAAc;QAEd,IAAI,gCAAgC,CAAC,KAAK,CAAC,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC1D,CAAC;QAED,IAAI,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1E,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAC3B,OAAO,CAAC,IAAI,EACZ,UAAU,EACV,kBAAkB,CAAC,SAAS,CAAC,KAAK,CAAC,CACpC,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,OAAgC;QAC7C,OAAO,IAAI,kBAAkB,CAC3B,OAAO,EACP,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-managed-login.js","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-managed-login.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAA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,CAAC,OAAgC;QAC7C,OAAO,IAAI,kBAAkB,CAC3B,OAAO,EACP,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,23 @@
1
+ import { type SimCognitoPageParameters } from "./sim-cognito-page-markup.js";
2
+ /**
3
+ * What a browser is asked for once it has said it will sign in with a passkey.
4
+ *
5
+ * Real managed login runs the WebAuthn ceremony here, in the browser, with the
6
+ * person's own authenticator, and posts the credential back without asking
7
+ * anybody anything. These pages serve no script, so the ceremony is a field on
8
+ * a form. A test reads what the authenticator would have produced off the pool
9
+ * with `SimCognitoUserPool.webAuthnAssertion`, passing the session this page
10
+ * carries, and posts it back.
11
+ *
12
+ * The form posts to the authorize endpoint, as the sign-in form does, carrying
13
+ * the parameters the browser arrived on and the challenge the pool issued.
14
+ */
15
+ export declare class SimCognitoPasskeyPage {
16
+ private readonly markup;
17
+ /**
18
+ * The page a browser is answered with, naming the challenge a passkey has to
19
+ * answer.
20
+ */
21
+ render(parameters: SimCognitoPageParameters, username: string, session: string): Response;
22
+ }
23
+ //# sourceMappingURL=sim-cognito-passkey-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-passkey-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-passkey-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,8BAA8B,CAAC;AAGtC;;;;;;;;;;;;GAYG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;IACH,MAAM,CACJ,UAAU,EAAE,wBAAwB,EACpC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd,QAAQ,CAmBV;CACF"}
@@ -0,0 +1,36 @@
1
+ import { SimCognitoPageMarkup, } from "./sim-cognito-page-markup.js";
2
+ import { simCognitoAuthorizePath } from "./sim-cognito-page-paths.js";
3
+ /**
4
+ * What a browser is asked for once it has said it will sign in with a passkey.
5
+ *
6
+ * Real managed login runs the WebAuthn ceremony here, in the browser, with the
7
+ * person's own authenticator, and posts the credential back without asking
8
+ * anybody anything. These pages serve no script, so the ceremony is a field on
9
+ * a form. A test reads what the authenticator would have produced off the pool
10
+ * with `SimCognitoUserPool.webAuthnAssertion`, passing the session this page
11
+ * carries, and posts it back.
12
+ *
13
+ * The form posts to the authorize endpoint, as the sign-in form does, carrying
14
+ * the parameters the browser arrived on and the challenge the pool issued.
15
+ */
16
+ export class SimCognitoPasskeyPage {
17
+ markup = new SimCognitoPageMarkup();
18
+ /**
19
+ * The page a browser is answered with, naming the challenge a passkey has to
20
+ * answer.
21
+ */
22
+ render(parameters, username, session) {
23
+ const body = this.markup.message(`Present the passkey registered for ${username}, as the credential ` +
24
+ `answering this challenge.`) +
25
+ this.markup.form(simCognitoAuthorizePath, this.markup.hidden({
26
+ ...parameters,
27
+ username,
28
+ passkey_session: session,
29
+ }) +
30
+ this.markup.field("credential", "Credential") +
31
+ this.markup.submit("present", "Sign in")) +
32
+ this.markup.link(simCognitoAuthorizePath, parameters, "Back to sign in");
33
+ return this.markup.page("Present your passkey", body);
34
+ }
35
+ }
36
+ //# sourceMappingURL=sim-cognito-passkey-page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cognito-passkey-page.js","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-passkey-page.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,GAErB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,qBAAqB;IACf,MAAM,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAErD;;;OAGG;IACH,MAAM,CACJ,UAAoC,EACpC,QAAgB,EAChB,OAAe;QAEf,MAAM,IAAI,GACR,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,sCAAsC,QAAQ,sBAAsB;YAClE,2BAA2B,CAC9B;YACD,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,uBAAuB,EACvB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;gBACjB,GAAG,UAAU;gBACb,QAAQ;gBACR,eAAe,EAAE,OAAO;aACzB,CAAC;gBACA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,EAAE,YAAY,CAAC;gBAC7C,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAC3C;YACD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,uBAAuB,EAAE,UAAU,EAAE,iBAAiB,CAAC,CAAC;QAE3E,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;CACF"}
@@ -4,7 +4,9 @@ import { type SimCognitoPageParameters } from "./sim-cognito-page-markup.js";
4
4
  * The sign-in form managed login answers an authorize request with.
5
5
  *
6
6
  * The form posts back to the authorize endpoint, carrying the parameters the
7
- * browser arrived on as hidden inputs and the two fields the person filled in.
7
+ * browser arrived on as hidden inputs and the fields the person filled in. A
8
+ * pool that allows a passkey at the first prompt offers one beside the
9
+ * password.
8
10
  * The pool's identity providers are links to the same endpoint with
9
11
  * `identity_provider` set, so both ways in are reachable from this one page,
10
12
  * and the other pages of the journey are links beside them.
@@ -16,5 +18,15 @@ export declare class SimCognitoSignInPage {
16
18
  * already been refused once.
17
19
  */
18
20
  render(pool: SimCognitoUserPool, parameters: SimCognitoPageParameters, message?: string): Response;
21
+ /**
22
+ * The passkey button, where the pool allows one at the first prompt.
23
+ *
24
+ * It skips the browser's own validation so that the password field can be
25
+ * left empty, and posts the username the person typed. Real managed login
26
+ * runs the WebAuthn ceremony in the browser at this point, and this
27
+ * simulation serves no script, so the button is the whole of what the form
28
+ * sends.
29
+ */
30
+ private passkeyButton;
19
31
  }
20
32
  //# sourceMappingURL=sim-cognito-sign-in-page.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-sign-in-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-sign-in-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,8BAA8B,CAAC;AAkBtC;;;;;;;;GAQG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,kBAAkB,EACxB,UAAU,EAAE,wBAAwB,EACpC,OAAO,CAAC,EAAE,MAAM,GACf,QAAQ,CAgBV;CACF"}
1
+ {"version":3,"file":"sim-cognito-sign-in-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-sign-in-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,8BAA8B,CAAC;AAuBtC;;;;;;;;;;GAUG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,kBAAkB,EACxB,UAAU,EAAE,wBAAwB,EACpC,OAAO,CAAC,EAAE,MAAM,GACf,QAAQ,CAiBV;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,aAAa;CAOtB"}
@@ -1,6 +1,10 @@
1
1
  import { SimCognitoPageMarkup, } from "./sim-cognito-page-markup.js";
2
2
  import { simCognitoAuthorizePath, simCognitoConfirmPath, simCognitoForgotPasswordPath, simCognitoSignUpPath, } from "./sim-cognito-page-paths.js";
3
3
  import { simCognitoProviderLinks } from "./sim-cognito-provider-links.js";
4
+ /**
5
+ * The factor a pool has to allow before the form offers a passkey.
6
+ */
7
+ const webAuthnFactor = "WEB_AUTHN";
4
8
  /**
5
9
  * The other pages the sign-in form links to, in the order they are offered.
6
10
  */
@@ -13,7 +17,9 @@ const linkedPages = [
13
17
  * The sign-in form managed login answers an authorize request with.
14
18
  *
15
19
  * The form posts back to the authorize endpoint, carrying the parameters the
16
- * browser arrived on as hidden inputs and the two fields the person filled in.
20
+ * browser arrived on as hidden inputs and the fields the person filled in. A
21
+ * pool that allows a passkey at the first prompt offers one beside the
22
+ * password.
17
23
  * The pool's identity providers are links to the same endpoint with
18
24
  * `identity_provider` set, so both ways in are reachable from this one page,
19
25
  * and the other pages of the journey are links beside them.
@@ -29,12 +35,28 @@ export class SimCognitoSignInPage {
29
35
  this.markup.form(simCognitoAuthorizePath, this.markup.hidden(parameters) +
30
36
  this.markup.field("username", "Username") +
31
37
  this.markup.field("password", "Password", "password") +
32
- this.markup.submit("signIn", "Sign in")) +
38
+ this.markup.submit("signIn", "Sign in") +
39
+ this.passkeyButton(pool)) +
33
40
  simCognitoProviderLinks(this.markup, pool, parameters) +
34
41
  linkedPages
35
42
  .map(([path, text]) => this.markup.link(path, parameters, text))
36
43
  .join("");
37
44
  return this.markup.page("Sign in", body);
38
45
  }
46
+ /**
47
+ * The passkey button, where the pool allows one at the first prompt.
48
+ *
49
+ * It skips the browser's own validation so that the password field can be
50
+ * left empty, and posts the username the person typed. Real managed login
51
+ * runs the WebAuthn ceremony in the browser at this point, and this
52
+ * simulation serves no script, so the button is the whole of what the form
53
+ * sends.
54
+ */
55
+ passkeyButton(pool) {
56
+ if (!pool.settings.signInPolicy.factors.includes(webAuthnFactor)) {
57
+ return "";
58
+ }
59
+ return this.markup.submit("passkey", "Sign in with a passkey", true);
60
+ }
39
61
  }
40
62
  //# sourceMappingURL=sim-cognito-sign-in-page.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-sign-in-page.js","sourceRoot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AM,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC;iBAC/D,IAAI,CAAC,EAAE,CAAC,CAAC;QAEd,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-sign-in-page.js","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-sign-in-page.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,GAErB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,4BAA4B,EAC5B,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E;;GAEG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,GAA2C;IAC1D,CAAC,oBAAoB,EAAE,SAAS,CAAC;IACjC,CAAC,qBAAqB,EAAE,mBAAmB,CAAC;IAC5C,CAAC,4BAA4B,EAAE,0BAA0B,CAAC;CAC3D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,OAAO,oBAAoB;IACd,MAAM,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAErD;;;OAGG;IACH,MAAM,CACJ,IAAwB,EACxB,UAAoC,EACpC,OAAgB;QAEhB,MAAM,IAAI,GACR,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAC3D,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,uBAAuB,EACvB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;gBAC5B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,CAAC;gBACzC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC;gBACrD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC;gBACvC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAC3B;YACD,uBAAuB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC;YACtD,WAAW;iBACR,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC;iBAC/D,IAAI,CAAC,EAAE,CAAC,CAAC;QAEd,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;;;;OAQG;IACK,aAAa,CAAC,IAAwB;QAC5C,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;YACjE,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,wBAAwB,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;CACF"}
@@ -44,6 +44,14 @@ export declare abstract class SimCognitoAuthentication {
44
44
  * Handle a RespondToAuthChallenge Command from the SDK.
45
45
  */
46
46
  respondToAuthChallenge(command: simCognitoCommands.SimRespondToAuthChallengeCommand): Promise<simCognitoCommands.SimRespondToAuthChallengeCommandOutput>;
47
+ /**
48
+ * Handle a GetTokensFromRefreshToken Command from the SDK.
49
+ *
50
+ * No caller is read, because real Cognito authorizes this operation with no
51
+ * IAM policy at all: it is what an application calls to renew a session, and
52
+ * the refresh token and the client secret are what it is checked against.
53
+ */
54
+ getTokensFromRefreshToken(command: simCognitoCommands.SimGetTokensFromRefreshTokenCommand): Promise<simCognitoCommands.SimGetTokensFromRefreshTokenCommandOutput>;
47
55
  /**
48
56
  * Handle a GlobalSignOut Command from the SDK.
49
57
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-authentication.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-authentication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,MAAM,WAAW,wCAAwC;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;;;GAWG;AACH,8BAAsB,wBAAwB;IAC5C,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IAChD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IAEnD,SAAS,aAAa,UAAU,EAAE,kCAAkC,EAGnE;IAED;;OAEG;IACG,iBAAiB,CACrB,OAAO,EAAE,kBAAkB,CAAC,2BAA2B,EACvD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,CAG/D;IAED;;OAEG;IACG,2BAA2B,CAC/B,OAAO,EAAE,kBAAkB,CAAC,qCAAqC,EACjE,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,2CAA2C,CAAC,CAGzE;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,kBAAkB,CAAC,sBAAsB,GACjD,OAAO,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,CAG1D;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,GAC3D,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;;;OAIG;IACG,aAAa,CACjB,OAAO,EAAE,kBAAkB,CAAC,uBAAuB,GAClD,OAAO,CAAC,kBAAkB,CAAC,6BAA6B,CAAC,CAG3D;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,EAC5D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;CACF"}
1
+ {"version":3,"file":"sim-cognito-authentication.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-authentication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,MAAM,WAAW,wCAAwC;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;;;GAWG;AACH,8BAAsB,wBAAwB;IAC5C,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IAChD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IAEnD,SAAS,aAAa,UAAU,EAAE,kCAAkC,EAGnE;IAED;;OAEG;IACG,iBAAiB,CACrB,OAAO,EAAE,kBAAkB,CAAC,2BAA2B,EACvD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,CAG/D;IAED;;OAEG;IACG,2BAA2B,CAC/B,OAAO,EAAE,kBAAkB,CAAC,qCAAqC,EACjE,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,2CAA2C,CAAC,CAGzE;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,kBAAkB,CAAC,sBAAsB,GACjD,OAAO,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,CAG1D;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,GAC3D,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;;;;;OAMG;IACG,yBAAyB,CAC7B,OAAO,EAAE,kBAAkB,CAAC,mCAAmC,GAC9D,OAAO,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAGvE;IAED;;;;OAIG;IACG,aAAa,CACjB,OAAO,EAAE,kBAAkB,CAAC,uBAAuB,GAClD,OAAO,CAAC,kBAAkB,CAAC,6BAA6B,CAAC,CAG3D;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,EAC5D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;CACF"}
@@ -48,6 +48,17 @@ export class SimCognitoAuthentication {
48
48
  await this.background.sequence();
49
49
  return this.commands.auth.respondToChallenge.handle(command);
50
50
  }
51
+ /**
52
+ * Handle a GetTokensFromRefreshToken Command from the SDK.
53
+ *
54
+ * No caller is read, because real Cognito authorizes this operation with no
55
+ * IAM policy at all: it is what an application calls to renew a session, and
56
+ * the refresh token and the client secret are what it is checked against.
57
+ */
58
+ async getTokensFromRefreshToken(command) {
59
+ await this.background.sequence();
60
+ return this.commands.auth.getTokensFromRefreshToken.handle(command);
61
+ }
51
62
  /**
52
63
  * Handle a GlobalSignOut Command from the SDK.
53
64
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-authentication.js","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-authentication.ts"],"names":[],"mappings":"AAcA;;;;;;;;;;;GAWG;AACH,MAAM,OAAgB,wBAAwB;IACzB,QAAQ,CAAqB;IAC7B,UAAU,CAAsB;IAEnD,YAAsB,UAA8C;QAClE,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAuD,EACvD,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,2BAA2B,CAC/B,OAAiE,EACjE,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAA4D;QAE5D,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,aAAa,CACjB,OAAmD;QAEnD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAA4D,EAC5D,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-authentication.js","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-authentication.ts"],"names":[],"mappings":"AAcA;;;;;;;;;;;GAWG;AACH,MAAM,OAAgB,wBAAwB;IACzB,QAAQ,CAAqB;IAC7B,UAAU,CAAsB;IAEnD,YAAsB,UAA8C;QAClE,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAuD,EACvD,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,2BAA2B,CAC/B,OAAiE,EACjE,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACj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,10 @@ interface SimCognitoUserFactorsProperties {
16
16
  * `AdminSetUserMFAPreference` is the administrative one, and authorizes
17
17
  * against the pool like every other admin operation.
18
18
  *
19
+ * The passkey operations are here for the same reason: a passkey is
20
+ * registered by the user it belongs to, from a session that already exists,
21
+ * and the access token is the whole of the authorization.
22
+ *
19
23
  * `SimCognitoUserDirectory` extends this, which extends
20
24
  * `SimCognitoAuthentication`.
21
25
  */
@@ -39,6 +43,27 @@ export declare abstract class SimCognitoUserFactors extends SimCognitoAuthentica
39
43
  * Handle a SetUserMFAPreference Command from the SDK.
40
44
  */
41
45
  setUserMFAPreference(command: simCognitoCommands.SimSetUserMFAPreferenceCommand): Promise<simCognitoCommands.SimSetUserMFAPreferenceCommandOutput>;
46
+ /**
47
+ * Handle a StartWebAuthnRegistration Command from the SDK.
48
+ *
49
+ * The options this answers with are what a browser passes to
50
+ * `navigator.credentials.create()`. A test with no browser reads the
51
+ * credential its own authenticator would have made off the pool, through
52
+ * `SimCognitoUserPool.webAuthnCredential`.
53
+ */
54
+ startWebAuthnRegistration(command: simCognitoCommands.SimStartWebAuthnRegistrationCommand): Promise<simCognitoCommands.SimStartWebAuthnRegistrationCommandOutput>;
55
+ /**
56
+ * Handle a CompleteWebAuthnRegistration Command from the SDK.
57
+ */
58
+ completeWebAuthnRegistration(command: simCognitoCommands.SimCompleteWebAuthnRegistrationCommand): Promise<simCognitoCommands.SimCompleteWebAuthnRegistrationCommandOutput>;
59
+ /**
60
+ * Handle a ListWebAuthnCredentials Command from the SDK.
61
+ */
62
+ listWebAuthnCredentials(command: simCognitoCommands.SimListWebAuthnCredentialsCommand): Promise<simCognitoCommands.SimListWebAuthnCredentialsCommandOutput>;
63
+ /**
64
+ * Handle a DeleteWebAuthnCredential Command from the SDK.
65
+ */
66
+ deleteWebAuthnCredential(command: simCognitoCommands.SimDeleteWebAuthnCredentialCommand): Promise<simCognitoCommands.SimDeleteWebAuthnCredentialCommandOutput>;
42
67
  /**
43
68
  * Handle an AdminSetUserMFAPreference Command from the SDK.
44
69
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-user-factors.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-user-factors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EACL,wBAAwB,EACxB,KAAK,wCAAwC,EAC9C,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAE,wCAAwC,EAAE,MAAM,iCAAiC,CAAC;AAEhG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;;;GAWG;AACH,8BAAsB,qBAAsB,SAAQ,wBAAwB;IAC1E,SAAS,aAAa,UAAU,EAAE,+BAA+B,EAEhE;IAED;;;;OAIG;IACG,OAAO,CACX,OAAO,EAAE,kBAAkB,CAAC,iBAAiB,GAC5C,OAAO,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,CAGrD;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,GAC3D,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,kBAAkB,CAAC,6BAA6B,GACxD,OAAO,CAAC,kBAAkB,CAAC,mCAAmC,CAAC,CAGjE;IAED;;OAEG;IACG,oBAAoB,CACxB,OAAO,EAAE,kBAAkB,CAAC,8BAA8B,GACzD,OAAO,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,CAGlE;IAED;;OAEG;IACG,yBAAyB,CAC7B,OAAO,EAAE,kBAAkB,CAAC,mCAAmC,EAC/D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAGvE;CACF"}
1
+ {"version":3,"file":"sim-cognito-user-factors.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-user-factors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,KAAK,kBAAkB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EACL,wBAAwB,EACxB,KAAK,wCAAwC,EAC9C,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAE,wCAAwC,EAAE,MAAM,iCAAiC,CAAC;AAEhG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;;;;;;;GAeG;AACH,8BAAsB,qBAAsB,SAAQ,wBAAwB;IAC1E,SAAS,aAAa,UAAU,EAAE,+BAA+B,EAEhE;IAED;;;;OAIG;IACG,OAAO,CACX,OAAO,EAAE,kBAAkB,CAAC,iBAAiB,GAC5C,OAAO,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,CAGrD;IAED;;OAEG;IACG,sBAAsB,CAC1B,OAAO,EAAE,kBAAkB,CAAC,gCAAgC,GAC3D,OAAO,CAAC,kBAAkB,CAAC,sCAAsC,CAAC,CAGpE;IAED;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,kBAAkB,CAAC,6BAA6B,GACxD,OAAO,CAAC,kBAAkB,CAAC,mCAAmC,CAAC,CAGjE;IAED;;OAEG;IACG,oBAAoB,CACxB,OAAO,EAAE,kBAAkB,CAAC,8BAA8B,GACzD,OAAO,CAAC,kBAAkB,CAAC,oCAAoC,CAAC,CAGlE;IAED;;;;;;;OAOG;IACG,yBAAyB,CAC7B,OAAO,EAAE,kBAAkB,CAAC,mCAAmC,GAC9D,OAAO,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAGvE;IAED;;OAEG;IACG,4BAA4B,CAChC,OAAO,EAAE,kBAAkB,CAAC,sCAAsC,GACjE,OAAO,CAAC,kBAAkB,CAAC,4CAA4C,CAAC,CAG1E;IAED;;OAEG;IACG,uBAAuB,CAC3B,OAAO,EAAE,kBAAkB,CAAC,iCAAiC,GAC5D,OAAO,CAAC,kBAAkB,CAAC,uCAAuC,CAAC,CAGrE;IAED;;OAEG;IACG,wBAAwB,CAC5B,OAAO,EAAE,kBAAkB,CAAC,kCAAkC,GAC7D,OAAO,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAGtE;IAED;;OAEG;IACG,yBAAyB,CAC7B,OAAO,EAAE,kBAAkB,CAAC,mCAAmC,EAC/D,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAGvE;CACF"}
@@ -8,6 +8,10 @@ import { SimCognitoAuthentication, } from "./sim-cognito-authentication.js";
8
8
  * `AdminSetUserMFAPreference` is the administrative one, and authorizes
9
9
  * against the pool like every other admin operation.
10
10
  *
11
+ * The passkey operations are here for the same reason: a passkey is
12
+ * registered by the user it belongs to, from a session that already exists,
13
+ * and the access token is the whole of the authorization.
14
+ *
11
15
  * `SimCognitoUserDirectory` extends this, which extends
12
16
  * `SimCognitoAuthentication`.
13
17
  */
@@ -45,6 +49,39 @@ export class SimCognitoUserFactors extends SimCognitoAuthentication {
45
49
  await this.background.sequence();
46
50
  return this.commands.userMfa.setUserMfaPreference(command);
47
51
  }
52
+ /**
53
+ * Handle a StartWebAuthnRegistration Command from the SDK.
54
+ *
55
+ * The options this answers with are what a browser passes to
56
+ * `navigator.credentials.create()`. A test with no browser reads the
57
+ * credential its own authenticator would have made off the pool, through
58
+ * `SimCognitoUserPool.webAuthnCredential`.
59
+ */
60
+ async startWebAuthnRegistration(command) {
61
+ await this.background.sequence();
62
+ return this.commands.webAuthn.startWebAuthnRegistration(command);
63
+ }
64
+ /**
65
+ * Handle a CompleteWebAuthnRegistration Command from the SDK.
66
+ */
67
+ async completeWebAuthnRegistration(command) {
68
+ await this.background.sequence();
69
+ return this.commands.webAuthn.completeWebAuthnRegistration(command);
70
+ }
71
+ /**
72
+ * Handle a ListWebAuthnCredentials Command from the SDK.
73
+ */
74
+ async listWebAuthnCredentials(command) {
75
+ await this.background.sequence();
76
+ return this.commands.webAuthn.listWebAuthnCredentials(command);
77
+ }
78
+ /**
79
+ * Handle a DeleteWebAuthnCredential Command from the SDK.
80
+ */
81
+ async deleteWebAuthnCredential(command) {
82
+ await this.background.sequence();
83
+ return this.commands.webAuthn.deleteWebAuthnCredential(command);
84
+ }
48
85
  /**
49
86
  * Handle an AdminSetUserMFAPreference Command from the SDK.
50
87
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-user-factors.js","sourceRoot":"","sources":["../../../src/service/cognito/sim-cognito-user-factors.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wBAAwB,GAEzB,MAAM,iCAAiC,CAAC;AASzC;;;;;;;;;;;GAWG;AACH,MAAM,OAAgB,qBAAsB,SAAQ,wBAAwB;IAC1E,YAAsB,UAA2C;QAC/D,KAAK,CAAC,UAAU,CAAC,CAAC;IACpB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,OAAO,CACX,OAA6C;QAE7C,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAA4D;QAE5D,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAC/D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;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAA+D,EAC/D,OAAkD;QAElD,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,yBAAyB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF"}
@@ -1,6 +1,12 @@
1
+ import type { SimCognitoUserPoolClient } from "../client/sim-cognito-user-pool-client.js";
2
+ import type { SimCognitoWebAuthnRequestOptions } from "../user/web-authn/sim-cognito-web-authn-document.js";
1
3
  interface SimCognitoAuthSessionProperties {
2
4
  readonly username: string;
3
- readonly clientId: string;
5
+ /**
6
+ * The app client the sign-in is running through, which is what says how
7
+ * long the session lasts: its `AuthSessionValidity`.
8
+ */
9
+ readonly client: SimCognitoUserPoolClient;
4
10
  readonly challengeName: string;
5
11
  readonly issuedAt: Date;
6
12
  /**
@@ -13,13 +19,24 @@ interface SimCognitoAuthSessionProperties {
13
19
  * app is showing.
14
20
  */
15
21
  readonly code?: string | undefined;
22
+ /**
23
+ * The options a `WEB_AUTHN` challenge asked a passkey to be presented
24
+ * against, for the challenge that asked.
25
+ *
26
+ * They live here for the same reason a code does. The challenge issued them,
27
+ * and a credential answering them can only complete the sign-in they belong
28
+ * to.
29
+ */
30
+ readonly webAuthnOptions?: SimCognitoWebAuthnRequestOptions | undefined;
16
31
  }
17
32
  /**
18
33
  * One challenge session, which is what an unfinished authentication carries
19
34
  * between the request that started it and the response that completes it.
20
35
  *
21
36
  * The session is opaque, single use, and tied to the user and app client that
22
- * got it: a session from one sign-in cannot complete another.
37
+ * got it: a session from one sign-in cannot complete another. How long it can
38
+ * be answered for is the app client's `AuthSessionValidity`, which is three
39
+ * minutes on a client that asked for none.
23
40
  */
24
41
  export declare class SimCognitoAuthSession {
25
42
  readonly id: string;
@@ -27,13 +44,27 @@ export declare class SimCognitoAuthSession {
27
44
  readonly clientId: string;
28
45
  readonly challengeName: string;
29
46
  readonly issuedAt: Date;
47
+ /**
48
+ * When this session runs out, which the app client's `AuthSessionValidity`
49
+ * decides. It is settled here rather than read back off the client, so a
50
+ * client updated mid-sign-in does not move the deadline of a challenge it
51
+ * has already issued.
52
+ */
53
+ readonly expiresAt: Date;
30
54
  /** The code this challenge sent, where it sent one. */
31
55
  readonly code: string | undefined;
56
+ /** What this challenge asked a passkey to be presented against. */
57
+ readonly webAuthnOptions: SimCognitoWebAuthnRequestOptions | undefined;
32
58
  constructor(properties: SimCognitoAuthSessionProperties);
33
59
  /**
34
60
  * Whether this session has run out by a given moment.
35
61
  */
36
62
  isExpiredAt(now: Date): boolean;
63
+ /**
64
+ * The options this challenge asked a passkey to be presented against, or a
65
+ * refusal where it asked for no passkey at all.
66
+ */
67
+ requireWebAuthnOptions(): SimCognitoWebAuthnRequestOptions;
37
68
  /**
38
69
  * Whether this session belongs to a user and app client.
39
70
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-auth-session.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-auth-session.ts"],"names":[],"mappings":"AAaA,UAAU,+BAA+B;IACvC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IAExB;;;;;;;;OAQG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;;;;;GAMG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,EAAE,EAAE,MAAM,CAAC;IAC3B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,aAAa,EAAE,MAAM,CAAC;IACtC,SAAgB,QAAQ,EAAE,IAAI,CAAC;IAE/B,uDAAuD;IACvD,SAAgB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzC,YAAY,UAAU,EAAE,+BAA+B,EAOtD;IAED;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAM9B;IAED;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAErD;IAED;;;;;;OAMG;IACH,OAAO,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAEtC;CACF"}
1
+ {"version":3,"file":"sim-cognito-auth-session.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-auth-session.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAI5G,UAAU,+BAA+B;IACvC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IAExB;;;;;;;;OAQG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC;;;;;;;OAOG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;CACzE;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,EAAE,EAAE,MAAM,CAAC;IAC3B,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,aAAa,EAAE,MAAM,CAAC;IACtC,SAAgB,QAAQ,EAAE,IAAI,CAAC;IAE/B;;;;;OAKG;IACH,SAAgB,SAAS,EAAE,IAAI,CAAC;IAEhC,uDAAuD;IACvD,SAAgB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAEzC,mEAAmE;IACnE,SAAgB,eAAe,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAE9E,YAAY,UAAU,EAAE,+BAA+B,EAWtD;IAED;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO,CAE9B;IAED;;;OAGG;IACH,sBAAsB,IAAI,gCAAgC,CAQzD;IAED;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAErD;IAED;;;;;;OAMG;IACH,OAAO,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAEtC;CACF"}
@@ -1,19 +1,14 @@
1
1
  import { randomBytes } from "node:crypto";
2
- /**
3
- * How long a challenge session lasts.
4
- *
5
- * Real Cognito gives an app client an `AuthSessionValidity` of three minutes
6
- * unless the client says otherwise, and `CreateUserPoolClient` refuses that
7
- * input here, so three minutes is what every session gets.
8
- */
9
- const sessionMinutes = 3;
2
+ import { SimCognitoNotAuthorizedException } from "../../error/sim-cognito.error.js";
10
3
  const sessionBytes = 48;
11
4
  /**
12
5
  * One challenge session, which is what an unfinished authentication carries
13
6
  * between the request that started it and the response that completes it.
14
7
  *
15
8
  * The session is opaque, single use, and tied to the user and app client that
16
- * got it: a session from one sign-in cannot complete another.
9
+ * got it: a session from one sign-in cannot complete another. How long it can
10
+ * be answered for is the app client's `AuthSessionValidity`, which is three
11
+ * minutes on a client that asked for none.
17
12
  */
18
13
  export class SimCognitoAuthSession {
19
14
  id;
@@ -21,22 +16,42 @@ export class SimCognitoAuthSession {
21
16
  clientId;
22
17
  challengeName;
23
18
  issuedAt;
19
+ /**
20
+ * When this session runs out, which the app client's `AuthSessionValidity`
21
+ * decides. It is settled here rather than read back off the client, so a
22
+ * client updated mid-sign-in does not move the deadline of a challenge it
23
+ * has already issued.
24
+ */
25
+ expiresAt;
24
26
  /** The code this challenge sent, where it sent one. */
25
27
  code;
28
+ /** What this challenge asked a passkey to be presented against. */
29
+ webAuthnOptions;
26
30
  constructor(properties) {
27
31
  this.id = randomBytes(sessionBytes).toString("base64url");
28
32
  this.username = properties.username;
29
- this.clientId = properties.clientId;
33
+ this.clientId = properties.client.id;
30
34
  this.challengeName = properties.challengeName;
31
35
  this.issuedAt = properties.issuedAt;
36
+ this.expiresAt = properties.client.authSessionValidity.expiryOf(properties.issuedAt);
32
37
  this.code = properties.code;
38
+ this.webAuthnOptions = properties.webAuthnOptions;
33
39
  }
34
40
  /**
35
41
  * Whether this session has run out by a given moment.
36
42
  */
37
43
  isExpiredAt(now) {
38
- const expiresAt = new Date(this.issuedAt.getTime() + sessionMinutes * 60 * 1000);
39
- return now.getTime() >= expiresAt.getTime();
44
+ return now.getTime() >= this.expiresAt.getTime();
45
+ }
46
+ /**
47
+ * The options this challenge asked a passkey to be presented against, or a
48
+ * refusal where it asked for no passkey at all.
49
+ */
50
+ requireWebAuthnOptions() {
51
+ if (this.webAuthnOptions === undefined) {
52
+ throw new SimCognitoNotAuthorizedException("Invalid session for the user.");
53
+ }
54
+ return this.webAuthnOptions;
40
55
  }
41
56
  /**
42
57
  * Whether this session belongs to a user and app client.
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-auth-session.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-auth-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;;;GAMG;AACH,MAAM,cAAc,GAAG,CAAC,CAAC;AAEzB,MAAM,YAAY,GAAG,EAAE,CAAC;AAoBxB;;;;;;GAMG;AACH,MAAM,OAAO,qBAAqB;IAChB,EAAE,CAAS;IACX,QAAQ,CAAS;IACjB,QAAQ,CAAS;IACjB,aAAa,CAAS;IAC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AAI,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC;IAClE,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,aAAqB;QAC3B,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC;IAC9C,CAAC;CACF"}
@@ -27,6 +27,15 @@ export declare class SimCognitoIssuedTokenStore {
27
27
  * Remember a refresh token, so it can be exchanged later.
28
28
  */
29
29
  addRefreshToken(token: SimCognitoIssuedToken): void;
30
+ /**
31
+ * Stop honouring a refresh token from a moment on, because a rotation has
32
+ * replaced it.
33
+ *
34
+ * The moment is the end of the app client's retry grace period rather than
35
+ * now, so a client that retried a request whose answer it never saw is
36
+ * answered with the tokens instead of being sent back to the sign-in page.
37
+ */
38
+ revokeRefreshTokenAt(token: SimCognitoIssuedToken, revokedAt: Date): void;
30
39
  /**
31
40
  * Remember an access token, so a sign-out can be authorized with it.
32
41
  */
@@ -36,7 +45,8 @@ export declare class SimCognitoIssuedTokenStore {
36
45
  *
37
46
  * A token this pool never issued, one belonging to another app client, one
38
47
  * that has run out, and one the user has been signed out of all fail the
39
- * same way, as they do on real Cognito.
48
+ * same way, as they do on real Cognito. A rotated-out token whose grace
49
+ * period is up is refused as a revoked one, which is what it now is.
40
50
  */
41
51
  requireRefreshToken(request: SimCognitoRefreshTokenRequest): SimCognitoIssuedToken;
42
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-issued-token-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAC1E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4C;IAEzE;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAe1B;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKlD;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKjD;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,qBAAqB,CAYvB;IAED;;;;;;OAMG;IACH,gBAAgB,CACd,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,qBAAqB,GAAG,SAAS,CAMnC;IAED;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEhE;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAMjC;CACF"}
1
+ {"version":3,"file":"sim-cognito-issued-token-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAC1E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4C;IAEzE;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAe1B;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKlD;IAED;;;;;;;OAOG;IACH,oBAAoB,CAAC,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,IAAI,GAAG,IAAI,CAExE;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAKjD;IAED;;;;;;;OAOG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,qBAAqB,CAkBvB;IAED;;;;;;OAMG;IACH,gBAAgB,CACd,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,qBAAqB,GAAG,SAAS,CAMnC;IAED;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEhE;IAED;;;;;;OAMG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAMjC;CACF"}
@@ -28,9 +28,20 @@ export class SimCognitoIssuedTokenStore {
28
28
  * Remember a refresh token, so it can be exchanged later.
29
29
  */
30
30
  addRefreshToken(token) {
31
- SimCognitoIssuedTokenStore.forgetSpent(this.refreshTokens, (issued) => issued.isExpiredAt(token.issuedAt));
31
+ SimCognitoIssuedTokenStore.forgetSpent(this.refreshTokens, (issued) => issued.isSpentAt(token.issuedAt));
32
32
  this.refreshTokens.set(token.value, token);
33
33
  }
34
+ /**
35
+ * Stop honouring a refresh token from a moment on, because a rotation has
36
+ * replaced it.
37
+ *
38
+ * The moment is the end of the app client's retry grace period rather than
39
+ * now, so a client that retried a request whose answer it never saw is
40
+ * answered with the tokens instead of being sent back to the sign-in page.
41
+ */
42
+ revokeRefreshTokenAt(token, revokedAt) {
43
+ this.refreshTokens.set(token.value, token.rotatedOutAt(revokedAt));
44
+ }
34
45
  /**
35
46
  * Remember an access token, so a sign-out can be authorized with it.
36
47
  */
@@ -43,7 +54,8 @@ export class SimCognitoIssuedTokenStore {
43
54
  *
44
55
  * A token this pool never issued, one belonging to another app client, one
45
56
  * that has run out, and one the user has been signed out of all fail the
46
- * same way, as they do on real Cognito.
57
+ * same way, as they do on real Cognito. A rotated-out token whose grace
58
+ * period is up is refused as a revoked one, which is what it now is.
47
59
  */
48
60
  requireRefreshToken(request) {
49
61
  const issued = this.refreshTokens.get(request.value);
@@ -53,6 +65,9 @@ export class SimCognitoIssuedTokenStore {
53
65
  if (issued.isExpiredAt(request.now)) {
54
66
  throw new SimCognitoNotAuthorizedException("Refresh Token has expired.");
55
67
  }
68
+ if (issued.isRevokedAt(request.now)) {
69
+ throw new SimCognitoNotAuthorizedException("Refresh Token has been revoked.");
70
+ }
56
71
  return issued;
57
72
  }
58
73
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cognito-issued-token-store.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAYpF;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACpB,aAAa,GAAG,IAAI,GAAG,EAAiC,CAAC;IACzD,YAAY,GAAG,IAAI,GAAG,EAAiC,CAAC;IAEzE;;;OAGG;IACK,MAAM,CAAC,WAAW,CACxB,MAA0C,EAC1C,KAAiD;QAEjD,MAAM,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;aACR,MAAM,CAAC,KAAK,CAAC;aACb,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;aAC7B,OAAO,EAAE,CAAC;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAA4B;QAC1C,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CACpE,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,CACnC,CAAC;QACF,IAAI,CA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xD,MAAM,CAAC,QAAQ,KAAK,QAAQ,CAAC;QAE/B,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QACnE,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC;CACF"}
1
+ {"version":3,"file":"sim-cognito-issued-token-store.js","sourceRoot":"","sources":["../../../../../src/service/cognito/user-pool/auth/sim-cognito-issued-token-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAYpF;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACpB,aAAa,GAAG,IAAI,GAAG,EAAiC,CAAC;IACzD,YAAY,GAAG,IAAI,GAAG,EAAiC,CAAC;IAEzE;;;OAGG;IACK,MAAM,CAAC,WAAW,CACxB,MAA0C,EAC1C,KAAiD;QAEjD,MAAM,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;aACR,MAAM,CAAC,KAAK,CAAC;aACb,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;aAC7B,OAAO,EAAE,CAAC;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,KAA4B;QAC1C,0BAA0B,CAAC,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CACpE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CACjC,CAAC;QACF,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;OAOG;IACH,oBAAoB,CAAC,KAA4B,EAAE,SAAe;QAChE,IAAI,CAAC,aAAa,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